github.com/aidoskuneen/adk-node@v0.0.0-20220315131952-2e32567cb7f4/signer/core/testdata/eip712.json (about)

     1  {
     2    "types": {
     3      "EIP712Domain": [
     4        {
     5          "name": "name",
     6          "type": "string"
     7        },
     8        {
     9          "name": "version",
    10          "type": "string"
    11        },
    12        {
    13          "name": "chainId",
    14          "type": "uint256"
    15        },
    16        {
    17          "name": "verifyingContract",
    18          "type": "address"
    19        }
    20      ],
    21      "Person": [
    22        {
    23          "name": "name",
    24          "type": "string"
    25        },
    26        {
    27          "name": "test",
    28          "type": "uint8"
    29        },
    30        {
    31          "name": "test2",
    32          "type": "uint8"
    33        },
    34        {
    35          "name": "wallet",
    36          "type": "address"
    37        }
    38      ],
    39      "Mail": [
    40        {
    41          "name": "from",
    42          "type": "Person"
    43        },
    44        {
    45          "name": "to",
    46          "type": "Person"
    47        },
    48        {
    49          "name": "contents",
    50          "type": "string"
    51        }
    52      ]
    53    },
    54    "primaryType": "Mail",
    55    "domain": {
    56      "name": "Ether Mail",
    57      "version": "1",
    58      "chainId": "1",
    59      "verifyingContract": "0xCCCcccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
    60    },
    61    "message": {
    62      "from": {
    63        "name": "Cow",
    64        "test": "3",
    65        "test2": 5.0,
    66        "wallet": "0xcD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826"
    67      },
    68      "to": {
    69        "name": "Bob",
    70        "test": "0",
    71        "test2": 5,
    72        "wallet": "0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB"
    73      },
    74      "contents": "Hello, Bob!"
    75    }
    76  }