Module ICounter

Source
Expand description

Generated by the following Solidity interface…

interface ICounter {
    function increment(bytes32 key, uint256 value) external;
    function requireGte(bytes32 key, uint256 value) external view;
}

…which was generated by the following JSON ABI:

[
  {
    "type": "function",
    "name": "increment",
    "inputs": [
      {
        "name": "key",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "value",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "requireGte",
    "inputs": [
      {
        "name": "key",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "value",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "view"
  }
]

Structs§

ICounterInstance
A ICounter instance.
incrementCall
Function with signature increment(bytes32,uint256) and selector 0x0affc437.
incrementReturn
Container type for the return parameters of the increment(bytes32,uint256) function.
requireGteCall
Function with signature requireGte(bytes32,uint256) and selector 0xb14a2676.
requireGteReturn
Container type for the return parameters of the requireGte(bytes32,uint256) function.

Enums§

ICounterCalls
Container for all the ICounter function calls.

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