0x5c4e7ba1e219e47948e6e3f55019a647ba501005
Solidity v0.8.12+commit.f00d7308
Admin & Risk
Who can change the rules?
Detected mintable and ownable controls from the verified ABI.
Current controls
- Owner
- 0x2a82ae142b2e62cb7d10b55e323acb1cab663a26 ↗ Etherscan → smarts
Overview
Read Functions
Block #152,750,825 · just nowReturn the denominator constant used for fractional and percentage calculations.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The denominator (uint256) constant used as the divisor for ratios, percentages, and fee calculations.✨ AI |
Returns the maximum total number of tokens that can be minted.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The mint cap as a uint256 representing the maximum mintable token quantity.✨ AI |
Returns the current minting period length in seconds.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | The minting period duration as a uint256 number of seconds.✨ AI |
Returns the address of the governance token used by this contract.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The governance token contract address (ERC-20) used for voting and protocol governance.✨ AI |
Returns the timestamp after which minting is permitted.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 | Unix timestamp (seconds) after which mint operations are allowed.✨ AI |
Returns the current owner address of the contract.✨ AI
Returns
| Name | Type | Description |
|---|---|---|
| — | address | The address of the contract owner (account with administrative privileges).✨ AI |
Write Functions
Only the token owner is allowed to mint a certain amount of OP per year.
Parameters
| Name | Type | Description |
|---|---|---|
| _account | address | Address to mint new tokens to. |
| _amount | uint256 | Amount of tokens to be minted. |
Renounces contract ownership by removing the owner and preventing future owner-only actions.✨ AI
Transfer contract ownership to a new address.✨ AI
Parameters
| Name | Type | Description |
|---|---|---|
| newOwner | address | Address that will become the contract owner.✨ AI |
Upgrade the owner of the governance token to a new MintManager.
Parameters
| Name | Type | Description |
|---|---|---|
| _newMintManager | address | The MintManager to upgrade to |
Events
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |