Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- 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 BankKeeper
- type CommunityKeeper
- type FixedGasParams
- func (*FixedGasParams) Descriptor() ([]byte, []int)
- func (m *FixedGasParams) GetDistributeRewards() uint64
- func (m *FixedGasParams) GetResetAccount() uint64
- func (m *FixedGasParams) Marshal() (dAtA []byte, err error)
- func (m *FixedGasParams) MarshalTo(dAtA []byte) (int, error)
- func (m *FixedGasParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FixedGasParams) ProtoMessage()
- func (m *FixedGasParams) Reset()
- func (m *FixedGasParams) Size() (n int)
- func (m *FixedGasParams) String() string
- func (m *FixedGasParams) Unmarshal(dAtA []byte) error
- func (m *FixedGasParams) XXX_DiscardUnknown()
- func (m *FixedGasParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FixedGasParams) XXX_Merge(src proto.Message)
- func (m *FixedGasParams) XXX_Size() int
- func (m *FixedGasParams) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() *Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MinGasPriceRequest
- func (*MinGasPriceRequest) Descriptor() ([]byte, []int)
- func (m *MinGasPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *MinGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MinGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MinGasPriceRequest) ProtoMessage()
- func (m *MinGasPriceRequest) Reset()
- func (m *MinGasPriceRequest) Size() (n int)
- func (m *MinGasPriceRequest) String() string
- func (m *MinGasPriceRequest) Unmarshal(dAtA []byte) error
- func (m *MinGasPriceRequest) XXX_DiscardUnknown()
- func (m *MinGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MinGasPriceRequest) XXX_Merge(src proto.Message)
- func (m *MinGasPriceRequest) XXX_Size() int
- func (m *MinGasPriceRequest) XXX_Unmarshal(b []byte) error
- type MinGasPriceResponse
- func (*MinGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *MinGasPriceResponse) GetMinGasPrice() types.DecCoin
- func (m *MinGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *MinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MinGasPriceResponse) ProtoMessage()
- func (m *MinGasPriceResponse) Reset()
- func (m *MinGasPriceResponse) Size() (n int)
- func (m *MinGasPriceResponse) String() string
- func (m *MinGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *MinGasPriceResponse) XXX_DiscardUnknown()
- func (m *MinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MinGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *MinGasPriceResponse) XXX_Size() int
- func (m *MinGasPriceResponse) XXX_Unmarshal(b []byte) error
- type MsgBurn
- func (*MsgBurn) Descriptor() ([]byte, []int)
- func (m MsgBurn) GetSignBytes() []byte
- func (m MsgBurn) GetSigners() []sdk.AccAddress
- func (m *MsgBurn) Marshal() (dAtA []byte, err error)
- func (m *MsgBurn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurn) ProtoMessage()
- func (m *MsgBurn) Reset()
- func (m MsgBurn) Route() string
- func (m *MsgBurn) Size() (n int)
- func (m *MsgBurn) String() string
- func (m MsgBurn) Type() string
- func (m *MsgBurn) Unmarshal(dAtA []byte) error
- func (m MsgBurn) ValidateBasic() error
- func (m *MsgBurn) XXX_DiscardUnknown()
- func (m *MsgBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurn) XXX_Merge(src proto.Message)
- func (m *MsgBurn) XXX_Size() int
- func (m *MsgBurn) XXX_Unmarshal(b []byte) error
- type MsgBurnResponse
- func (*MsgBurnResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnResponse) ProtoMessage()
- func (m *MsgBurnResponse) Reset()
- func (m *MsgBurnResponse) Size() (n int)
- func (m *MsgBurnResponse) String() string
- func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnResponse) XXX_DiscardUnknown()
- func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnResponse) XXX_Size() int
- func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDistributeRewards
- func (*MsgDistributeRewards) Descriptor() ([]byte, []int)
- func (m MsgDistributeRewards) GetSignBytes() []byte
- func (m MsgDistributeRewards) GetSigners() []sdk.AccAddress
- func (m *MsgDistributeRewards) Marshal() (dAtA []byte, err error)
- func (m *MsgDistributeRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDistributeRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDistributeRewards) ProtoMessage()
- func (m *MsgDistributeRewards) Reset()
- func (m MsgDistributeRewards) Route() string
- func (m *MsgDistributeRewards) Size() (n int)
- func (m *MsgDistributeRewards) String() string
- func (m MsgDistributeRewards) Type() string
- func (m *MsgDistributeRewards) Unmarshal(dAtA []byte) error
- func (m MsgDistributeRewards) ValidateBasic() error
- func (m *MsgDistributeRewards) XXX_DiscardUnknown()
- func (m *MsgDistributeRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDistributeRewards) XXX_Merge(src proto.Message)
- func (m *MsgDistributeRewards) XXX_Size() int
- func (m *MsgDistributeRewards) XXX_Unmarshal(b []byte) error
- type MsgDistributeRewardsResponse
- func (*MsgDistributeRewardsResponse) Descriptor() ([]byte, []int)
- func (m *MsgDistributeRewardsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDistributeRewardsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDistributeRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDistributeRewardsResponse) ProtoMessage()
- func (m *MsgDistributeRewardsResponse) Reset()
- func (m *MsgDistributeRewardsResponse) Size() (n int)
- func (m *MsgDistributeRewardsResponse) String() string
- func (m *MsgDistributeRewardsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDistributeRewardsResponse) XXX_DiscardUnknown()
- func (m *MsgDistributeRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDistributeRewardsResponse) XXX_Merge(src proto.Message)
- func (m *MsgDistributeRewardsResponse) XXX_Size() int
- func (m *MsgDistributeRewardsResponse) XXX_Unmarshal(b []byte) error
- type MsgMint
- func (*MsgMint) Descriptor() ([]byte, []int)
- func (m MsgMint) GetSignBytes() []byte
- func (m MsgMint) GetSigners() []sdk.AccAddress
- func (m *MsgMint) Marshal() (dAtA []byte, err error)
- func (m *MsgMint) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMint) ProtoMessage()
- func (m *MsgMint) Reset()
- func (m MsgMint) Route() string
- func (m *MsgMint) Size() (n int)
- func (m *MsgMint) String() string
- func (m MsgMint) Type() string
- func (m *MsgMint) Unmarshal(dAtA []byte) error
- func (m MsgMint) ValidateBasic() error
- func (m *MsgMint) XXX_DiscardUnknown()
- func (m *MsgMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMint) XXX_Merge(src proto.Message)
- func (m *MsgMint) XXX_Size() int
- func (m *MsgMint) XXX_Unmarshal(b []byte) error
- type MsgMintResponse
- func (*MsgMintResponse) Descriptor() ([]byte, []int)
- func (m *MsgMintResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMintResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMintResponse) ProtoMessage()
- func (m *MsgMintResponse) Reset()
- func (m *MsgMintResponse) Size() (n int)
- func (m *MsgMintResponse) String() string
- func (m *MsgMintResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMintResponse) XXX_DiscardUnknown()
- func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMintResponse) XXX_Merge(src proto.Message)
- func (m *MsgMintResponse) XXX_Size() int
- func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error
- type MsgResetAccount
- func (*MsgResetAccount) Descriptor() ([]byte, []int)
- func (m MsgResetAccount) GetSignBytes() []byte
- func (m MsgResetAccount) GetSigners() []sdk.AccAddress
- func (m *MsgResetAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgResetAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResetAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResetAccount) ProtoMessage()
- func (m *MsgResetAccount) Reset()
- func (m MsgResetAccount) Route() string
- func (m *MsgResetAccount) Size() (n int)
- func (m *MsgResetAccount) String() string
- func (m MsgResetAccount) Type() string
- func (m *MsgResetAccount) Unmarshal(dAtA []byte) error
- func (m MsgResetAccount) ValidateBasic() error
- func (m *MsgResetAccount) XXX_DiscardUnknown()
- func (m *MsgResetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResetAccount) XXX_Merge(src proto.Message)
- func (m *MsgResetAccount) XXX_Size() int
- func (m *MsgResetAccount) XXX_Unmarshal(b []byte) error
- type MsgResetAccountResponse
- func (*MsgResetAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgResetAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgResetAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgResetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgResetAccountResponse) ProtoMessage()
- func (m *MsgResetAccountResponse) Reset()
- func (m *MsgResetAccountResponse) Size() (n int)
- func (m *MsgResetAccountResponse) String() string
- func (m *MsgResetAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgResetAccountResponse) XXX_DiscardUnknown()
- func (m *MsgResetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgResetAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgResetAccountResponse) XXX_Size() int
- func (m *MsgResetAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetFixedGas() FixedGasParams
- func (m *Params) GetMinGasPrice() types.DecCoin
- func (m *Params) GetSupervisors() []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 (m *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 QueryServer
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)
- func (m *Reward) GetReceiver() string
- func (m *Reward) GetReward() types.FurProto
- func (m *Reward) Marshal() (dAtA []byte, err error)
- func (m *Reward) MarshalTo(dAtA []byte) (int, error)
- func (m *Reward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Reward) ProtoMessage()
- func (m *Reward) Reset()
- func (m *Reward) Size() (n int)
- func (m *Reward) String() string
- func (m *Reward) Unmarshal(dAtA []byte) error
- func (m *Reward) XXX_DiscardUnknown()
- func (m *Reward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reward) XXX_Merge(src proto.Message)
- func (m *Reward) XXX_Size() int
- func (m *Reward) XXX_Unmarshal(b []byte) error
- type TokenKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error)
- func (*UnimplementedMsgServer) DistributeRewards(ctx context.Context, req *MsgDistributeRewards) (*MsgDistributeRewardsResponse, error)
- func (*UnimplementedMsgServer) Mint(ctx context.Context, req *MsgMint) (*MsgMintResponse, error)
- func (*UnimplementedMsgServer) ResetAccount(ctx context.Context, req *MsgResetAccount) (*MsgResetAccountResponse, error)
- type UnimplementedQueryServer
Constants ¶
const ( // ModuleName defines the module name ModuleName = "operations" // 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 )
const (
DefaultParamspace = ModuleName
)
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 ( ErrInvalidLengthOperations = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOperations = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOperations = fmt.Errorf("proto: unexpected end of group") )
var ( DefaultSupervisors = []string(nil) DefaultMinGasPrice = sdk.NewDecCoinFromDec(config.DefaultBondDenom, sdk.MustNewDecFromStr("0.025")) )
var ( KeySupervisors = []byte("Supervisors") KeyFixedGas = []byte("FixedGas") KeyMinGasPrice = []byte("MinGasPrice") )
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 ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
Functions ¶
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 BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error }
type CommunityKeeper ¶
type CommunityKeeper interface {
ResetAccount(ctx sdk.Context, address sdk.AccAddress)
}
type FixedGasParams ¶
type FixedGasParams struct { ResetAccount uint64 `protobuf:"varint,1,opt,name=reset_account,json=resetAccount,proto3" json:"reset_account,omitempty"` DistributeRewards uint64 `protobuf:"varint,2,opt,name=distribute_rewards,json=distributeRewards,proto3" json:"distribute_rewards,omitempty"` }
func DefaultFixedGasParams ¶
func DefaultFixedGasParams() FixedGasParams
func NewFixedGasParams ¶
func NewFixedGasParams(resetAccount, distributeReward sdk.Gas) FixedGasParams
func (*FixedGasParams) Descriptor ¶
func (*FixedGasParams) Descriptor() ([]byte, []int)
func (*FixedGasParams) GetDistributeRewards ¶
func (m *FixedGasParams) GetDistributeRewards() uint64
func (*FixedGasParams) GetResetAccount ¶
func (m *FixedGasParams) GetResetAccount() uint64
func (*FixedGasParams) Marshal ¶
func (m *FixedGasParams) Marshal() (dAtA []byte, err error)
func (*FixedGasParams) MarshalToSizedBuffer ¶
func (m *FixedGasParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FixedGasParams) ProtoMessage ¶
func (*FixedGasParams) ProtoMessage()
func (*FixedGasParams) Reset ¶
func (m *FixedGasParams) Reset()
func (*FixedGasParams) Size ¶
func (m *FixedGasParams) Size() (n int)
func (*FixedGasParams) String ¶
func (m *FixedGasParams) String() string
func (*FixedGasParams) Unmarshal ¶
func (m *FixedGasParams) Unmarshal(dAtA []byte) error
func (*FixedGasParams) XXX_DiscardUnknown ¶
func (m *FixedGasParams) XXX_DiscardUnknown()
func (*FixedGasParams) XXX_Marshal ¶
func (m *FixedGasParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FixedGasParams) XXX_Merge ¶
func (m *FixedGasParams) XXX_Merge(src proto.Message)
func (*FixedGasParams) XXX_Size ¶
func (m *FixedGasParams) XXX_Size() int
func (*FixedGasParams) XXX_Unmarshal ¶
func (m *FixedGasParams) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // params defines all the paramaters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` }
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.Codec, appState map[string]json.RawMessage) GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() *Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs 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 MinGasPriceRequest ¶
type MinGasPriceRequest struct { }
func (*MinGasPriceRequest) Descriptor ¶
func (*MinGasPriceRequest) Descriptor() ([]byte, []int)
func (*MinGasPriceRequest) Marshal ¶
func (m *MinGasPriceRequest) Marshal() (dAtA []byte, err error)
func (*MinGasPriceRequest) MarshalTo ¶
func (m *MinGasPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*MinGasPriceRequest) MarshalToSizedBuffer ¶
func (m *MinGasPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MinGasPriceRequest) ProtoMessage ¶
func (*MinGasPriceRequest) ProtoMessage()
func (*MinGasPriceRequest) Reset ¶
func (m *MinGasPriceRequest) Reset()
func (*MinGasPriceRequest) Size ¶
func (m *MinGasPriceRequest) Size() (n int)
func (*MinGasPriceRequest) String ¶
func (m *MinGasPriceRequest) String() string
func (*MinGasPriceRequest) Unmarshal ¶
func (m *MinGasPriceRequest) Unmarshal(dAtA []byte) error
func (*MinGasPriceRequest) XXX_DiscardUnknown ¶
func (m *MinGasPriceRequest) XXX_DiscardUnknown()
func (*MinGasPriceRequest) XXX_Marshal ¶
func (m *MinGasPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MinGasPriceRequest) XXX_Merge ¶
func (m *MinGasPriceRequest) XXX_Merge(src proto.Message)
func (*MinGasPriceRequest) XXX_Size ¶
func (m *MinGasPriceRequest) XXX_Size() int
func (*MinGasPriceRequest) XXX_Unmarshal ¶
func (m *MinGasPriceRequest) XXX_Unmarshal(b []byte) error
type MinGasPriceResponse ¶
type MinGasPriceResponse struct {
MinGasPrice types.DecCoin `protobuf:"bytes,1,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price"`
}
func (*MinGasPriceResponse) Descriptor ¶
func (*MinGasPriceResponse) Descriptor() ([]byte, []int)
func (*MinGasPriceResponse) GetMinGasPrice ¶
func (m *MinGasPriceResponse) GetMinGasPrice() types.DecCoin
func (*MinGasPriceResponse) Marshal ¶
func (m *MinGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*MinGasPriceResponse) MarshalTo ¶
func (m *MinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MinGasPriceResponse) MarshalToSizedBuffer ¶
func (m *MinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MinGasPriceResponse) ProtoMessage ¶
func (*MinGasPriceResponse) ProtoMessage()
func (*MinGasPriceResponse) Reset ¶
func (m *MinGasPriceResponse) Reset()
func (*MinGasPriceResponse) Size ¶
func (m *MinGasPriceResponse) Size() (n int)
func (*MinGasPriceResponse) String ¶
func (m *MinGasPriceResponse) String() string
func (*MinGasPriceResponse) Unmarshal ¶
func (m *MinGasPriceResponse) Unmarshal(dAtA []byte) error
func (*MinGasPriceResponse) XXX_DiscardUnknown ¶
func (m *MinGasPriceResponse) XXX_DiscardUnknown()
func (*MinGasPriceResponse) XXX_Marshal ¶
func (m *MinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MinGasPriceResponse) XXX_Merge ¶
func (m *MinGasPriceResponse) XXX_Merge(src proto.Message)
func (*MinGasPriceResponse) XXX_Size ¶
func (m *MinGasPriceResponse) XXX_Size() int
func (*MinGasPriceResponse) XXX_Unmarshal ¶
func (m *MinGasPriceResponse) XXX_Unmarshal(b []byte) error
type MsgBurn ¶
type MsgBurn struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Coin types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin"` }
func NewMsgBurn ¶
func NewMsgBurn(owner sdk.AccAddress, coin sdk.Coin) MsgBurn
func (*MsgBurn) Descriptor ¶
func (MsgBurn) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (MsgBurn) GetSigners ¶
func (m MsgBurn) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgBurn) MarshalToSizedBuffer ¶
func (*MsgBurn) ProtoMessage ¶
func (*MsgBurn) ProtoMessage()
func (MsgBurn) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgBurn) XXX_DiscardUnknown ¶
func (m *MsgBurn) XXX_DiscardUnknown()
func (*MsgBurn) XXX_Marshal ¶
func (*MsgBurn) XXX_Unmarshal ¶
type MsgBurnResponse ¶
type MsgBurnResponse struct { }
func (*MsgBurnResponse) Descriptor ¶
func (*MsgBurnResponse) Descriptor() ([]byte, []int)
func (*MsgBurnResponse) Marshal ¶
func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnResponse) ProtoMessage ¶
func (*MsgBurnResponse) ProtoMessage()
func (*MsgBurnResponse) Reset ¶
func (m *MsgBurnResponse) Reset()
func (*MsgBurnResponse) Size ¶
func (m *MsgBurnResponse) Size() (n int)
func (*MsgBurnResponse) String ¶
func (m *MsgBurnResponse) String() string
func (*MsgBurnResponse) Unmarshal ¶
func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnResponse) XXX_DiscardUnknown()
func (*MsgBurnResponse) XXX_Marshal ¶
func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnResponse) XXX_Merge ¶
func (m *MsgBurnResponse) XXX_Merge(src proto.Message)
func (*MsgBurnResponse) XXX_Size ¶
func (m *MsgBurnResponse) XXX_Size() int
func (*MsgBurnResponse) XXX_Unmarshal ¶
func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { DistributeRewards(ctx context.Context, in *MsgDistributeRewards, opts ...grpc.CallOption) (*MsgDistributeRewardsResponse, error) ResetAccount(ctx context.Context, in *MsgResetAccount, opts ...grpc.CallOption) (*MsgResetAccountResponse, error) Mint(ctx context.Context, in *MsgMint, opts ...grpc.CallOption) (*MsgMintResponse, error) Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, 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 MsgDistributeRewards ¶
type MsgDistributeRewards struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Rewards []Reward `protobuf:"bytes,2,rep,name=rewards,proto3" json:"rewards"` }
func NewMsgDistributeRewards ¶
func NewMsgDistributeRewards(owner sdk.AccAddress, rewards []Reward) MsgDistributeRewards
NewMsgDistributeRewards is a constructor function for MsgDistributeRewards
func (*MsgDistributeRewards) Descriptor ¶
func (*MsgDistributeRewards) Descriptor() ([]byte, []int)
func (MsgDistributeRewards) GetSignBytes ¶
func (m MsgDistributeRewards) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgDistributeRewards) GetSigners ¶
func (m MsgDistributeRewards) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgDistributeRewards) Marshal ¶
func (m *MsgDistributeRewards) Marshal() (dAtA []byte, err error)
func (*MsgDistributeRewards) MarshalTo ¶
func (m *MsgDistributeRewards) MarshalTo(dAtA []byte) (int, error)
func (*MsgDistributeRewards) MarshalToSizedBuffer ¶
func (m *MsgDistributeRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDistributeRewards) ProtoMessage ¶
func (*MsgDistributeRewards) ProtoMessage()
func (*MsgDistributeRewards) Reset ¶
func (m *MsgDistributeRewards) Reset()
func (MsgDistributeRewards) Route ¶
func (m MsgDistributeRewards) Route() string
Route should return the name of the module
func (*MsgDistributeRewards) Size ¶
func (m *MsgDistributeRewards) Size() (n int)
func (*MsgDistributeRewards) String ¶
func (m *MsgDistributeRewards) String() string
func (MsgDistributeRewards) Type ¶
func (m MsgDistributeRewards) Type() string
Type should return the action
func (*MsgDistributeRewards) Unmarshal ¶
func (m *MsgDistributeRewards) Unmarshal(dAtA []byte) error
func (MsgDistributeRewards) ValidateBasic ¶
func (m MsgDistributeRewards) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgDistributeRewards) XXX_DiscardUnknown ¶
func (m *MsgDistributeRewards) XXX_DiscardUnknown()
func (*MsgDistributeRewards) XXX_Marshal ¶
func (m *MsgDistributeRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDistributeRewards) XXX_Merge ¶
func (m *MsgDistributeRewards) XXX_Merge(src proto.Message)
func (*MsgDistributeRewards) XXX_Size ¶
func (m *MsgDistributeRewards) XXX_Size() int
func (*MsgDistributeRewards) XXX_Unmarshal ¶
func (m *MsgDistributeRewards) XXX_Unmarshal(b []byte) error
type MsgDistributeRewardsResponse ¶
type MsgDistributeRewardsResponse struct { }
func (*MsgDistributeRewardsResponse) Descriptor ¶
func (*MsgDistributeRewardsResponse) Descriptor() ([]byte, []int)
func (*MsgDistributeRewardsResponse) Marshal ¶
func (m *MsgDistributeRewardsResponse) Marshal() (dAtA []byte, err error)
func (*MsgDistributeRewardsResponse) MarshalTo ¶
func (m *MsgDistributeRewardsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDistributeRewardsResponse) MarshalToSizedBuffer ¶
func (m *MsgDistributeRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDistributeRewardsResponse) ProtoMessage ¶
func (*MsgDistributeRewardsResponse) ProtoMessage()
func (*MsgDistributeRewardsResponse) Reset ¶
func (m *MsgDistributeRewardsResponse) Reset()
func (*MsgDistributeRewardsResponse) Size ¶
func (m *MsgDistributeRewardsResponse) Size() (n int)
func (*MsgDistributeRewardsResponse) String ¶
func (m *MsgDistributeRewardsResponse) String() string
func (*MsgDistributeRewardsResponse) Unmarshal ¶
func (m *MsgDistributeRewardsResponse) Unmarshal(dAtA []byte) error
func (*MsgDistributeRewardsResponse) XXX_DiscardUnknown ¶
func (m *MsgDistributeRewardsResponse) XXX_DiscardUnknown()
func (*MsgDistributeRewardsResponse) XXX_Marshal ¶
func (m *MsgDistributeRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDistributeRewardsResponse) XXX_Merge ¶
func (m *MsgDistributeRewardsResponse) XXX_Merge(src proto.Message)
func (*MsgDistributeRewardsResponse) XXX_Size ¶
func (m *MsgDistributeRewardsResponse) XXX_Size() int
func (*MsgDistributeRewardsResponse) XXX_Unmarshal ¶
func (m *MsgDistributeRewardsResponse) XXX_Unmarshal(b []byte) error
type MsgMint ¶
type MsgMint struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Coin types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin"` }
func NewMsgMint ¶
func NewMsgMint(owner sdk.AccAddress, coin sdk.Coin) MsgMint
func (*MsgMint) Descriptor ¶
func (MsgMint) GetSignBytes ¶
GetSignBytes encodes the message for signing
func (MsgMint) GetSigners ¶
func (m MsgMint) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgMint) MarshalToSizedBuffer ¶
func (*MsgMint) ProtoMessage ¶
func (*MsgMint) ProtoMessage()
func (MsgMint) ValidateBasic ¶
ValidateBasic runs stateless checks on the message
func (*MsgMint) XXX_DiscardUnknown ¶
func (m *MsgMint) XXX_DiscardUnknown()
func (*MsgMint) XXX_Marshal ¶
func (*MsgMint) XXX_Unmarshal ¶
type MsgMintResponse ¶
type MsgMintResponse struct { }
func (*MsgMintResponse) Descriptor ¶
func (*MsgMintResponse) Descriptor() ([]byte, []int)
func (*MsgMintResponse) Marshal ¶
func (m *MsgMintResponse) Marshal() (dAtA []byte, err error)
func (*MsgMintResponse) MarshalToSizedBuffer ¶
func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMintResponse) ProtoMessage ¶
func (*MsgMintResponse) ProtoMessage()
func (*MsgMintResponse) Reset ¶
func (m *MsgMintResponse) Reset()
func (*MsgMintResponse) Size ¶
func (m *MsgMintResponse) Size() (n int)
func (*MsgMintResponse) String ¶
func (m *MsgMintResponse) String() string
func (*MsgMintResponse) Unmarshal ¶
func (m *MsgMintResponse) Unmarshal(dAtA []byte) error
func (*MsgMintResponse) XXX_DiscardUnknown ¶
func (m *MsgMintResponse) XXX_DiscardUnknown()
func (*MsgMintResponse) XXX_Marshal ¶
func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMintResponse) XXX_Merge ¶
func (m *MsgMintResponse) XXX_Merge(src proto.Message)
func (*MsgMintResponse) XXX_Size ¶
func (m *MsgMintResponse) XXX_Size() int
func (*MsgMintResponse) XXX_Unmarshal ¶
func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error
type MsgResetAccount ¶
type MsgResetAccount struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
func NewMsgResetAccount ¶
func NewMsgResetAccount(owner, address sdk.AccAddress) MsgResetAccount
func (*MsgResetAccount) Descriptor ¶
func (*MsgResetAccount) Descriptor() ([]byte, []int)
func (MsgResetAccount) GetSignBytes ¶
func (m MsgResetAccount) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgResetAccount) GetSigners ¶
func (m MsgResetAccount) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgResetAccount) Marshal ¶
func (m *MsgResetAccount) Marshal() (dAtA []byte, err error)
func (*MsgResetAccount) MarshalToSizedBuffer ¶
func (m *MsgResetAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResetAccount) ProtoMessage ¶
func (*MsgResetAccount) ProtoMessage()
func (*MsgResetAccount) Reset ¶
func (m *MsgResetAccount) Reset()
func (MsgResetAccount) Route ¶
func (m MsgResetAccount) Route() string
Route should return the name of the module
func (*MsgResetAccount) Size ¶
func (m *MsgResetAccount) Size() (n int)
func (*MsgResetAccount) String ¶
func (m *MsgResetAccount) String() string
func (*MsgResetAccount) Unmarshal ¶
func (m *MsgResetAccount) Unmarshal(dAtA []byte) error
func (MsgResetAccount) ValidateBasic ¶
func (m MsgResetAccount) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgResetAccount) XXX_DiscardUnknown ¶
func (m *MsgResetAccount) XXX_DiscardUnknown()
func (*MsgResetAccount) XXX_Marshal ¶
func (m *MsgResetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResetAccount) XXX_Merge ¶
func (m *MsgResetAccount) XXX_Merge(src proto.Message)
func (*MsgResetAccount) XXX_Size ¶
func (m *MsgResetAccount) XXX_Size() int
func (*MsgResetAccount) XXX_Unmarshal ¶
func (m *MsgResetAccount) XXX_Unmarshal(b []byte) error
type MsgResetAccountResponse ¶
type MsgResetAccountResponse struct { }
func (*MsgResetAccountResponse) Descriptor ¶
func (*MsgResetAccountResponse) Descriptor() ([]byte, []int)
func (*MsgResetAccountResponse) Marshal ¶
func (m *MsgResetAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgResetAccountResponse) MarshalTo ¶
func (m *MsgResetAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgResetAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgResetAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgResetAccountResponse) ProtoMessage ¶
func (*MsgResetAccountResponse) ProtoMessage()
func (*MsgResetAccountResponse) Reset ¶
func (m *MsgResetAccountResponse) Reset()
func (*MsgResetAccountResponse) Size ¶
func (m *MsgResetAccountResponse) Size() (n int)
func (*MsgResetAccountResponse) String ¶
func (m *MsgResetAccountResponse) String() string
func (*MsgResetAccountResponse) Unmarshal ¶
func (m *MsgResetAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgResetAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgResetAccountResponse) XXX_DiscardUnknown()
func (*MsgResetAccountResponse) XXX_Marshal ¶
func (m *MsgResetAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgResetAccountResponse) XXX_Merge ¶
func (m *MsgResetAccountResponse) XXX_Merge(src proto.Message)
func (*MsgResetAccountResponse) XXX_Size ¶
func (m *MsgResetAccountResponse) XXX_Size() int
func (*MsgResetAccountResponse) XXX_Unmarshal ¶
func (m *MsgResetAccountResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { DistributeRewards(context.Context, *MsgDistributeRewards) (*MsgDistributeRewardsResponse, error) ResetAccount(context.Context, *MsgResetAccount) (*MsgResetAccountResponse, error) Mint(context.Context, *MsgMint) (*MsgMintResponse, error) Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { Supervisors []string `protobuf:"bytes,1,rep,name=supervisors,proto3" json:"supervisors,omitempty"` FixedGas FixedGasParams `protobuf:"bytes,2,opt,name=fixed_gas,json=fixedGas,proto3" json:"fixed_gas"` MinGasPrice types.DecCoin `protobuf:"bytes,3,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price"` }
func (*Params) Descriptor ¶
func (*Params) GetFixedGas ¶
func (m *Params) GetFixedGas() FixedGasParams
func (*Params) GetMinGasPrice ¶
func (*Params) GetSupervisors ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
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 { // MinGasPrice returns set gas price MinGasPrice(ctx context.Context, in *MinGasPriceRequest, opts ...grpc.CallOption) (*MinGasPriceResponse, 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 QueryServer ¶
type QueryServer interface { // MinGasPrice returns set gas price MinGasPrice(context.Context, *MinGasPriceRequest) (*MinGasPriceResponse, error) }
QueryServer is the server API for Query service.
type Reward ¶
type Reward struct { Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,omitempty"` Reward types.FurProto `protobuf:"bytes,2,opt,name=reward,proto3" json:"reward"` }
func (*Reward) Descriptor ¶
func (*Reward) GetReceiver ¶
func (*Reward) MarshalToSizedBuffer ¶
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) XXX_DiscardUnknown ¶
func (m *Reward) XXX_DiscardUnknown()
func (*Reward) XXX_Marshal ¶
func (*Reward) XXX_Unmarshal ¶
type TokenKeeper ¶
type TokenKeeper interface { IncTokens(ctx sdk.Context, address sdk.AccAddress, amount sdk.Fur) ResetAccount(ctx sdk.Context, address sdk.AccAddress) }
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Burn ¶
func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error)
func (*UnimplementedMsgServer) DistributeRewards ¶
func (*UnimplementedMsgServer) DistributeRewards(ctx context.Context, req *MsgDistributeRewards) (*MsgDistributeRewardsResponse, error)
func (*UnimplementedMsgServer) Mint ¶
func (*UnimplementedMsgServer) Mint(ctx context.Context, req *MsgMint) (*MsgMintResponse, error)
func (*UnimplementedMsgServer) ResetAccount ¶
func (*UnimplementedMsgServer) ResetAccount(ctx context.Context, req *MsgResetAccount) (*MsgResetAccountResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) MinGasPrice ¶
func (*UnimplementedQueryServer) MinGasPrice(ctx context.Context, req *MinGasPriceRequest) (*MinGasPriceResponse, error)