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§
- ICounter
Instance - A
ICounterinstance. - increment
Call - Function with signature
increment(bytes32,uint256)and selector0x0affc437. - increment
Return - Container type for the return parameters of the
increment(bytes32,uint256)function. - require
GteCall - Function with signature
requireGte(bytes32,uint256)and selector0xb14a2676. - require
GteReturn - Container type for the return parameters of the
requireGte(bytes32,uint256)function.
Enums§
- ICounter
Calls - Container for all the
ICounterfunction 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
providerand constructor arguments, if any. - deploy_
builder - Creates a
RawCallBuilderfor deploying this contract using the givenproviderand constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
ICountercontract instance.