Module ERC1967Utils

Module ERC1967Utils 

Source
Expand description

Generated by the following Solidity interface…

interface ERC1967Utils {
    error ERC1967InvalidAdmin(address admin);
    error ERC1967InvalidBeacon(address beacon);
    error ERC1967InvalidImplementation(address implementation);
    error ERC1967NonPayable();
}

…which was generated by the following JSON ABI:

[
  {
    "type": "error",
    "name": "ERC1967InvalidAdmin",
    "inputs": [
      {
        "name": "admin",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "type": "error",
    "name": "ERC1967InvalidBeacon",
    "inputs": [
      {
        "name": "beacon",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "type": "error",
    "name": "ERC1967InvalidImplementation",
    "inputs": [
      {
        "name": "implementation",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "type": "error",
    "name": "ERC1967NonPayable",
    "inputs": []
  }
]

Structs§

ERC1967InvalidAdmin
Custom error with signature ERC1967InvalidAdmin(address) and selector 0x62e77ba2.
ERC1967InvalidBeacon
Custom error with signature ERC1967InvalidBeacon(address) and selector 0x64ced0ec.
ERC1967InvalidImplementation
Custom error with signature ERC1967InvalidImplementation(address) and selector 0x4c9c8ce3.
ERC1967NonPayable
Custom error with signature ERC1967NonPayable() and selector 0xb398979f.
ERC1967UtilsInstance
A ERC1967Utils instance.

Enums§

ERC1967UtilsErrors
Container for all the ERC1967Utils custom errors.

Statics§

BYTECODE
The creation / init bytecode of the contract.
DEPLOYED_BYTECODE
The runtime bytecode of the contract, as deployed on the network.

Functions§

deploy
Deploys this contract using the given provider and constructor arguments, if any.
deploy_builder
Creates a RawCallBuilder for deploying this contract using the given provider and constructor arguments, if any.
new
Creates a new wrapper around an on-chain ERC1967Utils contract instance.