v2

package
v8.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package v2 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// Rough number of blocks in 28 days, the time it takes to unbond
	DefaultRewardEmissionPeriod uint64 = 403200
	// Initial rate at which an auction should decrease the price of the relevant coin from it's starting price.
	// This value was determined experimentally. It is the initial rate at which it takes ~48 hours for the unit
	// price to hit 0 usomm, assuming a decrease acceleration rate of 0.001.
	DefaultInitialPriceDecreaseRate string = "0.0000648"
	// Blocks between each auction price decrease
	DefaultPriceDecreaseBlockInterval uint64 = 10
	// Blocks between each auction
	DefaultAuctionInterval uint64 = 15000
	// Minimum USD value of a token's fees balance to trigger an auction
	// $10,000
	DefaultAuctionThresholdUsdValue = "10000.00"
)
View Source
const DefaultParamspace = types.ModuleName

Variables

View Source
var (
	ErrInvalidLengthCellarfees        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCellarfees          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCellarfees = fmt.Errorf("proto: unexpected end of group")
)
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 (
	KeyRewardEmissionPeriod       = []byte("RewardEmissionPeriod")
	KeyInitialPriceDecreaseRate   = []byte("InitialPriceDecreaseRate")
	KeyPriceDecreaseBlockInterval = []byte("PriceDecreaseBlockInterval")
	KeyAuctionInterval            = []byte("AuctionInterval")
	KeyAuctionThresholdUsdValue   = []byte("AuctionThresholdUsdValue")
)

