Expand description
Generated by the following Solidity interface…
interface IEpochController {
function currentEpoch() external view returns (uint256);
function epochDuration() external view returns (uint256);
function epochTimestamp(uint256 epoch) external view returns (uint256);
function initTimestamp() external view returns (uint256);
}
…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "currentEpoch",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "epochDuration",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "epochTimestamp",
"inputs": [
{
"name": "epoch",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "initTimestamp",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]
Structs§
- IEpoch
Controller Instance - A
IEpochController
instance. - current
Epoch Call - Function with signature
currentEpoch()
and selector0x76671808
. - current
Epoch Return - Container type for the return parameters of the
currentEpoch()
function. - epoch
Duration Call - Function with signature
epochDuration()
and selector0x4ff0876a
. - epoch
Duration Return - Container type for the return parameters of the
epochDuration()
function. - epoch
Timestamp Call - Function with signature
epochTimestamp(uint256)
and selector0x32da089e
. - epoch
Timestamp Return - Container type for the return parameters of the
epochTimestamp(uint256)
function. - init
Timestamp Call - Function with signature
initTimestamp()
and selector0x7358c57a
. - init
Timestamp Return - Container type for the return parameters of the
initTimestamp()
function.
Enums§
- IEpoch
Controller Calls - Container for all the
IEpochController
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 givenprovider
and constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
IEpochController
contract instance.