What you can do
| check balance | Read $M or wM balance | balanceOf(address) on the token contract for the chain |
| wrap | Convert $M to wM | wrap(recipient, amount) on the wM contract. Amount is in $M base units. |
| unwrap | Convert wM back to $M | unwrap(recipient, amount) on the wM contract. |
| transfer | Send $M or wM | transfer(address,uint256) on the token contract for that chain |
Minting and redemption of $M run through the M0 platform. Those contracts are not covered by these entries.
Earning and yield depend on the account's earning status. Check isEarning before assuming yield.
Each chain has its own token contracts. Send only on the chain that matches the address.
Contracts
Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).$Mtoken on ethereum0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b
write transfer(address,uint256)
Send $M to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
$M balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total $M supply on this chain, in base units.
read decimals()
Token decimals. Returns 6.
$Mtoken on arbitrum0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b
write transfer(address,uint256)
Send $M to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
$M balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total $M supply on this chain, in base units.
read decimals()
Token decimals. Returns 6.
$Mtoken on base0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b
write transfer(address,uint256)
Send $M to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
$M balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total $M supply on this chain, in base units.
read decimals()
Token decimals. Returns 6.
$Mtoken on bsc0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b
write transfer(address,uint256)
Send $M to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
$M balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total $M supply on this chain, in base units.
read decimals()
Token decimals. Returns 6.
$Mtoken on linea0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b
write transfer(address,uint256)
Send $M to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
$M balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total $M supply on this chain, in base units.
read decimals()
Token decimals. Returns 6.
$Mtoken on hyperevm0x866A2BF4E572CbcF37D5071A7a58503Bfb36be1b
write transfer(address,uint256)
Send $M to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance. Amount is in base units.
write transferFrom(address,address,uint256)
Spend an allowance: from, to, amount in base units.
read balanceOf(address)
$M balance of an address, in base units.
read allowance(address,address)
Allowance an owner gave a spender: owner, spender.
read totalSupply()
Total $M supply on this chain, in base units.
read decimals()
Token decimals. Returns 6.
Wrapped $M (wM)token on ethereum0x437cc33344a0B27A429f795ff6B469C72698B291
write wrap(address,uint256)
Transfer $M from the caller and mint wM to the recipient. Args: recipient, amount in $M base units.
write unwrap(address,uint256)
Burn wM from the caller and send $M to the recipient. Args: recipient, amount.
write wrapWithPermit(address,uint256,uint256,uint8,bytes32,bytes32)
Wrap $M using a permit signature. Args: recipient, amount, deadline, v, r, s.
write transfer(address,uint256)
Send wM to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance for wM.
write transferFrom(address,address,uint256)
Spend a wM allowance: from, to, amount.
read balanceOf(address)
wM balance of an address, in base units.
read totalSupply()
Total wM supply, in base units.
read accruedYieldOf(address)
Yield accrued by an earning account.
read balanceWithYieldOf(address)
Balance of an account including accrued yield.
read isEarning(address)
True if the account is currently earning yield.
write claimExcess()
Claim excess yield held by the wM contract for the configured destination.
read decimals()
Token decimals. Returns 6.
Wrapped $M (wM)token on arbitrum0x437cc33344a0B27A429f795ff6B469C72698B291
write wrap(address,uint256)
Transfer $M from the caller and mint wM to the recipient. Args: recipient, amount in $M base units.
write unwrap(address,uint256)
Burn wM from the caller and send $M to the recipient. Args: recipient, amount.
write wrapWithPermit(address,uint256,uint256,uint8,bytes32,bytes32)
Wrap $M using a permit signature. Args: recipient, amount, deadline, v, r, s.
write transfer(address,uint256)
Send wM to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance for wM.
write transferFrom(address,address,uint256)
Spend a wM allowance: from, to, amount.
read balanceOf(address)
wM balance of an address, in base units.
read totalSupply()
Total wM supply, in base units.
read accruedYieldOf(address)
Yield accrued by an earning account.
read balanceWithYieldOf(address)
Balance of an account including accrued yield.
read isEarning(address)
True if the account is currently earning yield.
write claimExcess()
Claim excess yield held by the wM contract for the configured destination.
read decimals()
Token decimals. Returns 6.
Wrapped $M (wM)token on base0x437cc33344a0B27A429f795ff6B469C72698B291
write wrap(address,uint256)
Transfer $M from the caller and mint wM to the recipient. Args: recipient, amount in $M base units.
write unwrap(address,uint256)
Burn wM from the caller and send $M to the recipient. Args: recipient, amount.
write wrapWithPermit(address,uint256,uint256,uint8,bytes32,bytes32)
Wrap $M using a permit signature. Args: recipient, amount, deadline, v, r, s.
write transfer(address,uint256)
Send wM to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance for wM.
write transferFrom(address,address,uint256)
Spend a wM allowance: from, to, amount.
read balanceOf(address)
wM balance of an address, in base units.
read totalSupply()
Total wM supply, in base units.
read accruedYieldOf(address)
Yield accrued by an earning account.
read balanceWithYieldOf(address)
Balance of an account including accrued yield.
read isEarning(address)
True if the account is currently earning yield.
write claimExcess()
Claim excess yield held by the wM contract for the configured destination.
read decimals()
Token decimals. Returns 6.
Wrapped $M (wM)token on bsc0x437cc33344a0B27A429f795ff6B469C72698B291
write wrap(address,uint256)
Transfer $M from the caller and mint wM to the recipient. Args: recipient, amount in $M base units.
write unwrap(address,uint256)
Burn wM from the caller and send $M to the recipient. Args: recipient, amount.
write wrapWithPermit(address,uint256,uint256,uint8,bytes32,bytes32)
Wrap $M using a permit signature. Args: recipient, amount, deadline, v, r, s.
write transfer(address,uint256)
Send wM to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance for wM.
write transferFrom(address,address,uint256)
Spend a wM allowance: from, to, amount.
read balanceOf(address)
wM balance of an address, in base units.
read totalSupply()
Total wM supply, in base units.
read accruedYieldOf(address)
Yield accrued by an earning account.
read balanceWithYieldOf(address)
Balance of an account including accrued yield.
read isEarning(address)
True if the account is currently earning yield.
write claimExcess()
Claim excess yield held by the wM contract for the configured destination.
read decimals()
Token decimals. Returns 6.
Wrapped $M (wM)token on linea0x437cc33344a0B27A429f795ff6B469C72698B291
write wrap(address,uint256)
Transfer $M from the caller and mint wM to the recipient. Args: recipient, amount in $M base units.
write unwrap(address,uint256)
Burn wM from the caller and send $M to the recipient. Args: recipient, amount.
write wrapWithPermit(address,uint256,uint256,uint8,bytes32,bytes32)
Wrap $M using a permit signature. Args: recipient, amount, deadline, v, r, s.
write transfer(address,uint256)
Send wM to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance for wM.
write transferFrom(address,address,uint256)
Spend a wM allowance: from, to, amount.
read balanceOf(address)
wM balance of an address, in base units.
read totalSupply()
Total wM supply, in base units.
read accruedYieldOf(address)
Yield accrued by an earning account.
read balanceWithYieldOf(address)
Balance of an account including accrued yield.
read isEarning(address)
True if the account is currently earning yield.
write claimExcess()
Claim excess yield held by the wM contract for the configured destination.
read decimals()
Token decimals. Returns 6.
Wrapped $M (wM)token on hyperevm0x437cc33344a0B27A429f795ff6B469C72698B291
write wrap(address,uint256)
Transfer $M from the caller and mint wM to the recipient. Args: recipient, amount in $M base units.
write unwrap(address,uint256)
Burn wM from the caller and send $M to the recipient. Args: recipient, amount.
write wrapWithPermit(address,uint256,uint256,uint8,bytes32,bytes32)
Wrap $M using a permit signature. Args: recipient, amount, deadline, v, r, s.
write transfer(address,uint256)
Send wM to a recipient. Amount is in base units (6 decimals).
write approve(address,uint256)
Set a spender allowance for wM.
write transferFrom(address,address,uint256)
Spend a wM allowance: from, to, amount.
read balanceOf(address)
wM balance of an address, in base units.
read totalSupply()
Total wM supply, in base units.
read accruedYieldOf(address)
Yield accrued by an earning account.
read balanceWithYieldOf(address)
Balance of an account including accrued yield.
read isEarning(address)
True if the account is currently earning yield.
write claimExcess()
Claim excess yield held by the wM contract for the configured destination.
read decimals()
Token decimals. Returns 6.