Documentation ¶
Index ¶
Constants ¶
View Source
const ( Wei Unit = 1 Ada = 1000 * Wei Babbage = 1000 * Ada Shannon = 1000 * Babbage Szabo = 1000 * Shannon Finney = 1000 * Szabo Ether = 1000 * Finney Einstein = 1000 * Ether Douglas = 1000 * Einstein )
These are the multipliers for ether denominations. Example: To get the wei value of an amount in 'douglas', use
new(big.Int).Mul(value, big.NewInt(params.Douglas))
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.