shared

package
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2020 License: GPL-2.0, GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BankAccount *ethertest.Account
View Source
var Controller *ethertest.Account
View Source
var ControllerAdmin *ethertest.Account
View Source
var ControllerContract *bindings.Controller
View Source
var ControllerContractAddress common.Address
View Source
var ControllerName = EnsNode("controller.tokencard.eth")
View Source
var ControllerOwner *ethertest.Account
View Source
var CryptoFloatAddress common.Address
View Source
var ENSRegistry *ens.ENSRegistry
View Source
var ENSRegistryAddress common.Address
View Source
var ENSResolver *ens.PublicResolver
View Source
var ENSResolverAddress common.Address
View Source
var ERC20Contract1 *mocks.Token
View Source
var ERC20Contract1Address common.Address
View Source
var ERC20Contract2 *mocks.Token
View Source
var ERC20Contract2Address common.Address
View Source
var ErrFailedTransaction = errors.New("transaction failed")
View Source
var LicenceAddress common.Address
View Source
var LicenceName = EnsNode("licence.tokencard.eth")
View Source
var NonCompliantERC20 *mocks.NonCompliantToken
View Source
var NonCompliantERC20Address common.Address
View Source
var OracleAddress common.Address
View Source
var OracleName = EnsNode("oracle.tokencard.eth")
View Source
var OraclizeConnector *mocks.OraclizeConnector
View Source
var OraclizeConnectorAddress common.Address
View Source
var OraclizeConnectorOwner *ethertest.Account
View Source
var OraclizeResolver *mocks.OraclizeAddrResolver
View Source
var OraclizeResolverAddress common.Address
View Source
var RandomAccount *ethertest.Account
View Source
var RandomToken *mocks.Token
View Source
var RandomTokenAddress common.Address
View Source
var Stablecoin *mocks.Token
View Source
var StablecoinAddress common.Address
View Source
var TKNBurner *mocks.BurnerToken
View Source
var TKNBurnerAddress common.Address
View Source
var TestRig = ethertest.NewTestRig()
View Source
var TokenHolder *bindings.Holder
View Source
var TokenHolderAddress common.Address
View Source
var TokenWhitelist *bindings.TokenWhitelist
View Source
var TokenWhitelistAddress common.Address
View Source
var TokenWhitelistName = EnsNode("token-whitelist.tokencard.eth")

Functions

func AlmostEqual

func AlmostEqual(val string) gtypes.GomegaMatcher

func DecimalsToMagnitude

func DecimalsToMagnitude(decimals *big.Int) *big.Int

func EnsNode

func EnsNode(name string) common.Hash

func EthToWei

func EthToWei(amount int) *big.Int

func ExponentiateDecimals

func ExponentiateDecimals(decimals uint8) *big.Int

func FinneyToWei

func FinneyToWei(amount int) *big.Int

func GweiToWei

func GweiToWei(amount int) *big.Int

func InitializeBackend

func InitializeBackend() error

func LabelHash

func LabelHash(label string) common.Hash

func StringsToByte32

func StringsToByte32(names ...string) [][32]byte

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL