Versions in this module Expand all Collapse all v0 v0.1.0 Feb 9, 2022 Changes in this version + const IbchostABI + type ChannelCounterpartyData struct + ChannelId string + PortId string + type ChannelData struct + ConnectionHops []string + Counterparty ChannelCounterpartyData + Ordering uint8 + State uint8 + Version string + type ConnectionEndData struct + ClientId string + Counterparty CounterpartyData + DelayPeriod uint64 + State uint8 + Versions []VersionData + type CounterpartyData struct + ClientId string + ConnectionId string + Prefix MerklePrefixData + type HeightData struct + RevisionHeight uint64 + RevisionNumber uint64 + type Ibchost struct + func NewIbchost(address common.Address, backend bind.ContractBackend) (*Ibchost, error) + type IbchostCaller struct + func NewIbchostCaller(address common.Address, caller bind.ContractCaller) (*IbchostCaller, error) + func (_Ibchost *IbchostCaller) AuthenticateCapability(opts *bind.CallOpts, name []byte, addr common.Address) (bool, error) + func (_Ibchost *IbchostCaller) GetChannel(opts *bind.CallOpts, portId string, channelId string) (ChannelData, bool, error) + func (_Ibchost *IbchostCaller) GetClientImpl(opts *bind.CallOpts, clientType string) (common.Address, bool, error) + func (_Ibchost *IbchostCaller) GetClientState(opts *bind.CallOpts, clientId string) ([]byte, bool, error) + func (_Ibchost *IbchostCaller) GetClientType(opts *bind.CallOpts, clientId string) (string, error) + func (_Ibchost *IbchostCaller) GetConnection(opts *bind.CallOpts, connectionId string) (ConnectionEndData, bool, error) + func (_Ibchost *IbchostCaller) GetConsensusState(opts *bind.CallOpts, clientId string, height uint64) ([]byte, bool, error) + func (_Ibchost *IbchostCaller) GetModuleOwner(opts *bind.CallOpts, name []byte) (common.Address, bool, error) + func (_Ibchost *IbchostCaller) GetNextSequenceAck(opts *bind.CallOpts, portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostCaller) GetNextSequenceRecv(opts *bind.CallOpts, portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostCaller) GetNextSequenceSend(opts *bind.CallOpts, portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostCaller) GetPacketAcknowledgementCommitment(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, bool, error) + func (_Ibchost *IbchostCaller) GetPacketCommitment(opts *bind.CallOpts, portId string, channelId string, sequence uint64) ([32]byte, bool, error) + func (_Ibchost *IbchostCaller) HasPacketReceipt(opts *bind.CallOpts, portId string, channelId string, sequence uint64) (bool, error) + func (_Ibchost *IbchostCaller) MakePacketAcknowledgementCommitment(opts *bind.CallOpts, acknowledgement []byte) ([32]byte, error) + func (_Ibchost *IbchostCaller) MakePacketCommitment(opts *bind.CallOpts, packet PacketData) ([32]byte, error) + func (_Ibchost *IbchostCaller) OnlyIBCModule(opts *bind.CallOpts) error + type IbchostCallerRaw struct + Contract *IbchostCaller + func (_Ibchost *IbchostCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type IbchostCallerSession struct + CallOpts bind.CallOpts + Contract *IbchostCaller + func (_Ibchost *IbchostCallerSession) AuthenticateCapability(name []byte, addr common.Address) (bool, error) + func (_Ibchost *IbchostCallerSession) GetChannel(portId string, channelId string) (ChannelData, bool, error) + func (_Ibchost *IbchostCallerSession) GetClientImpl(clientType string) (common.Address, bool, error) + func (_Ibchost *IbchostCallerSession) GetClientState(clientId string) ([]byte, bool, error) + func (_Ibchost *IbchostCallerSession) GetClientType(clientId string) (string, error) + func (_Ibchost *IbchostCallerSession) GetConnection(connectionId string) (ConnectionEndData, bool, error) + func (_Ibchost *IbchostCallerSession) GetConsensusState(clientId string, height uint64) ([]byte, bool, error) + func (_Ibchost *IbchostCallerSession) GetModuleOwner(name []byte) (common.Address, bool, error) + func (_Ibchost *IbchostCallerSession) GetNextSequenceAck(portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostCallerSession) GetNextSequenceRecv(portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostCallerSession) GetNextSequenceSend(portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostCallerSession) GetPacketAcknowledgementCommitment(portId string, channelId string, sequence uint64) ([32]byte, bool, error) + func (_Ibchost *IbchostCallerSession) GetPacketCommitment(portId string, channelId string, sequence uint64) ([32]byte, bool, error) + func (_Ibchost *IbchostCallerSession) HasPacketReceipt(portId string, channelId string, sequence uint64) (bool, error) + func (_Ibchost *IbchostCallerSession) MakePacketAcknowledgementCommitment(acknowledgement []byte) ([32]byte, error) + func (_Ibchost *IbchostCallerSession) MakePacketCommitment(packet PacketData) ([32]byte, error) + func (_Ibchost *IbchostCallerSession) OnlyIBCModule() error + type IbchostFilterer struct + func NewIbchostFilterer(address common.Address, filterer bind.ContractFilterer) (*IbchostFilterer, error) + func (_Ibchost *IbchostFilterer) FilterGeneratedChannelIdentifier(opts *bind.FilterOpts) (*IbchostGeneratedChannelIdentifierIterator, error) + func (_Ibchost *IbchostFilterer) FilterGeneratedClientIdentifier(opts *bind.FilterOpts) (*IbchostGeneratedClientIdentifierIterator, error) + func (_Ibchost *IbchostFilterer) FilterGeneratedConnectionIdentifier(opts *bind.FilterOpts) (*IbchostGeneratedConnectionIdentifierIterator, error) + func (_Ibchost *IbchostFilterer) ParseGeneratedChannelIdentifier(log types.Log) (*IbchostGeneratedChannelIdentifier, error) + func (_Ibchost *IbchostFilterer) ParseGeneratedClientIdentifier(log types.Log) (*IbchostGeneratedClientIdentifier, error) + func (_Ibchost *IbchostFilterer) ParseGeneratedConnectionIdentifier(log types.Log) (*IbchostGeneratedConnectionIdentifier, error) + func (_Ibchost *IbchostFilterer) WatchGeneratedChannelIdentifier(opts *bind.WatchOpts, sink chan<- *IbchostGeneratedChannelIdentifier) (event.Subscription, error) + func (_Ibchost *IbchostFilterer) WatchGeneratedClientIdentifier(opts *bind.WatchOpts, sink chan<- *IbchostGeneratedClientIdentifier) (event.Subscription, error) + func (_Ibchost *IbchostFilterer) WatchGeneratedConnectionIdentifier(opts *bind.WatchOpts, sink chan<- *IbchostGeneratedConnectionIdentifier) (event.Subscription, error) + type IbchostGeneratedChannelIdentifier struct + Arg0 string + Raw types.Log + type IbchostGeneratedChannelIdentifierIterator struct + Event *IbchostGeneratedChannelIdentifier + func (it *IbchostGeneratedChannelIdentifierIterator) Close() error + func (it *IbchostGeneratedChannelIdentifierIterator) Error() error + func (it *IbchostGeneratedChannelIdentifierIterator) Next() bool + type IbchostGeneratedClientIdentifier struct + Arg0 string + Raw types.Log + type IbchostGeneratedClientIdentifierIterator struct + Event *IbchostGeneratedClientIdentifier + func (it *IbchostGeneratedClientIdentifierIterator) Close() error + func (it *IbchostGeneratedClientIdentifierIterator) Error() error + func (it *IbchostGeneratedClientIdentifierIterator) Next() bool + type IbchostGeneratedConnectionIdentifier struct + Arg0 string + Raw types.Log + type IbchostGeneratedConnectionIdentifierIterator struct + Event *IbchostGeneratedConnectionIdentifier + func (it *IbchostGeneratedConnectionIdentifierIterator) Close() error + func (it *IbchostGeneratedConnectionIdentifierIterator) Error() error + func (it *IbchostGeneratedConnectionIdentifierIterator) Next() bool + type IbchostRaw struct + Contract *Ibchost + func (_Ibchost *IbchostRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Ibchost *IbchostRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Ibchost *IbchostRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type IbchostSession struct + CallOpts bind.CallOpts + Contract *Ibchost + TransactOpts bind.TransactOpts + func (_Ibchost *IbchostSession) AuthenticateCapability(name []byte, addr common.Address) (bool, error) + func (_Ibchost *IbchostSession) ClaimCapability(name []byte, addr common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostSession) DeletePacketCommitment(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostSession) GenerateChannelIdentifier() (*types.Transaction, error) + func (_Ibchost *IbchostSession) GenerateClientIdentifier(clientType string) (*types.Transaction, error) + func (_Ibchost *IbchostSession) GenerateConnectionIdentifier() (*types.Transaction, error) + func (_Ibchost *IbchostSession) GetChannel(portId string, channelId string) (ChannelData, bool, error) + func (_Ibchost *IbchostSession) GetClientImpl(clientType string) (common.Address, bool, error) + func (_Ibchost *IbchostSession) GetClientState(clientId string) ([]byte, bool, error) + func (_Ibchost *IbchostSession) GetClientType(clientId string) (string, error) + func (_Ibchost *IbchostSession) GetConnection(connectionId string) (ConnectionEndData, bool, error) + func (_Ibchost *IbchostSession) GetConsensusState(clientId string, height uint64) ([]byte, bool, error) + func (_Ibchost *IbchostSession) GetModuleOwner(name []byte) (common.Address, bool, error) + func (_Ibchost *IbchostSession) GetNextSequenceAck(portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostSession) GetNextSequenceRecv(portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostSession) GetNextSequenceSend(portId string, channelId string) (uint64, error) + func (_Ibchost *IbchostSession) GetPacketAcknowledgementCommitment(portId string, channelId string, sequence uint64) ([32]byte, bool, error) + func (_Ibchost *IbchostSession) GetPacketCommitment(portId string, channelId string, sequence uint64) ([32]byte, bool, error) + func (_Ibchost *IbchostSession) HasPacketReceipt(portId string, channelId string, sequence uint64) (bool, error) + func (_Ibchost *IbchostSession) MakePacketAcknowledgementCommitment(acknowledgement []byte) ([32]byte, error) + func (_Ibchost *IbchostSession) MakePacketCommitment(packet PacketData) ([32]byte, error) + func (_Ibchost *IbchostSession) OnlyIBCModule() error + func (_Ibchost *IbchostSession) SetChannel(portId string, channelId string, channel ChannelData) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetClientImpl(clientType string, clientImpl common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetClientState(clientId string, clientStateBytes []byte) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetClientType(clientId string, clientType string) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetConnection(connectionId string, connection ConnectionEndData) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetConsensusState(clientId string, height uint64, consensusStateBytes []byte) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetIBCModule(ibcModule_ common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetNextSequenceAck(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetNextSequenceRecv(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetNextSequenceSend(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetPacketAcknowledgementCommitment(portId string, channelId string, sequence uint64, acknowledgement []byte) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetPacketCommitment(portId string, channelId string, sequence uint64, packet PacketData) (*types.Transaction, error) + func (_Ibchost *IbchostSession) SetPacketReceipt(portId string, channelId string, sequence uint64) (*types.Transaction, error) + type IbchostTransactor struct + func NewIbchostTransactor(address common.Address, transactor bind.ContractTransactor) (*IbchostTransactor, error) + func (_Ibchost *IbchostTransactor) ClaimCapability(opts *bind.TransactOpts, name []byte, addr common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) DeletePacketCommitment(opts *bind.TransactOpts, portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) GenerateChannelIdentifier(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) GenerateClientIdentifier(opts *bind.TransactOpts, clientType string) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) GenerateConnectionIdentifier(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetChannel(opts *bind.TransactOpts, portId string, channelId string, channel ChannelData) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetClientImpl(opts *bind.TransactOpts, clientType string, clientImpl common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetClientState(opts *bind.TransactOpts, clientId string, clientStateBytes []byte) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetClientType(opts *bind.TransactOpts, clientId string, clientType string) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetConnection(opts *bind.TransactOpts, connectionId string, connection ConnectionEndData) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetConsensusState(opts *bind.TransactOpts, clientId string, height uint64, ...) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetIBCModule(opts *bind.TransactOpts, ibcModule_ common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetNextSequenceAck(opts *bind.TransactOpts, portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetNextSequenceRecv(opts *bind.TransactOpts, portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetNextSequenceSend(opts *bind.TransactOpts, portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetPacketAcknowledgementCommitment(opts *bind.TransactOpts, portId string, channelId string, sequence uint64, ...) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetPacketCommitment(opts *bind.TransactOpts, portId string, channelId string, sequence uint64, ...) (*types.Transaction, error) + func (_Ibchost *IbchostTransactor) SetPacketReceipt(opts *bind.TransactOpts, portId string, channelId string, sequence uint64) (*types.Transaction, error) + type IbchostTransactorRaw struct + Contract *IbchostTransactor + func (_Ibchost *IbchostTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type IbchostTransactorSession struct + Contract *IbchostTransactor + TransactOpts bind.TransactOpts + func (_Ibchost *IbchostTransactorSession) ClaimCapability(name []byte, addr common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) DeletePacketCommitment(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) GenerateChannelIdentifier() (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) GenerateClientIdentifier(clientType string) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) GenerateConnectionIdentifier() (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetChannel(portId string, channelId string, channel ChannelData) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetClientImpl(clientType string, clientImpl common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetClientState(clientId string, clientStateBytes []byte) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetClientType(clientId string, clientType string) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetConnection(connectionId string, connection ConnectionEndData) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetConsensusState(clientId string, height uint64, consensusStateBytes []byte) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetIBCModule(ibcModule_ common.Address) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetNextSequenceAck(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetNextSequenceRecv(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetNextSequenceSend(portId string, channelId string, sequence uint64) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetPacketAcknowledgementCommitment(portId string, channelId string, sequence uint64, acknowledgement []byte) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetPacketCommitment(portId string, channelId string, sequence uint64, packet PacketData) (*types.Transaction, error) + func (_Ibchost *IbchostTransactorSession) SetPacketReceipt(portId string, channelId string, sequence uint64) (*types.Transaction, error) + type MerklePrefixData struct + KeyPrefix []byte + type PacketData struct + Data []byte + DestinationChannel string + DestinationPort string + Sequence uint64 + SourceChannel string + SourcePort string + TimeoutHeight HeightData + TimeoutTimestamp uint64 + type VersionData struct + Features []string + Identifier string