Parameter keys

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 (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter key table.

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type FeeTokenBalance

type FeeTokenBalance struct {
	Balance  types.Coin `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance"`
	UsdValue float64    `protobuf:"fixed64,2,opt,name=usd_value,json=usdValue,proto3" json:"usd_value,omitempty"`
}

Collin: This type should never be saved to state in case of indeterminism around how Go interprets floating point numbers. This is only meant to be used for query results.

func (*FeeTokenBalance) Descriptor

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

func (*FeeTokenBalance) GetBalance

func (m *FeeTokenBalance) GetBalance() types.Coin

func (*FeeTokenBalance) GetUsdValue

func (m *FeeTokenBalance) GetUsdValue() float64

func (*FeeTokenBalance) Marshal

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

func (*FeeTokenBalance) MarshalTo

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

func (*FeeTokenBalance) MarshalToSizedBuffer

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

func (*FeeTokenBalance) ProtoMessage

func (*FeeTokenBalance) ProtoMessage()

func (*FeeTokenBalance) Reset

func (m *FeeTokenBalance) Reset()

func (*FeeTokenBalance) Size

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

func (*FeeTokenBalance) String

func (m *FeeTokenBalance) String() string

func (*FeeTokenBalance) Unmarshal

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

func (*FeeTokenBalance) XXX_DiscardUnknown

func (m *FeeTokenBalance) XXX_DiscardUnknown()

func (*FeeTokenBalance) XXX_Marshal

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

func (*FeeTokenBalance) XXX_Merge

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

func (*FeeTokenBalance) XXX_Size

func (m *FeeTokenBalance) XXX_Size() int

func (*FeeTokenBalance) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params               Params                                 `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	LastRewardSupplyPeak github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
}

GenesisState defines the cellarfees module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() GenesisState

DefaultGenesisState get raw genesis raw message for testing

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

func (gs GenesisState) Validate() error

Validate performs a basic stateless validation of the genesis fields.

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 {
	// Emission rate factor. Specifically, the number of blocks over which to distribute
	// some amount of staking rewards.
	RewardEmissionPeriod uint64 `protobuf:"varint,2,opt,name=reward_emission_period,json=rewardEmissionPeriod,proto3" json:"reward_emission_period,omitempty"`
	// The initial rate at which auctions should decrease their denom's price in SOMM
	InitialPriceDecreaseRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */
	// Number of blocks between auction price decreases
	PriceDecreaseBlockInterval uint64 `` /* 144-byte string literal not displayed */
	// The interval between starting auctions
	AuctionInterval uint64 `protobuf:"varint,5,opt,name=auction_interval,json=auctionInterval,proto3" json:"auction_interval,omitempty"`
	// A fee token's total USD value threshold, based on it's auction.v1.TokenPrice, above which an auction is triggered
	AuctionThresholdUsdValue github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns default cellarfees parameters

func (*Params) Descriptor

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

func (*Params) GetAuctionInterval

func (m *Params) GetAuctionInterval() uint64

func (*Params) GetPriceDecreaseBlockInterval

func (m *Params) GetPriceDecreaseBlockInterval() uint64

func (*Params) GetRewardEmissionPeriod

func (m *Params) GetRewardEmissionPeriod() uint64

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

ParamSetPairs returns the parameter set pairs.

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 (p Params) String() string

String implements the String interface

func (*Params) Unmarshal

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

func (*Params) ValidateBasic

func (p *Params) ValidateBasic() error

ValidateBasic performs basic validation on cellarfees parameters.

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 QueryAPYRequest

type QueryAPYRequest struct {
}

func (*QueryAPYRequest) Descriptor

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

func (*QueryAPYRequest) Marshal

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

func (*QueryAPYRequest) MarshalTo

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

func (*QueryAPYRequest) MarshalToSizedBuffer

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

func (*QueryAPYRequest) ProtoMessage

func (*QueryAPYRequest) ProtoMessage()

func (*QueryAPYRequest) Reset

func (m *QueryAPYRequest) Reset()

func (*QueryAPYRequest) Size

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

func (*QueryAPYRequest) String

func (m *QueryAPYRequest) String() string

func (*QueryAPYRequest) Unmarshal

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

func (*QueryAPYRequest) XXX_DiscardUnknown

func (m *QueryAPYRequest) XXX_DiscardUnknown()

func (*QueryAPYRequest) XXX_Marshal

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

func (*QueryAPYRequest) XXX_Merge

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

func (*QueryAPYRequest) XXX_Size

func (m *QueryAPYRequest) XXX_Size() int

func (*QueryAPYRequest) XXX_Unmarshal

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

type QueryAPYResponse

type QueryAPYResponse struct {
	Apy string `protobuf:"bytes,1,opt,name=apy,proto3" json:"apy,omitempty"`
}

func (*QueryAPYResponse) Descriptor

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

func (*QueryAPYResponse) GetApy

func (m *QueryAPYResponse) GetApy() string

func (*QueryAPYResponse) Marshal

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

func (*QueryAPYResponse) MarshalTo

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

func (*QueryAPYResponse) MarshalToSizedBuffer

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

func (*QueryAPYResponse) ProtoMessage

func (*QueryAPYResponse) ProtoMessage()

func (*QueryAPYResponse) Reset

func (m *QueryAPYResponse) Reset()

func (*QueryAPYResponse) Size

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

func (*QueryAPYResponse) String

func (m *QueryAPYResponse) String() string

func (*QueryAPYResponse) Unmarshal

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

func (*QueryAPYResponse) XXX_DiscardUnknown

func (m *QueryAPYResponse) XXX_DiscardUnknown()

func (*QueryAPYResponse) XXX_Marshal

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

func (*QueryAPYResponse) XXX_Merge

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

func (*QueryAPYResponse) XXX_Size

func (m *QueryAPYResponse) XXX_Size() int

func (*QueryAPYResponse) XXX_Unmarshal

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

type QueryClient

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 QueryFeeTokenBalanceRequest

type QueryFeeTokenBalanceRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*QueryFeeTokenBalanceRequest) Descriptor

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

func (*QueryFeeTokenBalanceRequest) GetDenom

func (m *QueryFeeTokenBalanceRequest) GetDenom() string

func (*QueryFeeTokenBalanceRequest) Marshal

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

func (*QueryFeeTokenBalanceRequest) MarshalTo

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

func (*QueryFeeTokenBalanceRequest) MarshalToSizedBuffer

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

func (*QueryFeeTokenBalanceRequest) ProtoMessage

func (*QueryFeeTokenBalanceRequest) ProtoMessage()

func (*QueryFeeTokenBalanceRequest) Reset

func (m *QueryFeeTokenBalanceRequest) Reset()

func (*QueryFeeTokenBalanceRequest) Size

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

func (*QueryFeeTokenBalanceRequest) String

func (m *QueryFeeTokenBalanceRequest) String() string

func (*QueryFeeTokenBalanceRequest) Unmarshal

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

func (*QueryFeeTokenBalanceRequest) XXX_DiscardUnknown

func (m *QueryFeeTokenBalanceRequest) XXX_DiscardUnknown()

func (*QueryFeeTokenBalanceRequest) XXX_Marshal

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

func (*QueryFeeTokenBalanceRequest) XXX_Merge

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

func (*QueryFeeTokenBalanceRequest) XXX_Size

func (m *QueryFeeTokenBalanceRequest) XXX_Size() int

func (*QueryFeeTokenBalanceRequest) XXX_Unmarshal

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

type QueryFeeTokenBalanceResponse

type QueryFeeTokenBalanceResponse struct {
	Balance *FeeTokenBalance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"`
}

