Files
app-ethereum/tests/ragger/eip712_input_files/02-recipients_array_mail-data.json
Alexandre Paillier a2107b81c4 Now uses Web3 to check EIP-712 signatures in Ragger tests
Fixed platformFeeRecipient address length in 14-rabby_bug-data.json since Web3 does not handle addresses with a length != 20B
2024-05-02 18:37:35 +02:00

52 lines
1.5 KiB
JSON

{
"domain": {
"chainId": 1,
"name": "Recipients Array Mail",
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
"version": "1"
},
"message": {
"contents": "Hello, Bob!",
"from": {
"name": "Cow",
"wallets": [
"0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
"0xDeaDbeefdEAdbeefdEadbEEFdeadbeEFdEaDbeeF"
]
},
"to": [
{
"name": "Alice",
"wallets": [
"0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
"0xB0B0b0b0b0b0B000000000000000000000000000"
]
},
{
"name": "Bob",
"wallets": [
"0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57"
]
}
]
},
"primaryType": "Mail",
"types": {
"EIP712Domain": [
{ "name": "name", "type": "string" },
{ "name": "version", "type": "string" },
{ "name": "chainId", "type": "uint256" },
{ "name": "verifyingContract", "type": "address" }
],
"Mail": [
{ "name": "from", "type": "Person" },
{ "name": "to", "type": "Person[]" },
{ "name": "contents", "type": "string" }
],
"Person": [
{ "name": "name", "type": "string" },
{ "name": "wallets", "type": "address[]" }
]
}
}