types

package
v0.0.0-...-892f76a Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "ethmultisig-client"
	ClientType = "ethmultisig-client"
)

Variables

View Source
var (
	ErrInvalidProof          = sdkerrors.Register(ModuleName, 1, "invalid Multisig proof")
	ErrInvalidSignatureCount = sdkerrors.Register(ModuleName, 2, "invalid signature count")
)
View Source
var (
	ErrInvalidLengthEthmultisig        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEthmultisig          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEthmultisig = fmt.Errorf("proto: unexpected end of group")
)
View Source
var SignBytes_DataType_name = map[int32]string{
	0: "DATA_TYPE_UNINITIALIZED_UNSPECIFIED",
	1: "DATA_TYPE_CLIENT_STATE",
	2: "DATA_TYPE_CONSENSUS_STATE",
	3: "DATA_TYPE_CONNECTION_STATE",
	4: "DATA_TYPE_CHANNEL_STATE",
	5: "DATA_TYPE_PACKET_COMMITMENT",
	6: "DATA_TYPE_PACKET_ACKNOWLEDGEMENT",
	7: "DATA_TYPE_PACKET_RECEIPT_ABSENCE",
	8: "DATA_TYPE_NEXT_SEQUENCE_RECV",
	9: "DATA_TYPE_HEADER",
}
View Source
var SignBytes_DataType_value = map[string]int32{
	"DATA_TYPE_UNINITIALIZED_UNSPECIFIED": 0,
	"DATA_TYPE_CLIENT_STATE":              1,
	"DATA_TYPE_CONSENSUS_STATE":           2,
	"DATA_TYPE_CONNECTION_STATE":          3,
	"DATA_TYPE_CHANNEL_STATE":             4,
	"DATA_TYPE_PACKET_COMMITMENT":         5,
	"DATA_TYPE_PACKET_ACKNOWLEDGEMENT":    6,
	"DATA_TYPE_PACKET_RECEIPT_ABSENCE":    7,
	"DATA_TYPE_NEXT_SEQUENCE_RECV":        8,
	"DATA_TYPE_HEADER":                    9,
}

Functions

func ChannelCommitmentKey

func ChannelCommitmentKey(prefix []byte, portId, channelId string) ([]byte, error)

func ClientCommitmentKey

func ClientCommitmentKey(prefix []byte, clientId string) ([]byte, error)

func ClientStateSignBytes

func ClientStateSignBytes(
	cdc codec.BinaryCodec,
	height clienttypes.Height, timestamp uint64,
	diversifier string,
	path []byte,
	clientState exported.ClientState,
) ([]byte, error)

ClientStateSignBytes returns the sign bytes for verification of the client state.

func ConnectionCommitmentKey

func ConnectionCommitmentKey(prefix []byte, connectionId string) ([]byte, error)

func ConsensusCommitmentKey

func ConsensusCommitmentKey(prefix []byte, clientId string, height uint64) ([]byte, error)

func ConsensusStateSignBytes

func ConsensusStateSignBytes(
	cdc codec.BinaryCodec,
	height clienttypes.Height, timestamp uint64,
	diversifier string,
	path []byte,
	consensusState exported.ConsensusState,
) ([]byte, error)

ConsensusStateSignBytes returns the sign bytes for verification of the consensus state.

func PacketAcknowledgementCommitmentKey

func PacketAcknowledgementCommitmentKey(prefix []byte, portId, channelId string, sequence uint64) ([]byte, error)

func PacketCommitmentKey

func PacketCommitmentKey(prefix []byte, portId, channelId string, sequence uint64) ([]byte, error)

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

RegisterInterfaces register the module interfaces to protobuf Any.

func VerifySignature

func VerifySignature(addresses []common.Address, multiSig *MultiSignature, signBytes []byte) error

Types

type ClientState

type ClientState struct {
	LatestHeight Height `protobuf:"bytes,1,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height"`
	FrozenHeight Height `protobuf:"bytes,2,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height" yaml:"frozen_height"`
}

func (*ClientState) CheckHeaderAndUpdateState

Update and Misbehaviour functions

func (*ClientState) CheckMisbehaviourAndUpdateState

func (cs *ClientState) CheckMisbehaviourAndUpdateState(_ sdk.Context, _ codec.BinaryCodec, _ sdk.KVStore, _ exported.Misbehaviour) (exported.ClientState, error)

