types

package
v0.17.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterInterfaces added in v0.17.0

func RegisterInterfaces(registry types.InterfaceRegistry)

Types

type GenesisState added in v0.17.0

type GenesisState struct {
	NextAuctionId uint64 `protobuf:"varint,1,opt,name=next_auction_id,json=nextAuctionId,proto3" json:"next_auction_id,omitempty"`
	Params        Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
	// Genesis auctions
	Auctions []*types.Any `protobuf:"bytes,3,rep,name=auctions,proto3" json:"auctions,omitempty"`
}

GenesisState defines the auction module's genesis state.

func (*GenesisState) Descriptor added in v0.17.0

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

func (*GenesisState) Marshal added in v0.17.0

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

func (*GenesisState) MarshalTo added in v0.17.0

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

func (*GenesisState) MarshalToSizedBuffer added in v0.17.0

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

func (*GenesisState) ProtoMessage added in v0.17.0

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset added in v0.17.0

func (m *GenesisState) Reset()

func (*GenesisState) Size added in v0.17.0

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

func (*GenesisState) String added in v0.17.0

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal added in v0.17.0

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

func (*GenesisState) XXX_DiscardUnknown added in v0.17.0

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal added in v0.17.0

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

func (*GenesisState) XXX_Merge added in v0.17.0

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

func (*GenesisState) XXX_Size added in v0.17.0

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal added in v0.17.0

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

type Params added in v0.17.0

type Params struct {
	MaxAuctionDuration  time.Duration                          `protobuf:"bytes,1,opt,name=max_auction_duration,json=maxAuctionDuration,proto3,stdduration" json:"max_auction_duration"`
	BidDuration         time.Duration                          `protobuf:"bytes,2,opt,name=bid_duration,json=bidDuration,proto3,stdduration" json:"bid_duration"`
	IncrementSurplus    github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	IncrementDebt       github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	IncrementCollateral github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
}

Params defines the parameters for the issuance module.

func (*Params) Descriptor added in v0.17.0

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

func (*Params) Marshal added in v0.17.0

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

func (*Params) MarshalTo added in v0.17.0

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

func (*Params) MarshalToSizedBuffer added in v0.17.0

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

func (*Params) ProtoMessage added in v0.17.0

func (*Params) ProtoMessage()

func (*Params) Reset added in v0.17.0

func (m *Params) Reset()

func (*Params) Size added in v0.17.0

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

func (*Params) String added in v0.17.0

func (m *Params) String() string

func (*Params) Unmarshal added in v0.17.0

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

func (*Params) XXX_DiscardUnknown added in v0.17.0

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal added in v0.17.0

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

func (*Params) XXX_Merge added in v0.17.0

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

func (*Params) XXX_Size added in v0.17.0

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal added in v0.17.0

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