Skip to content

Latest commit

 

History

History
194 lines (165 loc) · 5.69 KB

ERC20Detailed.md

File metadata and controls

194 lines (165 loc) · 5.69 KB

ERC20Detailed token (ERC20Detailed.sol)

View Source: contracts/token/ERC20/ERC20Detailed.sol

↗ Extends: IERC20 ↘ Derived Contracts: ERC20DetailedMock, SampleCrowdsale, SampleCrowdsaleToken

ERC20Detailed

The decimals are only for visualization purposes. All the operations are done using the smallest and indivisible token unit, just as on Ethereum all the operations are done in wei.

Contract Members

Constants & Variables

string private _name;
string private _symbol;
uint8 private _decimals;

Functions

name

function name() public
returns(string)

Returns

the name of the token.

Arguments

Name Type Description

symbol

function symbol() public
returns(string)

Returns

the symbol of the token.

Arguments

Name Type Description

decimals

function decimals() public
returns(uint8)

Returns

the number of decimals of the token.

Arguments

Name Type Description

Contracts