func (*ClientState) CheckSubstituteAndUpdateState

func (cs *ClientState) CheckSubstituteAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, subjectClientStore sdk.KVStore, substituteClientStore sdk.KVStore, substituteClient exported.ClientState) (exported.ClientState, error)

func (*ClientState) ClientType

func (cs *ClientState) ClientType() string

func (*ClientState) Descriptor

func (*ClientState) Descriptor() ([]byte, []int)

func (*ClientState) ExportMetadata

func (cs *ClientState) ExportMetadata(_ sdk.KVStore) []exported.GenesisMetadata

Genesis function

func (*ClientState) GetLatestHeight

func (cs *ClientState) GetLatestHeight() exported.Height

func (*ClientState) GetProofSpecs

func (cs *ClientState) GetProofSpecs() []*ics23.ProofSpec

func (*ClientState) Initialize

Initialization function Clients must validate the initial consensus state, and may store any client-specific metadata necessary for correct light client operation

func (*ClientState) Marshal

func (m *ClientState) Marshal() (dAtA []byte, err error)

func (*ClientState) MarshalTo

func (m *ClientState) MarshalTo(dAtA []byte) (int, error)

func (*ClientState) MarshalToSizedBuffer

func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientState) ProtoMessage

func (*ClientState) ProtoMessage()

func (*ClientState) Reset

func (m *ClientState) Reset()

func (*ClientState) Size

func (m *ClientState) Size() (n int)

func (*ClientState) Status

func (cs *ClientState) Status(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec) exported.Status

Status function Clients must return their status. Only Active clients are allowed to process packets.

func (*ClientState) String

func (m *ClientState) String() string

func (*ClientState) Unmarshal

func (m *ClientState) Unmarshal(dAtA []byte) error

func (*ClientState) Validate

func (cs *ClientState) Validate() error

func (*ClientState) VerifyChannelState

func (cs *ClientState) VerifyChannelState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, prefix exported.Prefix, proof []byte, portID string, channelID string, channel exported.ChannelI) error

func (ClientState) VerifyClientConsensusState

func (cs ClientState) VerifyClientConsensusState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, counterpartyClientIdentifier string, consensusHeight exported.Height, prefix exported.Prefix, proof []byte, consensusState exported.ConsensusState) error

func (ClientState) VerifyClientState

func (cs ClientState) VerifyClientState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, prefix exported.Prefix, counterpartyClientIdentifier string, proof []byte, clientState exported.ClientState) error

State verification functions

func (*ClientState) VerifyConnectionState

func (cs *ClientState) VerifyConnectionState(store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, prefix exported.Prefix, proof []byte, connectionID string, connectionEnd exported.ConnectionI) error

func (*ClientState) VerifyNextSequenceRecv

func (cs *ClientState) VerifyNextSequenceRecv(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, delayTimePeriod uint64, delayBlockPeriod uint64, prefix exported.Prefix, proof []byte, portID string, channelID string, nextSequenceRecv uint64) error

func (*ClientState) VerifyPacketAcknowledgement

func (cs *ClientState) VerifyPacketAcknowledgement(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, delayTimePeriod uint64, delayBlockPeriod uint64, prefix exported.Prefix, proof []byte, portID string, channelID string, sequence uint64, acknowledgement []byte) error

func (*ClientState) VerifyPacketCommitment

func (cs *ClientState) VerifyPacketCommitment(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, delayTimePeriod uint64, delayBlockPeriod uint64, prefix exported.Prefix, proof []byte, portID string, channelID string, sequence uint64, commitmentBytes []byte) error

func (*ClientState) VerifyPacketReceiptAbsence

func (cs *ClientState) VerifyPacketReceiptAbsence(ctx sdk.Context, store sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, delayTimePeriod uint64, delayBlockPeriod uint64, prefix exported.Prefix, proof []byte, portID string, channelID string, sequence uint64) error

func (*ClientState) VerifyUpgradeAndUpdateState

func (cs *ClientState) VerifyUpgradeAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, store sdk.KVStore, newClient exported.ClientState, newConsState exported.ConsensusState, proofUpgradeClient []byte, proofUpgradeConsState []byte) (exported.ClientState, exported.ConsensusState, error)

