Documentation ¶
Index ¶
- func Cmp(val1 *big.Int, currency1 *common.Address, val2 *big.Int, ...) int
- func Convert(val *big.Int, currencyFrom *common.Address, currencyTo *common.Address) (*big.Int, error)
- func ConvertToGold(val *big.Int, currencyFrom *common.Address) (*big.Int, error)
- func CurrencyWhitelist(header *types.Header, state vm.StateDB) ([]common.Address, error)
- func GetBalanceOf(accountOwner common.Address, contractAddress common.Address, gas uint64, ...) (result *big.Int, gasUsed uint64, err error)
- func IsWhitelisted(currencyAddress common.Address, header *types.Header, state vm.StateDB) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
func Convert(val *big.Int, currencyFrom *common.Address, currencyTo *common.Address) (*big.Int, error)
NOTE (jarmg 4/24/19): values are rounded down which can cause an estimate to be off by 1 (at most)
func ConvertToGold ¶
func CurrencyWhitelist ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.