Skip to main content

CommitUpgradeTypedDataVenly

types objectrequired
EIP712Domain object[]
  • Array [
  • namestring
    typestring
  • ]
  • Upgrade object[]
  • Array [
  • namestring
    typestring
  • ]
  • primaryTypestringrequired

    Possible values: [Upgrade]

    domain objectrequired
    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

    Possible values: Value must match regular expression ^0x[0-9a-fA-F]{40}$

    message objectrequired
    signerstring

    Blockchain address of the signer

    Possible values: Value must match regular expression ^0x[0-9a-fA-F]{40}$

    newImplementationstring

    Address of the contract for the new implementation

    Possible values: Value must match regular expression ^0x[0-9a-fA-F]{40}$

    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"
    }
    }