Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetSRKey(epoch int64) []byte
- func GetSubkeyByEpoch(prefix []byte, epoch int64) []byte
- func GetTRKey(epoch int64) []byte
- func GetTSLKey(epoch int64) []byte
- func GetTaxCapKey(denom string) []byte
- func NewAddBurnTaxExemptionAddressProposal(title, description string, addresses []string) govv1beta1.Content
- func NewRemoveBurnTaxExemptionAddressProposal(title, description string, addresses []string) govv1beta1.Content
- func ParamKeyTable() paramstypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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)
- func ValidateGenesis(data *GenesisState) error
- type AccountKeeper
- type AddBurnTaxExemptionAddressProposal
- func (*AddBurnTaxExemptionAddressProposal) Descriptor() ([]byte, []int)
- func (this *AddBurnTaxExemptionAddressProposal) Equal(that interface{}) bool
- func (p *AddBurnTaxExemptionAddressProposal) GetDescription() string
- func (p *AddBurnTaxExemptionAddressProposal) GetTitle() string
- func (m *AddBurnTaxExemptionAddressProposal) Marshal() (dAtA []byte, err error)
- func (m *AddBurnTaxExemptionAddressProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *AddBurnTaxExemptionAddressProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *AddBurnTaxExemptionAddressProposal) ProposalRoute() string
- func (p *AddBurnTaxExemptionAddressProposal) ProposalType() string
- func (*AddBurnTaxExemptionAddressProposal) ProtoMessage()
- func (m *AddBurnTaxExemptionAddressProposal) Reset()
- func (m *AddBurnTaxExemptionAddressProposal) Size() (n int)
- func (p AddBurnTaxExemptionAddressProposal) String() string
- func (m *AddBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error
- func (p *AddBurnTaxExemptionAddressProposal) ValidateBasic() error
- func (m *AddBurnTaxExemptionAddressProposal) XXX_DiscardUnknown()
- func (m *AddBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddBurnTaxExemptionAddressProposal) XXX_Merge(src proto.Message)
- func (m *AddBurnTaxExemptionAddressProposal) XXX_Size() int
- func (m *AddBurnTaxExemptionAddressProposal) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type DistributionKeeper
- type EpochInitialIssuance
- func (*EpochInitialIssuance) Descriptor() ([]byte, []int)
- func (m *EpochInitialIssuance) GetIssuance() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *EpochInitialIssuance) Marshal() (dAtA []byte, err error)
- func (m *EpochInitialIssuance) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochInitialIssuance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochInitialIssuance) ProtoMessage()
- func (m *EpochInitialIssuance) Reset()
- func (m *EpochInitialIssuance) Size() (n int)
- func (m *EpochInitialIssuance) String() string
- func (m *EpochInitialIssuance) Unmarshal(dAtA []byte) error
- func (m *EpochInitialIssuance) XXX_DiscardUnknown()
- func (m *EpochInitialIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochInitialIssuance) XXX_Merge(src proto.Message)
- func (m *EpochInitialIssuance) XXX_Size() int
- func (m *EpochInitialIssuance) XXX_Unmarshal(b []byte) error
- type EpochState
- func (*EpochState) Descriptor() ([]byte, []int)
- func (m *EpochState) GetEpoch() uint64
- func (m *EpochState) Marshal() (dAtA []byte, err error)
- func (m *EpochState) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochState) ProtoMessage()
- func (m *EpochState) Reset()
- func (m *EpochState) Size() (n int)
- func (m *EpochState) String() string
- func (m *EpochState) Unmarshal(dAtA []byte) error
- func (m *EpochState) XXX_DiscardUnknown()
- func (m *EpochState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochState) XXX_Merge(src proto.Message)
- func (m *EpochState) XXX_Size() int
- func (m *EpochState) XXX_Unmarshal(b []byte) error
- type EpochTaxProceeds
- func (*EpochTaxProceeds) Descriptor() ([]byte, []int)
- func (m *EpochTaxProceeds) GetTaxProceeds() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *EpochTaxProceeds) Marshal() (dAtA []byte, err error)
- func (m *EpochTaxProceeds) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochTaxProceeds) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochTaxProceeds) ProtoMessage()
- func (m *EpochTaxProceeds) Reset()
- func (m *EpochTaxProceeds) Size() (n int)
- func (m *EpochTaxProceeds) String() string
- func (m *EpochTaxProceeds) Unmarshal(dAtA []byte) error
- func (m *EpochTaxProceeds) XXX_DiscardUnknown()
- func (m *EpochTaxProceeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochTaxProceeds) XXX_Merge(src proto.Message)
- func (m *EpochTaxProceeds) XXX_Size() int
- func (m *EpochTaxProceeds) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetEpochInitialIssuance() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *GenesisState) GetEpochStates() []EpochState
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetTaxCaps() []TaxCap
- func (m *GenesisState) GetTaxProceeds() github_com_cosmos_cosmos_sdk_types.Coins
- 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 (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 IndicatorQueryResponse
- type MarketKeeper
- type OracleKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetRewardPolicy() PolicyConstraints
- func (m *Params) GetTaxPolicy() PolicyConstraints
- func (m *Params) GetWindowLong() uint64
- func (m *Params) GetWindowProbation() uint64
- func (m *Params) GetWindowShort() 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() paramstypes.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) Validate() 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 PolicyConstraints
- func (pc PolicyConstraints) Clamp(prevRate sdk.Dec, newRate sdk.Dec) (clampedRate sdk.Dec)
- func (*PolicyConstraints) Descriptor() ([]byte, []int)
- func (this *PolicyConstraints) Equal(that interface{}) bool
- func (m *PolicyConstraints) GetCap() types.Coin
- func (m *PolicyConstraints) Marshal() (dAtA []byte, err error)
- func (m *PolicyConstraints) MarshalTo(dAtA []byte) (int, error)
- func (m *PolicyConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PolicyConstraints) ProtoMessage()
- func (m *PolicyConstraints) Reset()
- func (m *PolicyConstraints) Size() (n int)
- func (pc PolicyConstraints) String() string
- func (m *PolicyConstraints) Unmarshal(dAtA []byte) error
- func (m *PolicyConstraints) XXX_DiscardUnknown()
- func (m *PolicyConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PolicyConstraints) XXX_Merge(src proto.Message)
- func (m *PolicyConstraints) XXX_Size() int
- func (m *PolicyConstraints) XXX_Unmarshal(b []byte) error
- type QueryBurnTaxExemptionListParams
- type QueryBurnTaxExemptionListRequest
- func (*QueryBurnTaxExemptionListRequest) Descriptor() ([]byte, []int)
- func (m *QueryBurnTaxExemptionListRequest) GetPagination() *query.PageRequest
- func (m *QueryBurnTaxExemptionListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBurnTaxExemptionListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBurnTaxExemptionListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBurnTaxExemptionListRequest) ProtoMessage()
- func (m *QueryBurnTaxExemptionListRequest) Reset()
- func (m *QueryBurnTaxExemptionListRequest) Size() (n int)
- func (m *QueryBurnTaxExemptionListRequest) String() string
- func (m *QueryBurnTaxExemptionListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBurnTaxExemptionListRequest) XXX_DiscardUnknown()
- func (m *QueryBurnTaxExemptionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBurnTaxExemptionListRequest) XXX_Merge(src proto.Message)
- func (m *QueryBurnTaxExemptionListRequest) XXX_Size() int
- func (m *QueryBurnTaxExemptionListRequest) XXX_Unmarshal(b []byte) error
- type QueryBurnTaxExemptionListResponse
- func (*QueryBurnTaxExemptionListResponse) Descriptor() ([]byte, []int)
- func (m *QueryBurnTaxExemptionListResponse) GetAddresses() []string
- func (m *QueryBurnTaxExemptionListResponse) GetPagination() *query.PageResponse
- func (m *QueryBurnTaxExemptionListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBurnTaxExemptionListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBurnTaxExemptionListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBurnTaxExemptionListResponse) ProtoMessage()
- func (m *QueryBurnTaxExemptionListResponse) Reset()
- func (m *QueryBurnTaxExemptionListResponse) Size() (n int)
- func (m *QueryBurnTaxExemptionListResponse) String() string
- func (m *QueryBurnTaxExemptionListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBurnTaxExemptionListResponse) XXX_DiscardUnknown()
- func (m *QueryBurnTaxExemptionListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBurnTaxExemptionListResponse) XXX_Merge(src proto.Message)
- func (m *QueryBurnTaxExemptionListResponse) XXX_Size() int
- func (m *QueryBurnTaxExemptionListResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryIndicatorsRequest
- func (*QueryIndicatorsRequest) Descriptor() ([]byte, []int)
- func (m *QueryIndicatorsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryIndicatorsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIndicatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIndicatorsRequest) ProtoMessage()
- func (m *QueryIndicatorsRequest) Reset()
- func (m *QueryIndicatorsRequest) Size() (n int)
- func (m *QueryIndicatorsRequest) String() string
- func (m *QueryIndicatorsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryIndicatorsRequest) XXX_DiscardUnknown()
- func (m *QueryIndicatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIndicatorsRequest) XXX_Merge(src proto.Message)
- func (m *QueryIndicatorsRequest) XXX_Size() int
- func (m *QueryIndicatorsRequest) XXX_Unmarshal(b []byte) error
- type QueryIndicatorsResponse
- func (*QueryIndicatorsResponse) Descriptor() ([]byte, []int)
- func (m *QueryIndicatorsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIndicatorsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIndicatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIndicatorsResponse) ProtoMessage()
- func (m *QueryIndicatorsResponse) Reset()
- func (m *QueryIndicatorsResponse) Size() (n int)
- func (m *QueryIndicatorsResponse) String() string
- func (m *QueryIndicatorsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIndicatorsResponse) XXX_DiscardUnknown()
- func (m *QueryIndicatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIndicatorsResponse) XXX_Merge(src proto.Message)
- func (m *QueryIndicatorsResponse) XXX_Size() int
- func (m *QueryIndicatorsResponse) 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 QueryRewardWeightRequest
- func (*QueryRewardWeightRequest) Descriptor() ([]byte, []int)
- func (m *QueryRewardWeightRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardWeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardWeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardWeightRequest) ProtoMessage()
- func (m *QueryRewardWeightRequest) Reset()
- func (m *QueryRewardWeightRequest) Size() (n int)
- func (m *QueryRewardWeightRequest) String() string
- func (m *QueryRewardWeightRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRewardWeightRequest) XXX_DiscardUnknown()
- func (m *QueryRewardWeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardWeightRequest) XXX_Merge(src proto.Message)
- func (m *QueryRewardWeightRequest) XXX_Size() int
- func (m *QueryRewardWeightRequest) XXX_Unmarshal(b []byte) error
- type QueryRewardWeightResponse
- func (*QueryRewardWeightResponse) Descriptor() ([]byte, []int)
- func (m *QueryRewardWeightResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardWeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardWeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardWeightResponse) ProtoMessage()
- func (m *QueryRewardWeightResponse) Reset()
- func (m *QueryRewardWeightResponse) Size() (n int)
- func (m *QueryRewardWeightResponse) String() string
- func (m *QueryRewardWeightResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRewardWeightResponse) XXX_DiscardUnknown()
- func (m *QueryRewardWeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardWeightResponse) XXX_Merge(src proto.Message)
- func (m *QueryRewardWeightResponse) XXX_Size() int
- func (m *QueryRewardWeightResponse) XXX_Unmarshal(b []byte) error
- type QuerySeigniorageProceedsRequest
- func (*QuerySeigniorageProceedsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySeigniorageProceedsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySeigniorageProceedsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySeigniorageProceedsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySeigniorageProceedsRequest) ProtoMessage()
- func (m *QuerySeigniorageProceedsRequest) Reset()
- func (m *QuerySeigniorageProceedsRequest) Size() (n int)
- func (m *QuerySeigniorageProceedsRequest) String() string
- func (m *QuerySeigniorageProceedsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySeigniorageProceedsRequest) XXX_DiscardUnknown()
- func (m *QuerySeigniorageProceedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySeigniorageProceedsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySeigniorageProceedsRequest) XXX_Size() int
- func (m *QuerySeigniorageProceedsRequest) XXX_Unmarshal(b []byte) error
- type QuerySeigniorageProceedsResponse
- func (*QuerySeigniorageProceedsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySeigniorageProceedsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySeigniorageProceedsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySeigniorageProceedsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySeigniorageProceedsResponse) ProtoMessage()
- func (m *QuerySeigniorageProceedsResponse) Reset()
- func (m *QuerySeigniorageProceedsResponse) Size() (n int)
- func (m *QuerySeigniorageProceedsResponse) String() string
- func (m *QuerySeigniorageProceedsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySeigniorageProceedsResponse) XXX_DiscardUnknown()
- func (m *QuerySeigniorageProceedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySeigniorageProceedsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySeigniorageProceedsResponse) XXX_Size() int
- func (m *QuerySeigniorageProceedsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTaxCapParams
- type QueryTaxCapRequest
- func (*QueryTaxCapRequest) Descriptor() ([]byte, []int)
- func (m *QueryTaxCapRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxCapRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxCapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxCapRequest) ProtoMessage()
- func (m *QueryTaxCapRequest) Reset()
- func (m *QueryTaxCapRequest) Size() (n int)
- func (m *QueryTaxCapRequest) String() string
- func (m *QueryTaxCapRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTaxCapRequest) XXX_DiscardUnknown()
- func (m *QueryTaxCapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxCapRequest) XXX_Merge(src proto.Message)
- func (m *QueryTaxCapRequest) XXX_Size() int
- func (m *QueryTaxCapRequest) XXX_Unmarshal(b []byte) error
- type QueryTaxCapResponse
- func (*QueryTaxCapResponse) Descriptor() ([]byte, []int)
- func (m *QueryTaxCapResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxCapResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxCapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxCapResponse) ProtoMessage()
- func (m *QueryTaxCapResponse) Reset()
- func (m *QueryTaxCapResponse) Size() (n int)
- func (m *QueryTaxCapResponse) String() string
- func (m *QueryTaxCapResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTaxCapResponse) XXX_DiscardUnknown()
- func (m *QueryTaxCapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxCapResponse) XXX_Merge(src proto.Message)
- func (m *QueryTaxCapResponse) XXX_Size() int
- func (m *QueryTaxCapResponse) XXX_Unmarshal(b []byte) error
- type QueryTaxCapsRequest
- func (*QueryTaxCapsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTaxCapsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxCapsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxCapsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxCapsRequest) ProtoMessage()
- func (m *QueryTaxCapsRequest) Reset()
- func (m *QueryTaxCapsRequest) Size() (n int)
- func (m *QueryTaxCapsRequest) String() string
- func (m *QueryTaxCapsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTaxCapsRequest) XXX_DiscardUnknown()
- func (m *QueryTaxCapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxCapsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTaxCapsRequest) XXX_Size() int
- func (m *QueryTaxCapsRequest) XXX_Unmarshal(b []byte) error
- type QueryTaxCapsResponse
- func (*QueryTaxCapsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTaxCapsResponse) GetTaxCaps() []QueryTaxCapsResponseItem
- func (m *QueryTaxCapsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxCapsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxCapsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxCapsResponse) ProtoMessage()
- func (m *QueryTaxCapsResponse) Reset()
- func (m *QueryTaxCapsResponse) Size() (n int)
- func (m *QueryTaxCapsResponse) String() string
- func (m *QueryTaxCapsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTaxCapsResponse) XXX_DiscardUnknown()
- func (m *QueryTaxCapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxCapsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTaxCapsResponse) XXX_Size() int
- func (m *QueryTaxCapsResponse) XXX_Unmarshal(b []byte) error
- type QueryTaxCapsResponseItem
- func (*QueryTaxCapsResponseItem) Descriptor() ([]byte, []int)
- func (m *QueryTaxCapsResponseItem) GetDenom() string
- func (m *QueryTaxCapsResponseItem) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxCapsResponseItem) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxCapsResponseItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxCapsResponseItem) ProtoMessage()
- func (m *QueryTaxCapsResponseItem) Reset()
- func (m *QueryTaxCapsResponseItem) Size() (n int)
- func (m *QueryTaxCapsResponseItem) String() string
- func (m *QueryTaxCapsResponseItem) Unmarshal(dAtA []byte) error
- func (m *QueryTaxCapsResponseItem) XXX_DiscardUnknown()
- func (m *QueryTaxCapsResponseItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxCapsResponseItem) XXX_Merge(src proto.Message)
- func (m *QueryTaxCapsResponseItem) XXX_Size() int
- func (m *QueryTaxCapsResponseItem) XXX_Unmarshal(b []byte) error
- type QueryTaxProceedsRequest
- func (*QueryTaxProceedsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTaxProceedsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxProceedsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxProceedsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxProceedsRequest) ProtoMessage()
- func (m *QueryTaxProceedsRequest) Reset()
- func (m *QueryTaxProceedsRequest) Size() (n int)
- func (m *QueryTaxProceedsRequest) String() string
- func (m *QueryTaxProceedsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTaxProceedsRequest) XXX_DiscardUnknown()
- func (m *QueryTaxProceedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxProceedsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTaxProceedsRequest) XXX_Size() int
- func (m *QueryTaxProceedsRequest) XXX_Unmarshal(b []byte) error
- type QueryTaxProceedsResponse
- func (*QueryTaxProceedsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTaxProceedsResponse) GetTaxProceeds() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryTaxProceedsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxProceedsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxProceedsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxProceedsResponse) ProtoMessage()
- func (m *QueryTaxProceedsResponse) Reset()
- func (m *QueryTaxProceedsResponse) Size() (n int)
- func (m *QueryTaxProceedsResponse) String() string
- func (m *QueryTaxProceedsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTaxProceedsResponse) XXX_DiscardUnknown()
- func (m *QueryTaxProceedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxProceedsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTaxProceedsResponse) XXX_Size() int
- func (m *QueryTaxProceedsResponse) XXX_Unmarshal(b []byte) error
- type QueryTaxRateRequest
- func (*QueryTaxRateRequest) Descriptor() ([]byte, []int)
- func (m *QueryTaxRateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxRateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxRateRequest) ProtoMessage()
- func (m *QueryTaxRateRequest) Reset()
- func (m *QueryTaxRateRequest) Size() (n int)
- func (m *QueryTaxRateRequest) String() string
- func (m *QueryTaxRateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTaxRateRequest) XXX_DiscardUnknown()
- func (m *QueryTaxRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxRateRequest) XXX_Merge(src proto.Message)
- func (m *QueryTaxRateRequest) XXX_Size() int
- func (m *QueryTaxRateRequest) XXX_Unmarshal(b []byte) error
- type QueryTaxRateResponse
- func (*QueryTaxRateResponse) Descriptor() ([]byte, []int)
- func (m *QueryTaxRateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTaxRateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTaxRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTaxRateResponse) ProtoMessage()
- func (m *QueryTaxRateResponse) Reset()
- func (m *QueryTaxRateResponse) Size() (n int)
- func (m *QueryTaxRateResponse) String() string
- func (m *QueryTaxRateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTaxRateResponse) XXX_DiscardUnknown()
- func (m *QueryTaxRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTaxRateResponse) XXX_Merge(src proto.Message)
- func (m *QueryTaxRateResponse) XXX_Size() int
- func (m *QueryTaxRateResponse) XXX_Unmarshal(b []byte) error
- type RemoveBurnTaxExemptionAddressProposal
- func (*RemoveBurnTaxExemptionAddressProposal) Descriptor() ([]byte, []int)
- func (this *RemoveBurnTaxExemptionAddressProposal) Equal(that interface{}) bool
- func (p *RemoveBurnTaxExemptionAddressProposal) GetDescription() string
- func (p *RemoveBurnTaxExemptionAddressProposal) GetTitle() string
- func (m *RemoveBurnTaxExemptionAddressProposal) Marshal() (dAtA []byte, err error)
- func (m *RemoveBurnTaxExemptionAddressProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveBurnTaxExemptionAddressProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *RemoveBurnTaxExemptionAddressProposal) ProposalRoute() string
- func (p *RemoveBurnTaxExemptionAddressProposal) ProposalType() string
- func (*RemoveBurnTaxExemptionAddressProposal) ProtoMessage()
- func (m *RemoveBurnTaxExemptionAddressProposal) Reset()
- func (m *RemoveBurnTaxExemptionAddressProposal) Size() (n int)
- func (p RemoveBurnTaxExemptionAddressProposal) String() string
- func (m *RemoveBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error
- func (p *RemoveBurnTaxExemptionAddressProposal) ValidateBasic() error
- func (m *RemoveBurnTaxExemptionAddressProposal) XXX_DiscardUnknown()
- func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Merge(src proto.Message)
- func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Size() int
- func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type TaxCap
- func (*TaxCap) Descriptor() ([]byte, []int)
- func (m *TaxCap) GetDenom() string
- func (m *TaxCap) Marshal() (dAtA []byte, err error)
- func (m *TaxCap) MarshalTo(dAtA []byte) (int, error)
- func (m *TaxCap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TaxCap) ProtoMessage()
- func (m *TaxCap) Reset()
- func (m *TaxCap) Size() (n int)
- func (m *TaxCap) String() string
- func (m *TaxCap) Unmarshal(dAtA []byte) error
- func (m *TaxCap) XXX_DiscardUnknown()
- func (m *TaxCap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TaxCap) XXX_Merge(src proto.Message)
- func (m *TaxCap) XXX_Size() int
- func (m *TaxCap) XXX_Unmarshal(b []byte) error
- type TaxCapsQueryResponse
- type TaxCapsResponseItem
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) BurnTaxExemptionList(ctx context.Context, req *QueryBurnTaxExemptionListRequest) (*QueryBurnTaxExemptionListResponse, error)
- func (*UnimplementedQueryServer) Indicators(ctx context.Context, req *QueryIndicatorsRequest) (*QueryIndicatorsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) RewardWeight(ctx context.Context, req *QueryRewardWeightRequest) (*QueryRewardWeightResponse, error)
- func (*UnimplementedQueryServer) SeigniorageProceeds(ctx context.Context, req *QuerySeigniorageProceedsRequest) (*QuerySeigniorageProceedsResponse, error)
- func (*UnimplementedQueryServer) TaxCap(ctx context.Context, req *QueryTaxCapRequest) (*QueryTaxCapResponse, error)
- func (*UnimplementedQueryServer) TaxCaps(ctx context.Context, req *QueryTaxCapsRequest) (*QueryTaxCapsResponse, error)
- func (*UnimplementedQueryServer) TaxProceeds(ctx context.Context, req *QueryTaxProceedsRequest) (*QueryTaxProceedsResponse, error)
- func (*UnimplementedQueryServer) TaxRate(ctx context.Context, req *QueryTaxRateRequest) (*QueryTaxRateResponse, error)
Constants ¶
const ( EventTypePolicyUpdate = "policy_update" EventTypeTaxRateUpdate = "tax_rate_update" EventTypeRewardWeightUpdate = "reward_weight_update" AttributeKeyTaxRate = "tax_rate" AttributeKeyRewardWeight = "reward_weight" AttributeKeyTaxCap = "tax_cap" AttributeValueCategory = ModuleName )
Treasury module event types
const ( ProposalTypeAddBurnTaxExemptionAddress = "AddBurnTaxExemptionAddress" ProposalTypeRemoveBurnTaxExemptionAddress = "RemoveBurnTaxExemptionAddress" )
const ( // ModuleName is the module name constant used in many places ModuleName = "treasury" // StoreKey is the string store representation StoreKey = ModuleName // RouterKey is the message route for treasury RouterKey = ModuleName // QuerierRoute is the querier route for treasury QuerierRoute = ModuleName )
const ( QueryTaxRate = "taxRate" QueryTaxCap = "taxCap" QueryTaxCaps = "taxCaps" QueryRewardWeight = "rewardWeight" QuerySeigniorageProceeds = "seigniorageProceeds" QueryTaxProceeds = "taxProceeds" QueryParameters = "parameters" QueryIndicators = "indicators" QueryBurnTaxExemptionList = "burnTaxExemptionList" )
query endpoints supported by the auth Querier
const BurnModuleName = "burn"
BurnModuleName is special purpose module name to perform burn coins burn address = terra1sk06e3dyexuq4shw77y3dsv480xv42mq73anxu
Variables ¶
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 ( ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") )
var ( // Keys for store prefixes TaxRateKey = []byte{0x01} // a key for a tax-rate RewardWeightKey = []byte{0x02} // a key for a reward-weight TaxCapKey = []byte{0x03} // prefix for each key to a tax-cap TaxProceedsKey = []byte{0x04} // a key for a tax-proceeds EpochInitialIssuanceKey = []byte{0x05} // a key for an initial epoch issuance CumulativeHeightKey = []byte{0x09} // a key for a cumulated height BurnTaxExemptionListPrefix = []byte{0x20} // prefix for burn tax exemption list // Keys for store prefixes of internal purpose variables TRKey = []byte{0x06} // prefix for each key to a TR SRKey = []byte{0x07} // prefix for each key to a SR TSLKey = []byte{0x08} // prefix for each key to a TSL )
Keys for treasury store Items are stored with the following key: values
- 0x01: sdk.Dec
- 0x02: sdk.Dec
- 0x03<denom_Bytes>: math.Int
- 0x04: sdk.Coins
- 0x05: sdk.Coins
- 0x06<epoch_Bytes>: sdk.Dec
- 0x07<epoch_Bytes>: sdk.Dec
- 0x08<epoch_Bytes>: math.Int
- 0x09: int64
var ( KeyTaxPolicy = []byte("TaxPolicy") KeyRewardPolicy = []byte("RewardPolicy") KeySeigniorageBurdenTarget = []byte("SeigniorageBurdenTarget") KeyMiningIncrement = []byte("MiningIncrement") KeyWindowShort = []byte("WindowShort") KeyWindowLong = []byte("WindowLong") KeyWindowProbation = []byte("WindowProbation") KeyBurnTaxSplit = []byte("BurnTaxSplit") KeyMinInitialDepositRatio = []byte("MinInitialDepositRatio") )
Parameter keys
var ( DefaultTaxPolicy = PolicyConstraints{ RateMin: sdk.NewDecWithPrec(5, 4), RateMax: sdk.NewDecWithPrec(1, 2), Cap: sdk.NewCoin(core.MicroSDRDenom, sdk.OneInt().MulRaw(core.MicroUnit)), ChangeRateMax: sdk.NewDecWithPrec(25, 5), } DefaultRewardPolicy = PolicyConstraints{ RateMin: sdk.NewDecWithPrec(5, 2), RateMax: sdk.NewDecWithPrec(50, 2), ChangeRateMax: sdk.NewDecWithPrec(25, 3), Cap: sdk.NewCoin("unused", sdk.ZeroInt()), } DefaultSeigniorageBurdenTarget = sdk.NewDecWithPrec(67, 2) // 67% DefaultMiningIncrement = sdk.NewDecWithPrec(107, 2) // 1.07 mining increment; exponential growth DefaultWindowShort = uint64(4) // a month DefaultWindowLong = uint64(52) // a year DefaultWindowProbation = uint64(12) // 3 month DefaultTaxRate = sdk.NewDecWithPrec(1, 3) // 0.1% DefaultRewardWeight = sdk.NewDecWithPrec(5, 2) // 5% DefaultBurnTaxSplit = sdk.NewDecWithPrec(1, 1) // 10% goes to community pool, 90% burn DefaultMinInitialDepositRatio = sdk.ZeroDec() // 0% min initial deposit )
Default parameter values
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 ( ErrInvalidLengthTreasury = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTreasury = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTreasury = fmt.Errorf("proto: unexpected end of group") )
var ErrNoSuchBurnTaxExemptionAddress = errorsmod.Register(ModuleName, 1, "no such address in extemption list")
Functions ¶
func GetSubkeyByEpoch ¶
GetSubkeyByEpoch - stored by *epoch*
func NewAddBurnTaxExemptionAddressProposal ¶
func NewAddBurnTaxExemptionAddressProposal(title, description string, addresses []string) govv1beta1.Content
func NewRemoveBurnTaxExemptionAddressProposal ¶
func NewRemoveBurnTaxExemptionAddressProposal(title, description string, addresses []string) govv1beta1.Content
func ParamKeyTable ¶
func ParamKeyTable() paramstypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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)
func ValidateGenesis ¶
func ValidateGenesis(data *GenesisState) error
ValidateGenesis validates the provided oracle genesis state to ensure the expected invariants holds. (i.e. params in correct bounds, no duplicate validators)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetModuleAddress(name string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI }
AccountKeeper expected account keeper
type AddBurnTaxExemptionAddressProposal ¶
type AddBurnTaxExemptionAddressProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty" yaml:"addresses"` }
proposal request structure for adding burn tax exemption address(es)
func (*AddBurnTaxExemptionAddressProposal) Descriptor ¶
func (*AddBurnTaxExemptionAddressProposal) Descriptor() ([]byte, []int)
func (*AddBurnTaxExemptionAddressProposal) Equal ¶
func (this *AddBurnTaxExemptionAddressProposal) Equal(that interface{}) bool
func (*AddBurnTaxExemptionAddressProposal) GetDescription ¶
func (p *AddBurnTaxExemptionAddressProposal) GetDescription() string
func (*AddBurnTaxExemptionAddressProposal) GetTitle ¶
func (p *AddBurnTaxExemptionAddressProposal) GetTitle() string
func (*AddBurnTaxExemptionAddressProposal) Marshal ¶
func (m *AddBurnTaxExemptionAddressProposal) Marshal() (dAtA []byte, err error)
func (*AddBurnTaxExemptionAddressProposal) MarshalTo ¶
func (m *AddBurnTaxExemptionAddressProposal) MarshalTo(dAtA []byte) (int, error)
func (*AddBurnTaxExemptionAddressProposal) MarshalToSizedBuffer ¶
func (m *AddBurnTaxExemptionAddressProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddBurnTaxExemptionAddressProposal) ProposalRoute ¶
func (p *AddBurnTaxExemptionAddressProposal) ProposalRoute() string
func (*AddBurnTaxExemptionAddressProposal) ProposalType ¶
func (p *AddBurnTaxExemptionAddressProposal) ProposalType() string
func (*AddBurnTaxExemptionAddressProposal) ProtoMessage ¶
func (*AddBurnTaxExemptionAddressProposal) ProtoMessage()
func (*AddBurnTaxExemptionAddressProposal) Reset ¶
func (m *AddBurnTaxExemptionAddressProposal) Reset()
func (*AddBurnTaxExemptionAddressProposal) Size ¶
func (m *AddBurnTaxExemptionAddressProposal) Size() (n int)
func (AddBurnTaxExemptionAddressProposal) String ¶
func (p AddBurnTaxExemptionAddressProposal) String() string
func (*AddBurnTaxExemptionAddressProposal) Unmarshal ¶
func (m *AddBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error
func (*AddBurnTaxExemptionAddressProposal) ValidateBasic ¶
func (p *AddBurnTaxExemptionAddressProposal) ValidateBasic() error
func (*AddBurnTaxExemptionAddressProposal) XXX_DiscardUnknown ¶
func (m *AddBurnTaxExemptionAddressProposal) XXX_DiscardUnknown()
func (*AddBurnTaxExemptionAddressProposal) XXX_Marshal ¶
func (m *AddBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddBurnTaxExemptionAddressProposal) XXX_Merge ¶
func (m *AddBurnTaxExemptionAddressProposal) XXX_Merge(src proto.Message)
func (*AddBurnTaxExemptionAddressProposal) XXX_Size ¶
func (m *AddBurnTaxExemptionAddressProposal) XXX_Size() int
func (*AddBurnTaxExemptionAddressProposal) XXX_Unmarshal ¶
func (m *AddBurnTaxExemptionAddressProposal) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
type BankKeeper interface { MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetSupply(ctx sdk.Context, denom string) sdk.Coin }
BankKeeper expected bank keeper
type DistributionKeeper ¶
type DistributionKeeper interface { GetFeePool(ctx sdk.Context) (feePool distrtypes.FeePool) SetFeePool(ctx sdk.Context, feePool distrtypes.FeePool) }
DistributionKeeper expected keeper for distribution module
type EpochInitialIssuance ¶
type EpochInitialIssuance struct {
Issuance github_com_cosmos_cosmos_sdk_types.Coins `` /* 129-byte string literal not displayed */
}
EpochInitialIssuance represents initial issuance of the currrent epoch
func (*EpochInitialIssuance) Descriptor ¶
func (*EpochInitialIssuance) Descriptor() ([]byte, []int)
func (*EpochInitialIssuance) GetIssuance ¶
func (m *EpochInitialIssuance) GetIssuance() github_com_cosmos_cosmos_sdk_types.Coins
func (*EpochInitialIssuance) Marshal ¶
func (m *EpochInitialIssuance) Marshal() (dAtA []byte, err error)
func (*EpochInitialIssuance) MarshalTo ¶
func (m *EpochInitialIssuance) MarshalTo(dAtA []byte) (int, error)
func (*EpochInitialIssuance) MarshalToSizedBuffer ¶
func (m *EpochInitialIssuance) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochInitialIssuance) ProtoMessage ¶
func (*EpochInitialIssuance) ProtoMessage()
func (*EpochInitialIssuance) Reset ¶
func (m *EpochInitialIssuance) Reset()
func (*EpochInitialIssuance) Size ¶
func (m *EpochInitialIssuance) Size() (n int)
func (*EpochInitialIssuance) String ¶
func (m *EpochInitialIssuance) String() string
func (*EpochInitialIssuance) Unmarshal ¶
func (m *EpochInitialIssuance) Unmarshal(dAtA []byte) error
func (*EpochInitialIssuance) XXX_DiscardUnknown ¶
func (m *EpochInitialIssuance) XXX_DiscardUnknown()
func (*EpochInitialIssuance) XXX_Marshal ¶
func (m *EpochInitialIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochInitialIssuance) XXX_Merge ¶
func (m *EpochInitialIssuance) XXX_Merge(src proto.Message)
func (*EpochInitialIssuance) XXX_Size ¶
func (m *EpochInitialIssuance) XXX_Size() int
func (*EpochInitialIssuance) XXX_Unmarshal ¶
func (m *EpochInitialIssuance) XXX_Unmarshal(b []byte) error
type EpochState ¶
type EpochState struct { Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` TaxReward github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */ SeigniorageReward github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */ TotalStakedLuna github_com_cosmos_cosmos_sdk_types.Int `` /* 148-byte string literal not displayed */ }
EpochState is the record for each epoch state
func (*EpochState) Descriptor ¶
func (*EpochState) Descriptor() ([]byte, []int)
func (*EpochState) GetEpoch ¶
func (m *EpochState) GetEpoch() uint64
func (*EpochState) Marshal ¶
func (m *EpochState) Marshal() (dAtA []byte, err error)
func (*EpochState) MarshalToSizedBuffer ¶
func (m *EpochState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochState) ProtoMessage ¶
func (*EpochState) ProtoMessage()
func (*EpochState) Reset ¶
func (m *EpochState) Reset()
func (*EpochState) Size ¶
func (m *EpochState) Size() (n int)
func (*EpochState) String ¶
func (m *EpochState) String() string
func (*EpochState) Unmarshal ¶
func (m *EpochState) Unmarshal(dAtA []byte) error
func (*EpochState) XXX_DiscardUnknown ¶
func (m *EpochState) XXX_DiscardUnknown()
func (*EpochState) XXX_Marshal ¶
func (m *EpochState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochState) XXX_Merge ¶
func (m *EpochState) XXX_Merge(src proto.Message)
func (*EpochState) XXX_Size ¶
func (m *EpochState) XXX_Size() int
func (*EpochState) XXX_Unmarshal ¶
func (m *EpochState) XXX_Unmarshal(b []byte) error
type EpochTaxProceeds ¶
type EpochTaxProceeds struct {
TaxProceeds github_com_cosmos_cosmos_sdk_types.Coins `` /* 158-byte string literal not displayed */
}
EpochTaxProceeds represents the tax amount collected at the current epoch
func (*EpochTaxProceeds) Descriptor ¶
func (*EpochTaxProceeds) Descriptor() ([]byte, []int)
func (*EpochTaxProceeds) GetTaxProceeds ¶
func (m *EpochTaxProceeds) GetTaxProceeds() github_com_cosmos_cosmos_sdk_types.Coins
func (*EpochTaxProceeds) Marshal ¶
func (m *EpochTaxProceeds) Marshal() (dAtA []byte, err error)
func (*EpochTaxProceeds) MarshalToSizedBuffer ¶
func (m *EpochTaxProceeds) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochTaxProceeds) ProtoMessage ¶
func (*EpochTaxProceeds) ProtoMessage()
func (*EpochTaxProceeds) Reset ¶
func (m *EpochTaxProceeds) Reset()
func (*EpochTaxProceeds) Size ¶
func (m *EpochTaxProceeds) Size() (n int)
func (*EpochTaxProceeds) String ¶
func (m *EpochTaxProceeds) String() string
func (*EpochTaxProceeds) Unmarshal ¶
func (m *EpochTaxProceeds) Unmarshal(dAtA []byte) error
func (*EpochTaxProceeds) XXX_DiscardUnknown ¶
func (m *EpochTaxProceeds) XXX_DiscardUnknown()
func (*EpochTaxProceeds) XXX_Marshal ¶
func (m *EpochTaxProceeds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochTaxProceeds) XXX_Merge ¶
func (m *EpochTaxProceeds) XXX_Merge(src proto.Message)
func (*EpochTaxProceeds) XXX_Size ¶
func (m *EpochTaxProceeds) XXX_Size() int
func (*EpochTaxProceeds) XXX_Unmarshal ¶
func (m *EpochTaxProceeds) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` TaxRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=tax_rate,json=taxRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"tax_rate"` RewardWeight github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ TaxCaps []TaxCap `protobuf:"bytes,4,rep,name=tax_caps,json=taxCaps,proto3" json:"tax_caps"` TaxProceeds github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ EpochInitialIssuance github_com_cosmos_cosmos_sdk_types.Coins `` /* 167-byte string literal not displayed */ EpochStates []EpochState `protobuf:"bytes,7,rep,name=epoch_states,json=epochStates,proto3" json:"epoch_states"` }
GenesisState defines the oracle module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState gets raw genesis raw message for testing
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/market GenesisState given raw application genesis state.
func NewGenesisState ¶
func NewGenesisState(params Params, taxRate sdk.Dec, rewardWeight sdk.Dec, taxCaps []TaxCap, taxProceeds sdk.Coins, epochInitialIssuance sdk.Coins, epochStates []EpochState, ) *GenesisState
NewGenesisState creates a new GenesisState object
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetEpochInitialIssuance ¶
func (m *GenesisState) GetEpochInitialIssuance() github_com_cosmos_cosmos_sdk_types.Coins
func (*GenesisState) GetEpochStates ¶
func (m *GenesisState) GetEpochStates() []EpochState
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetTaxCaps ¶
func (m *GenesisState) GetTaxCaps() []TaxCap
func (*GenesisState) GetTaxProceeds ¶
func (m *GenesisState) GetTaxProceeds() github_com_cosmos_cosmos_sdk_types.Coins
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) 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 IndicatorQueryResponse ¶
type IndicatorQueryResponse struct { TRLYear sdk.Dec `json:"trl_year"` TRLMonth sdk.Dec `json:"trl_month"` }
IndicatorQueryResponse query response body
func (IndicatorQueryResponse) String ¶
func (res IndicatorQueryResponse) String() string
String implements fmt.Stringer interface
type MarketKeeper ¶
type MarketKeeper interface {
ComputeInternalSwap(ctx sdk.Context, offerCoin sdk.DecCoin, askDenom string) (sdk.DecCoin, error)
}
MarketKeeper expected market keeper
type OracleKeeper ¶
type OracleKeeper interface { Whitelist(ctx sdk.Context) (res oracletypes.DenomList) // only used for test purpose SetLunaExchangeRate(ctx sdk.Context, denom string, exchangeRate sdk.Dec) SetWhitelist(ctx sdk.Context, whitelist oracletypes.DenomList) }
OracleKeeper defines expected oracle keeper
type Params ¶
type Params struct { TaxPolicy PolicyConstraints `protobuf:"bytes,1,opt,name=tax_policy,json=taxPolicy,proto3" json:"tax_policy" yaml:"tax_policy"` RewardPolicy PolicyConstraints `protobuf:"bytes,2,opt,name=reward_policy,json=rewardPolicy,proto3" json:"reward_policy" yaml:"reward_policy"` SeigniorageBurdenTarget github_com_cosmos_cosmos_sdk_types.Dec `` /* 205-byte string literal not displayed */ MiningIncrement github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-byte string literal not displayed */ WindowShort uint64 `protobuf:"varint,5,opt,name=window_short,json=windowShort,proto3" json:"window_short,omitempty" yaml:"window_short"` WindowLong uint64 `protobuf:"varint,6,opt,name=window_long,json=windowLong,proto3" json:"window_long,omitempty" yaml:"window_long"` WindowProbation uint64 `` /* 131-byte string literal not displayed */ BurnTaxSplit github_com_cosmos_cosmos_sdk_types.Dec `` /* 161-byte string literal not displayed */ MinInitialDepositRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 204-byte string literal not displayed */ }
Params defines the parameters for the oracle module.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams creates default treasury module parameters
func (*Params) Descriptor ¶
func (*Params) GetRewardPolicy ¶
func (m *Params) GetRewardPolicy() PolicyConstraints
func (*Params) GetTaxPolicy ¶
func (m *Params) GetTaxPolicy() PolicyConstraints
func (*Params) GetWindowLong ¶
func (*Params) GetWindowProbation ¶
func (*Params) GetWindowShort ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs
ParamSetPairs implements the ParamSet interface and returns all the key/value pairs pairs of treasury module's parameters.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PolicyConstraints ¶
type PolicyConstraints struct { RateMin github_com_cosmos_cosmos_sdk_types.Dec `` /* 138-byte string literal not displayed */ RateMax github_com_cosmos_cosmos_sdk_types.Dec `` /* 138-byte string literal not displayed */ Cap types.Coin `protobuf:"bytes,3,opt,name=cap,proto3" json:"cap" yaml:"cap"` ChangeRateMax github_com_cosmos_cosmos_sdk_types.Dec `` /* 165-byte string literal not displayed */ }
PolicyConstraints - defines policy constraints can be applied in tax & reward policies
func (PolicyConstraints) Clamp ¶
Clamp constrains a policy variable update within the policy constraints
func (*PolicyConstraints) Descriptor ¶
func (*PolicyConstraints) Descriptor() ([]byte, []int)
func (*PolicyConstraints) Equal ¶
func (this *PolicyConstraints) Equal(that interface{}) bool
func (*PolicyConstraints) GetCap ¶
func (m *PolicyConstraints) GetCap() types.Coin
func (*PolicyConstraints) Marshal ¶
func (m *PolicyConstraints) Marshal() (dAtA []byte, err error)
func (*PolicyConstraints) MarshalTo ¶
func (m *PolicyConstraints) MarshalTo(dAtA []byte) (int, error)
func (*PolicyConstraints) MarshalToSizedBuffer ¶
func (m *PolicyConstraints) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PolicyConstraints) ProtoMessage ¶
func (*PolicyConstraints) ProtoMessage()
func (*PolicyConstraints) Reset ¶
func (m *PolicyConstraints) Reset()
func (*PolicyConstraints) Size ¶
func (m *PolicyConstraints) Size() (n int)
func (PolicyConstraints) String ¶
func (pc PolicyConstraints) String() string
String implements fmt.Stringer interface
func (*PolicyConstraints) Unmarshal ¶
func (m *PolicyConstraints) Unmarshal(dAtA []byte) error
func (*PolicyConstraints) XXX_DiscardUnknown ¶
func (m *PolicyConstraints) XXX_DiscardUnknown()
func (*PolicyConstraints) XXX_Marshal ¶
func (m *PolicyConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PolicyConstraints) XXX_Merge ¶
func (m *PolicyConstraints) XXX_Merge(src proto.Message)
func (*PolicyConstraints) XXX_Size ¶
func (m *PolicyConstraints) XXX_Size() int
func (*PolicyConstraints) XXX_Unmarshal ¶
func (m *PolicyConstraints) XXX_Unmarshal(b []byte) error
type QueryBurnTaxExemptionListParams ¶
type QueryBurnTaxExemptionListParams struct {
Page, Limit int
}
func NewQueryBurnTaxExemptionListParams ¶
func NewQueryBurnTaxExemptionListParams(page, limit int) QueryBurnTaxExemptionListParams
type QueryBurnTaxExemptionListRequest ¶
type QueryBurnTaxExemptionListRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryBurnTaxExemptionListRequest is the request type for the Query/BurnTaxExemptionList RPC method.
func (*QueryBurnTaxExemptionListRequest) Descriptor ¶
func (*QueryBurnTaxExemptionListRequest) Descriptor() ([]byte, []int)
func (*QueryBurnTaxExemptionListRequest) GetPagination ¶
func (m *QueryBurnTaxExemptionListRequest) GetPagination() *query.PageRequest
func (*QueryBurnTaxExemptionListRequest) Marshal ¶
func (m *QueryBurnTaxExemptionListRequest) Marshal() (dAtA []byte, err error)
func (*QueryBurnTaxExemptionListRequest) MarshalTo ¶
func (m *QueryBurnTaxExemptionListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryBurnTaxExemptionListRequest) MarshalToSizedBuffer ¶
func (m *QueryBurnTaxExemptionListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBurnTaxExemptionListRequest) ProtoMessage ¶
func (*QueryBurnTaxExemptionListRequest) ProtoMessage()
func (*QueryBurnTaxExemptionListRequest) Reset ¶
func (m *QueryBurnTaxExemptionListRequest) Reset()
func (*QueryBurnTaxExemptionListRequest) Size ¶
func (m *QueryBurnTaxExemptionListRequest) Size() (n int)
func (*QueryBurnTaxExemptionListRequest) String ¶
func (m *QueryBurnTaxExemptionListRequest) String() string
func (*QueryBurnTaxExemptionListRequest) Unmarshal ¶
func (m *QueryBurnTaxExemptionListRequest) Unmarshal(dAtA []byte) error
func (*QueryBurnTaxExemptionListRequest) XXX_DiscardUnknown ¶
func (m *QueryBurnTaxExemptionListRequest) XXX_DiscardUnknown()
func (*QueryBurnTaxExemptionListRequest) XXX_Marshal ¶
func (m *QueryBurnTaxExemptionListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBurnTaxExemptionListRequest) XXX_Merge ¶
func (m *QueryBurnTaxExemptionListRequest) XXX_Merge(src proto.Message)
func (*QueryBurnTaxExemptionListRequest) XXX_Size ¶
func (m *QueryBurnTaxExemptionListRequest) XXX_Size() int
func (*QueryBurnTaxExemptionListRequest) XXX_Unmarshal ¶
func (m *QueryBurnTaxExemptionListRequest) XXX_Unmarshal(b []byte) error
type QueryBurnTaxExemptionListResponse ¶
type QueryBurnTaxExemptionListResponse struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryBurnTaxExemptionListResponse is response type for the Query/BurnTaxExemptionList RPC method.
func (*QueryBurnTaxExemptionListResponse) Descriptor ¶
func (*QueryBurnTaxExemptionListResponse) Descriptor() ([]byte, []int)
func (*QueryBurnTaxExemptionListResponse) GetAddresses ¶
func (m *QueryBurnTaxExemptionListResponse) GetAddresses() []string
func (*QueryBurnTaxExemptionListResponse) GetPagination ¶
func (m *QueryBurnTaxExemptionListResponse) GetPagination() *query.PageResponse
func (*QueryBurnTaxExemptionListResponse) Marshal ¶
func (m *QueryBurnTaxExemptionListResponse) Marshal() (dAtA []byte, err error)
func (*QueryBurnTaxExemptionListResponse) MarshalTo ¶
func (m *QueryBurnTaxExemptionListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBurnTaxExemptionListResponse) MarshalToSizedBuffer ¶
func (m *QueryBurnTaxExemptionListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBurnTaxExemptionListResponse) ProtoMessage ¶
func (*QueryBurnTaxExemptionListResponse) ProtoMessage()
func (*QueryBurnTaxExemptionListResponse) Reset ¶
func (m *QueryBurnTaxExemptionListResponse) Reset()
func (*QueryBurnTaxExemptionListResponse) Size ¶
func (m *QueryBurnTaxExemptionListResponse) Size() (n int)
func (*QueryBurnTaxExemptionListResponse) String ¶
func (m *QueryBurnTaxExemptionListResponse) String() string
func (*QueryBurnTaxExemptionListResponse) Unmarshal ¶
func (m *QueryBurnTaxExemptionListResponse) Unmarshal(dAtA []byte) error
func (*QueryBurnTaxExemptionListResponse) XXX_DiscardUnknown ¶
func (m *QueryBurnTaxExemptionListResponse) XXX_DiscardUnknown()
func (*QueryBurnTaxExemptionListResponse) XXX_Marshal ¶
func (m *QueryBurnTaxExemptionListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBurnTaxExemptionListResponse) XXX_Merge ¶
func (m *QueryBurnTaxExemptionListResponse) XXX_Merge(src proto.Message)
func (*QueryBurnTaxExemptionListResponse) XXX_Size ¶
func (m *QueryBurnTaxExemptionListResponse) XXX_Size() int
func (*QueryBurnTaxExemptionListResponse) XXX_Unmarshal ¶
func (m *QueryBurnTaxExemptionListResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // TaxRate return the current tax rate TaxRate(ctx context.Context, in *QueryTaxRateRequest, opts ...grpc.CallOption) (*QueryTaxRateResponse, error) // TaxCap returns the tax cap of a denom TaxCap(ctx context.Context, in *QueryTaxCapRequest, opts ...grpc.CallOption) (*QueryTaxCapResponse, error) // TaxCaps returns the all tax caps TaxCaps(ctx context.Context, in *QueryTaxCapsRequest, opts ...grpc.CallOption) (*QueryTaxCapsResponse, error) // RewardWeight return the current reward weight RewardWeight(ctx context.Context, in *QueryRewardWeightRequest, opts ...grpc.CallOption) (*QueryRewardWeightResponse, error) // SeigniorageProceeds return the current seigniorage proceeds SeigniorageProceeds(ctx context.Context, in *QuerySeigniorageProceedsRequest, opts ...grpc.CallOption) (*QuerySeigniorageProceedsResponse, error) // TaxProceeds return the current tax proceeds TaxProceeds(ctx context.Context, in *QueryTaxProceedsRequest, opts ...grpc.CallOption) (*QueryTaxProceedsResponse, error) // Indicators return the current trl informations Indicators(ctx context.Context, in *QueryIndicatorsRequest, opts ...grpc.CallOption) (*QueryIndicatorsResponse, error) // BurnTaxExemptionList returns all registered burn tax exemption addresses BurnTaxExemptionList(ctx context.Context, in *QueryBurnTaxExemptionListRequest, opts ...grpc.CallOption) (*QueryBurnTaxExemptionListResponse, error) // Params queries all parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryIndicatorsRequest ¶
type QueryIndicatorsRequest struct { }
QueryIndicatorsRequest is the request type for the Query/Indicators RPC method.
func (*QueryIndicatorsRequest) Descriptor ¶
func (*QueryIndicatorsRequest) Descriptor() ([]byte, []int)
func (*QueryIndicatorsRequest) Marshal ¶
func (m *QueryIndicatorsRequest) Marshal() (dAtA []byte, err error)
func (*QueryIndicatorsRequest) MarshalTo ¶
func (m *QueryIndicatorsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryIndicatorsRequest) MarshalToSizedBuffer ¶
func (m *QueryIndicatorsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIndicatorsRequest) ProtoMessage ¶
func (*QueryIndicatorsRequest) ProtoMessage()
func (*QueryIndicatorsRequest) Reset ¶
func (m *QueryIndicatorsRequest) Reset()
func (*QueryIndicatorsRequest) Size ¶
func (m *QueryIndicatorsRequest) Size() (n int)
func (*QueryIndicatorsRequest) String ¶
func (m *QueryIndicatorsRequest) String() string
func (*QueryIndicatorsRequest) Unmarshal ¶
func (m *QueryIndicatorsRequest) Unmarshal(dAtA []byte) error
func (*QueryIndicatorsRequest) XXX_DiscardUnknown ¶
func (m *QueryIndicatorsRequest) XXX_DiscardUnknown()
func (*QueryIndicatorsRequest) XXX_Marshal ¶
func (m *QueryIndicatorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIndicatorsRequest) XXX_Merge ¶
func (m *QueryIndicatorsRequest) XXX_Merge(src proto.Message)
func (*QueryIndicatorsRequest) XXX_Size ¶
func (m *QueryIndicatorsRequest) XXX_Size() int
func (*QueryIndicatorsRequest) XXX_Unmarshal ¶
func (m *QueryIndicatorsRequest) XXX_Unmarshal(b []byte) error
type QueryIndicatorsResponse ¶
type QueryIndicatorsResponse struct { TRLYear github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=trl_year,json=trlYear,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"trl_year"` TRLMonth github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=trl_month,json=trlMonth,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"trl_month"` }
QueryIndicatorsResponse is response type for the Query/Indicators RPC method.
func (*QueryIndicatorsResponse) Descriptor ¶
func (*QueryIndicatorsResponse) Descriptor() ([]byte, []int)
func (*QueryIndicatorsResponse) Marshal ¶
func (m *QueryIndicatorsResponse) Marshal() (dAtA []byte, err error)
func (*QueryIndicatorsResponse) MarshalTo ¶
func (m *QueryIndicatorsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryIndicatorsResponse) MarshalToSizedBuffer ¶
func (m *QueryIndicatorsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryIndicatorsResponse) ProtoMessage ¶
func (*QueryIndicatorsResponse) ProtoMessage()
func (*QueryIndicatorsResponse) Reset ¶
func (m *QueryIndicatorsResponse) Reset()
func (*QueryIndicatorsResponse) Size ¶
func (m *QueryIndicatorsResponse) Size() (n int)
func (*QueryIndicatorsResponse) String ¶
func (m *QueryIndicatorsResponse) String() string
func (*QueryIndicatorsResponse) Unmarshal ¶
func (m *QueryIndicatorsResponse) Unmarshal(dAtA []byte) error
func (*QueryIndicatorsResponse) XXX_DiscardUnknown ¶
func (m *QueryIndicatorsResponse) XXX_DiscardUnknown()
func (*QueryIndicatorsResponse) XXX_Marshal ¶
func (m *QueryIndicatorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryIndicatorsResponse) XXX_Merge ¶
func (m *QueryIndicatorsResponse) XXX_Merge(src proto.Message)
func (*QueryIndicatorsResponse) XXX_Size ¶
func (m *QueryIndicatorsResponse) XXX_Size() int
func (*QueryIndicatorsResponse) XXX_Unmarshal ¶
func (m *QueryIndicatorsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
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 defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
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 QueryRewardWeightRequest ¶
type QueryRewardWeightRequest struct { }
QueryRewardWeightRequest is the request type for the Query/RewardWeight RPC method.
func (*QueryRewardWeightRequest) Descriptor ¶
func (*QueryRewardWeightRequest) Descriptor() ([]byte, []int)
func (*QueryRewardWeightRequest) Marshal ¶
func (m *QueryRewardWeightRequest) Marshal() (dAtA []byte, err error)
func (*QueryRewardWeightRequest) MarshalTo ¶
func (m *QueryRewardWeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardWeightRequest) MarshalToSizedBuffer ¶
func (m *QueryRewardWeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardWeightRequest) ProtoMessage ¶
func (*QueryRewardWeightRequest) ProtoMessage()
func (*QueryRewardWeightRequest) Reset ¶
func (m *QueryRewardWeightRequest) Reset()
func (*QueryRewardWeightRequest) Size ¶
func (m *QueryRewardWeightRequest) Size() (n int)
func (*QueryRewardWeightRequest) String ¶
func (m *QueryRewardWeightRequest) String() string
func (*QueryRewardWeightRequest) Unmarshal ¶
func (m *QueryRewardWeightRequest) Unmarshal(dAtA []byte) error
func (*QueryRewardWeightRequest) XXX_DiscardUnknown ¶
func (m *QueryRewardWeightRequest) XXX_DiscardUnknown()
func (*QueryRewardWeightRequest) XXX_Marshal ¶
func (m *QueryRewardWeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardWeightRequest) XXX_Merge ¶
func (m *QueryRewardWeightRequest) XXX_Merge(src proto.Message)
func (*QueryRewardWeightRequest) XXX_Size ¶
func (m *QueryRewardWeightRequest) XXX_Size() int
func (*QueryRewardWeightRequest) XXX_Unmarshal ¶
func (m *QueryRewardWeightRequest) XXX_Unmarshal(b []byte) error
type QueryRewardWeightResponse ¶
type QueryRewardWeightResponse struct {
RewardWeight github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */
}
QueryRewardWeightResponse is response type for the Query/RewardWeight RPC method.
func (*QueryRewardWeightResponse) Descriptor ¶
func (*QueryRewardWeightResponse) Descriptor() ([]byte, []int)
func (*QueryRewardWeightResponse) Marshal ¶
func (m *QueryRewardWeightResponse) Marshal() (dAtA []byte, err error)
func (*QueryRewardWeightResponse) MarshalTo ¶
func (m *QueryRewardWeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardWeightResponse) MarshalToSizedBuffer ¶
func (m *QueryRewardWeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardWeightResponse) ProtoMessage ¶
func (*QueryRewardWeightResponse) ProtoMessage()
func (*QueryRewardWeightResponse) Reset ¶
func (m *QueryRewardWeightResponse) Reset()
func (*QueryRewardWeightResponse) Size ¶
func (m *QueryRewardWeightResponse) Size() (n int)
func (*QueryRewardWeightResponse) String ¶
func (m *QueryRewardWeightResponse) String() string
func (*QueryRewardWeightResponse) Unmarshal ¶
func (m *QueryRewardWeightResponse) Unmarshal(dAtA []byte) error
func (*QueryRewardWeightResponse) XXX_DiscardUnknown ¶
func (m *QueryRewardWeightResponse) XXX_DiscardUnknown()
func (*QueryRewardWeightResponse) XXX_Marshal ¶
func (m *QueryRewardWeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardWeightResponse) XXX_Merge ¶
func (m *QueryRewardWeightResponse) XXX_Merge(src proto.Message)
func (*QueryRewardWeightResponse) XXX_Size ¶
func (m *QueryRewardWeightResponse) XXX_Size() int
func (*QueryRewardWeightResponse) XXX_Unmarshal ¶
func (m *QueryRewardWeightResponse) XXX_Unmarshal(b []byte) error
type QuerySeigniorageProceedsRequest ¶
type QuerySeigniorageProceedsRequest struct { }
QuerySeigniorageProceedsRequest is the request type for the Query/SeigniorageProceeds RPC method.
func (*QuerySeigniorageProceedsRequest) Descriptor ¶
func (*QuerySeigniorageProceedsRequest) Descriptor() ([]byte, []int)
func (*QuerySeigniorageProceedsRequest) Marshal ¶
func (m *QuerySeigniorageProceedsRequest) Marshal() (dAtA []byte, err error)
func (*QuerySeigniorageProceedsRequest) MarshalTo ¶
func (m *QuerySeigniorageProceedsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySeigniorageProceedsRequest) MarshalToSizedBuffer ¶
func (m *QuerySeigniorageProceedsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySeigniorageProceedsRequest) ProtoMessage ¶
func (*QuerySeigniorageProceedsRequest) ProtoMessage()
func (*QuerySeigniorageProceedsRequest) Reset ¶
func (m *QuerySeigniorageProceedsRequest) Reset()
func (*QuerySeigniorageProceedsRequest) Size ¶
func (m *QuerySeigniorageProceedsRequest) Size() (n int)
func (*QuerySeigniorageProceedsRequest) String ¶
func (m *QuerySeigniorageProceedsRequest) String() string
func (*QuerySeigniorageProceedsRequest) Unmarshal ¶
func (m *QuerySeigniorageProceedsRequest) Unmarshal(dAtA []byte) error
func (*QuerySeigniorageProceedsRequest) XXX_DiscardUnknown ¶
func (m *QuerySeigniorageProceedsRequest) XXX_DiscardUnknown()
func (*QuerySeigniorageProceedsRequest) XXX_Marshal ¶
func (m *QuerySeigniorageProceedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySeigniorageProceedsRequest) XXX_Merge ¶
func (m *QuerySeigniorageProceedsRequest) XXX_Merge(src proto.Message)
func (*QuerySeigniorageProceedsRequest) XXX_Size ¶
func (m *QuerySeigniorageProceedsRequest) XXX_Size() int
func (*QuerySeigniorageProceedsRequest) XXX_Unmarshal ¶
func (m *QuerySeigniorageProceedsRequest) XXX_Unmarshal(b []byte) error
type QuerySeigniorageProceedsResponse ¶
type QuerySeigniorageProceedsResponse struct {
SeigniorageProceeds github_com_cosmos_cosmos_sdk_types.Int `` /* 158-byte string literal not displayed */
}
QuerySeigniorageProceedsResponse is response type for the Query/SeigniorageProceeds RPC method.
func (*QuerySeigniorageProceedsResponse) Descriptor ¶
func (*QuerySeigniorageProceedsResponse) Descriptor() ([]byte, []int)
func (*QuerySeigniorageProceedsResponse) Marshal ¶
func (m *QuerySeigniorageProceedsResponse) Marshal() (dAtA []byte, err error)
func (*QuerySeigniorageProceedsResponse) MarshalTo ¶
func (m *QuerySeigniorageProceedsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySeigniorageProceedsResponse) MarshalToSizedBuffer ¶
func (m *QuerySeigniorageProceedsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySeigniorageProceedsResponse) ProtoMessage ¶
func (*QuerySeigniorageProceedsResponse) ProtoMessage()
func (*QuerySeigniorageProceedsResponse) Reset ¶
func (m *QuerySeigniorageProceedsResponse) Reset()
func (*QuerySeigniorageProceedsResponse) Size ¶
func (m *QuerySeigniorageProceedsResponse) Size() (n int)
func (*QuerySeigniorageProceedsResponse) String ¶
func (m *QuerySeigniorageProceedsResponse) String() string
func (*QuerySeigniorageProceedsResponse) Unmarshal ¶
func (m *QuerySeigniorageProceedsResponse) Unmarshal(dAtA []byte) error
func (*QuerySeigniorageProceedsResponse) XXX_DiscardUnknown ¶
func (m *QuerySeigniorageProceedsResponse) XXX_DiscardUnknown()
func (*QuerySeigniorageProceedsResponse) XXX_Marshal ¶
func (m *QuerySeigniorageProceedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySeigniorageProceedsResponse) XXX_Merge ¶
func (m *QuerySeigniorageProceedsResponse) XXX_Merge(src proto.Message)
func (*QuerySeigniorageProceedsResponse) XXX_Size ¶
func (m *QuerySeigniorageProceedsResponse) XXX_Size() int
func (*QuerySeigniorageProceedsResponse) XXX_Unmarshal ¶
func (m *QuerySeigniorageProceedsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // TaxRate return the current tax rate TaxRate(context.Context, *QueryTaxRateRequest) (*QueryTaxRateResponse, error) // TaxCap returns the tax cap of a denom TaxCap(context.Context, *QueryTaxCapRequest) (*QueryTaxCapResponse, error) // TaxCaps returns the all tax caps TaxCaps(context.Context, *QueryTaxCapsRequest) (*QueryTaxCapsResponse, error) // RewardWeight return the current reward weight RewardWeight(context.Context, *QueryRewardWeightRequest) (*QueryRewardWeightResponse, error) // SeigniorageProceeds return the current seigniorage proceeds SeigniorageProceeds(context.Context, *QuerySeigniorageProceedsRequest) (*QuerySeigniorageProceedsResponse, error) // TaxProceeds return the current tax proceeds TaxProceeds(context.Context, *QueryTaxProceedsRequest) (*QueryTaxProceedsResponse, error) // Indicators return the current trl informations Indicators(context.Context, *QueryIndicatorsRequest) (*QueryIndicatorsResponse, error) // BurnTaxExemptionList returns all registered burn tax exemption addresses BurnTaxExemptionList(context.Context, *QueryBurnTaxExemptionListRequest) (*QueryBurnTaxExemptionListResponse, error) // Params queries all parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type QueryTaxCapParams ¶
type QueryTaxCapParams struct {
Denom string `json:"denom"`
}
QueryTaxCapParams for query - 'custom/treasury/taxRate
func NewQueryTaxCapParams ¶
func NewQueryTaxCapParams(denom string) QueryTaxCapParams
NewQueryTaxCapParams returns new QueryTaxCapParams instance
type QueryTaxCapRequest ¶
type QueryTaxCapRequest struct { // denom defines the denomination to query for. Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` }
QueryTaxCapRequest is the request type for the Query/TaxCap RPC method.
func (*QueryTaxCapRequest) Descriptor ¶
func (*QueryTaxCapRequest) Descriptor() ([]byte, []int)
func (*QueryTaxCapRequest) Marshal ¶
func (m *QueryTaxCapRequest) Marshal() (dAtA []byte, err error)
func (*QueryTaxCapRequest) MarshalTo ¶
func (m *QueryTaxCapRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxCapRequest) MarshalToSizedBuffer ¶
func (m *QueryTaxCapRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxCapRequest) ProtoMessage ¶
func (*QueryTaxCapRequest) ProtoMessage()
func (*QueryTaxCapRequest) Reset ¶
func (m *QueryTaxCapRequest) Reset()
func (*QueryTaxCapRequest) Size ¶
func (m *QueryTaxCapRequest) Size() (n int)
func (*QueryTaxCapRequest) String ¶
func (m *QueryTaxCapRequest) String() string
func (*QueryTaxCapRequest) Unmarshal ¶
func (m *QueryTaxCapRequest) Unmarshal(dAtA []byte) error
func (*QueryTaxCapRequest) XXX_DiscardUnknown ¶
func (m *QueryTaxCapRequest) XXX_DiscardUnknown()
func (*QueryTaxCapRequest) XXX_Marshal ¶
func (m *QueryTaxCapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxCapRequest) XXX_Merge ¶
func (m *QueryTaxCapRequest) XXX_Merge(src proto.Message)
func (*QueryTaxCapRequest) XXX_Size ¶
func (m *QueryTaxCapRequest) XXX_Size() int
func (*QueryTaxCapRequest) XXX_Unmarshal ¶
func (m *QueryTaxCapRequest) XXX_Unmarshal(b []byte) error
type QueryTaxCapResponse ¶
type QueryTaxCapResponse struct {
TaxCap github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=tax_cap,json=taxCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tax_cap"`
}
QueryTaxCapResponse is response type for the Query/TaxCap RPC method.
func (*QueryTaxCapResponse) Descriptor ¶
func (*QueryTaxCapResponse) Descriptor() ([]byte, []int)
func (*QueryTaxCapResponse) Marshal ¶
func (m *QueryTaxCapResponse) Marshal() (dAtA []byte, err error)
func (*QueryTaxCapResponse) MarshalTo ¶
func (m *QueryTaxCapResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxCapResponse) MarshalToSizedBuffer ¶
func (m *QueryTaxCapResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxCapResponse) ProtoMessage ¶
func (*QueryTaxCapResponse) ProtoMessage()
func (*QueryTaxCapResponse) Reset ¶
func (m *QueryTaxCapResponse) Reset()
func (*QueryTaxCapResponse) Size ¶
func (m *QueryTaxCapResponse) Size() (n int)
func (*QueryTaxCapResponse) String ¶
func (m *QueryTaxCapResponse) String() string
func (*QueryTaxCapResponse) Unmarshal ¶
func (m *QueryTaxCapResponse) Unmarshal(dAtA []byte) error
func (*QueryTaxCapResponse) XXX_DiscardUnknown ¶
func (m *QueryTaxCapResponse) XXX_DiscardUnknown()
func (*QueryTaxCapResponse) XXX_Marshal ¶
func (m *QueryTaxCapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxCapResponse) XXX_Merge ¶
func (m *QueryTaxCapResponse) XXX_Merge(src proto.Message)
func (*QueryTaxCapResponse) XXX_Size ¶
func (m *QueryTaxCapResponse) XXX_Size() int
func (*QueryTaxCapResponse) XXX_Unmarshal ¶
func (m *QueryTaxCapResponse) XXX_Unmarshal(b []byte) error
type QueryTaxCapsRequest ¶
type QueryTaxCapsRequest struct { }
QueryTaxCapsRequest is the request type for the Query/TaxCaps RPC method.
func (*QueryTaxCapsRequest) Descriptor ¶
func (*QueryTaxCapsRequest) Descriptor() ([]byte, []int)
func (*QueryTaxCapsRequest) Marshal ¶
func (m *QueryTaxCapsRequest) Marshal() (dAtA []byte, err error)
func (*QueryTaxCapsRequest) MarshalTo ¶
func (m *QueryTaxCapsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxCapsRequest) MarshalToSizedBuffer ¶
func (m *QueryTaxCapsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxCapsRequest) ProtoMessage ¶
func (*QueryTaxCapsRequest) ProtoMessage()
func (*QueryTaxCapsRequest) Reset ¶
func (m *QueryTaxCapsRequest) Reset()
func (*QueryTaxCapsRequest) Size ¶
func (m *QueryTaxCapsRequest) Size() (n int)
func (*QueryTaxCapsRequest) String ¶
func (m *QueryTaxCapsRequest) String() string
func (*QueryTaxCapsRequest) Unmarshal ¶
func (m *QueryTaxCapsRequest) Unmarshal(dAtA []byte) error
func (*QueryTaxCapsRequest) XXX_DiscardUnknown ¶
func (m *QueryTaxCapsRequest) XXX_DiscardUnknown()
func (*QueryTaxCapsRequest) XXX_Marshal ¶
func (m *QueryTaxCapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxCapsRequest) XXX_Merge ¶
func (m *QueryTaxCapsRequest) XXX_Merge(src proto.Message)
func (*QueryTaxCapsRequest) XXX_Size ¶
func (m *QueryTaxCapsRequest) XXX_Size() int
func (*QueryTaxCapsRequest) XXX_Unmarshal ¶
func (m *QueryTaxCapsRequest) XXX_Unmarshal(b []byte) error
type QueryTaxCapsResponse ¶
type QueryTaxCapsResponse struct {
TaxCaps []QueryTaxCapsResponseItem `protobuf:"bytes,1,rep,name=tax_caps,json=taxCaps,proto3" json:"tax_caps"`
}
QueryTaxCapsResponse is response type for the Query/TaxCaps RPC method.
func (*QueryTaxCapsResponse) Descriptor ¶
func (*QueryTaxCapsResponse) Descriptor() ([]byte, []int)
func (*QueryTaxCapsResponse) GetTaxCaps ¶
func (m *QueryTaxCapsResponse) GetTaxCaps() []QueryTaxCapsResponseItem
func (*QueryTaxCapsResponse) Marshal ¶
func (m *QueryTaxCapsResponse) Marshal() (dAtA []byte, err error)
func (*QueryTaxCapsResponse) MarshalTo ¶
func (m *QueryTaxCapsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxCapsResponse) MarshalToSizedBuffer ¶
func (m *QueryTaxCapsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxCapsResponse) ProtoMessage ¶
func (*QueryTaxCapsResponse) ProtoMessage()
func (*QueryTaxCapsResponse) Reset ¶
func (m *QueryTaxCapsResponse) Reset()
func (*QueryTaxCapsResponse) Size ¶
func (m *QueryTaxCapsResponse) Size() (n int)
func (*QueryTaxCapsResponse) String ¶
func (m *QueryTaxCapsResponse) String() string
func (*QueryTaxCapsResponse) Unmarshal ¶
func (m *QueryTaxCapsResponse) Unmarshal(dAtA []byte) error
func (*QueryTaxCapsResponse) XXX_DiscardUnknown ¶
func (m *QueryTaxCapsResponse) XXX_DiscardUnknown()
func (*QueryTaxCapsResponse) XXX_Marshal ¶
func (m *QueryTaxCapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxCapsResponse) XXX_Merge ¶
func (m *QueryTaxCapsResponse) XXX_Merge(src proto.Message)
func (*QueryTaxCapsResponse) XXX_Size ¶
func (m *QueryTaxCapsResponse) XXX_Size() int
func (*QueryTaxCapsResponse) XXX_Unmarshal ¶
func (m *QueryTaxCapsResponse) XXX_Unmarshal(b []byte) error
type QueryTaxCapsResponseItem ¶
type QueryTaxCapsResponseItem struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` TaxCap github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=tax_cap,json=taxCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tax_cap"` }
QueryTaxCapsResponseItem is response item type for the Query/TaxCaps RPC method.
func (*QueryTaxCapsResponseItem) Descriptor ¶
func (*QueryTaxCapsResponseItem) Descriptor() ([]byte, []int)
func (*QueryTaxCapsResponseItem) GetDenom ¶
func (m *QueryTaxCapsResponseItem) GetDenom() string
func (*QueryTaxCapsResponseItem) Marshal ¶
func (m *QueryTaxCapsResponseItem) Marshal() (dAtA []byte, err error)
func (*QueryTaxCapsResponseItem) MarshalTo ¶
func (m *QueryTaxCapsResponseItem) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxCapsResponseItem) MarshalToSizedBuffer ¶
func (m *QueryTaxCapsResponseItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxCapsResponseItem) ProtoMessage ¶
func (*QueryTaxCapsResponseItem) ProtoMessage()
func (*QueryTaxCapsResponseItem) Reset ¶
func (m *QueryTaxCapsResponseItem) Reset()
func (*QueryTaxCapsResponseItem) Size ¶
func (m *QueryTaxCapsResponseItem) Size() (n int)
func (*QueryTaxCapsResponseItem) String ¶
func (m *QueryTaxCapsResponseItem) String() string
func (*QueryTaxCapsResponseItem) Unmarshal ¶
func (m *QueryTaxCapsResponseItem) Unmarshal(dAtA []byte) error
func (*QueryTaxCapsResponseItem) XXX_DiscardUnknown ¶
func (m *QueryTaxCapsResponseItem) XXX_DiscardUnknown()
func (*QueryTaxCapsResponseItem) XXX_Marshal ¶
func (m *QueryTaxCapsResponseItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxCapsResponseItem) XXX_Merge ¶
func (m *QueryTaxCapsResponseItem) XXX_Merge(src proto.Message)
func (*QueryTaxCapsResponseItem) XXX_Size ¶
func (m *QueryTaxCapsResponseItem) XXX_Size() int
func (*QueryTaxCapsResponseItem) XXX_Unmarshal ¶
func (m *QueryTaxCapsResponseItem) XXX_Unmarshal(b []byte) error
type QueryTaxProceedsRequest ¶
type QueryTaxProceedsRequest struct { }
QueryTaxProceedsRequest is the request type for the Query/TaxProceeds RPC method.
func (*QueryTaxProceedsRequest) Descriptor ¶
func (*QueryTaxProceedsRequest) Descriptor() ([]byte, []int)
func (*QueryTaxProceedsRequest) Marshal ¶
func (m *QueryTaxProceedsRequest) Marshal() (dAtA []byte, err error)
func (*QueryTaxProceedsRequest) MarshalTo ¶
func (m *QueryTaxProceedsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxProceedsRequest) MarshalToSizedBuffer ¶
func (m *QueryTaxProceedsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxProceedsRequest) ProtoMessage ¶
func (*QueryTaxProceedsRequest) ProtoMessage()
func (*QueryTaxProceedsRequest) Reset ¶
func (m *QueryTaxProceedsRequest) Reset()
func (*QueryTaxProceedsRequest) Size ¶
func (m *QueryTaxProceedsRequest) Size() (n int)
func (*QueryTaxProceedsRequest) String ¶
func (m *QueryTaxProceedsRequest) String() string
func (*QueryTaxProceedsRequest) Unmarshal ¶
func (m *QueryTaxProceedsRequest) Unmarshal(dAtA []byte) error
func (*QueryTaxProceedsRequest) XXX_DiscardUnknown ¶
func (m *QueryTaxProceedsRequest) XXX_DiscardUnknown()
func (*QueryTaxProceedsRequest) XXX_Marshal ¶
func (m *QueryTaxProceedsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxProceedsRequest) XXX_Merge ¶
func (m *QueryTaxProceedsRequest) XXX_Merge(src proto.Message)
func (*QueryTaxProceedsRequest) XXX_Size ¶
func (m *QueryTaxProceedsRequest) XXX_Size() int
func (*QueryTaxProceedsRequest) XXX_Unmarshal ¶
func (m *QueryTaxProceedsRequest) XXX_Unmarshal(b []byte) error
type QueryTaxProceedsResponse ¶
type QueryTaxProceedsResponse struct {
TaxProceeds github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
}
QueryTaxProceedsResponse is response type for the Query/TaxProceeds RPC method.
func (*QueryTaxProceedsResponse) Descriptor ¶
func (*QueryTaxProceedsResponse) Descriptor() ([]byte, []int)
func (*QueryTaxProceedsResponse) GetTaxProceeds ¶
func (m *QueryTaxProceedsResponse) GetTaxProceeds() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryTaxProceedsResponse) Marshal ¶
func (m *QueryTaxProceedsResponse) Marshal() (dAtA []byte, err error)
func (*QueryTaxProceedsResponse) MarshalTo ¶
func (m *QueryTaxProceedsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxProceedsResponse) MarshalToSizedBuffer ¶
func (m *QueryTaxProceedsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxProceedsResponse) ProtoMessage ¶
func (*QueryTaxProceedsResponse) ProtoMessage()
func (*QueryTaxProceedsResponse) Reset ¶
func (m *QueryTaxProceedsResponse) Reset()
func (*QueryTaxProceedsResponse) Size ¶
func (m *QueryTaxProceedsResponse) Size() (n int)
func (*QueryTaxProceedsResponse) String ¶
func (m *QueryTaxProceedsResponse) String() string
func (*QueryTaxProceedsResponse) Unmarshal ¶
func (m *QueryTaxProceedsResponse) Unmarshal(dAtA []byte) error
func (*QueryTaxProceedsResponse) XXX_DiscardUnknown ¶
func (m *QueryTaxProceedsResponse) XXX_DiscardUnknown()
func (*QueryTaxProceedsResponse) XXX_Marshal ¶
func (m *QueryTaxProceedsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxProceedsResponse) XXX_Merge ¶
func (m *QueryTaxProceedsResponse) XXX_Merge(src proto.Message)
func (*QueryTaxProceedsResponse) XXX_Size ¶
func (m *QueryTaxProceedsResponse) XXX_Size() int
func (*QueryTaxProceedsResponse) XXX_Unmarshal ¶
func (m *QueryTaxProceedsResponse) XXX_Unmarshal(b []byte) error
type QueryTaxRateRequest ¶
type QueryTaxRateRequest struct { }
QueryTaxRateRequest is the request type for the Query/TaxRate RPC method.
func (*QueryTaxRateRequest) Descriptor ¶
func (*QueryTaxRateRequest) Descriptor() ([]byte, []int)
func (*QueryTaxRateRequest) Marshal ¶
func (m *QueryTaxRateRequest) Marshal() (dAtA []byte, err error)
func (*QueryTaxRateRequest) MarshalTo ¶
func (m *QueryTaxRateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxRateRequest) MarshalToSizedBuffer ¶
func (m *QueryTaxRateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxRateRequest) ProtoMessage ¶
func (*QueryTaxRateRequest) ProtoMessage()
func (*QueryTaxRateRequest) Reset ¶
func (m *QueryTaxRateRequest) Reset()
func (*QueryTaxRateRequest) Size ¶
func (m *QueryTaxRateRequest) Size() (n int)
func (*QueryTaxRateRequest) String ¶
func (m *QueryTaxRateRequest) String() string
func (*QueryTaxRateRequest) Unmarshal ¶
func (m *QueryTaxRateRequest) Unmarshal(dAtA []byte) error
func (*QueryTaxRateRequest) XXX_DiscardUnknown ¶
func (m *QueryTaxRateRequest) XXX_DiscardUnknown()
func (*QueryTaxRateRequest) XXX_Marshal ¶
func (m *QueryTaxRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxRateRequest) XXX_Merge ¶
func (m *QueryTaxRateRequest) XXX_Merge(src proto.Message)
func (*QueryTaxRateRequest) XXX_Size ¶
func (m *QueryTaxRateRequest) XXX_Size() int
func (*QueryTaxRateRequest) XXX_Unmarshal ¶
func (m *QueryTaxRateRequest) XXX_Unmarshal(b []byte) error
type QueryTaxRateResponse ¶
type QueryTaxRateResponse struct {
TaxRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=tax_rate,json=taxRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"tax_rate"`
}
QueryTaxRateResponse is response type for the Query/TaxRate RPC method.
func (*QueryTaxRateResponse) Descriptor ¶
func (*QueryTaxRateResponse) Descriptor() ([]byte, []int)
func (*QueryTaxRateResponse) Marshal ¶
func (m *QueryTaxRateResponse) Marshal() (dAtA []byte, err error)
func (*QueryTaxRateResponse) MarshalTo ¶
func (m *QueryTaxRateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTaxRateResponse) MarshalToSizedBuffer ¶
func (m *QueryTaxRateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTaxRateResponse) ProtoMessage ¶
func (*QueryTaxRateResponse) ProtoMessage()
func (*QueryTaxRateResponse) Reset ¶
func (m *QueryTaxRateResponse) Reset()
func (*QueryTaxRateResponse) Size ¶
func (m *QueryTaxRateResponse) Size() (n int)
func (*QueryTaxRateResponse) String ¶
func (m *QueryTaxRateResponse) String() string
func (*QueryTaxRateResponse) Unmarshal ¶
func (m *QueryTaxRateResponse) Unmarshal(dAtA []byte) error
func (*QueryTaxRateResponse) XXX_DiscardUnknown ¶
func (m *QueryTaxRateResponse) XXX_DiscardUnknown()
func (*QueryTaxRateResponse) XXX_Marshal ¶
func (m *QueryTaxRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTaxRateResponse) XXX_Merge ¶
func (m *QueryTaxRateResponse) XXX_Merge(src proto.Message)
func (*QueryTaxRateResponse) XXX_Size ¶
func (m *QueryTaxRateResponse) XXX_Size() int
func (*QueryTaxRateResponse) XXX_Unmarshal ¶
func (m *QueryTaxRateResponse) XXX_Unmarshal(b []byte) error
type RemoveBurnTaxExemptionAddressProposal ¶
type RemoveBurnTaxExemptionAddressProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty" yaml:"addresses"` }
proposal request structure for removing burn tax exemption address(es)
func (*RemoveBurnTaxExemptionAddressProposal) Descriptor ¶
func (*RemoveBurnTaxExemptionAddressProposal) Descriptor() ([]byte, []int)
func (*RemoveBurnTaxExemptionAddressProposal) Equal ¶
func (this *RemoveBurnTaxExemptionAddressProposal) Equal(that interface{}) bool
func (*RemoveBurnTaxExemptionAddressProposal) GetDescription ¶
func (p *RemoveBurnTaxExemptionAddressProposal) GetDescription() string
func (*RemoveBurnTaxExemptionAddressProposal) GetTitle ¶
func (p *RemoveBurnTaxExemptionAddressProposal) GetTitle() string
func (*RemoveBurnTaxExemptionAddressProposal) Marshal ¶
func (m *RemoveBurnTaxExemptionAddressProposal) Marshal() (dAtA []byte, err error)
func (*RemoveBurnTaxExemptionAddressProposal) MarshalTo ¶
func (m *RemoveBurnTaxExemptionAddressProposal) MarshalTo(dAtA []byte) (int, error)
func (*RemoveBurnTaxExemptionAddressProposal) MarshalToSizedBuffer ¶
func (m *RemoveBurnTaxExemptionAddressProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveBurnTaxExemptionAddressProposal) ProposalRoute ¶
func (p *RemoveBurnTaxExemptionAddressProposal) ProposalRoute() string
func (*RemoveBurnTaxExemptionAddressProposal) ProposalType ¶
func (p *RemoveBurnTaxExemptionAddressProposal) ProposalType() string
func (*RemoveBurnTaxExemptionAddressProposal) ProtoMessage ¶
func (*RemoveBurnTaxExemptionAddressProposal) ProtoMessage()
func (*RemoveBurnTaxExemptionAddressProposal) Reset ¶
func (m *RemoveBurnTaxExemptionAddressProposal) Reset()
func (*RemoveBurnTaxExemptionAddressProposal) Size ¶
func (m *RemoveBurnTaxExemptionAddressProposal) Size() (n int)
func (RemoveBurnTaxExemptionAddressProposal) String ¶
func (p RemoveBurnTaxExemptionAddressProposal) String() string
func (*RemoveBurnTaxExemptionAddressProposal) Unmarshal ¶
func (m *RemoveBurnTaxExemptionAddressProposal) Unmarshal(dAtA []byte) error
func (*RemoveBurnTaxExemptionAddressProposal) ValidateBasic ¶
func (p *RemoveBurnTaxExemptionAddressProposal) ValidateBasic() error
func (*RemoveBurnTaxExemptionAddressProposal) XXX_DiscardUnknown ¶
func (m *RemoveBurnTaxExemptionAddressProposal) XXX_DiscardUnknown()
func (*RemoveBurnTaxExemptionAddressProposal) XXX_Marshal ¶
func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveBurnTaxExemptionAddressProposal) XXX_Merge ¶
func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Merge(src proto.Message)
func (*RemoveBurnTaxExemptionAddressProposal) XXX_Size ¶
func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Size() int
func (*RemoveBurnTaxExemptionAddressProposal) XXX_Unmarshal ¶
func (m *RemoveBurnTaxExemptionAddressProposal) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
type StakingKeeper interface {
TotalBondedTokens(sdk.Context) math.Int // total bonded tokens within the validator set
}
StakingKeeper expected keeper for staking module
type TaxCap ¶
type TaxCap struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` TaxCap github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=tax_cap,json=taxCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"tax_cap"` }
TaxCap is the max tax amount can be charged for the given denom
func (*TaxCap) Descriptor ¶
func (*TaxCap) MarshalToSizedBuffer ¶
func (*TaxCap) ProtoMessage ¶
func (*TaxCap) ProtoMessage()
func (*TaxCap) XXX_DiscardUnknown ¶
func (m *TaxCap) XXX_DiscardUnknown()
func (*TaxCap) XXX_Marshal ¶
func (*TaxCap) XXX_Unmarshal ¶
type TaxCapsQueryResponse ¶
type TaxCapsQueryResponse []TaxCapsResponseItem
TaxCapsQueryResponse query response body of tax caps querier
type TaxCapsResponseItem ¶
TaxCapsResponseItem query response item of tax caps querier
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) BurnTaxExemptionList ¶
func (*UnimplementedQueryServer) BurnTaxExemptionList(ctx context.Context, req *QueryBurnTaxExemptionListRequest) (*QueryBurnTaxExemptionListResponse, error)
func (*UnimplementedQueryServer) Indicators ¶
func (*UnimplementedQueryServer) Indicators(ctx context.Context, req *QueryIndicatorsRequest) (*QueryIndicatorsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) RewardWeight ¶
func (*UnimplementedQueryServer) RewardWeight(ctx context.Context, req *QueryRewardWeightRequest) (*QueryRewardWeightResponse, error)
func (*UnimplementedQueryServer) SeigniorageProceeds ¶
func (*UnimplementedQueryServer) SeigniorageProceeds(ctx context.Context, req *QuerySeigniorageProceedsRequest) (*QuerySeigniorageProceedsResponse, error)
func (*UnimplementedQueryServer) TaxCap ¶
func (*UnimplementedQueryServer) TaxCap(ctx context.Context, req *QueryTaxCapRequest) (*QueryTaxCapResponse, error)
func (*UnimplementedQueryServer) TaxCaps ¶
func (*UnimplementedQueryServer) TaxCaps(ctx context.Context, req *QueryTaxCapsRequest) (*QueryTaxCapsResponse, error)
func (*UnimplementedQueryServer) TaxProceeds ¶
func (*UnimplementedQueryServer) TaxProceeds(ctx context.Context, req *QueryTaxProceedsRequest) (*QueryTaxProceedsResponse, error)
func (*UnimplementedQueryServer) TaxRate ¶
func (*UnimplementedQueryServer) TaxRate(ctx context.Context, req *QueryTaxRateRequest) (*QueryTaxRateResponse, error)