0xee9b1a09aedaced9dcda74964ea447feb93861c2
Solidity v0.8.24+commit.e11b9ed9
管理与风险
谁能修改规则?
Detected mintable, pausable, freezable, ownable, and role based controls from the verified ABI.
当前控制
- Owner
- 0x0d190b74308669e8f4fe7dbce3466169b285289d ↗ Etherscan → smarts
概览
读取函数
Block #25,291,979 · just nowGets the role identifier that authorizes bridge minters or burners.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | bytes32 role identifier constant for accounts allowed to mint or burn via the bridge✨ AI |
Return the bytes32 role identifier for accounts allowed to burn tokens.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 constant role identifier (hash) for the BURNER role used in access control.✨ AI |
Returns the bytes32 role identifier used for checker admin permissions.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 role identifier for the CHECKER_ADMIN_ROLE, used with AccessControl checks.✨ AI |
Return the role identifier used for the contract's default admin role.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | bytes32 identifier for the default admin role (grants admin privileges over role management).✨ AI |
Returns the bytes32 identifier for the freezer role used to authorize freeze-related actions.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 role identifier that represents the freezer role for access control checks.✨ AI |
Returns the role identifier used to grant minter permissions.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 role identifier for MINTER_ROLE used in access-control checks to grant minting rights.✨ AI |
Returns the bytes32 identifier used to grant and check the pauser role.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 role identifier for accounts permitted to pause contract actions.✨ AI |
Returns the bytes32 role identifier used for the contract's recovery role.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | bytes32 role identifier used to grant recovery or emergency permissions.✨ AI |
Returns the UNFREEZER_ROLE identifier used to authorize callers who can unfreeze token accounts.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 role identifier for UNFREEZER_ROLE used in access control checks.✨ AI |
Returns the bytes32 role identifier used to grant the unpauser permission.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The bytes32 identifier corresponding to the UNPAUSER_ROLE for access control checks.✨ AI |
Get the current default administrator address for the TokenGovernor.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address that has the default admin role for the governor.✨ AI |
Returns the configured default admin delay in seconds, the required wait before an admin action becomes executable.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint48 | The default administrative delay (uint48) expressed in seconds, required before executing queued admin actions.✨ AI |
Returns the waiting period required to increase the default admin delay.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint48 | The waiting period in seconds as a uint48 before a change to the default admin delay takes effect.✨ AI |
Get the list of admin addresses for this governor contract.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of admin addresses |
Returns the list of addresses authorized as bridge minters or burners.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of bridge minter addresses |
Returns the list of addresses that are authorized to burn tokens.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of burner addresses |
Return the address of the configured checker contract.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | Address of the checker contract |
Retrieve the array of addresses assigned the checker admin role.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of checker admin addresses |
Return the list of freezer addresses currently registered with the governor.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of freezer addresses |
Returns the list of addresses currently authorized to mint tokens.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of minter addresses |
Returns the list of addresses currently authorized to pause and unpause the contract.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of pauser addresses |
Get the list of recovery manager addresses.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of recovery manager addresses |
Returns the admin role that controls the given role.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier to query (bytes32).✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | Admin role identifier (bytes32) that controls the provided role.✨ AI |
Return the address at a specific index for a given role.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier as a bytes32 hash.✨ AI |
| index | uint256 | Zero-based index of the member in the role's member set.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | Address of the role member at the provided index.✨ AI |
Return the number of accounts that currently hold the specified role.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier (bytes32) to query.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Number of members assigned to the role as a uint256.✨ AI |
Return the list of addresses that hold the specified role.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | Role identifier (bytes32) to query membership for.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of addresses currently assigned to the role.✨ AI |
Returns the governance token contract address.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | The address of the ERC20 token used for governance.✨ AI |
Fetch the token balance held by this governor contract.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Balance of the token |
Returns the list of addresses authorized to unfreeze accounts.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of unfreezer addresses |
Returns the list of addresses authorized to unpause the token contract.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of unpauser addresses |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | |
| account | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| newAdmin | address | |
| schedule | uint48 |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| newDelay | uint48 | |
| schedule | uint48 |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| interfaceId | bytes4 |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool |
写入函数
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| accounts | address[] | List of addresses to drain tokens from |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| accounts | address[] | List of addresses to freeze |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| accounts | address[] | List of addresses to unfreeze |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| newAdmin | address |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| amount | uint256 | Amount of tokens to burn |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if successful |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| from | address | Address to burn tokens from. Must have an approval set on this contract |
| amount | uint256 | Amount of tokens to burn |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if successful |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| newDelay | uint48 |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address to drain tokens from |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| data | bytes | Function call data |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes | returnData The data returned by the call |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address to freeze |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | |
| account | address |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| recipient | address | |
| amount | uint256 | Amount of tokens to mint |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if successful |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| amount | uint256 | Amount of tokens to mint |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if successful |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| token | address | Address of token to recover |
| recipient | address | Address to receive the tokens |
| amount | uint256 | Amount to recover |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| token | address | Address of token to recover |
| recipient | address | Address to receive the tokens |
| amount | uint256 | Amount to recover |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | |
| account | address |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| role | bytes32 | |
| account | address |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| newChecker | address | The address of the new checker contract |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| newOwner | address | Address of the new owner |
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| account | address | Address to unfreeze |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| account | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| account | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| from | address | ✓ | |
| amount | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| recipient | address | ✓ | |
| amount | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| previousChecker | address | ✓ | |
| newChecker | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| newDelay | uint48 | ||
| effectSchedule | uint48 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| newAdmin | address | ✓ | |
| acceptSchedule | uint48 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| account | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| token | address | ✓ | |
| recipient | address | ✓ | |
| amount | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| from | address | ✓ | |
| amount | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| recipient | address | ✓ | |
| amount | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| newOwner | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| role | bytes32 | ✓ | |
| previousAdminRole | bytes32 | ✓ | |
| newAdminRole | bytes32 | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| role | bytes32 | ✓ | |
| account | address | ✓ | |
| sender | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| role | bytes32 | ✓ | |
| account | address | ✓ | |
| sender | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| data | bytes | ||
| returnData | bytes |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| caller | address | ✓ | |
| tokenAddress | address | ✓ | |
| recipient | address | ✓ | |
| amount | uint256 |