-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Seaport 1.6 under v14 tables for Optimism and Base (#280)
* Add Seaport 1.6 under v14 tables * Rename base models to v15 - min(15,16) * rename table names too
- Loading branch information
Showing
10 changed files
with
434 additions
and
10 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
parse/table_definitions_base/seaport/SeaportV15_event_CounterIncremented.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": { | ||
"type": "log", | ||
"contract_address": "SELECT * FROM UNNEST(['0x00000000000000adc04c56bf30ac9d3c0aaf14dc', '0x0000000000000068f116a894984e2db1123eb395'])", | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "newCounter", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "offerer", | ||
"type": "address" | ||
} | ||
], | ||
"name": "CounterIncremented", | ||
"type": "event" | ||
}, | ||
"field_mapping": {} | ||
}, | ||
"table": { | ||
"dataset_name": "seaport", | ||
"table_name": "SeaportV15_event_CounterIncremented", | ||
"table_description": "", | ||
"schema": [ | ||
{ | ||
"name": "newCounter", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "offerer", | ||
"description": "", | ||
"type": "STRING" | ||
} | ||
] | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
parse/table_definitions_base/seaport/SeaportV15_event_OrderCancelled.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": { | ||
"type": "log", | ||
"contract_address": "SELECT * FROM UNNEST(['0x00000000000000adc04c56bf30ac9d3c0aaf14dc', '0x0000000000000068f116a894984e2db1123eb395'])", | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "bytes32", | ||
"name": "orderHash", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "offerer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "zone", | ||
"type": "address" | ||
} | ||
], | ||
"name": "OrderCancelled", | ||
"type": "event" | ||
}, | ||
"field_mapping": {} | ||
}, | ||
"table": { | ||
"dataset_name": "seaport", | ||
"table_name": "SeaportV15_event_OrderCancelled", | ||
"table_description": "", | ||
"schema": [ | ||
{ | ||
"name": "orderHash", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "offerer", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "zone", | ||
"description": "", | ||
"type": "STRING" | ||
} | ||
] | ||
} | ||
} |
136 changes: 136 additions & 0 deletions
136
parse/table_definitions_base/seaport/SeaportV15_event_OrderFulfilled.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,136 @@ | ||
{ | ||
"parser": { | ||
"type": "log", | ||
"contract_address": "SELECT * FROM UNNEST(['0x00000000000000adc04c56bf30ac9d3c0aaf14dc', '0x0000000000000068f116a894984e2db1123eb395'])", | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "bytes32", | ||
"name": "orderHash", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "offerer", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "zone", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "recipient", | ||
"type": "address" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "enumItemType", | ||
"name": "itemType", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "token", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "identifier", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
} | ||
], | ||
"indexed": false, | ||
"internalType": "structSpentItem[]", | ||
"name": "offer", | ||
"type": "tuple[]" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "enumItemType", | ||
"name": "itemType", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "token", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "identifier", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "amount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "addresspayable", | ||
"name": "recipient", | ||
"type": "address" | ||
} | ||
], | ||
"indexed": false, | ||
"internalType": "structReceivedItem[]", | ||
"name": "consideration", | ||
"type": "tuple[]" | ||
} | ||
], | ||
"name": "OrderFulfilled", | ||
"type": "event" | ||
}, | ||
"field_mapping": {} | ||
}, | ||
"table": { | ||
"dataset_name": "seaport", | ||
"table_name": "SeaportV15_event_OrderFulfilled", | ||
"table_description": "", | ||
"schema": [ | ||
{ | ||
"name": "orderHash", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "offerer", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "zone", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "recipient", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "offer", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "consideration", | ||
"description": "", | ||
"type": "STRING" | ||
} | ||
] | ||
} | ||
} |
159 changes: 159 additions & 0 deletions
159
parse/table_definitions_base/seaport/SeaportV15_event_OrderValidated.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,159 @@ | ||
{ | ||
"parser": { | ||
"type": "log", | ||
"contract_address": "SELECT * FROM UNNEST(['0x00000000000000adc04c56bf30ac9d3c0aaf14dc', '0x0000000000000068f116a894984e2db1123eb395'])", | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"internalType": "bytes32", | ||
"name": "orderHash", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "address", | ||
"name": "offerer", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "zone", | ||
"type": "address" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "enumItemType", | ||
"name": "itemType", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "token", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "identifierOrCriteria", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "startAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "endAmount", | ||
"type": "uint256" | ||
} | ||
], | ||
"internalType": "structOfferItem[]", | ||
"name": "offer", | ||
"type": "tuple[]" | ||
}, | ||
{ | ||
"components": [ | ||
{ | ||
"internalType": "enumItemType", | ||
"name": "itemType", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "address", | ||
"name": "token", | ||
"type": "address" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "identifierOrCriteria", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "startAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "endAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "addresspayable", | ||
"name": "recipient", | ||
"type": "address" | ||
} | ||
], | ||
"internalType": "structConsiderationItem[]", | ||
"name": "consideration", | ||
"type": "tuple[]" | ||
}, | ||
{ | ||
"internalType": "enumOrderType", | ||
"name": "orderType", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "startTime", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "endTime", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "bytes32", | ||
"name": "zoneHash", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "salt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"internalType": "bytes32", | ||
"name": "conduitKey", | ||
"type": "bytes32" | ||
}, | ||
{ | ||
"internalType": "uint256", | ||
"name": "totalOriginalConsiderationItems", | ||
"type": "uint256" | ||
} | ||
], | ||
"indexed": false, | ||
"internalType": "structOrderParameters", | ||
"name": "orderParameters", | ||
"type": "tuple" | ||
} | ||
], | ||
"name": "OrderValidated", | ||
"type": "event" | ||
}, | ||
"field_mapping": {} | ||
}, | ||
"table": { | ||
"dataset_name": "seaport", | ||
"table_name": "SeaportV15_event_OrderValidated", | ||
"table_description": "", | ||
"schema": [ | ||
{ | ||
"name": "orderHash", | ||
"description": "", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"name": "orderParameters", | ||
"description": "", | ||
"type": "STRING" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.