Timelock

Ethereum Browse chains

0x1a9c8182c09f50c8318d769245bea52c32be35bc

Solidity v0.5.16+commit.9c3226ce

🤖
Query this contract from your AI
Reference: 0x1a9c8182c09f50c8318d769245bea52c32be35bc
Sample prompt: "Tell me the current state of eth/0x1a9c8182c09f50c8318d769245bea52c32be35bc"
No AI wired up yet? → mcp.smarts.md · Browse chains

Admin & Risk

Who can change the rules?

Block #25,494,057

Detected upgradeable controls from the verified ABI.

Upgradeable

Current controls

Admin
0x408ed6354d4973f66138c91495f2f2fcbd8724c3 ↗ Etherscan → smarts
  • Upgradeability inferred from ABI/events; proxy storage resolution may be incomplete.

Overview

Read Functions
7
Write Functions
6
Events
6

Read Functions

Block #25,494,057 · just now
GRACE_PERIOD() view → 1,209,600

Return the timelock's grace period in seconds.✨ AI

Returns

Name Type Description
uint256 The number of seconds after a transaction's ETA during which the queued transaction can be executed before it becomes stale.✨ AI
MAXIMUM_DELAY() view → 2,592,000

Returns the maximum delay (in seconds) that the timelock may be configured to enforce.✨ AI

Returns

Name Type Description
uint256 Maximum delay value in seconds allowed by the timelock (uint256).✨ AI
MINIMUM_DELAY() view → 172,800

Return the minimum delay in seconds required before queued timelock operations can be executed.✨ AI

Returns

Name Type Description
uint256 The minimum delay for executing queued operations, expressed in seconds as a uint256.✨ AI
admin() view → 0x408ed6354d4973f66138c91495f2f2fcbd8724c3

Returns the current administrator address of the Timelock contract.✨ AI

Returns

Name Type Description
address The address that holds administrative control and can schedule or execute privileged timelock actions.✨ AI
delay() view → 172,800

Returns the required delay (timelock) for executing queued transactions.✨ AI

Returns

Name Type Description
uint256 The current delay in seconds that must elapse before queued operations can execute.✨ AI
pendingAdmin() view → 0x0000000000000000000000000000000000000000

Returns the address proposed to become the contract admin.✨ AI

Returns

Name Type Description
address The address that is currently set as the pending admin, or the zero address if none.✨ AI
queuedTransactions(bytes32) view

Return whether a transaction identified by its bytes32 hash is currently queued in the timelock.✨ AI

Parameters

Name Type Description
bytes32

Returns

Name Type Description
bool True if the given transaction hash is currently queued in the timelock, false otherwise.✨ AI

Write Functions

acceptAdmin() nonpayable

Allow the pending admin to accept and become the contract administrator.✨ AI

cancelTransaction(target: address, value: uint256, signature: string, data: bytes, eta: uint256) nonpayable

Cancel a previously queued timelock transaction so it cannot be executed at its scheduled time.✨ AI

Parameters

Name Type Description
target address Address of the contract or account that would receive the transaction.✨ AI
value uint256 Amount of ETH in wei to send with the transaction if executed.✨ AI
signature string Function signature string used to construct calldata; empty if raw data is provided.✨ AI
data bytes Raw calldata bytes appended to the signature when the transaction was queued.✨ AI
eta uint256 Scheduled execution timestamp (seconds since epoch) when the transaction was set to be executable.✨ AI
executeTransaction(target: address, value: uint256, signature: string, data: bytes, eta: uint256) payable

Executes a queued timelocked transaction after its scheduled ETA, calling the target and optionally sending ETH.✨ AI

Parameters

Name Type Description
target address Address receiving the call.✨ AI
value uint256 Amount of ETH (in wei) to send with the call.✨ AI
signature string Function signature on the target; empty string uses raw data.✨ AI
data bytes ABI-encoded calldata to pass to the target function.✨ AI
eta uint256 Scheduled execution timestamp (UNIX seconds) that must have passed.✨ AI

Returns

Name Type Description
bytes Raw bytes returned by the executed call to the target.✨ AI
queueTransaction(target: address, value: uint256, signature: string, data: bytes, eta: uint256) nonpayable

Queue a timelocked transaction to be executed no earlier than the provided ETA.✨ AI

Parameters

Name Type Description
target address Address that will receive the call when the transaction executes.✨ AI
value uint256 Amount of wei to send with the call.✨ AI
signature string Function signature string to call on the target (e.g., "transfer(address,uint256)").✨ AI
data bytes ABI-encoded parameters to pass with the call (bytes).✨ AI
eta uint256 Earliest time the transaction can be executed, as a Unix timestamp.✨ AI

Returns

Name Type Description
bytes32 bytes32 transaction hash used to reference the queued transaction.✨ AI
setDelay(delay_: uint256) nonpayable

Set a new minimum delay for scheduled transactions.✨ AI

Parameters

Name Type Description
delay_ uint256 New delay in seconds that will be required for queued transactions.✨ AI
setPendingAdmin(pendingAdmin_: address) nonpayable

Set a new pending admin address; only the current admin can call and the pending admin must accept later.✨ AI

dev: Only callable by the current admin; updates pendingAdmin storage; the pending admin must call acceptAdmin to finish transfer.✨ AI

Parameters

Name Type Description
pendingAdmin_ address Address to assign as the pending admin who must accept to become the admin.✨ AI

Events

CancelTransaction(txHash: bytes32, target: address, value: uint256, signature: string, data: bytes, eta: uint256)
Name Type Indexed Description
txHash bytes32
target address
value uint256
signature string
data bytes
eta uint256
ExecuteTransaction(txHash: bytes32, target: address, value: uint256, signature: string, data: bytes, eta: uint256)
Name Type Indexed Description
txHash bytes32
target address
value uint256
signature string
data bytes
eta uint256
NewAdmin(newAdmin: address)
Name Type Indexed Description
newAdmin address
NewDelay(newDelay: uint256)
Name Type Indexed Description
newDelay uint256
NewPendingAdmin(newPendingAdmin: address)
Name Type Indexed Description
newPendingAdmin address
QueueTransaction(txHash: bytes32, target: address, value: uint256, signature: string, data: bytes, eta: uint256)
Name Type Indexed Description
txHash bytes32
target address
value uint256
signature string
data bytes
eta uint256