types

package
v0.0.0-...-6a86319 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type MsgBurnHeldBalance

type MsgBurnHeldBalance struct {
	// sender is the address of the tokenholder.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// burn_coins are the coins to be burned by the tokenholder.
	BurnCoins github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
}

MsgPayout is the Msg/BurnHeldBalance request type.

func (*MsgBurnHeldBalance) Descriptor

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

func (*MsgBurnHeldBalance) GetAuthority

func (m *MsgBurnHeldBalance) GetAuthority() string

func (*MsgBurnHeldBalance) GetBurnCoins

func (MsgBurnHeldBalance) GetSigners

func (msg MsgBurnHeldBalance) GetSigners() []sdk.AccAddress

func (*MsgBurnHeldBalance) Marshal

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

func (*MsgBurnHeldBalance) MarshalTo

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

func (*MsgBurnHeldBalance) MarshalToSizedBuffer

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

func (*MsgBurnHeldBalance) ProtoMessage

func (*MsgBurnHeldBalance) ProtoMessage()

func (*MsgBurnHeldBalance) Reset

func (m *MsgBurnHeldBalance) Reset()

func (*MsgBurnHeldBalance) Size

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

func (*MsgBurnHeldBalance) String

func (m *MsgBurnHeldBalance) String() string

func (*MsgBurnHeldBalance) Unmarshal

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

func (MsgBurnHeldBalance) ValidateBasic

func (msg MsgBurnHeldBalance) ValidateBasic() error

func (*MsgBurnHeldBalance) XXX_DiscardUnknown

func (m *MsgBurnHeldBalance) XXX_DiscardUnknown()

func (*MsgBurnHeldBalance) XXX_Marshal

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

func (*MsgBurnHeldBalance) XXX_Merge

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

func (*MsgBurnHeldBalance) XXX_Size

func (m *MsgBurnHeldBalance) XXX_Size() int

func (*MsgBurnHeldBalance) XXX_Unmarshal

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

type MsgPayout

type MsgPayout struct {
	// authority is the address of the controlling account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// payout_pairs are the pairs of addresses and coins to be paid out.
	PayoutPairs []PayoutPair `protobuf:"bytes,2,rep,name=payout_pairs,json=payoutPairs,proto3" json:"payout_pairs"`
}

MsgPayout is the Msg/Payout request type.

func (*MsgPayout) Descriptor

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

func (*MsgPayout) GetAuthority

func (m *MsgPayout) GetAuthority() string

func (*MsgPayout) GetPayoutPairs

func (m *MsgPayout) GetPayoutPairs() []PayoutPair

func (MsgPayout) GetSigners

func (msg MsgPayout) GetSigners() []sdk.AccAddress

func (*MsgPayout) Marshal

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

func (*MsgPayout) MarshalTo

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

func (*MsgPayout) MarshalToSizedBuffer

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

func (*MsgPayout) ProtoMessage

func (*MsgPayout) ProtoMessage()

func (*MsgPayout) Reset

func (m *MsgPayout) Reset()

func (*MsgPayout) Size

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

func (*MsgPayout) String

func (m *MsgPayout) String() string

func (*MsgPayout) Unmarshal

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

func (MsgPayout) ValidateBasic

func (msg MsgPayout) ValidateBasic() error

func (*MsgPayout) XXX_DiscardUnknown

func (m *MsgPayout) XXX_DiscardUnknown()

func (*MsgPayout) XXX_Marshal

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

func (*MsgPayout) XXX_Merge

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

func (*MsgPayout) XXX_Size

func (m *MsgPayout) XXX_Size() int

func (*MsgPayout) XXX_Unmarshal

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

type PayoutPair

type PayoutPair struct {
	Address string                                  `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Coin    github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=coin,proto3,casttype=github.com/cosmos/cosmos-sdk/types.Coin" json:"coin"`
}

PayoutPair is the object that pairs an address with a coin to be paid out.

func (*PayoutPair) Descriptor

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

func (*PayoutPair) GetAddress

func (m *PayoutPair) GetAddress() string

func (*PayoutPair) GetCoin

func (*PayoutPair) Marshal

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

func (*PayoutPair) MarshalTo

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

func (*PayoutPair) MarshalToSizedBuffer

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

func (*PayoutPair) ProtoMessage

func (*PayoutPair) ProtoMessage()

func (*PayoutPair) Reset

func (m *PayoutPair) Reset()

func (*PayoutPair) Size

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

func (*PayoutPair) String

func (m *PayoutPair) String() string

func (*PayoutPair) Unmarshal

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

func (*PayoutPair) XXX_DiscardUnknown

func (m *PayoutPair) XXX_DiscardUnknown()

func (*PayoutPair) XXX_Marshal

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

func (*PayoutPair) XXX_Merge

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

func (*PayoutPair) XXX_Size

func (m *PayoutPair) XXX_Size() int

func (*PayoutPair) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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