func (*QueryFeeTokenBalanceResponse) Descriptor

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

func (*QueryFeeTokenBalanceResponse) GetBalance

func (*QueryFeeTokenBalanceResponse) Marshal

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

func (*QueryFeeTokenBalanceResponse) MarshalTo

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

func (*QueryFeeTokenBalanceResponse) MarshalToSizedBuffer

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

func (*QueryFeeTokenBalanceResponse) ProtoMessage

func (*QueryFeeTokenBalanceResponse) ProtoMessage()

func (*QueryFeeTokenBalanceResponse) Reset

func (m *QueryFeeTokenBalanceResponse) Reset()

func (*QueryFeeTokenBalanceResponse) Size

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

func (*QueryFeeTokenBalanceResponse) String

func (*QueryFeeTokenBalanceResponse) Unmarshal

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

func (*QueryFeeTokenBalanceResponse) XXX_DiscardUnknown

func (m *QueryFeeTokenBalanceResponse) XXX_DiscardUnknown()

func (*QueryFeeTokenBalanceResponse) XXX_Marshal

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

func (*QueryFeeTokenBalanceResponse) XXX_Merge

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

func (*QueryFeeTokenBalanceResponse) XXX_Size

func (m *QueryFeeTokenBalanceResponse) XXX_Size() int

func (*QueryFeeTokenBalanceResponse) XXX_Unmarshal

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

type QueryFeeTokenBalancesRequest

type QueryFeeTokenBalancesRequest struct {
}

func (*QueryFeeTokenBalancesRequest) Descriptor

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

func (*QueryFeeTokenBalancesRequest) Marshal

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

func (*QueryFeeTokenBalancesRequest) MarshalTo

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

func (*QueryFeeTokenBalancesRequest) MarshalToSizedBuffer

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

func (*QueryFeeTokenBalancesRequest) ProtoMessage

func (*QueryFeeTokenBalancesRequest) ProtoMessage()

func (*QueryFeeTokenBalancesRequest) Reset

func (m *QueryFeeTokenBalancesRequest) Reset()

func (*QueryFeeTokenBalancesRequest) Size

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

func (*QueryFeeTokenBalancesRequest) String

func (*QueryFeeTokenBalancesRequest) Unmarshal

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

func (*QueryFeeTokenBalancesRequest) XXX_DiscardUnknown

func (m *QueryFeeTokenBalancesRequest) XXX_DiscardUnknown()

func (*QueryFeeTokenBalancesRequest) XXX_Marshal

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

func (*QueryFeeTokenBalancesRequest) XXX_Merge

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

func (*QueryFeeTokenBalancesRequest) XXX_Size

func (m *QueryFeeTokenBalancesRequest) XXX_Size() int

