v1

package
v0.0.0-...-fdb7688 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthBase        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBase          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBase = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type MsgInit

type MsgInit struct {
	// pub_key defines a pubkey for the account arbitrary encapsulated.
	PubKey *any.Any `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// init_sequence defines the initial sequence of the account.
	// Defaults to zero if not set.
	InitSequence uint64 `protobuf:"varint,2,opt,name=init_sequence,json=initSequence,proto3" json:"init_sequence,omitempty"`
}

MsgInit is used to initialize a base account.

func (*MsgInit) Descriptor

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

func (*MsgInit) GetInitSequence

func (m *MsgInit) GetInitSequence() uint64

func (*MsgInit) GetPubKey

func (m *MsgInit) GetPubKey() *any.Any

func (*MsgInit) Marshal

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

func (*MsgInit) MarshalTo

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

func (*MsgInit) MarshalToSizedBuffer

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

func (*MsgInit) ProtoMessage

func (*MsgInit) ProtoMessage()

func (*MsgInit) Reset

func (m *MsgInit) Reset()

func (*MsgInit) Size

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

func (*MsgInit) String

func (m *MsgInit) String() string

func (*MsgInit) Unmarshal

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

func (*MsgInit) XXX_DiscardUnknown

func (m *MsgInit) XXX_DiscardUnknown()

func (*MsgInit) XXX_Marshal

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

func (*MsgInit) XXX_Merge

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

func (*MsgInit) XXX_Size

func (m *MsgInit) XXX_Size() int

func (*MsgInit) XXX_Unmarshal

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

type MsgInitResponse

type MsgInitResponse struct {
}

MsgInitResponse is the response returned after base account initialization. This is empty.

func (*MsgInitResponse) Descriptor

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

func (*MsgInitResponse) Marshal

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

func (*MsgInitResponse) MarshalTo

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

func (*MsgInitResponse) MarshalToSizedBuffer

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

func (*MsgInitResponse) ProtoMessage

func (*MsgInitResponse) ProtoMessage()

func (*MsgInitResponse) Reset

func (m *MsgInitResponse) Reset()

func (*MsgInitResponse) Size

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

func (*MsgInitResponse) String

func (m *MsgInitResponse) String() string

func (*MsgInitResponse) Unmarshal

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

func (*MsgInitResponse) XXX_DiscardUnknown

func (m *MsgInitResponse) XXX_DiscardUnknown()

func (*MsgInitResponse) XXX_Marshal

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

func (*MsgInitResponse) XXX_Merge

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

func (*MsgInitResponse) XXX_Size

func (m *MsgInitResponse) XXX_Size() int

func (*MsgInitResponse) XXX_Unmarshal

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

type MsgSwapPubKey

type MsgSwapPubKey struct {
	// new_pub_key defines the secp256k1 pubkey to swap the account to.
	NewPubKey *any.Any `protobuf:"bytes,1,opt,name=new_pub_key,json=newPubKey,proto3" json:"new_pub_key,omitempty"`
}

MsgSwapPubKey is used to change the pubkey for the account.

func (*MsgSwapPubKey) Descriptor

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

func (*MsgSwapPubKey) GetNewPubKey

func (m *MsgSwapPubKey) GetNewPubKey() *any.Any

func (*MsgSwapPubKey) Marshal

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

func (*MsgSwapPubKey) MarshalTo

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

func (*MsgSwapPubKey) MarshalToSizedBuffer

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

func (*MsgSwapPubKey) ProtoMessage

func (*MsgSwapPubKey) ProtoMessage()

func (*MsgSwapPubKey) Reset

func (m *MsgSwapPubKey) Reset()

func (*MsgSwapPubKey) Size

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

func (*MsgSwapPubKey) String

func (m *MsgSwapPubKey) String() string

func (*MsgSwapPubKey) Unmarshal

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

func (*MsgSwapPubKey) XXX_DiscardUnknown

func (m *MsgSwapPubKey) XXX_DiscardUnknown()

func (*MsgSwapPubKey) XXX_Marshal

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

func (*MsgSwapPubKey) XXX_Merge

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

func (*MsgSwapPubKey) XXX_Size

func (m *MsgSwapPubKey) XXX_Size() int

func (*MsgSwapPubKey) XXX_Unmarshal

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

type MsgSwapPubKeyResponse

type MsgSwapPubKeyResponse struct {
}

MsgSwapPubKeyResponse is the response for the MsgSwapPubKey message. This is empty.

func (*MsgSwapPubKeyResponse) Descriptor

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

func (*MsgSwapPubKeyResponse) Marshal

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

func (*MsgSwapPubKeyResponse) MarshalTo

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

func (*MsgSwapPubKeyResponse) MarshalToSizedBuffer

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

func (*MsgSwapPubKeyResponse) ProtoMessage

func (*MsgSwapPubKeyResponse) ProtoMessage()

func (*MsgSwapPubKeyResponse) Reset

func (m *MsgSwapPubKeyResponse) Reset()

func (*MsgSwapPubKeyResponse) Size

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

func (*MsgSwapPubKeyResponse) String

func (m *MsgSwapPubKeyResponse) String() string

func (*MsgSwapPubKeyResponse) Unmarshal

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

func (*MsgSwapPubKeyResponse) XXX_DiscardUnknown

func (m *MsgSwapPubKeyResponse) XXX_DiscardUnknown()

func (*MsgSwapPubKeyResponse) XXX_Marshal

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

func (*MsgSwapPubKeyResponse) XXX_Merge

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

func (*MsgSwapPubKeyResponse) XXX_Size

func (m *MsgSwapPubKeyResponse) XXX_Size() int

func (*MsgSwapPubKeyResponse) XXX_Unmarshal

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

type QueryPubKey

type QueryPubKey struct {
}

QueryPubKey is the request used to query the pubkey of an account.

func (*QueryPubKey) Descriptor

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

func (*QueryPubKey) Marshal

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

func (*QueryPubKey) MarshalTo

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

func (*QueryPubKey) MarshalToSizedBuffer

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

func (*QueryPubKey) ProtoMessage

func (*QueryPubKey) ProtoMessage()

func (*QueryPubKey) Reset

func (m *QueryPubKey) Reset()

func (*QueryPubKey) Size

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

func (*QueryPubKey) String

func (m *QueryPubKey) String() string

func (*QueryPubKey) Unmarshal

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

func (*QueryPubKey) XXX_DiscardUnknown

func (m *QueryPubKey) XXX_DiscardUnknown()

func (*QueryPubKey) XXX_Marshal

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

func (*QueryPubKey) XXX_Merge

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

func (*QueryPubKey) XXX_Size

func (m *QueryPubKey) XXX_Size() int

func (*QueryPubKey) XXX_Unmarshal

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

type QueryPubKeyResponse

type QueryPubKeyResponse struct {
	PubKey *any.Any `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
}

