Skip to content

Commit

Permalink
Adding the Bitkeep's fork of Seaport (#186)
Browse files Browse the repository at this point in the history
Adding the seaport contracts to see the actual order filled and cancel events
  • Loading branch information
jasonbxu authored Sep 7, 2023
1 parent e557215 commit c0f81e7
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parser": {
"abi": {
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newCounter",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "offerer",
"type": "address"
}
],
"name": "CounterIncremented",
"type": "event"
},
"contract_address": "0x309b186792b74cc81497a113555b333ad79ac78c",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "bitkeep",
"schema": [
{
"description": "",
"name": "newCounter",
"type": "STRING"
},
{
"description": "",
"name": "offerer",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Seaport_event_CounterIncremented"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"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"
},
"contract_address": "0x309b186792b74cc81497a113555b333ad79ac78c",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "bitkeep",
"schema": [
{
"description": "",
"name": "orderHash",
"type": "STRING"
},
{
"description": "",
"name": "offerer",
"type": "STRING"
},
{
"description": "",
"name": "zone",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Seaport_event_OrderCancelled"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
{
"parser": {
"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": "enum ItemType",
"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": "struct SpentItem[]",
"name": "offer",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "enum ItemType",
"name": "itemType",
"type": "uint8"
},
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "identifier",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "address payable",
"name": "recipient",
"type": "address"
}
],
"indexed": false,
"internalType": "struct ReceivedItem[]",
"name": "consideration",
"type": "tuple[]"
}
],
"name": "OrderFulfilled",
"type": "event"
},
"contract_address": "0x309b186792b74cc81497a113555b333ad79ac78c",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "bitkeep",
"schema": [
{
"description": "",
"name": "orderHash",
"type": "STRING"
},
{
"description": "",
"name": "offerer",
"type": "STRING"
},
{
"description": "",
"name": "zone",
"type": "STRING"
},
{
"description": "",
"name": "recipient",
"type": "STRING"
},
{
"description": "",
"name": "offer",
"type": "STRING"
},
{
"description": "",
"name": "consideration",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Seaport_event_OrderFulfilled"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": {
"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": "OrderValidated",
"type": "event"
},
"contract_address": "0x309b186792b74cc81497a113555b333ad79ac78c",
"field_mapping": {},
"type": "log"
},
"table": {
"dataset_name": "bitkeep",
"schema": [
{
"description": "",
"name": "orderHash",
"type": "STRING"
},
{
"description": "",
"name": "offerer",
"type": "STRING"
},
{
"description": "",
"name": "zone",
"type": "STRING"
}
],
"table_description": "",
"table_name": "Seaport_event_OrderValidated"
}
}

0 comments on commit c0f81e7

Please sign in to comment.