func (*QueryFeeTokenBalancesRequest) XXX_Unmarshal

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

type QueryFeeTokenBalancesResponse

type QueryFeeTokenBalancesResponse struct {
	Balances []*FeeTokenBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
}

func (*QueryFeeTokenBalancesResponse) Descriptor

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

func (*QueryFeeTokenBalancesResponse) GetBalances

func (m *QueryFeeTokenBalancesResponse) GetBalances() []*FeeTokenBalance

func (*QueryFeeTokenBalancesResponse) Marshal

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

func (*QueryFeeTokenBalancesResponse) MarshalTo

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

func (*QueryFeeTokenBalancesResponse) MarshalToSizedBuffer

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

func (*QueryFeeTokenBalancesResponse) ProtoMessage

func (*QueryFeeTokenBalancesResponse) ProtoMessage()

func (*QueryFeeTokenBalancesResponse) Reset

func (m *QueryFeeTokenBalancesResponse) Reset()

func (*QueryFeeTokenBalancesResponse) Size

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

func (*QueryFeeTokenBalancesResponse) String

func (*QueryFeeTokenBalancesResponse) Unmarshal

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

func (*QueryFeeTokenBalancesResponse) XXX_DiscardUnknown

func (m *QueryFeeTokenBalancesResponse) XXX_DiscardUnknown()

func (*QueryFeeTokenBalancesResponse) XXX_Marshal

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

func (*QueryFeeTokenBalancesResponse) XXX_Merge

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

func (*QueryFeeTokenBalancesResponse) XXX_Size

func (m *QueryFeeTokenBalancesResponse) XXX_Size() int

func (*QueryFeeTokenBalancesResponse) XXX_Unmarshal

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

type QueryLastRewardSupplyPeakRequest

type QueryLastRewardSupplyPeakRequest struct {
}

func (*QueryLastRewardSupplyPeakRequest) Descriptor

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

func (*QueryLastRewardSupplyPeakRequest) Marshal

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

func (*QueryLastRewardSupplyPeakRequest) MarshalTo

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

func (*QueryLastRewardSupplyPeakRequest) MarshalToSizedBuffer

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

func (*QueryLastRewardSupplyPeakRequest) ProtoMessage

func (*QueryLastRewardSupplyPeakRequest) ProtoMessage()

func (*QueryLastRewardSupplyPeakRequest) Reset

func (*QueryLastRewardSupplyPeakRequest) Size

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

func (*QueryLastRewardSupplyPeakRequest) String

func (*QueryLastRewardSupplyPeakRequest) Unmarshal

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

func (*QueryLastRewardSupplyPeakRequest) XXX_DiscardUnknown

func (m *QueryLastRewardSupplyPeakRequest) XXX_DiscardUnknown()

func (*QueryLastRewardSupplyPeakRequest) XXX_Marshal

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

func (*QueryLastRewardSupplyPeakRequest) XXX_Merge

func (*QueryLastRewardSupplyPeakRequest) XXX_Size

func (m *QueryLastRewardSupplyPeakRequest) XXX_Size() int

func (*QueryLastRewardSupplyPeakRequest) XXX_Unmarshal

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

type QueryLastRewardSupplyPeakResponse

type QueryLastRewardSupplyPeakResponse struct {
	LastRewardSupplyPeak github_com_cosmos_cosmos_sdk_types.Int `` /* 165-byte string literal not displayed */
}

func (*QueryLastRewardSupplyPeakResponse) Descriptor

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

func (*QueryLastRewardSupplyPeakResponse) Marshal

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

func (*QueryLastRewardSupplyPeakResponse) MarshalTo

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

func (*QueryLastRewardSupplyPeakResponse) MarshalToSizedBuffer

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

func (*QueryLastRewardSupplyPeakResponse) ProtoMessage

func (*QueryLastRewardSupplyPeakResponse) ProtoMessage()

func (*QueryLastRewardSupplyPeakResponse) Reset

func (*QueryLastRewardSupplyPeakResponse) Size

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

