-
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.
Move seaport, stasis, tether for Polygon (#269)
* Add Seaport * Add Stasis and tether
- Loading branch information
Showing
49 changed files
with
6,331 additions
and
0 deletions.
There are no files selected for viewing
154 changes: 154 additions & 0 deletions
154
parse/table_definitions_polygon/seaport/SeaportV12_call_cancel.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,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" | ||
} | ||
} |
238 changes: 238 additions & 0 deletions
238
parse/table_definitions_polygon/seaport/SeaportV12_call_fulfillAdvancedOrder.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,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" | ||
} | ||
} |
Oops, something went wrong.