Upgrade functions NOTE: proof heights are not included as upgrade to a new revision is expected to pass only on the last height committed by the current revision. Clients are responsible for ensuring that the planned last height of the current revision is somehow encoded in the proof verification process. This is to ensure that no premature upgrades occur, since upgrade plans committed to by the counterparty may be cancelled or modified before the last planned height.

func (*ClientState) XXX_DiscardUnknown

func (m *ClientState) XXX_DiscardUnknown()

func (*ClientState) XXX_Marshal

func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientState) XXX_Merge

func (m *ClientState) XXX_Merge(src proto.Message)

func (*ClientState) XXX_Size

func (m *ClientState) XXX_Size() int

func (*ClientState) XXX_Unmarshal

func (m *ClientState) XXX_Unmarshal(b []byte) error

func (*ClientState) ZeroCustomFields

func (cs *ClientState) ZeroCustomFields() exported.ClientState

Utility function that zeroes out any client customizable fields in client state Ledger enforced fields are maintained while all custom fields are zero values Used to verify upgrades

type ConsensusState

type ConsensusState struct {
	Addresses   [][]byte `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty" yaml:"addresses"`
	Diversifier string   `protobuf:"bytes,2,opt,name=diversifier,proto3" json:"diversifier,omitempty"`
	Timestamp   uint64   `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*ConsensusState) ClientType

func (cs *ConsensusState) ClientType() string

func (*ConsensusState) Descriptor

func (*ConsensusState) Descriptor() ([]byte, []int)

func (*ConsensusState) GetAddresses

func (cs *ConsensusState) GetAddresses() []common.Address

func (*ConsensusState) GetRoot

func (cs *ConsensusState) GetRoot() exported.Root

GetRoot returns the commitment root of the consensus state, which is used for key-value pair verification.

func (*ConsensusState) GetTimestamp

func (cs *ConsensusState) GetTimestamp() uint64

GetTimestamp returns the timestamp (in nanoseconds) of the consensus state

func (*ConsensusState) Marshal

func (m *ConsensusState) Marshal() (dAtA []byte, err error)

func (*ConsensusState) MarshalTo

func (m *ConsensusState) MarshalTo(dAtA []byte) (int, error)

func (*ConsensusState) MarshalToSizedBuffer

func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsensusState) ProtoMessage

func (*ConsensusState) ProtoMessage()

func (*ConsensusState) Reset

func (m *ConsensusState) Reset()

func (*ConsensusState) Size

func (m *ConsensusState) Size() (n int)

func (*ConsensusState) String

func (m *ConsensusState) String() string

func (*ConsensusState) Unmarshal

func (m *ConsensusState) Unmarshal(dAtA []byte) error

func (*ConsensusState) ValidateBasic

func (cs *ConsensusState) ValidateBasic() error

func (*ConsensusState) XXX_DiscardUnknown

func (m *ConsensusState) XXX_DiscardUnknown()

func (*ConsensusState) XXX_Marshal

func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusState) XXX_Merge

func (m *ConsensusState) XXX_Merge(src proto.Message)

func (*ConsensusState) XXX_Size

func (m *ConsensusState) XXX_Size() int

func (*ConsensusState) XXX_Unmarshal

func (m *ConsensusState) XXX_Unmarshal(b []byte) error
type Header struct {
	// height to update multisig public key at
	Height         Height          `protobuf:"bytes,1,opt,name=height,proto3" json:"height"`
	Timestamp      uint64          `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Signature      *MultiSignature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	NewAddresses   [][]byte        `protobuf:"bytes,4,rep,name=new_addresses,json=newAddresses,proto3" json:"new_addresses,omitempty" yaml:"new_addresses"`
	NewDiversifier string          `` /* 126-byte string literal not displayed */
}

Header defines a multisig consensus header

func (*Header) ClientType

func (h *Header) ClientType() string

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetHeight

func (h *Header) GetHeight() exported.Height

func (*Header) Marshal

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) MarshalToSizedBuffer

func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size

func (m *Header) Size() (n int)

func (*Header) String

func (m *Header) String() string

func (*Header) Unmarshal

func (m *Header) Unmarshal(dAtA []byte) error

func (*Header) ValidateBasic

func (h *Header) ValidateBasic() error

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

type HeaderData

type HeaderData struct {
	// header public key
	NewAddresses [][]byte `protobuf:"bytes,1,rep,name=new_addresses,json=newAddresses,proto3" json:"new_addresses,omitempty" yaml:"new_addresses"`
	// header diversifier
	NewDiversifier string `` /* 126-byte string literal not displayed */
}

