github.com/core-coin/go-core/v2@v2.1.9/signer/core/testdata/eip712.json (about)

     1  {
     2    "types": {
     3      "CIP712Domain": [
     4        {
     5          "name": "name",
     6          "type": "string"
     7        },
     8        {
     9          "name": "version",
    10          "type": "string"
    11        },
    12        {
    13          "name": "networkId",
    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": "Core Mail",
    57      "version": "1",
    58      "networkId": "1",
    59      "verifyingContract": "cb375a538daf54f2e568bb4237357b1cee1aa3cb7eba"
    60    },
    61    "message": {
    62      "from": {
    63        "name": "Cow",
    64        "test": "3",
    65        "test2": 5.0,
    66        "wallet": "cb76a631db606f1452ddc2432931d611f1d5b126f848"
    67      },
    68      "to": {
    69        "name": "Bob",
    70        "test": "0",
    71        "test2": 5,
    72        "wallet": "cb27de521e43741cf785cbad450d5649187b9612018f"
    73      },
    74      "contents": "Hello, Bob!"
    75    }
    76  }