UNPKG

1.64 kBJSONView Raw
1{
2 "domain": {
3 "chainId": 5,
4 "name": "Ether Mail",
5 "verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCccccccc1",
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 {
19 "name": "Alice",
20 "wallets": [
21 "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
22 "0xB0B0b0b0b0b0B000000000000000000000000000"
23 ]
24 },
25 {
26 "name": "Bob",
27 "wallets": [
28 "0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57"
29 ]
30 }
31 ]
32 },
33 "primaryType": "Mail",
34 "types": {
35 "EIP712Domain": [
36 { "name": "name", "type": "string" },
37 { "name": "version", "type": "string" },
38 { "name": "chainId", "type": "uint256" },
39 { "name": "verifyingContract", "type": "address" }
40 ],
41 "Group": [
42 { "name": "name", "type": "string" },
43 { "name": "members", "type": "Person[]" }
44 ],
45 "Mail": [
46 { "name": "from", "type": "Person" },
47 { "name": "to", "type": "Person[]" },
48 { "name": "contents", "type": "string" }
49 ],
50 "Person": [
51 { "name": "name", "type": "string" },
52 { "name": "wallets", "type": "address[]" }
53 ]
54 }
55}