Module currency

Source

Constants§

CENTS
DOLLARS
EXISTENTIAL_DEPOSIT
The existential deposit. Set to be 1/100th of a token.
MILLICENTS
UNITS

Functions§

deposit
Generates a balance based on amount of items and bytes Items are each worth 20 Dollars Bytes each cost 1/1_000 of a Dollar