Module Initializable

Module Initializable 

Source
Expand description

Generated by the following Solidity interface…

interface Initializable {
    error InvalidInitialization();
    error NotInitializing();

    event Initialized(uint64 version);
}

…which was generated by the following JSON ABI:

[
  {
    "type": "event",
    "name": "Initialized",
    "inputs": [
      {
        "name": "version",
        "type": "uint64",
        "indexed": false,
        "internalType": "uint64"
      }
    ],
    "anonymous": false
  },
  {
    "type": "error",
    "name": "InvalidInitialization",
    "inputs": []
  },
  {
    "type": "error",
    "name": "NotInitializing",
    "inputs": []
  }
]

Structs§

InitializableInstance
A Initializable instance.
Initialized
Event with signature Initialized(uint64) and selector 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
InvalidInitialization
Custom error with signature InvalidInitialization() and selector 0xf92ee8a9.
NotInitializing
Custom error with signature NotInitializing() and selector 0xd7e6bcf8.

Enums§

InitializableErrors
Container for all the Initializable custom errors.
InitializableEvents
Container for all the Initializable events.

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 Initializable contract instance.