Versions in this module Expand all Collapse all v0 v0.1.0 Feb 9, 2022 Changes in this version + const ClientType + const ModuleName + var ErrIntOverflowEthmultisig = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthEthmultisig = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidProof = sdkerrors.Register(ModuleName, 1, "invalid Multisig proof") + var ErrInvalidSignatureCount = sdkerrors.Register(ModuleName, 2, "invalid signature count") + var ErrUnexpectedEndOfGroupEthmultisig = fmt.Errorf("proto: unexpected end of group") + var SignBytes_DataType_name = map[int32]string + var SignBytes_DataType_value = map[string]int32 + func ChannelCommitmentKey(prefix []byte, portId, channelId string) ([]byte, error) + func ClientCommitmentKey(prefix []byte, clientId string) ([]byte, error) + func ClientStateSignBytes(cdc codec.BinaryCodec, height clienttypes.Height, timestamp uint64, ...) ([]byte, error) + func ConnectionCommitmentKey(prefix []byte, connectionId string) ([]byte, error) + func ConsensusCommitmentKey(prefix []byte, clientId string, height uint64) ([]byte, error) + func ConsensusStateSignBytes(cdc codec.BinaryCodec, height clienttypes.Height, timestamp uint64, ...) ([]byte, error) + func PacketAcknowledgementCommitmentKey(prefix []byte, portId, channelId string, sequence uint64) ([]byte, error) + func PacketCommitmentKey(prefix []byte, portId, channelId string, sequence uint64) ([]byte, error) + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func VerifySignature(addresses []common.Address, multiSig *MultiSignature, signBytes []byte) error + type ClientState struct + FrozenHeight Height + LatestHeight Height + func (*ClientState) Descriptor() ([]byte, []int) + func (*ClientState) ProtoMessage() + func (cs *ClientState) CheckHeaderAndUpdateState(_ sdk.Context, _ codec.BinaryCodec, _ sdk.KVStore, _ exported.Header) (exported.ClientState, exported.ConsensusState, error) + func (cs *ClientState) CheckMisbehaviourAndUpdateState(_ sdk.Context, _ codec.BinaryCodec, _ sdk.KVStore, _ exported.Misbehaviour) (exported.ClientState, error) + func (cs *ClientState) CheckSubstituteAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, subjectClientStore sdk.KVStore, ...) (exported.ClientState, error) + func (cs *ClientState) ClientType() string + func (cs *ClientState) ExportMetadata(_ sdk.KVStore) []exported.GenesisMetadata + func (cs *ClientState) GetLatestHeight() exported.Height + func (cs *ClientState) GetProofSpecs() []*ics23.ProofSpec + func (cs *ClientState) Initialize(_ sdk.Context, _ codec.BinaryCodec, _ sdk.KVStore, _ exported.ConsensusState) error + func (cs *ClientState) Status(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec) exported.Status + func (cs *ClientState) Validate() error + func (cs *ClientState) VerifyChannelState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, ...) error + func (cs *ClientState) VerifyConnectionState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, ...) error + func (cs *ClientState) VerifyNextSequenceRecv(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, ...) error + func (cs *ClientState) VerifyPacketAcknowledgement(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, ...) error + func (cs *ClientState) VerifyPacketCommitment(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, ...) error + func (cs *ClientState) VerifyPacketReceiptAbsence(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, ...) error + func (cs *ClientState) VerifyUpgradeAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, store sdk.KVStore, ...) (exported.ClientState, exported.ConsensusState, error) + func (cs *ClientState) ZeroCustomFields() exported.ClientState + func (cs ClientState) VerifyClientConsensusState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, ...) error + func (cs ClientState) VerifyClientState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, ...) error + func (m *ClientState) Marshal() (dAtA []byte, err error) + func (m *ClientState) MarshalTo(dAtA []byte) (int, error) + func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ClientState) Reset() + func (m *ClientState) Size() (n int) + func (m *ClientState) String() string + func (m *ClientState) Unmarshal(dAtA []byte) error + func (m *ClientState) XXX_DiscardUnknown() + func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClientState) XXX_Merge(src proto.Message) + func (m *ClientState) XXX_Size() int + func (m *ClientState) XXX_Unmarshal(b []byte) error + type ConsensusState struct + Addresses [][]byte + Diversifier string + Timestamp uint64 + func (*ConsensusState) Descriptor() ([]byte, []int) + func (*ConsensusState) ProtoMessage() + func (cs *ConsensusState) ClientType() string + func (cs *ConsensusState) GetAddresses() []common.Address + func (cs *ConsensusState) GetRoot() exported.Root + func (cs *ConsensusState) GetTimestamp() uint64 + func (cs *ConsensusState) ValidateBasic() error + func (m *ConsensusState) Marshal() (dAtA []byte, err error) + func (m *ConsensusState) MarshalTo(dAtA []byte) (int, error) + func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ConsensusState) Reset() + func (m *ConsensusState) Size() (n int) + func (m *ConsensusState) String() string + func (m *ConsensusState) Unmarshal(dAtA []byte) error + func (m *ConsensusState) XXX_DiscardUnknown() + func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConsensusState) XXX_Merge(src proto.Message) + func (m *ConsensusState) XXX_Size() int + func (m *ConsensusState) XXX_Unmarshal(b []byte) error + type Header struct + Height Height + NewAddresses [][]byte + NewDiversifier string + Signature *MultiSignature + Timestamp uint64 + func (*Header) Descriptor() ([]byte, []int) + func (*Header) ProtoMessage() + func (h *Header) ClientType() string + func (h *Header) GetHeight() exported.Height + func (h *Header) ValidateBasic() error + func (m *Header) Marshal() (dAtA []byte, err error) + func (m *Header) MarshalTo(dAtA []byte) (int, error) + func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Header) Reset() + func (m *Header) Size() (n int) + func (m *Header) String() string + func (m *Header) Unmarshal(dAtA []byte) error + func (m *Header) XXX_DiscardUnknown() + func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Header) XXX_Merge(src proto.Message) + func (m *Header) XXX_Size() int + func (m *Header) XXX_Unmarshal(b []byte) error + type HeaderData struct + NewAddresses [][]byte + NewDiversifier string + func (*HeaderData) Descriptor() ([]byte, []int) + func (*HeaderData) ProtoMessage() + func (m *HeaderData) Marshal() (dAtA []byte, err error) + func (m *HeaderData) MarshalTo(dAtA []byte) (int, error) + func (m *HeaderData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *HeaderData) Reset() + func (m *HeaderData) Size() (n int) + func (m *HeaderData) String() string + func (m *HeaderData) Unmarshal(dAtA []byte) error + func (m *HeaderData) XXX_DiscardUnknown() + func (m *HeaderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HeaderData) XXX_Merge(src proto.Message) + func (m *HeaderData) XXX_Size() int + func (m *HeaderData) XXX_Unmarshal(b []byte) error + type Height struct + RevisionHeight uint64 + RevisionNumber uint64 + func (*Height) Descriptor() ([]byte, []int) + func (*Height) ProtoMessage() + func (m *Height) GetRevisionHeight() uint64 + func (m *Height) GetRevisionNumber() uint64 + func (m *Height) Marshal() (dAtA []byte, err error) + func (m *Height) MarshalTo(dAtA []byte) (int, error) + func (m *Height) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Height) Reset() + func (m *Height) Size() (n int) + func (m *Height) String() string + func (m *Height) Unmarshal(dAtA []byte) error + func (m *Height) XXX_DiscardUnknown() + func (m *Height) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Height) XXX_Merge(src proto.Message) + func (m *Height) XXX_Size() int + func (m *Height) XXX_Unmarshal(b []byte) error + type MultiSignature struct + Signatures [][]byte + Timestamp uint64 + func (*MultiSignature) Descriptor() ([]byte, []int) + func (*MultiSignature) ProtoMessage() + func (m *MultiSignature) GetSignatures() [][]byte + func (m *MultiSignature) GetTimestamp() uint64 + func (m *MultiSignature) Marshal() (dAtA []byte, err error) + func (m *MultiSignature) MarshalTo(dAtA []byte) (int, error) + func (m *MultiSignature) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MultiSignature) Reset() + func (m *MultiSignature) Size() (n int) + func (m *MultiSignature) String() string + func (m *MultiSignature) Unmarshal(dAtA []byte) error + func (m *MultiSignature) XXX_DiscardUnknown() + func (m *MultiSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MultiSignature) XXX_Merge(src proto.Message) + func (m *MultiSignature) XXX_Size() int + func (m *MultiSignature) XXX_Unmarshal(b []byte) error + type SignBytes struct + Data []byte + DataType SignBytes_DataType + Diversifier string + Height Height + Timestamp uint64 + func (*SignBytes) Descriptor() ([]byte, []int) + func (*SignBytes) ProtoMessage() + func (m *SignBytes) Marshal() (dAtA []byte, err error) + func (m *SignBytes) MarshalTo(dAtA []byte) (int, error) + func (m *SignBytes) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SignBytes) Reset() + func (m *SignBytes) Size() (n int) + func (m *SignBytes) String() string + func (m *SignBytes) Unmarshal(dAtA []byte) error + func (m *SignBytes) XXX_DiscardUnknown() + func (m *SignBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SignBytes) XXX_Merge(src proto.Message) + func (m *SignBytes) XXX_Size() int + func (m *SignBytes) XXX_Unmarshal(b []byte) error + type SignBytes_DataType int32 + const CHANNEL + const CLIENT + const CONNECTION + const CONSENSUS + const HEADER + const NEXTSEQUENCERECV + const PACKETACKNOWLEDGEMENT + const PACKETCOMMITMENT + const PACKETRECEIPTABSENCE + const UNSPECIFIED + func (SignBytes_DataType) EnumDescriptor() ([]byte, []int) + func (x SignBytes_DataType) String() string + type StateData struct + Path []byte + Value []byte + func (*StateData) Descriptor() ([]byte, []int) + func (*StateData) ProtoMessage() + func (m *StateData) Marshal() (dAtA []byte, err error) + func (m *StateData) MarshalTo(dAtA []byte) (int, error) + func (m *StateData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StateData) Reset() + func (m *StateData) Size() (n int) + func (m *StateData) String() string + func (m *StateData) Unmarshal(dAtA []byte) error + func (m *StateData) XXX_DiscardUnknown() + func (m *StateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StateData) XXX_Merge(src proto.Message) + func (m *StateData) XXX_Size() int + func (m *StateData) XXX_Unmarshal(b []byte) error