Documentation ¶
Overview ¶
Package v2 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type FeeTokenBalance
- func (*FeeTokenBalance) Descriptor() ([]byte, []int)
- func (m *FeeTokenBalance) GetBalance() types.Coin
- func (m *FeeTokenBalance) GetUsdValue() float64
- func (m *FeeTokenBalance) Marshal() (dAtA []byte, err error)
- func (m *FeeTokenBalance) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeTokenBalance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeTokenBalance) ProtoMessage()
- func (m *FeeTokenBalance) Reset()
- func (m *FeeTokenBalance) Size() (n int)
- func (m *FeeTokenBalance) String() string
- func (m *FeeTokenBalance) Unmarshal(dAtA []byte) error
- func (m *FeeTokenBalance) XXX_DiscardUnknown()
- func (m *FeeTokenBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeTokenBalance) XXX_Merge(src proto.Message)
- func (m *FeeTokenBalance) XXX_Size() int
- func (m *FeeTokenBalance) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAuctionInterval() uint64
- func (m *Params) GetPriceDecreaseBlockInterval() uint64
- func (m *Params) GetRewardEmissionPeriod() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p *Params) ValidateBasic() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAPYRequest
- func (*QueryAPYRequest) Descriptor() ([]byte, []int)
- func (m *QueryAPYRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAPYRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAPYRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAPYRequest) ProtoMessage()
- func (m *QueryAPYRequest) Reset()
- func (m *QueryAPYRequest) Size() (n int)
- func (m *QueryAPYRequest) String() string
- func (m *QueryAPYRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAPYRequest) XXX_DiscardUnknown()
- func (m *QueryAPYRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAPYRequest) XXX_Merge(src proto.Message)
- func (m *QueryAPYRequest) XXX_Size() int
- func (m *QueryAPYRequest) XXX_Unmarshal(b []byte) error
- type QueryAPYResponse
- func (*QueryAPYResponse) Descriptor() ([]byte, []int)
- func (m *QueryAPYResponse) GetApy() string
- func (m *QueryAPYResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAPYResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAPYResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAPYResponse) ProtoMessage()
- func (m *QueryAPYResponse) Reset()
- func (m *QueryAPYResponse) Size() (n int)
- func (m *QueryAPYResponse) String() string
- func (m *QueryAPYResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAPYResponse) XXX_DiscardUnknown()
- func (m *QueryAPYResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAPYResponse) XXX_Merge(src proto.Message)
- func (m *QueryAPYResponse) XXX_Size() int
- func (m *QueryAPYResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryFeeTokenBalanceRequest
- func (*QueryFeeTokenBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeTokenBalanceRequest) GetDenom() string
- func (m *QueryFeeTokenBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeTokenBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeTokenBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeTokenBalanceRequest) ProtoMessage()
- func (m *QueryFeeTokenBalanceRequest) Reset()
- func (m *QueryFeeTokenBalanceRequest) Size() (n int)
- func (m *QueryFeeTokenBalanceRequest) String() string
- func (m *QueryFeeTokenBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeeTokenBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryFeeTokenBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeTokenBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeTokenBalanceRequest) XXX_Size() int
- func (m *QueryFeeTokenBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeTokenBalanceResponse
- func (*QueryFeeTokenBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeTokenBalanceResponse) GetBalance() *FeeTokenBalance
- func (m *QueryFeeTokenBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeTokenBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeTokenBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeTokenBalanceResponse) ProtoMessage()
- func (m *QueryFeeTokenBalanceResponse) Reset()
- func (m *QueryFeeTokenBalanceResponse) Size() (n int)
- func (m *QueryFeeTokenBalanceResponse) String() string
- func (m *QueryFeeTokenBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeTokenBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryFeeTokenBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeTokenBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeTokenBalanceResponse) XXX_Size() int
- func (m *QueryFeeTokenBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeTokenBalancesRequest
- func (*QueryFeeTokenBalancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeTokenBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeTokenBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeTokenBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeTokenBalancesRequest) ProtoMessage()
- func (m *QueryFeeTokenBalancesRequest) Reset()
- func (m *QueryFeeTokenBalancesRequest) Size() (n int)
- func (m *QueryFeeTokenBalancesRequest) String() string
- func (m *QueryFeeTokenBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeeTokenBalancesRequest) XXX_DiscardUnknown()
- func (m *QueryFeeTokenBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeTokenBalancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeTokenBalancesRequest) XXX_Size() int
- func (m *QueryFeeTokenBalancesRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeTokenBalancesResponse
- func (*QueryFeeTokenBalancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeTokenBalancesResponse) GetBalances() []*FeeTokenBalance
- func (m *QueryFeeTokenBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeTokenBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeTokenBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeTokenBalancesResponse) ProtoMessage()
- func (m *QueryFeeTokenBalancesResponse) Reset()
- func (m *QueryFeeTokenBalancesResponse) Size() (n int)
- func (m *QueryFeeTokenBalancesResponse) String() string
- func (m *QueryFeeTokenBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeTokenBalancesResponse) XXX_DiscardUnknown()
- func (m *QueryFeeTokenBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeTokenBalancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeTokenBalancesResponse) XXX_Size() int
- func (m *QueryFeeTokenBalancesResponse) XXX_Unmarshal(b []byte) error
- type QueryLastRewardSupplyPeakRequest
- func (*QueryLastRewardSupplyPeakRequest) Descriptor() ([]byte, []int)
- func (m *QueryLastRewardSupplyPeakRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLastRewardSupplyPeakRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastRewardSupplyPeakRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastRewardSupplyPeakRequest) ProtoMessage()
- func (m *QueryLastRewardSupplyPeakRequest) Reset()
- func (m *QueryLastRewardSupplyPeakRequest) Size() (n int)
- func (m *QueryLastRewardSupplyPeakRequest) String() string
- func (m *QueryLastRewardSupplyPeakRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLastRewardSupplyPeakRequest) XXX_DiscardUnknown()
- func (m *QueryLastRewardSupplyPeakRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastRewardSupplyPeakRequest) XXX_Merge(src proto.Message)
- func (m *QueryLastRewardSupplyPeakRequest) XXX_Size() int
- func (m *QueryLastRewardSupplyPeakRequest) XXX_Unmarshal(b []byte) error
- type QueryLastRewardSupplyPeakResponse
- func (*QueryLastRewardSupplyPeakResponse) Descriptor() ([]byte, []int)
- func (m *QueryLastRewardSupplyPeakResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLastRewardSupplyPeakResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastRewardSupplyPeakResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastRewardSupplyPeakResponse) ProtoMessage()
- func (m *QueryLastRewardSupplyPeakResponse) Reset()
- func (m *QueryLastRewardSupplyPeakResponse) Size() (n int)
- func (m *QueryLastRewardSupplyPeakResponse) String() string
- func (m *QueryLastRewardSupplyPeakResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLastRewardSupplyPeakResponse) XXX_DiscardUnknown()
- func (m *QueryLastRewardSupplyPeakResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastRewardSupplyPeakResponse) XXX_Merge(src proto.Message)
- func (m *QueryLastRewardSupplyPeakResponse) XXX_Size() int
- func (m *QueryLastRewardSupplyPeakResponse) XXX_Unmarshal(b []byte) error
- type QueryModuleAccountsRequest
- func (*QueryModuleAccountsRequest) Descriptor() ([]byte, []int)
- func (m *QueryModuleAccountsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleAccountsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleAccountsRequest) ProtoMessage()
- func (m *QueryModuleAccountsRequest) Reset()
- func (m *QueryModuleAccountsRequest) Size() (n int)
- func (m *QueryModuleAccountsRequest) String() string
- func (m *QueryModuleAccountsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryModuleAccountsRequest) XXX_DiscardUnknown()
- func (m *QueryModuleAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleAccountsRequest) XXX_Merge(src proto.Message)
- func (m *QueryModuleAccountsRequest) XXX_Size() int
- func (m *QueryModuleAccountsRequest) XXX_Unmarshal(b []byte) error
- type QueryModuleAccountsResponse
- func (*QueryModuleAccountsResponse) Descriptor() ([]byte, []int)
- func (m *QueryModuleAccountsResponse) GetFeesAddress() string
- func (m *QueryModuleAccountsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleAccountsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleAccountsResponse) ProtoMessage()
- func (m *QueryModuleAccountsResponse) Reset()
- func (m *QueryModuleAccountsResponse) Size() (n int)
- func (m *QueryModuleAccountsResponse) String() string
- func (m *QueryModuleAccountsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryModuleAccountsResponse) XXX_DiscardUnknown()
- func (m *QueryModuleAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleAccountsResponse) XXX_Merge(src proto.Message)
- func (m *QueryModuleAccountsResponse) XXX_Size() int
- func (m *QueryModuleAccountsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) QueryAPY(ctx context.Context, req *QueryAPYRequest) (*QueryAPYResponse, error)
- func (*UnimplementedQueryServer) QueryFeeTokenBalance(ctx context.Context, req *QueryFeeTokenBalanceRequest) (*QueryFeeTokenBalanceResponse, error)
- func (*UnimplementedQueryServer) QueryFeeTokenBalances(ctx context.Context, req *QueryFeeTokenBalancesRequest) (*QueryFeeTokenBalancesResponse, error)
- func (*UnimplementedQueryServer) QueryLastRewardSupplyPeak(ctx context.Context, req *QueryLastRewardSupplyPeakRequest) (*QueryLastRewardSupplyPeakResponse, error)
- func (*UnimplementedQueryServer) QueryModuleAccounts(ctx context.Context, req *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error)
- func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
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" )
const DefaultParamspace = types.ModuleName
Variables ¶
var ( ErrInvalidLengthCellarfees = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCellarfees = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCellarfees = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyRewardEmissionPeriod = []byte("RewardEmissionPeriod") KeyInitialPriceDecreaseRate = []byte("InitialPriceDecreaseRate") KeyPriceDecreaseBlockInterval = []byte("PriceDecreaseBlockInterval") KeyAuctionInterval = []byte("AuctionInterval") KeyAuctionThresholdUsdValue = []byte("AuctionThresholdUsdValue") )
Parameter keys
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
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 ¶
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) 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) 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) GetAuctionInterval ¶
func (*Params) GetPriceDecreaseBlockInterval ¶
func (*Params) GetRewardEmissionPeriod ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ValidateBasic ¶
ValidateBasic performs basic validation on cellarfees parameters.
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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) 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) 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 ¶
type QueryClient interface { QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) QueryModuleAccounts(ctx context.Context, in *QueryModuleAccountsRequest, opts ...grpc.CallOption) (*QueryModuleAccountsResponse, error) QueryLastRewardSupplyPeak(ctx context.Context, in *QueryLastRewardSupplyPeakRequest, opts ...grpc.CallOption) (*QueryLastRewardSupplyPeakResponse, error) QueryAPY(ctx context.Context, in *QueryAPYRequest, opts ...grpc.CallOption) (*QueryAPYResponse, error) QueryFeeTokenBalances(ctx context.Context, in *QueryFeeTokenBalancesRequest, opts ...grpc.CallOption) (*QueryFeeTokenBalancesResponse, error) QueryFeeTokenBalance(ctx context.Context, in *QueryFeeTokenBalanceRequest, opts ...grpc.CallOption) (*QueryFeeTokenBalanceResponse, error) }
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 (m *QueryFeeTokenBalanceResponse) GetBalance() *FeeTokenBalance
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 (m *QueryFeeTokenBalanceResponse) String() 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 (m *QueryFeeTokenBalancesRequest) String() 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 (m *QueryFeeTokenBalancesResponse) String() 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 (m *QueryLastRewardSupplyPeakRequest) Reset()
func (*QueryLastRewardSupplyPeakRequest) Size ¶
func (m *QueryLastRewardSupplyPeakRequest) Size() (n int)
func (*QueryLastRewardSupplyPeakRequest) String ¶
func (m *QueryLastRewardSupplyPeakRequest) String() 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 (m *QueryLastRewardSupplyPeakRequest) XXX_Merge(src proto.Message)
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 (m *QueryLastRewardSupplyPeakResponse) Reset()
func (*QueryLastRewardSupplyPeakResponse) Size ¶
func (m *QueryLastRewardSupplyPeakResponse) Size() (n int)
func (*QueryLastRewardSupplyPeakResponse) String ¶
func (m *QueryLastRewardSupplyPeakResponse) String() 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 (m *QueryLastRewardSupplyPeakResponse) XXX_Merge(src proto.Message)
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 QueryServer ¶
type QueryServer interface { QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) QueryModuleAccounts(context.Context, *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error) QueryLastRewardSupplyPeak(context.Context, *QueryLastRewardSupplyPeakRequest) (*QueryLastRewardSupplyPeakResponse, error) QueryAPY(context.Context, *QueryAPYRequest) (*QueryAPYResponse, error) QueryFeeTokenBalances(context.Context, *QueryFeeTokenBalancesRequest) (*QueryFeeTokenBalancesResponse, error) QueryFeeTokenBalance(context.Context, *QueryFeeTokenBalanceRequest) (*QueryFeeTokenBalanceResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) QueryAPY ¶
func (*UnimplementedQueryServer) QueryAPY(ctx context.Context, req *QueryAPYRequest) (*QueryAPYResponse, error)
func (*UnimplementedQueryServer) QueryFeeTokenBalance ¶
func (*UnimplementedQueryServer) QueryFeeTokenBalance(ctx context.Context, req *QueryFeeTokenBalanceRequest) (*QueryFeeTokenBalanceResponse, error)
func (*UnimplementedQueryServer) QueryFeeTokenBalances ¶
func (*UnimplementedQueryServer) QueryFeeTokenBalances(ctx context.Context, req *QueryFeeTokenBalancesRequest) (*QueryFeeTokenBalancesResponse, error)
func (*UnimplementedQueryServer) QueryLastRewardSupplyPeak ¶
func (*UnimplementedQueryServer) QueryLastRewardSupplyPeak(ctx context.Context, req *QueryLastRewardSupplyPeakRequest) (*QueryLastRewardSupplyPeakResponse, error)
func (*UnimplementedQueryServer) QueryModuleAccounts ¶
func (*UnimplementedQueryServer) QueryModuleAccounts(ctx context.Context, req *QueryModuleAccountsRequest) (*QueryModuleAccountsResponse, error)
func (*UnimplementedQueryServer) QueryParams ¶
func (*UnimplementedQueryServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)