MKR
Ethereum ERC-20 Token0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
Solidity v0.4.18+commit.9cf6e910
Fungible token following the ERC-20 standard.
🤖
Query this contract from your AI
Reference:
mkr-eth
0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
Sample prompt:
“Tell me the current state of mkr-eth”
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
- 0x0000000000000000000000000000000000000000 (none)
Overview
Read Functions
9
Write Functions
16
Events
7
Read Functions
Block #25,169,814 · just now
name()
view
→ 0x4d616b6572000000000000000000000000000000000000000000000000000000
Returns
| Name | Type | Description |
|---|---|---|
| — | bytes32 |
totalSupply()
view
→ 90,811.60 MKR
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
decimals()
view
→ 18
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
balanceOf(src: address)
view
Parameters
| Name | Type | Description |
|---|---|---|
| src | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
stopped()
view
→ false
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
owner()
view
→ 0x0000000000000000000000000000000000000000
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
symbol()
view
→ 0x4d4b520000000000000000000000000000000000000000000000000000000000
Returns
| Name | Type | Description |
|---|---|---|
| — | bytes32 |
authority()
view
→ 0x6eeb68b2c7a918f36b78e2db80dcf279236ddfb8
Returns
| Name | Type | Description |
|---|---|---|
| — | address |
allowance(src: address, guy: address)
view
Parameters
| Name | Type | Description |
|---|---|---|
| src | address | |
| guy | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | uint256 |
Write Functions
stop()
nonpayable
approve(guy: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| guy | address | |
| wad | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
setOwner(owner_: address)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| owner_ | address |
transferFrom(src: address, dst: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| src | address | |
| dst | address | |
| wad | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
mint(guy: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| guy | address | |
| wad | uint256 |
burn(wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| wad | uint256 |
setName(name_: bytes32)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| name_ | bytes32 |
setAuthority(authority_: address)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| authority_ | address |
burn(guy: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| guy | address | |
| wad | uint256 |
mint(wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| wad | uint256 |
transfer(dst: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| dst | address | |
| wad | uint256 |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
push(dst: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| dst | address | |
| wad | uint256 |
move(src: address, dst: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| src | address | |
| dst | address | |
| wad | uint256 |
start()
nonpayable
approve(guy: address)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| guy | address |
Returns
| Name | Type | Description |
|---|---|---|
| — | bool |
pull(src: address, wad: uint256)
nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| src | address | |
| wad | uint256 |
Events
Mint(guy: address, wad: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| guy | address | ✓ | |
| wad | uint256 |
Burn(guy: address, wad: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| guy | address | ✓ | |
| wad | uint256 |
LogSetAuthority(authority: address)
| Name | Type | Indexed | Description |
|---|---|---|---|
| authority | address | ✓ |
LogSetOwner(owner: address)
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ |
LogNote(sig: bytes4, guy: address, foo: bytes32, bar: bytes32, wad: uint256, fax: bytes)
| Name | Type | Indexed | Description |
|---|---|---|---|
| sig | bytes4 | ✓ | |
| guy | address | ✓ | |
| foo | bytes32 | ✓ | |
| bar | bytes32 | ✓ | |
| wad | uint256 | ||
| fax | bytes |
Transfer(from: address, to: address, value: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| from | address | ✓ | |
| to | address | ✓ | |
| value | uint256 |
Approval(owner: address, spender: address, value: uint256)
| Name | Type | Indexed | Description |
|---|---|---|---|
| owner | address | ✓ | |
| spender | address | ✓ | |
| value | uint256 |