types

package
v0.0.0-...-f5fdc1f Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 12 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 MsgAuctionBid

type MsgAuctionBid struct {
	// bidder is the address of the account that is submitting a bid to the
	// auction.
	Bidder string `protobuf:"bytes,1,opt,name=bidder,proto3" json:"bidder,omitempty"`
	// bid is the amount of coins that the bidder is bidding to participate in the
	// auction.
	Bid types.Coin `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid"`
	// transactions are the bytes of the transactions that the bidder wants to
	// bundle together.
	Transactions [][]byte `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
}

MsgAuctionBid defines a request type for sending bids to the x/auction module.

func (*MsgAuctionBid) Descriptor

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

func (*MsgAuctionBid) GetBid

func (m *MsgAuctionBid) GetBid() types.Coin

func (*MsgAuctionBid) GetBidder

func (m *MsgAuctionBid) GetBidder() string

func (MsgAuctionBid) GetSigners

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

func (*MsgAuctionBid) GetTransactions

func (m *MsgAuctionBid) GetTransactions() [][]byte

func (*MsgAuctionBid) Marshal

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

func (*MsgAuctionBid) MarshalTo

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

func (*MsgAuctionBid) MarshalToSizedBuffer

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

func (*MsgAuctionBid) ProtoMessage

func (*MsgAuctionBid) ProtoMessage()

func (*MsgAuctionBid) Reset

func (m *MsgAuctionBid) Reset()

func (*MsgAuctionBid) Size

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

func (*MsgAuctionBid) String

func (m *MsgAuctionBid) String() string

func (*MsgAuctionBid) Unmarshal

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

func (MsgAuctionBid) ValidateBasic

func (msg MsgAuctionBid) ValidateBasic() error

func (*MsgAuctionBid) XXX_DiscardUnknown

func (m *MsgAuctionBid) XXX_DiscardUnknown()

func (*MsgAuctionBid) XXX_Marshal

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

func (*MsgAuctionBid) XXX_Merge

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

func (*MsgAuctionBid) XXX_Size

func (m *MsgAuctionBid) XXX_Size() int

func (*MsgAuctionBid) XXX_Unmarshal

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

type MsgAuctionBidResponse

type MsgAuctionBidResponse struct {
}

MsgAuctionBidResponse defines the Msg/AuctionBid response type.

func (*MsgAuctionBidResponse) Descriptor

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

func (*MsgAuctionBidResponse) Marshal

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

func (*MsgAuctionBidResponse) MarshalTo

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

func (*MsgAuctionBidResponse) MarshalToSizedBuffer

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

func (*MsgAuctionBidResponse) ProtoMessage

func (*MsgAuctionBidResponse) ProtoMessage()

func (*MsgAuctionBidResponse) Reset

func (m *MsgAuctionBidResponse) Reset()

func (*MsgAuctionBidResponse) Size

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

func (*MsgAuctionBidResponse) String

func (m *MsgAuctionBidResponse) String() string

func (*MsgAuctionBidResponse) Unmarshal

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

func (*MsgAuctionBidResponse) XXX_DiscardUnknown

func (m *MsgAuctionBidResponse) XXX_DiscardUnknown()

func (*MsgAuctionBidResponse) XXX_Marshal

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

func (*MsgAuctionBidResponse) XXX_Merge

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

func (*MsgAuctionBidResponse) XXX_Size

func (m *MsgAuctionBidResponse) XXX_Size() int

func (*MsgAuctionBidResponse) XXX_Unmarshal

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

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address of the account that is authorized to update the
	// x/auction module parameters.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params is the new parameters for the x/auction module.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams defines a request type for updating the x/auction module parameters.

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (MsgUpdateParams) GetSigners

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

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (MsgUpdateParams) ValidateBasic

func (msg MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the Msg/UpdateParams response type.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type Params

type Params struct {
	// max_bundle_size is the maximum number of transactions that can be bundled
	// in a single bundle.
	MaxBundleSize uint32 `protobuf:"varint,1,opt,name=max_bundle_size,json=maxBundleSize,proto3" json:"max_bundle_size,omitempty"`
	// escrow_account_address is the address of the account that will receive a
	// portion of the bid proceeds.
	EscrowAccountAddress []byte `protobuf:"bytes,2,opt,name=escrow_account_address,json=escrowAccountAddress,proto3" json:"escrow_account_address,omitempty"`
	// reserve_fee specifies the bid floor for the auction.
	ReserveFee types.Coin `protobuf:"bytes,3,opt,name=reserve_fee,json=reserveFee,proto3" json:"reserve_fee"`
	// min_bid_increment specifies the minimum amount that the next bid must be
	// greater than the previous bid.
	MinBidIncrement types.Coin `protobuf:"bytes,4,opt,name=min_bid_increment,json=minBidIncrement,proto3" json:"min_bid_increment"`
	// front_running_protection specifies whether front running and sandwich
	// attack protection is enabled.
	FrontRunningProtection bool `` /* 130-byte string literal not displayed */
	// proposer_fee defines the portion of the winning bid that goes to the block
	// proposer that proposed the block.
	ProposerFee cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=proposer_fee,json=proposerFee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"proposer_fee"`
}

Params defines the parameters of the x/auction module.

func (*Params) Descriptor

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

func (*Params) GetEscrowAccountAddress

func (m *Params) GetEscrowAccountAddress() []byte

func (*Params) GetFrontRunningProtection

func (m *Params) GetFrontRunningProtection() bool

func (*Params) GetMaxBundleSize

func (m *Params) GetMaxBundleSize() uint32

func (*Params) GetMinBidIncrement

func (m *Params) GetMinBidIncrement() types.Coin

func (*Params) GetReserveFee

func (m *Params) GetReserveFee() types.Coin

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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