MKR

Ethereum ERC-20 Token Browse chains

0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2

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 · Browse chains

Admin & Risk

Who can change the rules?

Block #25,493,371

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,493,371 · just now
name() view → 0x4d616b6572000000000000000000000000000000000000000000000000000000

Returns the token's name as a fixed-size 32-byte value.✨ AI

Returns

Name Type Description
bytes32 bytes32: Token name encoded as a 32-byte value; UTF-8 bytes are right-padded with zero bytes if shorter.✨ AI
totalSupply() view → 90,160.41 MKR

Returns the total number of tokens in existence.✨ AI

Returns

Name Type Description
uint256 Total token supply as a uint256 representing all tokens currently issued.✨ AI
decimals() view → 18

Returns the number of decimal places the token uses.✨ AI

Returns

Name Type Description
uint256 Number of decimal places used by the token (uint256).✨ AI
balanceOf(src: address) view

Returns the token balance for the specified address.✨ AI

Parameters

Name Type Description
src address Address whose token balance will be queried.✨ AI

Returns

Name Type Description
uint256 The token balance (uint256) held by the address.✨ AI
stopped() view → false

Indicates whether the token contract is currently stopped.✨ AI

Returns

Name Type Description
bool True if the contract is stopped (pausing transfers and restricted operations); otherwise false.✨ AI
owner() view → 0x0000000000000000000000000000000000000000

Return the address that currently owns and controls the token contract.✨ AI

Returns

Name Type Description
address The address of the account with ownership rights over the token contract.✨ AI
symbol() view → 0x4d4b520000000000000000000000000000000000000000000000000000000000

Returns the token's symbol.✨ AI

Returns

Name Type Description
bytes32 bytes32 value containing the token symbol encoded as ASCII in a bytes32 word, right-padded with zero bytes.✨ AI
authority() view → 0x6eeb68b2c7a918f36b78e2db80dcf279236ddfb8

Returns the address that currently has authority over the token.✨ AI

Returns

Name Type Description
address The authority address that controls privileged token operations such as administrative actions or policy changes.✨ AI
allowance(src: address, guy: address) view

Returns the remaining number of tokens that 'guy' is allowed to transfer from 'src'.✨ AI

Parameters

Name Type Description
src address The token owner address.✨ AI
guy address The spender address whose allowance is queried.✨ AI

Returns

Name Type Description
uint256 The allowance amount (uint256) representing how many tokens 'guy' may still spend from 'src'.✨ AI

Write Functions

stop() nonpayable

Pauses token transfers and other state-changing actions.✨ AI

dev: Only callable by the owner or an authorized account; sets a stopped flag that blocks transfers until start() is called.✨ AI
approve(guy: address, wad: uint256) nonpayable

Approve an address to spend tokens from your account via transferFrom.✨ AI

Parameters

Name Type Description
guy address Address approved to spend tokens on the caller's behalf.✨ AI
wad uint256

Returns

Name Type Description
bool True if the approval succeeded, otherwise false.✨ AI
setOwner(owner_: address) nonpayable

Sets the contract owner to the specified address.✨ AI

Parameters

Name Type Description
owner_ address Address to become the new owner of the token contract.✨ AI
transferFrom(src: address, dst: address, wad: uint256) nonpayable

Transfer wad tokens from src to dst using the caller's allowance, returning true on success.✨ AI

Parameters

Name Type Description
src address Address to transfer tokens from.✨ AI
dst address Address to receive the tokens.✨ AI
wad uint256 Amount of tokens to transfer (in smallest token units).✨ AI

Returns

Name Type Description
bool True if the transfer completed successfully.✨ AI
mint(guy: address, wad: uint256) nonpayable

Mint tokens and credit them to the caller's balance.✨ AI

Parameters

Name Type Description
guy address
wad uint256 Amount of tokens, in the token's base units, to create and add to the caller.✨ AI
burn(wad: uint256) nonpayable

Burns tokens from an account, reducing the account balance and total supply.✨ AI

Parameters

Name Type Description
wad uint256 Amount of tokens to burn, expressed in the token's smallest unit.✨ AI
setName(name_: bytes32) nonpayable

Set the token's name to the provided bytes32 value.✨ AI

Parameters

Name Type Description
name_ bytes32 New token name encoded as a 32-byte (bytes32) value.✨ AI
setAuthority(authority_: address) nonpayable

Sets the contract's authority address to a new address.✨ AI

Parameters

Name Type Description
authority_ address New authority address that will control privileged actions.✨ AI
burn(guy: address, wad: uint256) nonpayable

Burns tokens from an account, reducing the account balance and total supply.✨ AI

Parameters

Name Type Description
guy address Address whose tokens will be burned.✨ AI
wad uint256 Amount of tokens to burn, expressed in the token's smallest unit.✨ AI
mint(wad: uint256) nonpayable

Mint tokens and credit them to the caller's balance.✨ AI

Parameters

Name Type Description
wad uint256 Amount of tokens, in the token's base units, to create and add to the caller.✨ AI
transfer(dst: address, wad: uint256) nonpayable

Transfer wad tokens from the caller to the dst address.✨ AI

Parameters

Name Type Description
dst address Recipient address.✨ AI
wad uint256 Token amount to transfer, in the token's smallest units.✨ AI

Returns

Name Type Description
bool True if the transfer succeeded, false otherwise.✨ AI
push(dst: address, wad: uint256) nonpayable

Transfer wad tokens from the caller's balance to dst.✨ AI

Parameters

Name Type Description
dst address Recipient address to receive the tokens.✨ AI
wad uint256 Number of tokens to transfer, expressed in the token's smallest unit.✨ AI
move(src: address, dst: address, wad: uint256) nonpayable

Transfer wad tokens from src to dst, updating balances.✨ AI

Parameters

Name Type Description
src address Address to debit the tokens from.✨ AI
dst address Address to credit the tokens to.✨ AI
wad uint256 Amount of tokens to transfer, in the token's smallest unit.✨ AI
start() nonpayable

Start the token to enable transfers and allow normal token operations.✨ AI

approve(guy: address) nonpayable

Approve an address to spend tokens from your account via transferFrom.✨ AI

Parameters

Name Type Description
guy address Address approved to spend tokens on the caller's behalf.✨ AI

Returns

Name Type Description
bool True if the approval succeeded, otherwise false.✨ AI
pull(src: address, wad: uint256) nonpayable

Pull wad tokens from src into the caller's balance using the caller's allowance.✨ AI

Parameters

Name Type Description
src address Address to pull tokens from; must have approved the caller.✨ AI
wad uint256 Amount of tokens to transfer, expressed in the token's smallest unit.✨ AI

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