ImTokenMinimal

Git Source

Functions

name

EIP-20 token name for this token

function name() external view returns (string memory);

symbol

EIP-20 token symbol for this token

function symbol() external view returns (string memory);

decimals

EIP-20 token decimals for this token

function decimals() external view returns (uint8);

totalSupply

Returns the value of tokens in existence.

function totalSupply() external view returns (uint256);

totalUnderlying

Returns the amount of underlying tokens

function totalUnderlying() external view returns (uint256);

balanceOf

Returns the value of tokens owned by account.

function balanceOf(address account) external view returns (uint256);

Parameters

NameTypeDescription
accountaddressThe account to check for

isMToken

Returns true

function isMToken() external view returns (bool);

underlying

Returns the underlying address

function underlying() external view returns (address);