0xfe89cc7abb2c4183683ab71653c4cdc9b02d44b7
Solidity v0.8.7+commit.e28d00a7
管理與風險
誰能修改規則?
Detected role based controls from the verified ABI.
概覽
讀取函式
Block #25,494,072 · just nowReturn the bytes32 identifier for the contract's default admin role.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | bytes32 identifier for the default admin role used to manage timelock permissions.✨ AI |
Returns the role identifier used to grant executor permissions.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 identifier for the EXECUTOR_ROLE used to check or grant executor permissions.✨ AI |
Return the role identifier for accounts allowed to propose operations.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 identifier for the PROPOSER_ROLE; used to check or grant proposal permissions.✨ AI |
Returns the bytes32 identifier for the Timelock admin role.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 role identifier used to check or grant the timelock admin role.✨ AI |
Returns the current minimum delay the timelock requires before executing queued operations.✨ AI
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| duration | uint256 | duration: The minimum delay, in seconds, required before queued operations can be executed.✨ AI |
Get the admin role that controls a specified role.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier (bytes32) to query.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes32 | Admin role identifier (bytes32) that controls the given role.✨ AI |
Returns the timestamp when the specified operation becomes executable.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| id | bytes32 | Operation identifier (bytes32) used to look up the scheduled timestamp.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| timestamp | uint256 | The scheduled timestamp in Unix seconds when the operation is executable, or 0 if not scheduled.✨ AI |
Checks whether the given account has the specified role and returns true if it does.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier to check, provided as a bytes32 value.✨ AI |
| account | address | Address of the account to check for the role.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | True if the account holds the specified role, otherwise false.✨ AI |
Computes the operation identifier hash from the target, value, data, predecessor, and salt.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| target | address | Target contract address for the scheduled call.✨ AI |
| value | uint256 | Amount of wei to send with the call.✨ AI |
| data | bytes | Calldata bytes for the call to the target.✨ AI |
| predecessor | bytes32 | Operation id that must be executed before this one (bytes32), or zero.✨ AI |
| salt | bytes32 | User-supplied salt to make the operation id unique (bytes32).✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| hash | bytes32 | hash: keccak256(abi.encode(target, value, data, predecessor, salt)) that uniquely identifies the operation (bytes32).✨ AI |
Computes the keccak256 hash that uniquely identifies a batch operation.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| targets | address[] | Array of target addresses called by the batch.✨ AI |
| values | uint256[] | Array of ETH values (in wei) forwarded to each target.✨ AI |
| datas | bytes[] | Array of call data payloads for each target call.✨ AI |
| predecessor | bytes32 | Operation id that must execute before this batch (bytes32 zero for none).✨ AI |
| salt | bytes32 | User-supplied salt (bytes32) to distinguish otherwise identical batches.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| hash | bytes32 | Bytes32 hash identifying the batch, computed from targets, values, datas, predecessor, and salt.✨ AI |
Checks whether the given operation id is currently pending in the timelock.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| id | bytes32 | Operation identifier to query.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| pending | bool | pending: true if the operation is pending, false otherwise.✨ AI |
Reports whether a scheduled operation has been executed.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| id | bytes32 | Identifier of the operation to query.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| done | bool | done: true if the operation has been executed, false otherwise.✨ AI |
Return true if the operation with the given id is pending.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| id | bytes32 | Operation identifier to check (bytes32).✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| pending | bool | pending: true if the operation is pending (scheduled and not yet executed or canceled).✨ AI |
Return true if the specified operation is ready for execution.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| id | bytes32 | Operation identifier as a bytes32 hash, returned when the operation was scheduled.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| ready | bool | ready: true if the operation's delay has elapsed and it can be executed, otherwise false.✨ AI |
Check if the contract implements the interface identified by interfaceId.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| interfaceId | bytes4 | The ERC165 interface identifier to query.✨ AI |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bool | true if the contract supports the specified interfaceId, otherwise false.✨ AI |
寫入函式
Cancel a scheduled operation so it can no longer be executed.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| id | bytes32 | Identifier of the scheduled operation to cancel.✨ AI |
Executes a scheduled transaction by calling target with value and data once prerequisites are satisfied.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| target | address | Destination contract or account address to call.✨ AI |
| value | uint256 | Amount of wei to send with the call.✨ AI |
| data | bytes | Encoded call data (function selector and arguments).✨ AI |
| predecessor | bytes32 | Operation id that must be executed before this one, or zero if none.✨ AI |
| salt | bytes32 | Unique salt identifying the scheduled operation.✨ AI |
Execute a scheduled batch of transactions after its timelock has expired.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| targets | address[] | Array of addresses to call.✨ AI |
| values | uint256[] | Array of wei amounts to send to each target.✨ AI |
| datas | bytes[] | Array of calldata bytes for each respective call.✨ AI |
| predecessor | bytes32 | Operation id that must be executed before this batch; use zero hash if none.✨ AI |
| salt | bytes32 | Salt used when scheduling the operation to uniquely identify the batch.✨ AI |
Grants a role to an account, enabling that account to perform role-restricted actions.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier to grant, as a bytes32 hash.✨ AI |
| account | address | Address that will receive the role.✨ AI |
Allows an account to renounce a role it holds; the call must be made by that account.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier (bytes32) to renounce.✨ AI |
| account | address | Address renouncing the role; must equal msg.sender.✨ AI |
Revoke a role from an account, removing that account's permissions managed by the timelock.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier (bytes32) to revoke.✨ AI |
| account | address | Address of the account whose role will be revoked.✨ AI |
Schedules a transaction for future execution by recording its target, value, calldata, and execution delay.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| target | address | Address of the contract or account to call when the operation executes.✨ AI |
| value | uint256 | Amount of wei to send with the call.✨ AI |
| data | bytes | Calldata payload to send to the target on execution.✨ AI |
| predecessor | bytes32 | Optional operation id that must be executed before this one (bytes32).✨ AI |
| salt | bytes32 | Unique salt to create the operation id and avoid collisions (bytes32).✨ AI |
| delay | uint256 | Time in seconds to wait before the operation becomes executable.✨ AI |
Schedules a batch of transactions that the timelock will execute after the specified delay.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| targets | address[] | Addresses of contracts or accounts to call.✨ AI |
| values | uint256[] | Ether amounts (in wei) to send with each call.✨ AI |
| datas | bytes[] | Encoded calldata payloads for each corresponding target.✨ AI |
| predecessor | bytes32 | Operation id that must be executed before this batch; use zero for no predecessor.✨ AI |
| salt | bytes32 | Unique salt value used to produce the operation id.✨ AI |
| delay | uint256 | Delay in seconds before the scheduled batch becomes executable.✨ AI |
Updates the minimum delay for timelocked operations.✨ AI
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| newDelay | uint256 | New minimum delay in seconds to apply to scheduled operations.✨ AI |
事件
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| id | bytes32 | ✓ | |
| index | uint256 | ✓ | |
| target | address | ||
| value | uint256 | ||
| data | bytes |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| id | bytes32 | ✓ | |
| index | uint256 | ✓ | |
| target | address | ||
| value | uint256 | ||
| data | bytes | ||
| predecessor | bytes32 | ||
| delay | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| id | bytes32 | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| oldDuration | uint256 | ||
| newDuration | uint256 |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| role | bytes32 | ✓ | |
| previousAdminRole | bytes32 | ✓ | |
| newAdminRole | bytes32 | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| role | bytes32 | ✓ | |
| account | address | ✓ | |
| sender | address | ✓ |
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| role | bytes32 | ✓ | |
| account | address | ✓ | |
| sender | address | ✓ |