shared

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: GPL-2.0, GPL-3.0 Imports: 16 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 ControllerContract *internals.Controller
View Source
var ControllerContractAddress common.Address
View Source
var ControllerName = EnsNode("controller.tokencard.eth")
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 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.Oraclize
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 TKNAddress common.Address
View Source
var TestRig = ethertest.NewTestRig()
View Source
var WalletAddress common.Address

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