func (*QueryLastRewardSupplyPeakResponse) String

func (*QueryLastRewardSupplyPeakResponse) Unmarshal

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

func (*QueryLastRewardSupplyPeakResponse) XXX_DiscardUnknown

func (m *QueryLastRewardSupplyPeakResponse) XXX_DiscardUnknown()

func (*QueryLastRewardSupplyPeakResponse) XXX_Marshal

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

func (*QueryLastRewardSupplyPeakResponse) XXX_Merge

func (*QueryLastRewardSupplyPeakResponse) XXX_Size

func (m *QueryLastRewardSupplyPeakResponse) XXX_Size() int

func (*QueryLastRewardSupplyPeakResponse) XXX_Unmarshal

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

type QueryModuleAccountsRequest

type QueryModuleAccountsRequest struct {
}

func (*QueryModuleAccountsRequest) Descriptor

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

func (*QueryModuleAccountsRequest) Marshal

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

func (*QueryModuleAccountsRequest) MarshalTo

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

func (*QueryModuleAccountsRequest) MarshalToSizedBuffer

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

func (*QueryModuleAccountsRequest) ProtoMessage

func (*QueryModuleAccountsRequest) ProtoMessage()

func (*QueryModuleAccountsRequest) Reset

func (m *QueryModuleAccountsRequest) Reset()

func (*QueryModuleAccountsRequest) Size

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

func (*QueryModuleAccountsRequest) String

func (m *QueryModuleAccountsRequest) String() string

func (*QueryModuleAccountsRequest) Unmarshal

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

func (*QueryModuleAccountsRequest) XXX_DiscardUnknown

func (m *QueryModuleAccountsRequest) XXX_DiscardUnknown()

func (*QueryModuleAccountsRequest) XXX_Marshal

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

func (*QueryModuleAccountsRequest) XXX_Merge

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

func (*QueryModuleAccountsRequest) XXX_Size

func (m *QueryModuleAccountsRequest) XXX_Size() int

func (*QueryModuleAccountsRequest) XXX_Unmarshal

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

type QueryModuleAccountsResponse

type QueryModuleAccountsResponse struct {
	FeesAddress string `protobuf:"bytes,1,opt,name=fees_address,json=feesAddress,proto3" json:"fees_address,omitempty"`
}

func (*QueryModuleAccountsResponse) Descriptor

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

func (*QueryModuleAccountsResponse) GetFeesAddress

func (m *QueryModuleAccountsResponse) GetFeesAddress() string

func (*QueryModuleAccountsResponse) Marshal

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

func (*QueryModuleAccountsResponse) MarshalTo

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

func (*QueryModuleAccountsResponse) MarshalToSizedBuffer

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

func (*QueryModuleAccountsResponse) ProtoMessage

func (*QueryModuleAccountsResponse) ProtoMessage()

func (*QueryModuleAccountsResponse) Reset

func (m *QueryModuleAccountsResponse) Reset()

func (*QueryModuleAccountsResponse) Size

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

func (*QueryModuleAccountsResponse) String

func (m *QueryModuleAccountsResponse) String() string

func (*QueryModuleAccountsResponse) Unmarshal

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

func (*QueryModuleAccountsResponse) XXX_DiscardUnknown

func (m *QueryModuleAccountsResponse) XXX_DiscardUnknown()

func (*QueryModuleAccountsResponse) XXX_Marshal

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

func (*QueryModuleAccountsResponse) XXX_Merge

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

func (*QueryModuleAccountsResponse) XXX_Size

func (m *QueryModuleAccountsResponse) XXX_Size() int

func (*QueryModuleAccountsResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) QueryAPY

func (*UnimplementedQueryServer) QueryFeeTokenBalance

func (*UnimplementedQueryServer) QueryFeeTokenBalances

func (*UnimplementedQueryServer) QueryLastRewardSupplyPeak

func (*UnimplementedQueryServer) QueryModuleAccounts

func (*UnimplementedQueryServer) QueryParams

Jump to

Keyboard shortcuts

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