Versions in this module Expand all Collapse all v0 v0.2.6 Sep 19, 2023 v0.2.5 Sep 18, 2023 Changes in this version + var ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group") + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + type Chain struct + func NewChain(config ChainConfig) (*Chain, error) + func (c *Chain) ChainID() string + func (c *Chain) Client() *client.ETHClient + func (c *Chain) Codec() codec.ProtoCodecMarshaler + func (c *Chain) Config() ChainConfig + func (c *Chain) GetAddress() (sdk.AccAddress, error) + func (c *Chain) Init(homePath string, timeout time.Duration, codec codec.ProtoCodecMarshaler, ...) error + func (c *Chain) LatestHeight() (ibcexported.Height, error) + func (c *Chain) Path() *core.PathEnd + func (c *Chain) QueryBalance(ctx core.QueryContext, address sdk.AccAddress) (sdk.Coins, error) + func (c *Chain) QueryChannel(ctx core.QueryContext) (chanRes *chantypes.QueryChannelResponse, err error) + func (c *Chain) QueryClientConsensusState(ctx core.QueryContext, dstClientConsHeight ibcexported.Height) (*clienttypes.QueryConsensusStateResponse, error) + func (c *Chain) QueryClientState(ctx core.QueryContext) (*clienttypes.QueryClientStateResponse, error) + func (c *Chain) QueryConnection(ctx core.QueryContext) (*conntypes.QueryConnectionResponse, error) + func (c *Chain) QueryDenomTraces(ctx core.QueryContext, offset uint64, limit uint64) (*transfertypes.QueryDenomTracesResponse, error) + func (c *Chain) QueryUnfinalizedRelayAcknowledgements(ctx core.QueryContext, counterparty core.LightClientICS04Querier) (core.PacketInfoList, error) + func (c *Chain) QueryUnfinalizedRelayPackets(ctx core.QueryContext, counterparty core.LightClientICS04Querier) (core.PacketInfoList, error) + func (c *Chain) QueryUnreceivedAcknowledgements(ctx core.QueryContext, seqs []uint64) ([]uint64, error) + func (c *Chain) QueryUnreceivedPackets(ctx core.QueryContext, seqs []uint64) ([]uint64, error) + func (c *Chain) RegisterMsgEventListener(listener core.MsgEventListener) + func (c *Chain) Send(msgs []sdk.Msg) bool + func (c *Chain) SendMsgs(msgs []sdk.Msg) ([]byte, error) + func (c *Chain) SetRelayInfo(p *core.PathEnd, _ *core.ProvableChain, _ *core.PathEnd) error + func (c *Chain) SetupForRelay(ctx context.Context) error + func (c *Chain) Timestamp(height ibcexported.Height) (time.Time, error) + func (c *Chain) TxAcknowledgement(opts *bind.TransactOpts, msg *chantypes.MsgAcknowledgement) (*gethtypes.Transaction, error) + func (c *Chain) TxChannelOpenAck(opts *bind.TransactOpts, msg *chantypes.MsgChannelOpenAck) (*gethtypes.Transaction, error) + func (c *Chain) TxChannelOpenConfirm(opts *bind.TransactOpts, msg *chantypes.MsgChannelOpenConfirm) (*gethtypes.Transaction, error) + func (c *Chain) TxChannelOpenInit(opts *bind.TransactOpts, msg *chantypes.MsgChannelOpenInit) (*gethtypes.Transaction, error) + func (c *Chain) TxChannelOpenTry(opts *bind.TransactOpts, msg *chantypes.MsgChannelOpenTry) (*gethtypes.Transaction, error) + func (c *Chain) TxConnectionOpenAck(opts *bind.TransactOpts, msg *conntypes.MsgConnectionOpenAck) (*gethtypes.Transaction, error) + func (c *Chain) TxConnectionOpenConfirm(opts *bind.TransactOpts, msg *conntypes.MsgConnectionOpenConfirm) (*gethtypes.Transaction, error) + func (c *Chain) TxConnectionOpenInit(opts *bind.TransactOpts, msg *conntypes.MsgConnectionOpenInit) (*gethtypes.Transaction, error) + func (c *Chain) TxConnectionOpenTry(opts *bind.TransactOpts, msg *conntypes.MsgConnectionOpenTry) (*gethtypes.Transaction, error) + func (c *Chain) TxCreateClient(opts *bind.TransactOpts, msg *clienttypes.MsgCreateClient) (*gethtypes.Transaction, error) + func (c *Chain) TxRecvPacket(opts *bind.TransactOpts, msg *chantypes.MsgRecvPacket) (*gethtypes.Transaction, error) + func (c *Chain) TxUpdateClient(opts *bind.TransactOpts, msg *clienttypes.MsgUpdateClient) (*gethtypes.Transaction, error) + func (chain *Chain) CallOpts(ctx context.Context, height int64) *bind.CallOpts + func (chain *Chain) TxOpts(ctx context.Context) *bind.TransactOpts + type ChainConfig struct + ChainId string + EnableDebugTrace bool + EthChainId int64 + HdwMnemonic string + HdwPath string + IbcAddress string + InitialRecvCheckpoint uint64 + InitialSendCheckpoint uint64 + RpcAddr string + func (*ChainConfig) Descriptor() ([]byte, []int) + func (*ChainConfig) ProtoMessage() + func (c ChainConfig) Build() (core.Chain, error) + func (c ChainConfig) IBCAddress() common.Address + func (m *ChainConfig) Marshal() (dAtA []byte, err error) + func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error) + func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ChainConfig) Reset() + func (m *ChainConfig) Size() (n int) + func (m *ChainConfig) String() string + func (m *ChainConfig) Unmarshal(dAtA []byte) error + func (m *ChainConfig) XXX_DiscardUnknown() + func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChainConfig) XXX_Merge(src proto.Message) + func (m *ChainConfig) XXX_Size() int + func (m *ChainConfig) XXX_Unmarshal(b []byte) error + type Module struct + func (Module) GetCmd(ctx *config.Context) *cobra.Command + func (Module) Name() string + func (Module) RegisterInterfaces(registry codectypes.InterfaceRegistry)