Skip to content

Commit

Permalink
Move seaport, stasis, tether for Polygon (#269)
Browse files Browse the repository at this point in the history
* Add Seaport

* Add Stasis and tether
  • Loading branch information
kome12 authored Apr 17, 2024
1 parent ac493be commit 807c2f2
Show file tree
Hide file tree
Showing 49 changed files with 6,331 additions and 0 deletions.
154 changes: 154 additions & 0 deletions parse/table_definitions_polygon/seaport/SeaportV12_call_cancel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
{
"parser": {
"abi": {
"inputs": [
{
"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": "counter",
"type": "uint256"
}
],
"internalType": "structOrderComponents[]",
"name": "orders",
"type": "tuple[]"
}
],
"name": "cancel",
"outputs": [
{
"internalType": "bool",
"name": "cancelled",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
"contract_address": "0x00000000000006c7676171937c444f6bde3d6282",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "seaport",
"schema": [
{
"description": "",
"name": "orders",
"type": "STRING"
}
],
"table_description": "",
"table_name": "SeaportV12_call_cancel"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
{
"parser": {
"abi": {
"inputs": [
{
"components": [
{
"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"
}
],
"internalType": "structOrderParameters",
"name": "parameters",
"type": "tuple"
},
{
"internalType": "uint120",
"name": "numerator",
"type": "uint120"
},
{
"internalType": "uint120",
"name": "denominator",
"type": "uint120"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "extraData",
"type": "bytes"
}
],
"internalType": "structAdvancedOrder",
"name": "advancedOrder",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "orderIndex",
"type": "uint256"
},
{
"internalType": "enumSide",
"name": "side",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "identifier",
"type": "uint256"
},
{
"internalType": "bytes32[]",
"name": "criteriaProof",
"type": "bytes32[]"
}
],
"internalType": "structCriteriaResolver[]",
"name": "criteriaResolvers",
"type": "tuple[]"
},
{
"internalType": "bytes32",
"name": "fulfillerConduitKey",
"type": "bytes32"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
}
],
"name": "fulfillAdvancedOrder",
"outputs": [
{
"internalType": "bool",
"name": "fulfilled",
"type": "bool"
}
],
"stateMutability": "payable",
"type": "function"
},
"contract_address": "0x00000000000006c7676171937c444f6bde3d6282",
"field_mapping": {},
"type": "trace"
},
"table": {
"dataset_name": "seaport",
"schema": [
{
"description": "",
"name": "advancedOrder",
"type": "STRING"
},
{
"description": "",
"name": "criteriaResolvers",
"type": "STRING"
},
{
"description": "",
"name": "fulfillerConduitKey",
"type": "STRING"
},
{
"description": "",
"name": "recipient",
"type": "STRING"
}
],
"table_description": "",
"table_name": "SeaportV12_call_fulfillAdvancedOrder"
}
}
Loading

0 comments on commit 807c2f2

Please sign in to comment.