v1beta3

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ErrInvalidParam indicates an invalid chain parameter
	ErrInvalidParam = errors.New("parameter invalid")
)
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type DenomTakeRate

type DenomTakeRate struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom" yaml:"denom"`
	Rate  uint32 `protobuf:"varint,2,opt,name=rate,proto3" json:"rate" yaml:"rate"`
}

DenomTakeRate describes take rate for specified denom

func (*DenomTakeRate) Descriptor

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

func (*DenomTakeRate) GetDenom

func (m *DenomTakeRate) GetDenom() string

func (*DenomTakeRate) GetRate

func (m *DenomTakeRate) GetRate() uint32

func (*DenomTakeRate) Marshal

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

func (*DenomTakeRate) MarshalTo

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

func (*DenomTakeRate) MarshalToSizedBuffer

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

func (*DenomTakeRate) ProtoMessage

func (*DenomTakeRate) ProtoMessage()

func (*DenomTakeRate) Reset

func (m *DenomTakeRate) Reset()

func (*DenomTakeRate) Size

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

func (*DenomTakeRate) String

func (m *DenomTakeRate) String() string

func (*DenomTakeRate) Unmarshal

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

func (*DenomTakeRate) XXX_DiscardUnknown

func (m *DenomTakeRate) XXX_DiscardUnknown()

func (*DenomTakeRate) XXX_Marshal

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

func (*DenomTakeRate) XXX_Merge

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

func (*DenomTakeRate) XXX_Size

func (m *DenomTakeRate) XXX_Size() int

func (*DenomTakeRate) XXX_Unmarshal

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

type DenomTakeRates

type DenomTakeRates []DenomTakeRate

func (DenomTakeRates) Len

func (u DenomTakeRates) Len() int

func (DenomTakeRates) Less

func (u DenomTakeRates) Less(i, j int) bool

func (DenomTakeRates) Swap

func (u DenomTakeRates) Swap(i, j int)

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"`
}

GenesisState stores slice of genesis deployment instance

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Params

type Params struct {
	// denom -> % take rate
	DenomTakeRates  DenomTakeRates `` /* 147-byte string literal not displayed */
	DefaultTakeRate uint32         `protobuf:"varint,2,opt,name=default_take_rate,json=defaultTakeRate,proto3" json:"default_take_rate" yaml:"default_take_rate"`
}

Params defines the parameters for the x/take package

func DefaultParams

func DefaultParams() Params

func (*Params) Descriptor

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

func (*Params) GetDefaultTakeRate

func (m *Params) GetDefaultTakeRate() uint32

func (*Params) GetDenomTakeRates

func (m *Params) GetDenomTakeRates() DenomTakeRates

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

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

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

func (p Params) Validate() 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

type QueryClient

type QueryClient interface {
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryServer

type QueryServer interface {
}

QueryServer is the server API for Query service.

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

Jump to

Keyboard shortcuts

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