shared

package
v3.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 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 ControllerNode = 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 LicenceNode = 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 OracleNode = EnsNode("oracle.tokencard.eth")
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 TokenWhitelistNode = EnsNode("token-whitelist.tokencard.eth")
View Source
var VanityAccount *ethertest.Account

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 MweiToWei

func MweiToWei(amount int) *big.Int

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