Timelock
Timelock
NewAdmin
event NewAdmin(address newAdmin)
NewPendingAdmin
event NewPendingAdmin(address newPendingAdmin)
NewDelay
event NewDelay(uint256 newDelay)
CancelTransaction
event CancelTransaction(bytes32 txHash, address target, string signature, bytes data, uint256 eta)
ExecuteTransaction
event ExecuteTransaction(bytes32 txHash, address target, string signature, bytes data, uint256 eta)
QueueTransaction
event QueueTransaction(bytes32 txHash, address target, string signature, bytes data, uint256 eta)
GRACE_PERIOD
uint256 GRACE_PERIOD
MINIMUM_DELAY
uint256 MINIMUM_DELAY
MAXIMUM_DELAY
uint256 MAXIMUM_DELAY
admin
address admin
pendingAdmin
address pendingAdmin
delay
uint256 delay
queuedTransactions
mapping(bytes32 => bool) queuedTransactions
onlyAdmin
modifier onlyAdmin()
Throws if called by any account other than the Admin.
constructor
constructor(address admin_, uint256 delay_) public
setDelay
function setDelay(uint256 delay_) public
acceptAdmin
function acceptAdmin() public
setPendingAdmin
function setPendingAdmin(address pendingAdmin_) public
queueTransaction
function queueTransaction(address target, string signature, bytes data, uint256 eta) internal returns (bytes32)
cancelTransaction
function cancelTransaction(address target, string signature, bytes data, uint256 eta) internal
_getRevertMsg
function _getRevertMsg(bytes _returnData) internal pure returns (string)
executeTransaction
function executeTransaction(address target, string signature, bytes data, uint256 eta) internal returns (bytes)
getBlockTimestamp
function getBlockTimestamp() internal view returns (uint256)
pauseCapital
function pauseCapital(address target) external
unpauseCapital
function unpauseCapital(address target) external