ERC20
Functions
constructor
constructor(string,string)
public
Name | Type | Description |
---|---|---|
name_ | string | |
symbol_ | string |
name
name()
view public
Returns:
Name | Type | Description |
---|---|---|
[0] | string |
symbol
symbol()
view public
Returns:
Name | Type | Description |
---|---|---|
[0] | string |
decimals
decimals()
view public
Returns:
Name | Type | Description |
---|---|---|
[0] | uint8 |
totalSupply
totalSupply()
view public
Returns:
Name | Type | Description |
---|---|---|
[0] | uint256 |
balanceOf
balanceOf(address)
view public
Name | Type | Description |
---|---|---|
account | address |
Returns:
Name | Type | Description |
---|---|---|
[0] | uint256 |
transfer
transfer(address,uint256)
public
Name | Type | Description |
---|---|---|
recipient | address | |
amount | uint256 |
Returns:
Name | Type | Description |
---|---|---|
[0] | bool |
allowance
allowance(address,address)
view public
Name | Type | Description |
---|---|---|
owner | address | |
spender | address |
Returns:
Name | Type | Description |
---|---|---|
[0] | uint256 |
approve
approve(address,uint256)
public
Name | Type | Description |
---|---|---|
spender | address | |
amount | uint256 |
Returns:
Name | Type | Description |
---|---|---|
[0] | bool |
transferFrom
transferFrom(address,address,uint256)
public
Name | Type | Description |
---|---|---|
sender | address | |
recipient | address | |
amount | uint256 |
Returns:
Name | Type | Description |
---|---|---|
[0] | bool |
increaseAllowance
increaseAllowance(address,uint256)
public
Name | Type | Description |
---|---|---|
spender | address | |
addedValue | uint256 |
Returns:
Name | Type | Description |
---|---|---|
[0] | bool |
decreaseAllowance
decreaseAllowance(address,uint256)
public
Name | Type | Description |
---|---|---|
spender | address | |
subtractedValue | uint256 |
Returns:
Name | Type | Description |
---|---|---|
[0] | bool |