IERC20Minimal
Git Source Interface for the ERC20 token standard with minimal functionalityFunctions
balanceOf
Returns the balance of a token for a specific account| Name | Type | Description |
|---|---|---|
account | address | The address of the account to query |
| Name | Type | Description |
|---|---|---|
<none> | uint256 | The balance of tokens held by the account |
transfer
Transfers a specified amount of tokens from the caller’s account to a recipient’s account| Name | Type | Description |
|---|---|---|
recipient | address | The address of the recipient |
amount | uint256 | The amount of tokens to transfer |
| Name | Type | Description |
|---|---|---|
<none> | bool | True if the transfer was successful, False otherwise |
transferFrom
Transfers a specified amount of tokens from a sender’s account to a recipient’s account| Name | Type | Description |
|---|---|---|
sender | address | The address of the sender |
recipient | address | The address of the recipient |
amount | uint256 | The amount of tokens to transfer |
| Name | Type | Description |
|---|---|---|
<none> | bool | True if the transfer was successful, False otherwise |