MasterMinter

Ethereum 浏览链

0xe982615d461dd5cd06575bbea87624fda4e3de17

Solidity v0.4.24+commit.e67f0147

🤖
通过你的 AI 查询此合约
引用: 0xe982615d461dd5cd06575bbea87624fda4e3de17
示例提示词: "Tell me the current state of eth/0xe982615d461dd5cd06575bbea87624fda4e3de17"
还没有接入 AI?→ mcp.smarts.md · 浏览链

管理与风险

谁能修改规则?

Block #25,287,882

Detected mintable and ownable controls from the verified ABI.

Mintable Ownable

当前控制

Owner
0xc1d9fe41d19dd52cb3ae5d1d3b0030b5d498c704 ↗ Etherscan → smarts

概览

读取函数
3
写入函数
8
事件
8

读取函数

Block #25,287,882 · 16s ago
owner() view → 0xc1d9fe41d19dd52cb3ae5d1d3b0030b5d498c704

Returns the address of the contract owner.✨ AI

开发者: Tells the address of the owner

返回值

名称 类型 描述
address the address of the owner
getMinterManager() view → 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

gets the minterManager

返回值

名称 类型 描述
address
getWorker(_controller: address) view

Gets the worker at address _controller.

参数

名称 类型 描述
_controller address

返回值

名称 类型 描述
address

写入函数

incrementMinterAllowance(_allowanceIncrement: uint256) nonpayable

Increases the minter's allowance if and only if the minter is an active minter.

开发者: An minter is considered active if minterManager.isMinter(minter) returns true.

参数

名称 类型 描述
_allowanceIncrement uint256

返回值

名称 类型 描述
bool
setMinterManager(_newMinterManager: address) nonpayable

Sets the minterManager.

参数

名称 类型 描述
_newMinterManager address The address of the new minterManager contract.
decrementMinterAllowance(_allowanceDecrement: uint256) nonpayable

decreases the minter allowance if and only if the minter is currently active. The controller can safely send a signed decrementMinterAllowance() transaction to a minter and not worry about it being used to undo a removeMinter() transaction.

参数

名称 类型 描述
_allowanceDecrement uint256

返回值

名称 类型 描述
bool
configureController(_controller: address, _worker: address) nonpayable

Configure a controller with the given worker.

参数

名称 类型 描述
_controller address The controller to be configured with a worker.
_worker address The worker to be set for the newly configured controller. _worker must not be a non-zero address. To disable a worker, use removeController instead.
configureMinter(_newAllowance: uint256) nonpayable

Enables the minter and sets its allowance.

参数

名称 类型 描述
_newAllowance uint256 New allowance to be set for minter.

返回值

名称 类型 描述
bool
removeMinter() nonpayable

Removes the controller's own minter.

返回值

名称 类型 描述
bool
transferOwnership(newOwner: address) nonpayable

Transfer ownership of the contract to a new address.✨ AI

开发者: Allows the current owner to transfer control of the contract to a newOwner.

参数

名称 类型 描述
newOwner address The address to transfer ownership to.
removeController(_controller: address) nonpayable

disables a controller by setting its worker to address(0).

参数

名称 类型 描述
_controller address The controller to disable.

事件

MinterManagerSet(_oldMinterManager: address, _newMinterManager: address)
名称 类型 已索引 描述
_oldMinterManager address
_newMinterManager address
MinterConfigured(_msgSender: address, _minter: address, _allowance: uint256)
名称 类型 已索引 描述
_msgSender address
_minter address
_allowance uint256
MinterRemoved(_msgSender: address, _minter: address)
名称 类型 已索引 描述
_msgSender address
_minter address
MinterAllowanceIncremented(_msgSender: address, _minter: address, _increment: uint256, _newAllowance: uint256)
名称 类型 已索引 描述
_msgSender address
_minter address
_increment uint256
_newAllowance uint256
MinterAllowanceDecremented(msgSender: address, minter: address, decrement: uint256, newAllowance: uint256)
名称 类型 已索引 描述
msgSender address
minter address
decrement uint256
newAllowance uint256
ControllerConfigured(_controller: address, _worker: address)
名称 类型 已索引 描述
_controller address
_worker address
ControllerRemoved(_controller: address)
名称 类型 已索引 描述
_controller address
OwnershipTransferred(previousOwner: address, newOwner: address)
名称 类型 已索引 描述
previousOwner address representing the address of the previous owner
newOwner address representing the address of the new owner