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 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 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 Licence *bindings.Licence
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 Oracle *bindings.Oracle
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 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 TokenWhitelistName = EnsNode("token-whitelist.tokencard.eth")
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.