Initializable
contract Initializable
is TimeHelpers
Source: contracts/common/Initializable.sol
Index
Reference
Modifiers
isInitialized
modifier`` isInitialized()
onlyInit
modifier`` onlyInit()
Functions
getInitializationBlock
function`` getInitializationBlock() public view returns (uint256)
Returns:
Block number in which the contract was initialized
hasInitialized
function`` hasInitialized() public view returns (bool)
Returns:
Whether the contract has been initialized by the time of the current block
initialized
function`` initialized() internal
Function to be called by top level contract after initialization has finished.
Modifiers:
initializedAt
function`` initializedAt(uint256 _blockNumber) internal
Function to be called by top level contract after initialization to enable the contract at a future block number rather than immediately.
Modifiers:
Parameters:
_blockNumber- uint256
Last updated
Was this helpful?
