Skip to content

Commit

Permalink
Rename tofuNFT (#184)
Browse files Browse the repository at this point in the history
* 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
medvedev1088 and jasonbxu authored Aug 30, 2023
1 parent f1dfbcf commit 59f74e6
Show file tree
Hide file tree
Showing 9 changed files with 525 additions and 0 deletions.
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"
}
}
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"
}
}
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"
}
}
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"
}
}
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"
}
}
Loading

0 comments on commit 59f74e6

Please sign in to comment.