Skip to content

Commit

Permalink
Added problematic JSON file
Browse files Browse the repository at this point in the history
  • Loading branch information
apaillier-ledger committed Apr 15, 2024
1 parent 985dd92 commit ea1eabc
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions tests/ragger/eip712_input_files/14-rabby_bug-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"types": {
"BatchSignedERC721Orders": [
{ "type": "address", "name": "maker" },
{ "type": "uint256", "name": "listingTime" },
{ "type": "uint256", "name": "expiryTime" },
{ "type": "uint256", "name": "startNonce" },
{ "type": "address", "name": "erc20Token" },
{ "type": "address", "name": "platformFeeRecipient" },
{ "type": "BasicCollection[]", "name": "basicCollections" },
{ "type": "Collection[]", "name": "collections" },
{ "type": "uint256", "name": "hashNonce" }
],
"BasicCollection": [
{ "type": "address", "name": "nftAddress" },
{ "type": "bytes32", "name": "fee" },
{ "type": "bytes32[]", "name": "items" }
],
"Collection": [
{ "type": "address", "name": "nftAddress" },
{ "type": "bytes32", "name": "fee" },
{ "type": "OrderItem[]", "name": "items" }
],
"OrderItem": [
{ "type": "uint256", "name": "erc20TokenAmount" },
{ "type": "uint256", "name": "nftId" }
],
"EIP712Domain": [
{ "name": "name", "type": "string" },
{ "name": "version", "type": "string" },
{ "name": "chainId", "type": "uint256" },
{ "name": "verifyingContract", "type": "address" }
]
},
"domain": {
"name": "ElementEx",
"version": "1.0.0",
"chainId": "5000",
"verifyingContract": "0x2fa13cf695ec51ded5b8e45ad0bef838ab17e2af"
},
"primaryType": "BatchSignedERC721Orders",
"message": {
"maker": "0x6d3b90747dbf5883bf88ff7eb5fcc86f408b5409",
"listingTime": "1706688449",
"expiryTime": "1709280466",
"startNonce": "7",
"erc20Token": "0x09bc4e0d864854c6afb6eb9a9cdf58ac190d0df9",
"platformFeeRecipient": "0x7538262ae993ca117a0e481f908209137a4626e",
"basicCollections": [
{
"nftAddress": "0xaaaea1fb9f3de3f70e89f37b69ab11b47eb9ce6f",
"fee": "0x000000000000000000c80000000000000000000000000000000000000000000",
"items": [
"0x000000000000000020c8558000000000000000000000000000000000000005d"
]
}
],
"collections": [],
"hashNonce": "0"
}
}

0 comments on commit ea1eabc

Please sign in to comment.