Expand description
Generated by the following Solidity interface…
interface FastTypes {
struct Constant {
bytes32 key;
}
struct Counter {
bytes32 key;
}
struct Owned {
bytes32 key;
address owner;
}
struct Set {
bytes32 key;
}
function get(Owned memory o) external view returns (bytes32);
function requireExist(Set memory s, bytes32 value) external view;
function requireGet(Constant memory c) external view returns (bytes32);
function requireGte(Counter memory c, uint256 value) external view;
}…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "get",
"inputs": [
{
"name": "o",
"type": "tuple",
"internalType": "struct FastTypes.Owned",
"components": [
{
"name": "key",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "requireExist",
"inputs": [
{
"name": "s",
"type": "tuple",
"internalType": "struct FastTypes.Set",
"components": [
{
"name": "key",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "value",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "view"
},
{
"type": "function",
"name": "requireGet",
"inputs": [
{
"name": "c",
"type": "tuple",
"internalType": "struct FastTypes.Constant",
"components": [
{
"name": "key",
"type": "bytes32",
"internalType": "bytes32"
}
]
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "requireGte",
"inputs": [
{
"name": "c",
"type": "tuple",
"internalType": "struct FastTypes.Counter",
"components": [
{
"name": "key",
"type": "bytes32",
"internalType": "bytes32"
}
]
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "view"
}
]Structs§
- Constant
- Counter
- Fast
Types Instance - A
FastTypesinstance. - Owned
- Set
- getCall
- Function with signature
get((bytes32,address))and selector0xe2959982. - getReturn
- Container type for the return parameters of the
get((bytes32,address))function. - require
Exist Call - Function with signature
requireExist((bytes32),bytes32)and selector0xf19eadcc. - require
Exist Return - Container type for the return parameters of the
requireExist((bytes32),bytes32)function. - require
GetCall - Function with signature
requireGet((bytes32))and selector0xfdd4a73d. - require
GetReturn - Container type for the return parameters of the
requireGet((bytes32))function. - require
GteCall - Function with signature
requireGte((bytes32),uint256)and selector0x57ff741c. - require
GteReturn - Container type for the return parameters of the
requireGte((bytes32),uint256)function.
Enums§
- Fast
Types Calls - Container for all the
FastTypesfunction 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
FastTypescontract instance.