ITimelock
Functions
delay
function delay() external view returns (uint256);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
GRACE_PERIOD
function GRACE_PERIOD() external view returns (uint256);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
acceptAdmin
function acceptAdmin() external;
queuedTransactions
function queuedTransactions(bytes32 hash) external view returns (bool);
Parameters
| Name | Type | Description |
|---|---|---|
| hash | bytes32 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bool |
queueTransaction
function queueTransaction(
uint256 proposalId,
address target,
uint256 value,
string calldata signature,
bytes calldata data,
uint256 eta
) external returns (bytes32);
Parameters
| Name | Type | Description |
|---|---|---|
| proposalId | uint256 | |
| target | address | |
| value | uint256 | |
| signature | string | |
| data | bytes | |
| eta | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bytes32 |
cancelTransaction
function cancelTransaction(
uint256 proposalId,
address target,
uint256 value,
string calldata signature,
bytes calldata data,
uint256 eta
) external;
Parameters
| Name | Type | Description |
|---|---|---|
| proposalId | uint256 | |
| target | address | |
| value | uint256 | |
| signature | string | |
| data | bytes | |
| eta | uint256 |
executeTransaction
function executeTransaction(
uint256 proposalId,
address target,
uint256 value,
string calldata signature,
bytes calldata data,
bytes32 codehash,
uint256 eta
) external payable returns (bytes memory);
Parameters
| Name | Type | Description |
|---|---|---|
| proposalId | uint256 | |
| target | address | |
| value | uint256 | |
| signature | string | |
| data | bytes | |
| codehash | bytes32 | |
| eta | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| <none> | bytes |