MintManager

Optimism 瀏覽鏈

0x5c4e7ba1e219e47948e6e3f55019a647ba501005

Solidity v0.8.12+commit.f00d7308

🤖
透過你的 AI 查詢此合約
參考: 0x5c4e7ba1e219e47948e6e3f55019a647ba501005
範例提示詞: "Tell me the current state of optimism/0x5c4e7ba1e219e47948e6e3f55019a647ba501005"
還沒有接入 AI?→ mcp.smarts.md · 瀏覽鏈

管理與風險

誰能修改規則?

Block #152,753,052

Detected mintable and ownable controls from the verified ABI.

Mintable Ownable

當前控制

Owner
0x2a82ae142b2e62cb7d10b55e323acb1cab663a26 ↗ Etherscan → smarts

概覽

讀取函式
6
寫入函式
4
事件
1

讀取函式

Block #152,753,052 · just now
DENOMINATOR() view → 1,000

Return the denominator constant used for fractional and percentage calculations.✨ AI

回傳值

名稱 類型 描述
uint256 The denominator (uint256) constant used as the divisor for ratios, percentages, and fee calculations.✨ AI
MINT_CAP() view → 20

Returns the maximum total number of tokens that can be minted.✨ AI

回傳值

名稱 類型 描述
uint256 The mint cap as a uint256 representing the maximum mintable token quantity.✨ AI
MINT_PERIOD() view → 31,536,000

Returns the current minting period length in seconds.✨ AI

回傳值

名稱 類型 描述
uint256 The minting period duration as a uint256 number of seconds.✨ AI
governanceToken() view → 0x4200000000000000000000000000000000000042

Returns the address of the governance token used by this contract.✨ AI

回傳值

名稱 類型 描述
address The governance token contract address (ERC-20) used for voting and protocol governance.✨ AI
mintPermittedAfter() view → 1,793,220,409

Returns the timestamp after which minting is permitted.✨ AI

回傳值

名稱 類型 描述
uint256 Unix timestamp (seconds) after which mint operations are allowed.✨ AI
owner() view → 0x2a82ae142b2e62cb7d10b55e323acb1cab663a26

Returns the current owner address of the contract.✨ AI

開發者: Returns the address of the current owner.

回傳值

名稱 類型 描述
address The address of the contract owner (account with administrative privileges).✨ AI

寫入函式

mint(_account: address, _amount: uint256) nonpayable

Only the token owner is allowed to mint a certain amount of OP per year.

參數

名稱 類型 描述
_account address Address to mint new tokens to.
_amount uint256 Amount of tokens to be minted.
renounceOwnership() nonpayable

Renounces contract ownership by removing the owner and preventing future owner-only actions.✨ AI

開發者: 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

Transfer contract ownership to a new address.✨ AI

開發者: Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.

參數

名稱 類型 描述
newOwner address Address that will become the contract owner.✨ AI
upgrade(_newMintManager: address) nonpayable

Upgrade the owner of the governance token to a new MintManager.

參數

名稱 類型 描述
_newMintManager address The MintManager to upgrade to

事件

OwnershipTransferred(previousOwner: address, newOwner: address)
名稱 類型 已索引 描述
previousOwner address
newOwner address