-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feature/tofu_nft (#179) * Create blank.txt * Added tofuNFT MarketNG definitions * Delete airflow/dags/resources/stages/parse/table_definitions/toufuNFT/blank.txt deleting empty.txt now that real files have been uploaded * Create empty.txt for correct folder tofuNFT * Uploading ABI for MarketNG contract Retrieved directly from Contract Parser * Delete airflow/dags/resources/stages/parse/table_definitions/toufuNFT directory Deleting wrong folder name /tofuNFT instead of /toufuNFT * Delete airflow/dags/resources/stages/parse/table_definitions/tofuNFT/empty.txt Deleting empty.txt used to create the folder * Add files via upload * Rename tofuNFT --------- Co-authored-by: jasonbxu <boying.xu@gmail.com>
- Loading branch information
1 parent
f1dfbcf
commit 59f74e6
Showing
9 changed files
with
525 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
...ags/resources/stages/parse/table_definitions/tofu_nft/MarketNG_event_EvAuctionRefund.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "bidder", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "refund", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "EvAuctionRefund", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x7bc8b1b5aba4df3be9f9a32dae501214dc0e4f3f", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "tofu_nft", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "id", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "bidder", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "refund", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "MarketNG_event_EvAuctionRefund" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
.../dags/resources/stages/parse/table_definitions/tofu_nft/MarketNG_event_EvCouponSpent.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "couponId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "EvCouponSpent", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x7bc8b1b5aba4df3be9f9a32dae501214dc0e4f3f", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "tofu_nft", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "id", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "couponId", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "MarketNG_event_EvCouponSpent" | ||
} | ||
} |
127 changes: 127 additions & 0 deletions
127
...s/resources/stages/parse/table_definitions/tofu_nft/MarketNG_event_EvInventoryUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "id", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "address", | ||
"name": "seller", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "buyer", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "contract IERC20", | ||
"name": "currency", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "price", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "netPrice", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "deadline", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint8", | ||
"name": "kind", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "uint8", | ||
"name": "status", | ||
"type": "uint8" | ||
} | ||
], | ||
"indexed": false, | ||
"internalType": "struct MarketNG.Inventory", | ||
"name": "inventory", | ||
"type": "tuple" | ||
} | ||
], | ||
"name": "EvInventoryUpdate", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x7bc8b1b5aba4df3be9f9a32dae501214dc0e4f3f", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "tofu_nft", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "id", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"fields": [ | ||
{ | ||
"description": "", | ||
"name": "seller", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "buyer", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "currency", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "price", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "netPrice", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "deadline", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "kind", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "status", | ||
"type": "STRING" | ||
} | ||
], | ||
"name": "inventory", | ||
"type": "RECORD" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "MarketNG_event_EvInventoryUpdate" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...esources/stages/parse/table_definitions/tofu_nft/MarketNG_event_EvMarketSignerUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "addr", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "bool", | ||
"name": "isRemoval", | ||
"type": "bool" | ||
} | ||
], | ||
"name": "EvMarketSignerUpdate", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x7bc8b1b5aba4df3be9f9a32dae501214dc0e4f3f", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "tofu_nft", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "addr", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "isRemoval", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "MarketNG_event_EvMarketSignerUpdate" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...s/resources/stages/parse/table_definitions/tofu_nft/MarketNG_event_EvSettingsUpdated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [], | ||
"name": "EvSettingsUpdated", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x7bc8b1b5aba4df3be9f9a32dae501214dc0e4f3f", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "tofu_nft", | ||
"schema": [], | ||
"table_description": "", | ||
"table_name": "MarketNG_event_EvSettingsUpdated" | ||
} | ||
} |
Oops, something went wrong.