Eip712PermitERC3643TypedData
domain objectrequired
namestring
Name of the signing domain
Example:
Tc-Tokenversionstring
The current version of the signing domain
Example:
1.0.0chainIdnumber
Numeric identifier of the blockchain
Example:
137verifyingContractstring
Address of the contract on the blockchain that verifies the signature
Example:
0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccCtypes objectrequired
EIP712Domain object[]
Array [
namestring
typestring
]
Permit object[]
Array [
ownerstring
valuestring
noncestring
spenderstring
deadlinestring
]
primaryTypestringrequired
Example:
Permitmessage objectrequired
ownerstring
Address of the account that owns the tokens
Example:
0x123456A9571241e97cDb61E3FfD1937D885454ddvaluestring
Amount of tokens allowed to be transferred to the Exchange
Example:
20noncestring
Wallet signer nonce
Example:
12spenderstring
The wallet/SC that moves the tokens
Example:
0x456456A9571241e97cDb61E3FfD1937D885454dddeadlinestring
Timestamp until the signature is still valid
Example:
1324685469Eip712PermitERC3643TypedData
{
"domain": {
"name": "Tc-Token",
"version": "1.0.0",
"chainId": 137,
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC"
},
"types": {
"EIP712Domain": [
{
"name": "string",
"type": "string"
}
],
"Permit": [
{
"owner": "string",
"value": "string",
"nonce": "string",
"spender": "string",
"deadline": "string"
}
]
},
"primaryType": "Permit",
"message": {
"owner": "0x123456A9571241e97cDb61E3FfD1937D885454dd",
"value": "20",
"nonce": 12,
"spender": "0x456456A9571241e97cDb61E3FfD1937D885454dd",
"deadline": "1324685469"
}
}