Documentation ¶
Overview ¶
NOTE: Usage of x/params to manage parameters is deprecated in favor of x/gov controlled execution of MsgUpdateParams messages. These types remains solely for migration purposes and will be removed in a future release.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func EmitObserverEmissions(ctx sdk.Context, em []*ObserverEmission)
- func EmitValidatorEmissions(ctx sdk.Context, ...)
- func GetRewardsDistributions(params Params) (sdkmath.Int, sdkmath.Int, sdkmath.Int)
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type EmissionType
- type EventBlockEmissions
- func (*EventBlockEmissions) Descriptor() ([]byte, []int)
- func (m *EventBlockEmissions) GetBondFactor() string
- func (m *EventBlockEmissions) GetDurationFactor() string
- func (m *EventBlockEmissions) GetMsgTypeUrl() string
- func (m *EventBlockEmissions) GetObserverRewardsForBlock() string
- func (m *EventBlockEmissions) GetReservesFactor() string
- func (m *EventBlockEmissions) GetTssRewardsForBlock() string
- func (m *EventBlockEmissions) GetValidatorRewardsForBlock() string
- func (m *EventBlockEmissions) Marshal() (dAtA []byte, err error)
- func (m *EventBlockEmissions) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBlockEmissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBlockEmissions) ProtoMessage()
- func (m *EventBlockEmissions) Reset()
- func (m *EventBlockEmissions) Size() (n int)
- func (m *EventBlockEmissions) String() string
- func (m *EventBlockEmissions) Unmarshal(dAtA []byte) error
- func (m *EventBlockEmissions) XXX_DiscardUnknown()
- func (m *EventBlockEmissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBlockEmissions) XXX_Merge(src proto.Message)
- func (m *EventBlockEmissions) XXX_Size() int
- func (m *EventBlockEmissions) XXX_Unmarshal(b []byte) error
- type EventObserverEmissions
- func (*EventObserverEmissions) Descriptor() ([]byte, []int)
- func (m *EventObserverEmissions) GetEmissions() []*ObserverEmission
- func (m *EventObserverEmissions) GetMsgTypeUrl() string
- func (m *EventObserverEmissions) Marshal() (dAtA []byte, err error)
- func (m *EventObserverEmissions) MarshalTo(dAtA []byte) (int, error)
- func (m *EventObserverEmissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventObserverEmissions) ProtoMessage()
- func (m *EventObserverEmissions) Reset()
- func (m *EventObserverEmissions) Size() (n int)
- func (m *EventObserverEmissions) String() string
- func (m *EventObserverEmissions) Unmarshal(dAtA []byte) error
- func (m *EventObserverEmissions) XXX_DiscardUnknown()
- func (m *EventObserverEmissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventObserverEmissions) XXX_Merge(src proto.Message)
- func (m *EventObserverEmissions) XXX_Size() int
- func (m *EventObserverEmissions) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetWithdrawableEmissions() []WithdrawableEmissions
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type LegacyParams
- func (*LegacyParams) Descriptor() ([]byte, []int)
- func (m *LegacyParams) GetAvgBlockTime() string
- func (m *LegacyParams) GetBallotMaturityBlocks() int64
- func (m *LegacyParams) GetDurationFactorConstant() string
- func (m *LegacyParams) GetMaxBondFactor() string
- func (m *LegacyParams) GetMinBondFactor() string
- func (m *LegacyParams) GetObserverEmissionPercentage() string
- func (m *LegacyParams) GetTargetBondRatio() string
- func (m *LegacyParams) GetTssSignerEmissionPercentage() string
- func (m *LegacyParams) GetValidatorEmissionPercentage() string
- func (m *LegacyParams) Marshal() (dAtA []byte, err error)
- func (m *LegacyParams) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyParams) ProtoMessage()
- func (m *LegacyParams) Reset()
- func (m *LegacyParams) Size() (n int)
- func (m *LegacyParams) String() string
- func (m *LegacyParams) Unmarshal(dAtA []byte) error
- func (m *LegacyParams) XXX_DiscardUnknown()
- func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyParams) XXX_Merge(src proto.Message)
- func (m *LegacyParams) XXX_Size() int
- func (m *LegacyParams) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) GetSignBytes() []byte
- func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawEmission
- func (*MsgWithdrawEmission) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawEmission) GetCreator() string
- func (msg *MsgWithdrawEmission) GetSignBytes() []byte
- func (msg *MsgWithdrawEmission) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawEmission) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawEmission) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawEmission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawEmission) ProtoMessage()
- func (m *MsgWithdrawEmission) Reset()
- func (msg *MsgWithdrawEmission) Route() string
- func (m *MsgWithdrawEmission) Size() (n int)
- func (m *MsgWithdrawEmission) String() string
- func (msg *MsgWithdrawEmission) Type() string
- func (m *MsgWithdrawEmission) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawEmission) ValidateBasic() error
- func (m *MsgWithdrawEmission) XXX_DiscardUnknown()
- func (m *MsgWithdrawEmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawEmission) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawEmission) XXX_Size() int
- func (m *MsgWithdrawEmission) XXX_Unmarshal(b []byte) error
- type MsgWithdrawEmissionResponse
- func (*MsgWithdrawEmissionResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawEmissionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawEmissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawEmissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawEmissionResponse) ProtoMessage()
- func (m *MsgWithdrawEmissionResponse) Reset()
- func (m *MsgWithdrawEmissionResponse) Size() (n int)
- func (m *MsgWithdrawEmissionResponse) String() string
- func (m *MsgWithdrawEmissionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawEmissionResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawEmissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawEmissionResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawEmissionResponse) XXX_Size() int
- func (m *MsgWithdrawEmissionResponse) XXX_Unmarshal(b []byte) error
- type ObserverEmission
- func (*ObserverEmission) Descriptor() ([]byte, []int)
- func (m *ObserverEmission) GetEmissionType() EmissionType
- func (m *ObserverEmission) GetObserverAddress() string
- func (m *ObserverEmission) Marshal() (dAtA []byte, err error)
- func (m *ObserverEmission) MarshalTo(dAtA []byte) (int, error)
- func (m *ObserverEmission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObserverEmission) ProtoMessage()
- func (m *ObserverEmission) Reset()
- func (m *ObserverEmission) Size() (n int)
- func (m *ObserverEmission) String() string
- func (m *ObserverEmission) Unmarshal(dAtA []byte) error
- func (m *ObserverEmission) XXX_DiscardUnknown()
- func (m *ObserverEmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObserverEmission) XXX_Merge(src proto.Message)
- func (m *ObserverEmission) XXX_Size() int
- func (m *ObserverEmission) XXX_Unmarshal(b []byte) error
- type ObserverKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetBallotMaturityBlocks() int64
- func (m *Params) GetObserverEmissionPercentage() string
- func (m *Params) GetTssSignerEmissionPercentage() string
- func (m *Params) GetValidatorEmissionPercentage() string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) 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 QueryClient
- type QueryListPoolAddressesRequest
- func (*QueryListPoolAddressesRequest) Descriptor() ([]byte, []int)
- func (m *QueryListPoolAddressesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryListPoolAddressesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListPoolAddressesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListPoolAddressesRequest) ProtoMessage()
- func (m *QueryListPoolAddressesRequest) Reset()
- func (m *QueryListPoolAddressesRequest) Size() (n int)
- func (m *QueryListPoolAddressesRequest) String() string
- func (m *QueryListPoolAddressesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryListPoolAddressesRequest) XXX_DiscardUnknown()
- func (m *QueryListPoolAddressesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListPoolAddressesRequest) XXX_Merge(src proto.Message)
- func (m *QueryListPoolAddressesRequest) XXX_Size() int
- func (m *QueryListPoolAddressesRequest) XXX_Unmarshal(b []byte) error
- type QueryListPoolAddressesResponse
- func (*QueryListPoolAddressesResponse) Descriptor() ([]byte, []int)
- func (m *QueryListPoolAddressesResponse) GetEmissionModuleAddress() string
- func (m *QueryListPoolAddressesResponse) GetUndistributedObserverBalancesAddress() string
- func (m *QueryListPoolAddressesResponse) GetUndistributedTssBalancesAddress() string
- func (m *QueryListPoolAddressesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryListPoolAddressesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryListPoolAddressesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryListPoolAddressesResponse) ProtoMessage()
- func (m *QueryListPoolAddressesResponse) Reset()
- func (m *QueryListPoolAddressesResponse) Size() (n int)
- func (m *QueryListPoolAddressesResponse) String() string
- func (m *QueryListPoolAddressesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryListPoolAddressesResponse) XXX_DiscardUnknown()
- func (m *QueryListPoolAddressesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryListPoolAddressesResponse) XXX_Merge(src proto.Message)
- func (m *QueryListPoolAddressesResponse) XXX_Size() int
- func (m *QueryListPoolAddressesResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryShowAvailableEmissionsRequest
- func (*QueryShowAvailableEmissionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryShowAvailableEmissionsRequest) GetAddress() string
- func (m *QueryShowAvailableEmissionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryShowAvailableEmissionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShowAvailableEmissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShowAvailableEmissionsRequest) ProtoMessage()
- func (m *QueryShowAvailableEmissionsRequest) Reset()
- func (m *QueryShowAvailableEmissionsRequest) Size() (n int)
- func (m *QueryShowAvailableEmissionsRequest) String() string
- func (m *QueryShowAvailableEmissionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryShowAvailableEmissionsRequest) XXX_DiscardUnknown()
- func (m *QueryShowAvailableEmissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShowAvailableEmissionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryShowAvailableEmissionsRequest) XXX_Size() int
- func (m *QueryShowAvailableEmissionsRequest) XXX_Unmarshal(b []byte) error
- type QueryShowAvailableEmissionsResponse
- func (*QueryShowAvailableEmissionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryShowAvailableEmissionsResponse) GetAmount() string
- func (m *QueryShowAvailableEmissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryShowAvailableEmissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryShowAvailableEmissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryShowAvailableEmissionsResponse) ProtoMessage()
- func (m *QueryShowAvailableEmissionsResponse) Reset()
- func (m *QueryShowAvailableEmissionsResponse) Size() (n int)
- func (m *QueryShowAvailableEmissionsResponse) String() string
- func (m *QueryShowAvailableEmissionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryShowAvailableEmissionsResponse) XXX_DiscardUnknown()
- func (m *QueryShowAvailableEmissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryShowAvailableEmissionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryShowAvailableEmissionsResponse) XXX_Size() int
- func (m *QueryShowAvailableEmissionsResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ListPoolAddresses(ctx context.Context, req *QueryListPoolAddressesRequest) (*QueryListPoolAddressesResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ShowAvailableEmissions(ctx context.Context, req *QueryShowAvailableEmissionsRequest) (*QueryShowAvailableEmissionsResponse, error)
- type WithdrawableEmissions
- func (*WithdrawableEmissions) Descriptor() ([]byte, []int)
- func (m *WithdrawableEmissions) GetAddress() string
- func (m *WithdrawableEmissions) Marshal() (dAtA []byte, err error)
- func (m *WithdrawableEmissions) MarshalTo(dAtA []byte) (int, error)
- func (m *WithdrawableEmissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WithdrawableEmissions) ProtoMessage()
- func (m *WithdrawableEmissions) Reset()
- func (m *WithdrawableEmissions) Size() (n int)
- func (m *WithdrawableEmissions) String() string
- func (m *WithdrawableEmissions) Unmarshal(dAtA []byte) error
- func (m *WithdrawableEmissions) XXX_DiscardUnknown()
- func (m *WithdrawableEmissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WithdrawableEmissions) XXX_Merge(src proto.Message)
- func (m *WithdrawableEmissions) XXX_Size() int
- func (m *WithdrawableEmissions) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "emissions" UndistributedObserverRewardsPool = ModuleName + "Observers" UndistributedTSSRewardsPool = ModuleName + "Tss" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_emissions" WithdrawableEmissionsKey = "WithdrawableEmissions-value-" ParamsKey = "Params-value-" )
const ( EmissionsTrackerKey = "EmissionsTracker-value-" ParamValidatorEmissionPercentage = "ValidatorEmissionPercentage" ParamObserverEmissionPercentage = "ObserverEmissionPercentage" ParamTssSignerEmissionPercentage = "SignerEmissionPercentage" ParamObserverSlashAmount = "ObserverSlashAmount" )
const DefaultIndex uint64 = 1
DefaultIndex is the default emissions global index
const MsgUpdateParamsType = "update_params"
const MsgWithdrawEmissionType = "withdraw_emission"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrEmissionsNotFound = errorsmod.Register(ModuleName, 1000, "emissions not found") ErrUnableToWithdrawEmissions = errorsmod.Register(ModuleName, 1002, "unable to withdraw emissions") ErrInvalidAddress = errorsmod.Register(ModuleName, 1003, "invalid address") ErrRewardsPoolDoesNotHaveEnoughBalance = errorsmod.Register( ModuleName, 1004, "rewards pool does not have enough balance", ) ErrInvalidAmount = errorsmod.Register(ModuleName, 1005, "invalid amount") ErrUnableToSetParams = errorsmod.Register(ModuleName, 1006, "unable to set params") ErrMigrationFailed = errorsmod.Register(ModuleName, 1007, "migration failed") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( EmissionsModuleAddress = authtypes.NewModuleAddress(ModuleName) UndistributedObserverRewardsPoolAddress = authtypes.NewModuleAddress(UndistributedObserverRewardsPool) UndistributedTssRewardsPoolAddress = authtypes.NewModuleAddress(UndistributedTSSRewardsPool) // BlockReward is an initial block reward amount when emissions module was initialized. // The current value can be obtained from by querying the params BlockReward = sdk.MustNewDecFromStr("9620949074074074074.074070733466756687") // ObserverSlashAmount is the amount of tokens to be slashed from observer in case of incorrect vote // by default it is set to 0.1 ZETA ObserverSlashAmount = sdkmath.NewInt(100000000000000000) // BallotMaturityBlocks is amount of blocks needed for ballot to mature // by default is set to 100 BallotMaturityBlocks = 100 )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthWithdrawableEmissions = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWithdrawableEmissions = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWithdrawableEmissions = fmt.Errorf("proto: unexpected end of group") )
var EmissionType_name = map[int32]string{
0: "Slash",
1: "Rewards",
}
var EmissionType_value = map[string]int32{
"Slash": 0,
"Rewards": 1,
}
Functions ¶
func EmitObserverEmissions ¶
func EmitObserverEmissions(ctx sdk.Context, em []*ObserverEmission)
func EmitValidatorEmissions ¶
func GetRewardsDistributions ¶
GetRewardsDistributions returns the current distribution of rewards for validators, observers and TSS signers If the percentage is not set, it returns 0
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface {
GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI
}
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount( ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins, ) error GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin }
BankKeeper defines the expected interface needed to retrieve account balances.
type EmissionType ¶
type EmissionType int32
const ( EmissionType_Slash EmissionType = 0 EmissionType_Rewards EmissionType = 1 )
func (EmissionType) EnumDescriptor ¶
func (EmissionType) EnumDescriptor() ([]byte, []int)
func (EmissionType) String ¶
func (x EmissionType) String() string
type EventBlockEmissions ¶
type EventBlockEmissions struct { MsgTypeUrl string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"` BondFactor string `protobuf:"bytes,2,opt,name=bond_factor,json=bondFactor,proto3" json:"bond_factor,omitempty"` ReservesFactor string `protobuf:"bytes,3,opt,name=reserves_factor,json=reservesFactor,proto3" json:"reserves_factor,omitempty"` DurationFactor string `protobuf:"bytes,4,opt,name=duration_factor,json=durationFactor,proto3" json:"duration_factor,omitempty"` ValidatorRewardsForBlock string `` /* 137-byte string literal not displayed */ ObserverRewardsForBlock string `` /* 134-byte string literal not displayed */ TssRewardsForBlock string `protobuf:"bytes,7,opt,name=tss_rewards_for_block,json=tssRewardsForBlock,proto3" json:"tss_rewards_for_block,omitempty"` }
func (*EventBlockEmissions) Descriptor ¶
func (*EventBlockEmissions) Descriptor() ([]byte, []int)
func (*EventBlockEmissions) GetBondFactor ¶
func (m *EventBlockEmissions) GetBondFactor() string
func (*EventBlockEmissions) GetDurationFactor ¶
func (m *EventBlockEmissions) GetDurationFactor() string
func (*EventBlockEmissions) GetMsgTypeUrl ¶
func (m *EventBlockEmissions) GetMsgTypeUrl() string
func (*EventBlockEmissions) GetObserverRewardsForBlock ¶
func (m *EventBlockEmissions) GetObserverRewardsForBlock() string
func (*EventBlockEmissions) GetReservesFactor ¶
func (m *EventBlockEmissions) GetReservesFactor() string
func (*EventBlockEmissions) GetTssRewardsForBlock ¶
func (m *EventBlockEmissions) GetTssRewardsForBlock() string
func (*EventBlockEmissions) GetValidatorRewardsForBlock ¶
func (m *EventBlockEmissions) GetValidatorRewardsForBlock() string
func (*EventBlockEmissions) Marshal ¶
func (m *EventBlockEmissions) Marshal() (dAtA []byte, err error)
func (*EventBlockEmissions) MarshalTo ¶
func (m *EventBlockEmissions) MarshalTo(dAtA []byte) (int, error)
func (*EventBlockEmissions) MarshalToSizedBuffer ¶
func (m *EventBlockEmissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventBlockEmissions) ProtoMessage ¶
func (*EventBlockEmissions) ProtoMessage()
func (*EventBlockEmissions) Reset ¶
func (m *EventBlockEmissions) Reset()
func (*EventBlockEmissions) Size ¶
func (m *EventBlockEmissions) Size() (n int)
func (*EventBlockEmissions) String ¶
func (m *EventBlockEmissions) String() string
func (*EventBlockEmissions) Unmarshal ¶
func (m *EventBlockEmissions) Unmarshal(dAtA []byte) error
func (*EventBlockEmissions) XXX_DiscardUnknown ¶
func (m *EventBlockEmissions) XXX_DiscardUnknown()
func (*EventBlockEmissions) XXX_Marshal ¶
func (m *EventBlockEmissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventBlockEmissions) XXX_Merge ¶
func (m *EventBlockEmissions) XXX_Merge(src proto.Message)
func (*EventBlockEmissions) XXX_Size ¶
func (m *EventBlockEmissions) XXX_Size() int
func (*EventBlockEmissions) XXX_Unmarshal ¶
func (m *EventBlockEmissions) XXX_Unmarshal(b []byte) error
type EventObserverEmissions ¶
type EventObserverEmissions struct { MsgTypeUrl string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"` Emissions []*ObserverEmission `protobuf:"bytes,2,rep,name=emissions,proto3" json:"emissions,omitempty"` }
func (*EventObserverEmissions) Descriptor ¶
func (*EventObserverEmissions) Descriptor() ([]byte, []int)
func (*EventObserverEmissions) GetEmissions ¶
func (m *EventObserverEmissions) GetEmissions() []*ObserverEmission
func (*EventObserverEmissions) GetMsgTypeUrl ¶
func (m *EventObserverEmissions) GetMsgTypeUrl() string
func (*EventObserverEmissions) Marshal ¶
func (m *EventObserverEmissions) Marshal() (dAtA []byte, err error)
func (*EventObserverEmissions) MarshalTo ¶
func (m *EventObserverEmissions) MarshalTo(dAtA []byte) (int, error)
func (*EventObserverEmissions) MarshalToSizedBuffer ¶
func (m *EventObserverEmissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventObserverEmissions) ProtoMessage ¶
func (*EventObserverEmissions) ProtoMessage()
func (*EventObserverEmissions) Reset ¶
func (m *EventObserverEmissions) Reset()
func (*EventObserverEmissions) Size ¶
func (m *EventObserverEmissions) Size() (n int)
func (*EventObserverEmissions) String ¶
func (m *EventObserverEmissions) String() string
func (*EventObserverEmissions) Unmarshal ¶
func (m *EventObserverEmissions) Unmarshal(dAtA []byte) error
func (*EventObserverEmissions) XXX_DiscardUnknown ¶
func (m *EventObserverEmissions) XXX_DiscardUnknown()
func (*EventObserverEmissions) XXX_Marshal ¶
func (m *EventObserverEmissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventObserverEmissions) XXX_Merge ¶
func (m *EventObserverEmissions) XXX_Merge(src proto.Message)
func (*EventObserverEmissions) XXX_Size ¶
func (m *EventObserverEmissions) XXX_Size() int
func (*EventObserverEmissions) XXX_Unmarshal ¶
func (m *EventObserverEmissions) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` WithdrawableEmissions []WithdrawableEmissions `protobuf:"bytes,2,rep,name=withdrawableEmissions,proto3" json:"withdrawableEmissions"` }
GenesisState defines the emissions module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default emissions genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetWithdrawableEmissions ¶
func (m *GenesisState) GetWithdrawableEmissions() []WithdrawableEmissions
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 LegacyParams ¶
type LegacyParams struct { MaxBondFactor string `protobuf:"bytes,1,opt,name=max_bond_factor,json=maxBondFactor,proto3" json:"max_bond_factor,omitempty"` MinBondFactor string `protobuf:"bytes,2,opt,name=min_bond_factor,json=minBondFactor,proto3" json:"min_bond_factor,omitempty"` AvgBlockTime string `protobuf:"bytes,3,opt,name=avg_block_time,json=avgBlockTime,proto3" json:"avg_block_time,omitempty"` TargetBondRatio string `protobuf:"bytes,4,opt,name=target_bond_ratio,json=targetBondRatio,proto3" json:"target_bond_ratio,omitempty"` ValidatorEmissionPercentage string `` /* 144-byte string literal not displayed */ ObserverEmissionPercentage string `` /* 141-byte string literal not displayed */ TssSignerEmissionPercentage string `` /* 146-byte string literal not displayed */ DurationFactorConstant string `` /* 129-byte string literal not displayed */ ObserverSlashAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 160-byte string literal not displayed */ BallotMaturityBlocks int64 `protobuf:"varint,10,opt,name=ballot_maturity_blocks,json=ballotMaturityBlocks,proto3" json:"ballot_maturity_blocks,omitempty"` }
Deprecated (v20): Do not use. Use Params Instead
func (*LegacyParams) Descriptor ¶
func (*LegacyParams) Descriptor() ([]byte, []int)
func (*LegacyParams) GetAvgBlockTime ¶
func (m *LegacyParams) GetAvgBlockTime() string
func (*LegacyParams) GetBallotMaturityBlocks ¶
func (m *LegacyParams) GetBallotMaturityBlocks() int64
func (*LegacyParams) GetDurationFactorConstant ¶
func (m *LegacyParams) GetDurationFactorConstant() string
func (*LegacyParams) GetMaxBondFactor ¶
func (m *LegacyParams) GetMaxBondFactor() string
func (*LegacyParams) GetMinBondFactor ¶
func (m *LegacyParams) GetMinBondFactor() string
func (*LegacyParams) GetObserverEmissionPercentage ¶
func (m *LegacyParams) GetObserverEmissionPercentage() string
func (*LegacyParams) GetTargetBondRatio ¶
func (m *LegacyParams) GetTargetBondRatio() string
func (*LegacyParams) GetTssSignerEmissionPercentage ¶
func (m *LegacyParams) GetTssSignerEmissionPercentage() string
func (*LegacyParams) GetValidatorEmissionPercentage ¶
func (m *LegacyParams) GetValidatorEmissionPercentage() string
func (*LegacyParams) Marshal ¶
func (m *LegacyParams) Marshal() (dAtA []byte, err error)
func (*LegacyParams) MarshalToSizedBuffer ¶
func (m *LegacyParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyParams) ProtoMessage ¶
func (*LegacyParams) ProtoMessage()
func (*LegacyParams) Reset ¶
func (m *LegacyParams) Reset()
func (*LegacyParams) Size ¶
func (m *LegacyParams) Size() (n int)
func (*LegacyParams) String ¶
func (m *LegacyParams) String() string
func (*LegacyParams) Unmarshal ¶
func (m *LegacyParams) Unmarshal(dAtA []byte) error
func (*LegacyParams) XXX_DiscardUnknown ¶
func (m *LegacyParams) XXX_DiscardUnknown()
func (*LegacyParams) XXX_Marshal ¶
func (m *LegacyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyParams) XXX_Merge ¶
func (m *LegacyParams) XXX_Merge(src proto.Message)
func (*LegacyParams) XXX_Size ¶
func (m *LegacyParams) XXX_Size() int
func (*LegacyParams) XXX_Unmarshal ¶
func (m *LegacyParams) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) WithdrawEmission(ctx context.Context, in *MsgWithdrawEmission, opts ...grpc.CallOption) (*MsgWithdrawEmissionResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgServer ¶
type MsgServer interface { UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) WithdrawEmission(context.Context, *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSignBytes ¶
func (m *MsgUpdateParams) GetSignBytes() []byte
func (*MsgUpdateParams) GetSigners ¶
func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Route ¶
func (m *MsgUpdateParams) Route() string
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (m *MsgUpdateParams) Type() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawEmission ¶
type MsgWithdrawEmission struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func NewMsgWithdrawEmissions ¶
func NewMsgWithdrawEmissions(creator string, amount sdkmath.Int) *MsgWithdrawEmission
func (*MsgWithdrawEmission) Descriptor ¶
func (*MsgWithdrawEmission) Descriptor() ([]byte, []int)
func (*MsgWithdrawEmission) GetCreator ¶
func (m *MsgWithdrawEmission) GetCreator() string
func (*MsgWithdrawEmission) GetSignBytes ¶
func (msg *MsgWithdrawEmission) GetSignBytes() []byte
func (*MsgWithdrawEmission) GetSigners ¶
func (msg *MsgWithdrawEmission) GetSigners() []sdk.AccAddress
func (*MsgWithdrawEmission) Marshal ¶
func (m *MsgWithdrawEmission) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawEmission) MarshalTo ¶
func (m *MsgWithdrawEmission) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawEmission) MarshalToSizedBuffer ¶
func (m *MsgWithdrawEmission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawEmission) ProtoMessage ¶
func (*MsgWithdrawEmission) ProtoMessage()
func (*MsgWithdrawEmission) Reset ¶
func (m *MsgWithdrawEmission) Reset()
func (*MsgWithdrawEmission) Route ¶
func (msg *MsgWithdrawEmission) Route() string
func (*MsgWithdrawEmission) Size ¶
func (m *MsgWithdrawEmission) Size() (n int)
func (*MsgWithdrawEmission) String ¶
func (m *MsgWithdrawEmission) String() string
func (*MsgWithdrawEmission) Type ¶
func (msg *MsgWithdrawEmission) Type() string
func (*MsgWithdrawEmission) Unmarshal ¶
func (m *MsgWithdrawEmission) Unmarshal(dAtA []byte) error
func (*MsgWithdrawEmission) ValidateBasic ¶
func (msg *MsgWithdrawEmission) ValidateBasic() error
func (*MsgWithdrawEmission) XXX_DiscardUnknown ¶
func (m *MsgWithdrawEmission) XXX_DiscardUnknown()
func (*MsgWithdrawEmission) XXX_Marshal ¶
func (m *MsgWithdrawEmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawEmission) XXX_Merge ¶
func (m *MsgWithdrawEmission) XXX_Merge(src proto.Message)
func (*MsgWithdrawEmission) XXX_Size ¶
func (m *MsgWithdrawEmission) XXX_Size() int
func (*MsgWithdrawEmission) XXX_Unmarshal ¶
func (m *MsgWithdrawEmission) XXX_Unmarshal(b []byte) error
type MsgWithdrawEmissionResponse ¶
type MsgWithdrawEmissionResponse struct { }
func (*MsgWithdrawEmissionResponse) Descriptor ¶
func (*MsgWithdrawEmissionResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawEmissionResponse) Marshal ¶
func (m *MsgWithdrawEmissionResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawEmissionResponse) MarshalTo ¶
func (m *MsgWithdrawEmissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawEmissionResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawEmissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawEmissionResponse) ProtoMessage ¶
func (*MsgWithdrawEmissionResponse) ProtoMessage()
func (*MsgWithdrawEmissionResponse) Reset ¶
func (m *MsgWithdrawEmissionResponse) Reset()
func (*MsgWithdrawEmissionResponse) Size ¶
func (m *MsgWithdrawEmissionResponse) Size() (n int)
func (*MsgWithdrawEmissionResponse) String ¶
func (m *MsgWithdrawEmissionResponse) String() string
func (*MsgWithdrawEmissionResponse) Unmarshal ¶
func (m *MsgWithdrawEmissionResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawEmissionResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawEmissionResponse) XXX_DiscardUnknown()
func (*MsgWithdrawEmissionResponse) XXX_Marshal ¶
func (m *MsgWithdrawEmissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawEmissionResponse) XXX_Merge ¶
func (m *MsgWithdrawEmissionResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawEmissionResponse) XXX_Size ¶
func (m *MsgWithdrawEmissionResponse) XXX_Size() int
func (*MsgWithdrawEmissionResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawEmissionResponse) XXX_Unmarshal(b []byte) error
type ObserverEmission ¶
type ObserverEmission struct { EmissionType EmissionType `` /* 145-byte string literal not displayed */ ObserverAddress string `protobuf:"bytes,2,opt,name=observer_address,json=observerAddress,proto3" json:"observer_address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*ObserverEmission) Descriptor ¶
func (*ObserverEmission) Descriptor() ([]byte, []int)
func (*ObserverEmission) GetEmissionType ¶
func (m *ObserverEmission) GetEmissionType() EmissionType
func (*ObserverEmission) GetObserverAddress ¶
func (m *ObserverEmission) GetObserverAddress() string
func (*ObserverEmission) Marshal ¶
func (m *ObserverEmission) Marshal() (dAtA []byte, err error)
func (*ObserverEmission) MarshalToSizedBuffer ¶
func (m *ObserverEmission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObserverEmission) ProtoMessage ¶
func (*ObserverEmission) ProtoMessage()
func (*ObserverEmission) Reset ¶
func (m *ObserverEmission) Reset()
func (*ObserverEmission) Size ¶
func (m *ObserverEmission) Size() (n int)
func (*ObserverEmission) String ¶
func (m *ObserverEmission) String() string
func (*ObserverEmission) Unmarshal ¶
func (m *ObserverEmission) Unmarshal(dAtA []byte) error
func (*ObserverEmission) XXX_DiscardUnknown ¶
func (m *ObserverEmission) XXX_DiscardUnknown()
func (*ObserverEmission) XXX_Marshal ¶
func (m *ObserverEmission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObserverEmission) XXX_Merge ¶
func (m *ObserverEmission) XXX_Merge(src proto.Message)
func (*ObserverEmission) XXX_Size ¶
func (m *ObserverEmission) XXX_Size() int
func (*ObserverEmission) XXX_Unmarshal ¶
func (m *ObserverEmission) XXX_Unmarshal(b []byte) error
type ObserverKeeper ¶
type ObserverKeeper interface { GetBallot(ctx sdk.Context, index string) (val observertypes.Ballot, found bool) GetMaturedBallots(ctx sdk.Context, maturityBlocks int64) (val observertypes.BallotListForHeight, found bool) }
type Params ¶
type Params struct { ValidatorEmissionPercentage string `` /* 144-byte string literal not displayed */ ObserverEmissionPercentage string `` /* 141-byte string literal not displayed */ TssSignerEmissionPercentage string `` /* 146-byte string literal not displayed */ ObserverSlashAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 160-byte string literal not displayed */ BallotMaturityBlocks int64 `protobuf:"varint,10,opt,name=ballot_maturity_blocks,json=ballotMaturityBlocks,proto3" json:"ballot_maturity_blocks,omitempty"` BlockRewardAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */ }
Params defines the parameters for the module. Sample values:
ValidatorEmissionPercentage: "00.50", ObserverEmissionPercentage: "00.25", TssSignerEmissionPercentage: "00.25", ObserverSlashAmount: 100000000000000000, BallotMaturityBlocks: 100, BlockRewardAmount: 9620949074074074074.074070733466756687,
func (*Params) Descriptor ¶
func (*Params) GetBallotMaturityBlocks ¶
func (*Params) GetObserverEmissionPercentage ¶
func (*Params) GetTssSignerEmissionPercentage ¶
func (*Params) GetValidatorEmissionPercentage ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of ListBalances items. ListPoolAddresses(ctx context.Context, in *QueryListPoolAddressesRequest, opts ...grpc.CallOption) (*QueryListPoolAddressesResponse, error) // Queries a list of ShowAvailableEmissions items. ShowAvailableEmissions(ctx context.Context, in *QueryShowAvailableEmissionsRequest, opts ...grpc.CallOption) (*QueryShowAvailableEmissionsResponse, 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 QueryListPoolAddressesRequest ¶
type QueryListPoolAddressesRequest struct { }
func (*QueryListPoolAddressesRequest) Descriptor ¶
func (*QueryListPoolAddressesRequest) Descriptor() ([]byte, []int)
func (*QueryListPoolAddressesRequest) Marshal ¶
func (m *QueryListPoolAddressesRequest) Marshal() (dAtA []byte, err error)
func (*QueryListPoolAddressesRequest) MarshalTo ¶
func (m *QueryListPoolAddressesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryListPoolAddressesRequest) MarshalToSizedBuffer ¶
func (m *QueryListPoolAddressesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListPoolAddressesRequest) ProtoMessage ¶
func (*QueryListPoolAddressesRequest) ProtoMessage()
func (*QueryListPoolAddressesRequest) Reset ¶
func (m *QueryListPoolAddressesRequest) Reset()
func (*QueryListPoolAddressesRequest) Size ¶
func (m *QueryListPoolAddressesRequest) Size() (n int)
func (*QueryListPoolAddressesRequest) String ¶
func (m *QueryListPoolAddressesRequest) String() string
func (*QueryListPoolAddressesRequest) Unmarshal ¶
func (m *QueryListPoolAddressesRequest) Unmarshal(dAtA []byte) error
func (*QueryListPoolAddressesRequest) XXX_DiscardUnknown ¶
func (m *QueryListPoolAddressesRequest) XXX_DiscardUnknown()
func (*QueryListPoolAddressesRequest) XXX_Marshal ¶
func (m *QueryListPoolAddressesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListPoolAddressesRequest) XXX_Merge ¶
func (m *QueryListPoolAddressesRequest) XXX_Merge(src proto.Message)
func (*QueryListPoolAddressesRequest) XXX_Size ¶
func (m *QueryListPoolAddressesRequest) XXX_Size() int
func (*QueryListPoolAddressesRequest) XXX_Unmarshal ¶
func (m *QueryListPoolAddressesRequest) XXX_Unmarshal(b []byte) error
type QueryListPoolAddressesResponse ¶
type QueryListPoolAddressesResponse struct { UndistributedObserverBalancesAddress string `` /* 173-byte string literal not displayed */ UndistributedTssBalancesAddress string `` /* 158-byte string literal not displayed */ EmissionModuleAddress string `` /* 126-byte string literal not displayed */ }
func (*QueryListPoolAddressesResponse) Descriptor ¶
func (*QueryListPoolAddressesResponse) Descriptor() ([]byte, []int)
func (*QueryListPoolAddressesResponse) GetEmissionModuleAddress ¶
func (m *QueryListPoolAddressesResponse) GetEmissionModuleAddress() string
func (*QueryListPoolAddressesResponse) GetUndistributedObserverBalancesAddress ¶
func (m *QueryListPoolAddressesResponse) GetUndistributedObserverBalancesAddress() string
func (*QueryListPoolAddressesResponse) GetUndistributedTssBalancesAddress ¶
func (m *QueryListPoolAddressesResponse) GetUndistributedTssBalancesAddress() string
func (*QueryListPoolAddressesResponse) Marshal ¶
func (m *QueryListPoolAddressesResponse) Marshal() (dAtA []byte, err error)
func (*QueryListPoolAddressesResponse) MarshalTo ¶
func (m *QueryListPoolAddressesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryListPoolAddressesResponse) MarshalToSizedBuffer ¶
func (m *QueryListPoolAddressesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryListPoolAddressesResponse) ProtoMessage ¶
func (*QueryListPoolAddressesResponse) ProtoMessage()
func (*QueryListPoolAddressesResponse) Reset ¶
func (m *QueryListPoolAddressesResponse) Reset()
func (*QueryListPoolAddressesResponse) Size ¶
func (m *QueryListPoolAddressesResponse) Size() (n int)
func (*QueryListPoolAddressesResponse) String ¶
func (m *QueryListPoolAddressesResponse) String() string
func (*QueryListPoolAddressesResponse) Unmarshal ¶
func (m *QueryListPoolAddressesResponse) Unmarshal(dAtA []byte) error
func (*QueryListPoolAddressesResponse) XXX_DiscardUnknown ¶
func (m *QueryListPoolAddressesResponse) XXX_DiscardUnknown()
func (*QueryListPoolAddressesResponse) XXX_Marshal ¶
func (m *QueryListPoolAddressesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryListPoolAddressesResponse) XXX_Merge ¶
func (m *QueryListPoolAddressesResponse) XXX_Merge(src proto.Message)
func (*QueryListPoolAddressesResponse) XXX_Size ¶
func (m *QueryListPoolAddressesResponse) XXX_Size() int
func (*QueryListPoolAddressesResponse) XXX_Unmarshal ¶
func (m *QueryListPoolAddressesResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is 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 holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is 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 QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of ListBalances items. ListPoolAddresses(context.Context, *QueryListPoolAddressesRequest) (*QueryListPoolAddressesResponse, error) // Queries a list of ShowAvailableEmissions items. ShowAvailableEmissions(context.Context, *QueryShowAvailableEmissionsRequest) (*QueryShowAvailableEmissionsResponse, error) }
QueryServer is the server API for Query service.
type QueryShowAvailableEmissionsRequest ¶
type QueryShowAvailableEmissionsRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryShowAvailableEmissionsRequest) Descriptor ¶
func (*QueryShowAvailableEmissionsRequest) Descriptor() ([]byte, []int)
func (*QueryShowAvailableEmissionsRequest) GetAddress ¶
func (m *QueryShowAvailableEmissionsRequest) GetAddress() string
func (*QueryShowAvailableEmissionsRequest) Marshal ¶
func (m *QueryShowAvailableEmissionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryShowAvailableEmissionsRequest) MarshalTo ¶
func (m *QueryShowAvailableEmissionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryShowAvailableEmissionsRequest) MarshalToSizedBuffer ¶
func (m *QueryShowAvailableEmissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShowAvailableEmissionsRequest) ProtoMessage ¶
func (*QueryShowAvailableEmissionsRequest) ProtoMessage()
func (*QueryShowAvailableEmissionsRequest) Reset ¶
func (m *QueryShowAvailableEmissionsRequest) Reset()
func (*QueryShowAvailableEmissionsRequest) Size ¶
func (m *QueryShowAvailableEmissionsRequest) Size() (n int)
func (*QueryShowAvailableEmissionsRequest) String ¶
func (m *QueryShowAvailableEmissionsRequest) String() string
func (*QueryShowAvailableEmissionsRequest) Unmarshal ¶
func (m *QueryShowAvailableEmissionsRequest) Unmarshal(dAtA []byte) error
func (*QueryShowAvailableEmissionsRequest) XXX_DiscardUnknown ¶
func (m *QueryShowAvailableEmissionsRequest) XXX_DiscardUnknown()
func (*QueryShowAvailableEmissionsRequest) XXX_Marshal ¶
func (m *QueryShowAvailableEmissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShowAvailableEmissionsRequest) XXX_Merge ¶
func (m *QueryShowAvailableEmissionsRequest) XXX_Merge(src proto.Message)
func (*QueryShowAvailableEmissionsRequest) XXX_Size ¶
func (m *QueryShowAvailableEmissionsRequest) XXX_Size() int
func (*QueryShowAvailableEmissionsRequest) XXX_Unmarshal ¶
func (m *QueryShowAvailableEmissionsRequest) XXX_Unmarshal(b []byte) error
type QueryShowAvailableEmissionsResponse ¶
type QueryShowAvailableEmissionsResponse struct {
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
}
func (*QueryShowAvailableEmissionsResponse) Descriptor ¶
func (*QueryShowAvailableEmissionsResponse) Descriptor() ([]byte, []int)
func (*QueryShowAvailableEmissionsResponse) GetAmount ¶
func (m *QueryShowAvailableEmissionsResponse) GetAmount() string
func (*QueryShowAvailableEmissionsResponse) Marshal ¶
func (m *QueryShowAvailableEmissionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryShowAvailableEmissionsResponse) MarshalTo ¶
func (m *QueryShowAvailableEmissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryShowAvailableEmissionsResponse) MarshalToSizedBuffer ¶
func (m *QueryShowAvailableEmissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryShowAvailableEmissionsResponse) ProtoMessage ¶
func (*QueryShowAvailableEmissionsResponse) ProtoMessage()
func (*QueryShowAvailableEmissionsResponse) Reset ¶
func (m *QueryShowAvailableEmissionsResponse) Reset()
func (*QueryShowAvailableEmissionsResponse) Size ¶
func (m *QueryShowAvailableEmissionsResponse) Size() (n int)
func (*QueryShowAvailableEmissionsResponse) String ¶
func (m *QueryShowAvailableEmissionsResponse) String() string
func (*QueryShowAvailableEmissionsResponse) Unmarshal ¶
func (m *QueryShowAvailableEmissionsResponse) Unmarshal(dAtA []byte) error
func (*QueryShowAvailableEmissionsResponse) XXX_DiscardUnknown ¶
func (m *QueryShowAvailableEmissionsResponse) XXX_DiscardUnknown()
func (*QueryShowAvailableEmissionsResponse) XXX_Marshal ¶
func (m *QueryShowAvailableEmissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryShowAvailableEmissionsResponse) XXX_Merge ¶
func (m *QueryShowAvailableEmissionsResponse) XXX_Merge(src proto.Message)
func (*QueryShowAvailableEmissionsResponse) XXX_Size ¶
func (m *QueryShowAvailableEmissionsResponse) XXX_Size() int
func (*QueryShowAvailableEmissionsResponse) XXX_Unmarshal ¶
func (m *QueryShowAvailableEmissionsResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) WithdrawEmission ¶
func (*UnimplementedMsgServer) WithdrawEmission(ctx context.Context, req *MsgWithdrawEmission) (*MsgWithdrawEmissionResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ListPoolAddresses ¶
func (*UnimplementedQueryServer) ListPoolAddresses(ctx context.Context, req *QueryListPoolAddressesRequest) (*QueryListPoolAddressesResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ShowAvailableEmissions ¶
func (*UnimplementedQueryServer) ShowAvailableEmissions(ctx context.Context, req *QueryShowAvailableEmissionsRequest) (*QueryShowAvailableEmissionsResponse, error)
type WithdrawableEmissions ¶
type WithdrawableEmissions struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` }
func (*WithdrawableEmissions) Descriptor ¶
func (*WithdrawableEmissions) Descriptor() ([]byte, []int)
func (*WithdrawableEmissions) GetAddress ¶
func (m *WithdrawableEmissions) GetAddress() string
func (*WithdrawableEmissions) Marshal ¶
func (m *WithdrawableEmissions) Marshal() (dAtA []byte, err error)
func (*WithdrawableEmissions) MarshalTo ¶
func (m *WithdrawableEmissions) MarshalTo(dAtA []byte) (int, error)
func (*WithdrawableEmissions) MarshalToSizedBuffer ¶
func (m *WithdrawableEmissions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WithdrawableEmissions) ProtoMessage ¶
func (*WithdrawableEmissions) ProtoMessage()
func (*WithdrawableEmissions) Reset ¶
func (m *WithdrawableEmissions) Reset()
func (*WithdrawableEmissions) Size ¶
func (m *WithdrawableEmissions) Size() (n int)
func (*WithdrawableEmissions) String ¶
func (m *WithdrawableEmissions) String() string
func (*WithdrawableEmissions) Unmarshal ¶
func (m *WithdrawableEmissions) Unmarshal(dAtA []byte) error
func (*WithdrawableEmissions) XXX_DiscardUnknown ¶
func (m *WithdrawableEmissions) XXX_DiscardUnknown()
func (*WithdrawableEmissions) XXX_Marshal ¶
func (m *WithdrawableEmissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WithdrawableEmissions) XXX_Merge ¶
func (m *WithdrawableEmissions) XXX_Merge(src proto.Message)
func (*WithdrawableEmissions) XXX_Size ¶
func (m *WithdrawableEmissions) XXX_Size() int
func (*WithdrawableEmissions) XXX_Unmarshal ¶
func (m *WithdrawableEmissions) XXX_Unmarshal(b []byte) error