UNPKG

2.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": "test list",
19 "members": [
20 {
21 "name": "Bob",
22 "wallets": [
23 "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB",
24 "0xB0B0b0b0b0b0B000000000000000000000000000"
25 ]
26 },
27 {
28 "name": "Alice",
29 "wallets": [
30 "0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57"
31 ]
32 }
33 ]
34 },
35 "attach": {
36 "list": [
37 {
38 "name": "first",
39 "size": "100"
40 },
41 {
42 "name": "second",
43 "size": "3400"
44 }
45 ]
46 }
47 },
48 "primaryType": "Mail",
49 "types": {
50 "EIP712Domain": [
51 { "name": "name", "type": "string" },
52 { "name": "version", "type": "string" },
53 { "name": "chainId", "type": "uint256" },
54 { "name": "verifyingContract", "type": "address" }
55 ],
56 "Attachment": [
57 { "name": "name", "type": "string" },
58 { "name": "size", "type": "uint16" }
59 ],
60 "Attachments": [
61 { "name": "list", "type": "Attachment[]" }
62 ],
63 "MailingList": [
64 { "name": "name", "type": "string" },
65 { "name": "members", "type": "Person[]" }
66 ],
67 "Mail": [
68 { "name": "from", "type": "Person" },
69 { "name": "to", "type": "MailingList" },
70 { "name": "contents", "type": "string" },
71 { "name": "attach", "type": "Attachments" }
72 ],
73 "Person": [
74 { "name": "name", "type": "string" },
75 { "name": "wallets", "type": "address[]" }
76 ]
77 }
78}