Documentation ¶
Index ¶
- Variables
- func NewWallet(keyname string, address []byte, mnemonic string) ibc.Wallet
- func PanicFunctionName()
- type EthereumChain
- func (c *EthereumChain) Acknowledgements(ctx context.Context, height int64) ([]ibc.PacketAcknowledgement, error)
- func (c *EthereumChain) Bind() []string
- func (c *EthereumChain) BuildRelayerWallet(ctx context.Context, keyName string) (ibc.Wallet, error)
- func (c *EthereumChain) Config() ibc.ChainConfig
- func (c *EthereumChain) Exec(ctx context.Context, cmd []string, env []string) (stdout, stderr []byte, err error)
- func (c *EthereumChain) ExportState(ctx context.Context, height int64) (string, error)
- func (c *EthereumChain) GetBalance(ctx context.Context, address string, denom string) (sdkmath.Int, error)
- func (c *EthereumChain) GetGRPCAddress() string
- func (c *EthereumChain) GetGasFeesInNativeDenom(gasPaid int64) int64
- func (c *EthereumChain) GetHostGRPCAddress() string
- func (*EthereumChain) GetHostPeerAddress() string
- func (c *EthereumChain) GetHostRPCAddress() string
- func (c *EthereumChain) GetHostWSAddress() string
- func (c *EthereumChain) GetRPCAddress() string
- func (c *EthereumChain) GetWSAddress() string
- func (c *EthereumChain) Height(ctx context.Context) (int64, error)
- func (c *EthereumChain) HomeDir() string
- func (c *EthereumChain) HostName() string
- func (c *EthereumChain) Initialize(ctx context.Context, testName string, cli *dockerclient.Client, ...) error
- func (c *EthereumChain) Logger() *zap.Logger
- func (c *EthereumChain) Name() string
- func (c *EthereumChain) NewJob() *dockerutil.Image
- func (c *EthereumChain) SendIBCTransfer(ctx context.Context, channelID, keyName string, amount ibc.WalletAmount, ...) (ibc.Tx, error)
- func (c *EthereumChain) Start(ctx context.Context, cmd []string, mount []mount.Mount) error
- func (c *EthereumChain) Timeouts(ctx context.Context, height int64) ([]ibc.PacketTimeout, error)
- type EthereumWallet
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GWEI = sdkmath.NewInt(1_000_000_000) ETHER = GWEI.MulRaw(1_000_000_000) )
Functions ¶
func PanicFunctionName ¶
func PanicFunctionName()
Types ¶
type EthereumChain ¶
type EthereumChain struct {
// contains filtered or unexported fields
}
func NewEthereumChain ¶
func NewEthereumChain(testName string, chainConfig ibc.ChainConfig, log *zap.Logger) *EthereumChain
func (*EthereumChain) Acknowledgements ¶
func (c *EthereumChain) Acknowledgements(ctx context.Context, height int64) ([]ibc.PacketAcknowledgement, error)
func (*EthereumChain) Bind ¶
func (c *EthereumChain) Bind() []string
func (*EthereumChain) BuildRelayerWallet ¶
func (*EthereumChain) Config ¶
func (c *EthereumChain) Config() ibc.ChainConfig
func (*EthereumChain) ExportState ¶
func (*EthereumChain) GetBalance ¶
func (*EthereumChain) GetGRPCAddress ¶
func (c *EthereumChain) GetGRPCAddress() string
func (*EthereumChain) GetGasFeesInNativeDenom ¶
func (c *EthereumChain) GetGasFeesInNativeDenom(gasPaid int64) int64
func (*EthereumChain) GetHostGRPCAddress ¶
func (c *EthereumChain) GetHostGRPCAddress() string
func (*EthereumChain) GetHostPeerAddress ¶
func (*EthereumChain) GetHostPeerAddress() string
func (*EthereumChain) GetHostRPCAddress ¶
func (c *EthereumChain) GetHostRPCAddress() string
func (*EthereumChain) GetHostWSAddress ¶
func (c *EthereumChain) GetHostWSAddress() string
func (*EthereumChain) GetRPCAddress ¶
func (c *EthereumChain) GetRPCAddress() string
func (*EthereumChain) GetWSAddress ¶
func (c *EthereumChain) GetWSAddress() string
func (*EthereumChain) HomeDir ¶
func (c *EthereumChain) HomeDir() string
func (*EthereumChain) HostName ¶
func (c *EthereumChain) HostName() string
func (*EthereumChain) Initialize ¶
func (c *EthereumChain) Initialize(ctx context.Context, testName string, cli *dockerclient.Client, networkID string) error
func (*EthereumChain) Logger ¶
func (c *EthereumChain) Logger() *zap.Logger
func (*EthereumChain) Name ¶
func (c *EthereumChain) Name() string
func (*EthereumChain) NewJob ¶
func (c *EthereumChain) NewJob() *dockerutil.Image
func (*EthereumChain) SendIBCTransfer ¶
func (c *EthereumChain) SendIBCTransfer(ctx context.Context, channelID, keyName string, amount ibc.WalletAmount, options ibc.TransferOptions) (ibc.Tx, error)
func (*EthereumChain) Timeouts ¶
func (c *EthereumChain) Timeouts(ctx context.Context, height int64) ([]ibc.PacketTimeout, error)
type EthereumWallet ¶
type EthereumWallet struct {
// contains filtered or unexported fields
}
func (*EthereumWallet) Address ¶
func (w *EthereumWallet) Address() []byte
Get Address with chain's prefix
func (*EthereumWallet) FormattedAddress ¶
func (w *EthereumWallet) FormattedAddress() string
Get formatted address, passing in a prefix
func (*EthereumWallet) KeyName ¶
func (w *EthereumWallet) KeyName() string
func (*EthereumWallet) Mnemonic ¶
func (w *EthereumWallet) Mnemonic() string
Get mnemonic, only used for relayer wallets
Click to show internal directories.
Click to hide internal directories.