HeaderData returns the SignBytes data for update verification.

func (*HeaderData) Descriptor

func (*HeaderData) Descriptor() ([]byte, []int)

func (*HeaderData) Marshal

func (m *HeaderData) Marshal() (dAtA []byte, err error)

func (*HeaderData) MarshalTo

func (m *HeaderData) MarshalTo(dAtA []byte) (int, error)

func (*HeaderData) MarshalToSizedBuffer

func (m *HeaderData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HeaderData) ProtoMessage

func (*HeaderData) ProtoMessage()

func (*HeaderData) Reset

func (m *HeaderData) Reset()

func (*HeaderData) Size

func (m *HeaderData) Size() (n int)

func (*HeaderData) String

func (m *HeaderData) String() string

func (*HeaderData) Unmarshal

func (m *HeaderData) Unmarshal(dAtA []byte) error

func (*HeaderData) XXX_DiscardUnknown

func (m *HeaderData) XXX_DiscardUnknown()

func (*HeaderData) XXX_Marshal

func (m *HeaderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HeaderData) XXX_Merge

func (m *HeaderData) XXX_Merge(src proto.Message)

func (*HeaderData) XXX_Size

func (m *HeaderData) XXX_Size() int

func (*HeaderData) XXX_Unmarshal

func (m *HeaderData) XXX_Unmarshal(b []byte) error

type Height

type Height struct {
	// the revision that the client is currently on
	RevisionNumber uint64 `protobuf:"varint,1,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	// the height within the given revision
	RevisionHeight uint64 `protobuf:"varint,2,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
}

func (*Height) Descriptor

func (*Height) Descriptor() ([]byte, []int)

func (*Height) GetRevisionHeight

func (m *Height) GetRevisionHeight() uint64

func (*Height) GetRevisionNumber

func (m *Height) GetRevisionNumber() uint64

func (*Height) Marshal

func (m *Height) Marshal() (dAtA []byte, err error)

func (*Height) MarshalTo

func (m *Height) MarshalTo(dAtA []byte) (int, error)

func (*Height) MarshalToSizedBuffer

func (m *Height) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Height) ProtoMessage

func (*Height) ProtoMessage()

func (*Height) Reset

func (m *Height) Reset()

func (*Height) Size

func (m *Height) Size() (n int)

func (*Height) String

func (m *Height) String() string

func (*Height) Unmarshal

func (m *Height) Unmarshal(dAtA []byte) error

func (*Height) XXX_DiscardUnknown

func (m *Height) XXX_DiscardUnknown()

func (*Height) XXX_Marshal

func (m *Height) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Height) XXX_Merge

func (m *Height) XXX_Merge(src proto.Message)

func (*Height) XXX_Size

func (m *Height) XXX_Size() int

func (*Height) XXX_Unmarshal

func (m *Height) XXX_Unmarshal(b []byte) error

type MultiSignature

type MultiSignature struct {
	Signatures [][]byte `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
	Timestamp  uint64   `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*MultiSignature) Descriptor

func (*MultiSignature) Descriptor() ([]byte, []int)

func (*MultiSignature) GetSignatures

func (m *MultiSignature) GetSignatures() [][]byte

func (*MultiSignature) GetTimestamp

func (m *MultiSignature) GetTimestamp() uint64

func (*MultiSignature) Marshal

func (m *MultiSignature) Marshal() (dAtA []byte, err error)

func (*MultiSignature) MarshalTo

func (m *MultiSignature) MarshalTo(dAtA []byte) (int, error)

func (*MultiSignature) MarshalToSizedBuffer

func (m *MultiSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiSignature) ProtoMessage

func (*MultiSignature) ProtoMessage()

func (*MultiSignature) Reset

func (m *MultiSignature) Reset()

func (*MultiSignature) Size

func (m *MultiSignature) Size() (n int)

func (*MultiSignature) String

func (m *MultiSignature) String() string

func (*MultiSignature) Unmarshal

func (m *MultiSignature) Unmarshal(dAtA []byte) error

func (*MultiSignature) XXX_DiscardUnknown

func (m *MultiSignature) XXX_DiscardUnknown()

func (*MultiSignature) XXX_Marshal

func (m *MultiSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiSignature) XXX_Merge

func (m *MultiSignature) XXX_Merge(src proto.Message)

func (*MultiSignature) XXX_Size

