UNPKG

1.35 kBJSONView Raw
1{
2 "domain": {
3 "chainId": 5,
4 "name": "Ether Mail",
5 "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
6 "version": "1"
7 },
8 "message": {
9 "contents": "Hello, Bob!",
10 "from": {
11 "name": "Cow",
12 "wallets": [
13 "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
14 "0xDeaDbeefdEAdbeefdEadbEEFdeadbeEFdEaDbeeF"
15 ]
16 },
17 "to": {
18 "name": "Bob",
19 "wallets": [
20 "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
21 "0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57",
22 "0xB0B0b0b0b0b0B000000000000000000000000000"
23 ]
24 }
25 },
26 "primaryType": "Mail",
27 "types": {
28 "EIP712Domain": [
29 { "name": "name", "type": "string" },
30 { "name": "version", "type": "string" },
31 { "name": "chainId", "type": "uint256" },
32 { "name": "verifyingContract", "type": "address" }
33 ],
34 "Mail": [
35 { "name": "from", "type": "Person" },
36 { "name": "to", "type": "Person" },
37 { "name": "contents", "type": "string" }
38 ],
39 "Person": [
40 { "name": "name", "type": "string" },
41 { "name": "wallets", "type": "address[]" }
42 ]
43 }
44}