Skip to main content

CommitUpgradeTypedDataOnyze

types objectrequired
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}$

    value 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

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