v1

package
v0.0.0-...-397cea1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 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 the secp256k1 pubkey for the account.
	PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
}

MsgInit is used to initialize a base account.

func (*MsgInit) Descriptor

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

func (*MsgInit) GetPubKey

func (m *MsgInit) GetPubKey() []byte

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 []byte `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() []byte

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 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