MintManager
Optimism0x5c4e7ba1e219e47948e6e3f55019a647ba501005
Solidity v0.8.12+commit.f00d7308
🤖
Query this contract from your AI
Reference:
0x5c4e7ba1e219e47948e6e3f55019a647ba501005
Sample prompt:
“Tell me the current state of optimism/0x5c4e7ba1e219e47948e6e3f55019a647ba501005”
No AI wired up yet? →
mcp.smarts.md
Admin & Risk
Who can change the rules?
Detected mintable and ownable controls from the verified ABI.
Mintable
Ownable
Current controls
- Owner
- 0x2a82ae142b2e62cb7d10b55e323acb1cab663a26 ↗ Etherscan → smarts
Overview
Read Functions
6
Write Functions
4
Events
1
Read Functions
Block #152,042,920 · just now
DENOMINATOR()
view
→ 1,000
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
MINT_CAP()
view
→ 20
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
MINT_PERIOD()
view
→ 31,536,000
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
governanceToken()
view
→ 0x4200000000000000000000000000000000000042
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
mintPermittedAfter()
view
→ 1,793,220,409
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
owner()
view
→ 0x2a82ae142b2e62cb7d10b55e323acb1cab663a26
dev: Returns the address of the current owner.
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
Write Functions
mint(_account: address, _amount: uint256)
nonpayable
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. |
renounceOwnership()
nonpayable
dev: Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
transferOwnership(newOwner: address)
nonpayable
dev: Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.
Parameters
| Name | Type | Description |
|---|---|---|
| newOwner | address |
upgrade(_newMintManager: address)
nonpayable
Upgrade the owner of the governance token to a new MintManager.
Parameters
| Name | Type | Description |
|---|---|---|
| _newMintManager | address | The MintManager to upgrade to |
Events
OwnershipTransferred(previousOwner: address, newOwner: address)
| Name | Type | Indexed | Description |
|---|---|---|---|
| previousOwner | address | ✓ | |
| newOwner | address | ✓ |