interchain_tester

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthClientHelper

type EthClientHelper struct {
	Helper
	*ethereum.EthClient
	// contains filtered or unexported fields
}

func (*EthClientHelper) GetBalance

func (c *EthClientHelper) GetBalance(username string) string

func (*EthClientHelper) InterchainTransfer

func (c *EthClientHelper) InterchainTransfer(targetAppId, from, to, amount string)

func (*EthClientHelper) SetBalance

func (c *EthClientHelper) SetBalance(username, amount string) string

type FabricClientHelper

type FabricClientHelper struct {
	Helper
	*fabric.FabricClient
	// contains filtered or unexported fields
}

func (*FabricClientHelper) GetBalance

func (c *FabricClientHelper) GetBalance(username string) string

func (*FabricClientHelper) InterchainTransfer

func (c *FabricClientHelper) InterchainTransfer(targetAppId, contractAddr, from, to, amount string)

func (*FabricClientHelper) SetBalance

func (c *FabricClientHelper) SetBalance(username, amount string) string

type Helper

type Helper struct {
	// contains filtered or unexported fields
}

func (*Helper) AssertBalance

func (h *Helper) AssertBalance(expected, before, after string) error

func (*Helper) Retry

func (h *Helper) Retry(action retry.Action)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL