EIP712 tests - Renamed -test.json files into -data.json

This commit is contained in:
Alexandre Paillier
2022-08-16 16:19:06 +02:00
parent fd93495096
commit 089de9e28f
13 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
{
"domain": {
"chainId": 1,
"name": "Addresses Array Mail",
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
"version": "1"
},
"message": {
"contents": "Hello, Bob!",
"from": "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
"to": [
"0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57",
"0xb1a22cc48f6784f629a994917cd6474923630c48"
],
"id": 7
},
"primaryType": "Mail",
"types": {
"EIP712Domain": [
{ "name": "name", "type": "string" },
{ "name": "version", "type": "string" },
{ "name": "chainId", "type": "uint256" },
{ "name": "verifyingContract", "type": "address" }
],
"Mail": [
{ "name": "from", "type": "address" },
{ "name": "to", "type": "address[]" },
{ "name": "contents", "type": "string" }
]
}
}