func (m *MultiSignature) XXX_Size() int

func (*MultiSignature) XXX_Unmarshal

func (m *MultiSignature) XXX_Unmarshal(b []byte) error

type SignBytes

type SignBytes struct {
	Height      Height `protobuf:"bytes,1,opt,name=height,proto3" json:"height"`
	Timestamp   uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Diversifier string `protobuf:"bytes,3,opt,name=diversifier,proto3" json:"diversifier,omitempty"`
	// type of the data used
	DataType SignBytes_DataType `` /* 127-byte string literal not displayed */
	// marshaled HeaderData or StateData
	Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
}

func (*SignBytes) Descriptor

func (*SignBytes) Descriptor() ([]byte, []int)

func (*SignBytes) Marshal

func (m *SignBytes) Marshal() (dAtA []byte, err error)

func (*SignBytes) MarshalTo

func (m *SignBytes) MarshalTo(dAtA []byte) (int, error)

func (*SignBytes) MarshalToSizedBuffer

func (m *SignBytes) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignBytes) ProtoMessage

func (*SignBytes) ProtoMessage()

func (*SignBytes) Reset

func (m *SignBytes) Reset()

func (*SignBytes) Size

func (m *SignBytes) Size() (n int)

func (*SignBytes) String

func (m *SignBytes) String() string

func (*SignBytes) Unmarshal

func (m *SignBytes) Unmarshal(dAtA []byte) error

func (*SignBytes) XXX_DiscardUnknown

func (m *SignBytes) XXX_DiscardUnknown()

func (*SignBytes) XXX_Marshal

func (m *SignBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignBytes) XXX_Merge

func (m *SignBytes) XXX_Merge(src proto.Message)

func (*SignBytes) XXX_Size

func (m *SignBytes) XXX_Size() int

func (*SignBytes) XXX_Unmarshal

func (m *SignBytes) XXX_Unmarshal(b []byte) error

type SignBytes_DataType

type SignBytes_DataType int32

DataType defines the type of multisig proof being created. This is done to preserve uniqueness of different data sign byte encodings.

const (
	// Default State
	UNSPECIFIED SignBytes_DataType = 0
	// Data type for client state verification
	CLIENT SignBytes_DataType = 1
	// Data type for consensus state verification
	CONSENSUS SignBytes_DataType = 2
	// Data type for connection state verification
	CONNECTION SignBytes_DataType = 3
	// Data type for channel state verification
	CHANNEL SignBytes_DataType = 4
	// Data type for packet commitment verification
	PACKETCOMMITMENT SignBytes_DataType = 5
	// Data type for packet acknowledgement verification
	PACKETACKNOWLEDGEMENT SignBytes_DataType = 6
	// Data type for packet receipt absence verification
	PACKETRECEIPTABSENCE SignBytes_DataType = 7
	// Data type for next sequence recv verification
	NEXTSEQUENCERECV SignBytes_DataType = 8
	// Data type for header verification
	HEADER SignBytes_DataType = 9
)

func (SignBytes_DataType) EnumDescriptor

func (SignBytes_DataType) EnumDescriptor() ([]byte, []int)

func (SignBytes_DataType) String

func (x SignBytes_DataType) String() string

type StateData

type StateData struct {
	Path  []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*StateData) Descriptor

func (*StateData) Descriptor() ([]byte, []int)

func (*StateData) Marshal

func (m *StateData) Marshal() (dAtA []byte, err error)

func (*StateData) MarshalTo

func (m *StateData) MarshalTo(dAtA []byte) (int, error)

func (*StateData) MarshalToSizedBuffer

func (m *StateData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateData) ProtoMessage

func (*StateData) ProtoMessage()

func (*StateData) Reset

func (m *StateData) Reset()

func (*StateData) Size

func (m *StateData) Size() (n int)

func (*StateData) String

func (m *StateData) String() string

func (*StateData) Unmarshal

func (m *StateData) Unmarshal(dAtA []byte) error

func (*StateData) XXX_DiscardUnknown

func (m *StateData) XXX_DiscardUnknown()

func (*StateData) XXX_Marshal

func (m *StateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateData) XXX_Merge

func (m *StateData) XXX_Merge(src proto.Message)

func (*StateData) XXX_Size

func (m *StateData) XXX_Size() int

func (*StateData) XXX_Unmarshal

func (m *StateData) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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