Module IEpochController

Module IEpochController 

Source
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§

IEpochControllerInstance
A IEpochController instance.
currentEpochCall
Function with signature currentEpoch() and selector 0x76671808.
currentEpochReturn
Container type for the return parameters of the currentEpoch() function.
epochDurationCall
Function with signature epochDuration() and selector 0x4ff0876a.
epochDurationReturn
Container type for the return parameters of the epochDuration() function.
epochTimestampCall
Function with signature epochTimestamp(uint256) and selector 0x32da089e.
epochTimestampReturn
Container type for the return parameters of the epochTimestamp(uint256) function.
initTimestampCall
Function with signature initTimestamp() and selector 0x7358c57a.
initTimestampReturn
Container type for the return parameters of the initTimestamp() function.

Enums§

IEpochControllerCalls
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 given provider and constructor arguments, if any.
new
Creates a new wrapper around an on-chain IEpochController contract instance.