Documentation ¶
Index ¶
- func EthToWei(ethAmount *big.Float) (weiAmount *big.Int)
- func LogAccountBalance(clients ...*client.Client)
- func WeiToEth(weiAmount *big.Int) (ethAmount *big.Float)
- type ContractAddresses
- type Environment
- type EthClient
- func (c *EthClient) AccountBalance(a common.Address) (b *big.Int, err error)
- func (c *EthClient) DeployAdjudicator(ctx context.Context) (addr common.Address, tx *types.Transaction, err error)
- func (c *EthClient) DeployApp(ctx context.Context, adjudicatorAddr common.Address) (addr common.Address, tx *types.Transaction, err error)
- func (c *EthClient) DeployAssetHolderETH(ctx context.Context, adjudicatorAddr common.Address, appAddr common.Address) (addr common.Address, tx *types.Transaction, err error)
- func (c *EthClient) WaitDeployment(ctx context.Context, txs ...*types.Transaction) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogAccountBalance ¶
Types ¶
type ContractAddresses ¶
type Environment ¶
func Setup ¶
func Setup(t *testing.T) *Environment
func (*Environment) LogAccountBalances ¶
func (e *Environment) LogAccountBalances()
type EthClient ¶
func NewEthClient ¶
func (*EthClient) AccountBalance ¶
func (*EthClient) DeployAdjudicator ¶
func (*EthClient) DeployAssetHolderETH ¶
func (*EthClient) WaitDeployment ¶
Click to show internal directories.
Click to hide internal directories.