Documentation ¶
Index ¶
- Variables
- func AlmostEqual(val string) gtypes.GomegaMatcher
- func DecimalsToMagnitude(decimals *big.Int) *big.Int
- func EnsNode(name string) common.Hash
- func EnsParentNode(name string) (common.Hash, common.Hash)
- func EthToWei(amount int) *big.Int
- func ExponentiateDecimals(decimals uint8) *big.Int
- func FinneyToWei(amount int) *big.Int
- func GweiToWei(amount int) *big.Int
- func InitializeBackend() error
- func LabelHash(label string) common.Hash
- func MweiToWei(amount int) *big.Int
- func StringsToByte32(names ...string) [][32]byte
Constants ¶
This section is empty.
Variables ¶
View Source
var Backend ethertest.TestBackend
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 Licence *bindings.Licence
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 Oracle *bindings.Oracle
View Source
var OracleAddress common.Address
View Source
var OracleNode = EnsNode("oracle.tokencard.eth")
View Source
var Owner *ethertest.Account
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 EnsParentNode ¶
func ExponentiateDecimals ¶
func FinneyToWei ¶
func InitializeBackend ¶
func InitializeBackend() error
func StringsToByte32 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.