QueryPubKeyResponse is the response returned when a QueryPubKey message is sent.

func (*QueryPubKeyResponse) Descriptor

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

func (*QueryPubKeyResponse) GetPubKey

func (m *QueryPubKeyResponse) GetPubKey() *any.Any

func (*QueryPubKeyResponse) Marshal

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

func (*QueryPubKeyResponse) MarshalTo

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

func (*QueryPubKeyResponse) MarshalToSizedBuffer

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

func (*QueryPubKeyResponse) ProtoMessage

func (*QueryPubKeyResponse) ProtoMessage()

func (*QueryPubKeyResponse) Reset

func (m *QueryPubKeyResponse) Reset()

func (*QueryPubKeyResponse) Size

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

func (*QueryPubKeyResponse) String

func (m *QueryPubKeyResponse) String() string

func (*QueryPubKeyResponse) Unmarshal

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

func (*QueryPubKeyResponse) XXX_DiscardUnknown

func (m *QueryPubKeyResponse) XXX_DiscardUnknown()

func (*QueryPubKeyResponse) XXX_Marshal

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

func (*QueryPubKeyResponse) XXX_Merge

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

func (*QueryPubKeyResponse) XXX_Size

func (m *QueryPubKeyResponse) XXX_Size() int

func (*QueryPubKeyResponse) XXX_Unmarshal

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

type QuerySequence

type QuerySequence struct {
}

QuerySequence is the request for the account sequence.

func (*QuerySequence) Descriptor

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

func (*QuerySequence) Marshal

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

func (*QuerySequence) MarshalTo

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

func (*QuerySequence) MarshalToSizedBuffer

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

func (*QuerySequence) ProtoMessage

func (*QuerySequence) ProtoMessage()

func (*QuerySequence) Reset

func (m *QuerySequence) Reset()

func (*QuerySequence) Size

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

func (*QuerySequence) String

func (m *QuerySequence) String() string

func (*QuerySequence) Unmarshal

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

func (*QuerySequence) XXX_DiscardUnknown

func (m *QuerySequence) XXX_DiscardUnknown()

func (*QuerySequence) XXX_Marshal

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

func (*QuerySequence) XXX_Merge

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

func (*QuerySequence) XXX_Size

func (m *QuerySequence) XXX_Size() int

func (*QuerySequence) XXX_Unmarshal

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

type QuerySequenceResponse

type QuerySequenceResponse struct {
	// sequence is the current sequence of the account.
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
}

QuerySequenceResponse returns the sequence of the account.

func (*QuerySequenceResponse) Descriptor

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

func (*QuerySequenceResponse) GetSequence

func (m *QuerySequenceResponse) GetSequence() uint64

func (*QuerySequenceResponse) Marshal

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

func (*QuerySequenceResponse) MarshalTo

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

func (*QuerySequenceResponse) MarshalToSizedBuffer

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

func (*QuerySequenceResponse) ProtoMessage

func (*QuerySequenceResponse) ProtoMessage()

func (*QuerySequenceResponse) Reset

func (m *QuerySequenceResponse) Reset()

func (*QuerySequenceResponse) Size

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

func (*QuerySequenceResponse) String

func (m *QuerySequenceResponse) String() string

func (*QuerySequenceResponse) Unmarshal

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

func (*QuerySequenceResponse) XXX_DiscardUnknown

func (m *QuerySequenceResponse) XXX_DiscardUnknown()

func (*QuerySequenceResponse) XXX_Marshal

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

func (*QuerySequenceResponse) XXX_Merge

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

func (*QuerySequenceResponse) XXX_Size

func (m *QuerySequenceResponse) XXX_Size() int

func (*QuerySequenceResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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