Skip to main content

CommitUpgradeTypedDataVenly

types object
EIP712Domain object[]
  • Array [
  • namestring
    typestring
  • ]
  • Upgrade object[]
  • Array [
  • namestring
    typestring
  • ]
  • primaryTypestring

    Possible values: [Upgrade]

    domain object
    namestring

    Name of the signing domain

    versionstring

    The current version of the signing domain

    chainIdnumber

    Numeric identifier of the blockchain

    verifyingContractstring

    Address of the contract on the blockchain that verifies the signature

    message object
    signerstring

    Blockchain address of the signer

    newImplementationstring

    Address of the contract for the new implementation

    noncestring

    Unique numeric field to prevent replay attacks

    CommitUpgradeTypedDataVenly
    {
    "domain": {
    "name": "ERC3643",
    "version": "1.0.0",
    "chainId": "137",
    "verifyingContract": "0x2B5DB3E183D5ef27b620941cA8C91106F9D1e6a3"
    },
    "types": {
    "EIP712Domain": [
    {
    "name": "name",
    "type": "string"
    },
    {
    "name": "version",
    "type": "string"
    },
    {
    "name": "chainId",
    "type": "uint256"
    },
    {
    "name": "verifyingContract",
    "type": "address"
    }
    ],
    "Upgrade": [
    {
    "name": "signer",
    "type": "address"
    },
    {
    "name": "newImplementation",
    "type": "address"
    },
    {
    "name": "nonce",
    "type": "uint256"
    }
    ]
    },
    "primaryType": "Upgrade",
    "message": {
    "signer": "0x2B5DB3E183D5ef27b620941cA8C91106F9D1e6a3",
    "newImplementation": "0x2B5DB3E183D5ef27b620941cA8C91106F9D1e6a3",
    "nonce": "2"
    }
    }