Skip to content

Commit

Permalink
Add Seaport 1.6 under v14 tables for Optimism and Base (#280)
Browse files Browse the repository at this point in the history
* Add Seaport 1.6 under v14 tables

* Rename base models to v15 - min(15,16)

* rename table names too
  • Loading branch information
mexcool authored Apr 19, 2024
1 parent f277aeb commit ff4f532
Show file tree
Hide file tree
Showing 10 changed files with 434 additions and 10 deletions.
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"
}
]
}
}
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"
}
]
}
}
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"
}
]
}
}
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"
}
]
}
}
Loading

0 comments on commit ff4f532

Please sign in to comment.