-
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.
* Add PBM-pilot contracts * Rename
- Loading branch information
Showing
24 changed files
with
1,252 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
...ow/dags/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_ApprovalForAll.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": "address", | ||
"name": "account", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "operator", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "bool", | ||
"name": "approved", | ||
"type": "bool" | ||
} | ||
], | ||
"name": "ApprovalForAll", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "account", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "operator", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "approved", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_ApprovalForAll" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
airflow/dags/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_FundsAdded.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": "customer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "spotAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "FundsAdded", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "customer", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "spotAmount", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_FundsAdded" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...w/dags/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_MetadataUpdated.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": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "uri", | ||
"type": "string" | ||
} | ||
], | ||
"name": "MetadataUpdated", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "tokenId", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "uri", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_MetadataUpdated" | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...low/dags/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_OrderCanceled.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,32 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "orderId", | ||
"type": "string" | ||
} | ||
], | ||
"name": "OrderCanceled", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "orderId", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_OrderCanceled" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
airflow/dags/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_OrderCreated.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,65 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "customer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "orderId", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "orderValue", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "fundDisbursementAddress", | ||
"type": "address" | ||
} | ||
], | ||
"name": "OrderCreated", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "customer", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "orderId", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "orderValue", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "fundDisbursementAddress", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_OrderCreated" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...low/dags/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_OrderRedeemed.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": "customer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "orderId", | ||
"type": "string" | ||
} | ||
], | ||
"name": "OrderRedeemed", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "customer", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "orderId", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_OrderRedeemed" | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...s/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_OwnershipTransferred.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": "address", | ||
"name": "previousOwner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "newOwner", | ||
"type": "address" | ||
} | ||
], | ||
"name": "OwnershipTransferred", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "previousOwner", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "newOwner", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_OwnershipTransferred" | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...dags/resources/stages/parse/table_definitions/pbm_amazon/PBM_event_PBMrevokeWithdraw.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": false, | ||
"internalType": "address", | ||
"name": "beneficiary", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "ERC20Token", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "ERC20TokenValue", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PBMrevokeWithdraw", | ||
"type": "event" | ||
}, | ||
"contract_address": "0x28c96a719edc7c1ba3fb1bafcadf470ace9dfd75", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "pbm_amazon", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "beneficiary", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "ERC20Token", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "ERC20TokenValue", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "PBM_event_PBMrevokeWithdraw" | ||
} | ||
} |
Oops, something went wrong.