Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GrpcQueryServiceDesc() grpc.ServiceDesc
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error
- func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error
- 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 EventCancelDevGas
- func (*EventCancelDevGas) Descriptor() ([]byte, []int)
- func (m *EventCancelDevGas) GetContract() string
- func (m *EventCancelDevGas) GetDeployer() string
- func (m *EventCancelDevGas) Marshal() (dAtA []byte, err error)
- func (m *EventCancelDevGas) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancelDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancelDevGas) ProtoMessage()
- func (m *EventCancelDevGas) Reset()
- func (m *EventCancelDevGas) Size() (n int)
- func (m *EventCancelDevGas) String() string
- func (m *EventCancelDevGas) Unmarshal(dAtA []byte) error
- func (m *EventCancelDevGas) XXX_DiscardUnknown()
- func (m *EventCancelDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancelDevGas) XXX_Merge(src proto.Message)
- func (m *EventCancelDevGas) XXX_Size() int
- func (m *EventCancelDevGas) XXX_Unmarshal(b []byte) error
- type EventPayoutDevGas
- func (*EventPayoutDevGas) Descriptor() ([]byte, []int)
- func (m *EventPayoutDevGas) GetPayouts() string
- func (m *EventPayoutDevGas) Marshal() (dAtA []byte, err error)
- func (m *EventPayoutDevGas) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPayoutDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPayoutDevGas) ProtoMessage()
- func (m *EventPayoutDevGas) Reset()
- func (m *EventPayoutDevGas) Size() (n int)
- func (m *EventPayoutDevGas) String() string
- func (m *EventPayoutDevGas) Unmarshal(dAtA []byte) error
- func (m *EventPayoutDevGas) XXX_DiscardUnknown()
- func (m *EventPayoutDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPayoutDevGas) XXX_Merge(src proto.Message)
- func (m *EventPayoutDevGas) XXX_Size() int
- func (m *EventPayoutDevGas) XXX_Unmarshal(b []byte) error
- type EventRegisterDevGas
- func (*EventRegisterDevGas) Descriptor() ([]byte, []int)
- func (m *EventRegisterDevGas) GetContract() string
- func (m *EventRegisterDevGas) GetDeployer() string
- func (m *EventRegisterDevGas) GetWithdrawer() string
- func (m *EventRegisterDevGas) Marshal() (dAtA []byte, err error)
- func (m *EventRegisterDevGas) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRegisterDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRegisterDevGas) ProtoMessage()
- func (m *EventRegisterDevGas) Reset()
- func (m *EventRegisterDevGas) Size() (n int)
- func (m *EventRegisterDevGas) String() string
- func (m *EventRegisterDevGas) Unmarshal(dAtA []byte) error
- func (m *EventRegisterDevGas) XXX_DiscardUnknown()
- func (m *EventRegisterDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRegisterDevGas) XXX_Merge(src proto.Message)
- func (m *EventRegisterDevGas) XXX_Size() int
- func (m *EventRegisterDevGas) XXX_Unmarshal(b []byte) error
- type EventUpdateDevGas
- func (*EventUpdateDevGas) Descriptor() ([]byte, []int)
- func (m *EventUpdateDevGas) GetContract() string
- func (m *EventUpdateDevGas) GetDeployer() string
- func (m *EventUpdateDevGas) GetWithdrawer() string
- func (m *EventUpdateDevGas) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateDevGas) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateDevGas) ProtoMessage()
- func (m *EventUpdateDevGas) Reset()
- func (m *EventUpdateDevGas) Size() (n int)
- func (m *EventUpdateDevGas) String() string
- func (m *EventUpdateDevGas) Unmarshal(dAtA []byte) error
- func (m *EventUpdateDevGas) XXX_DiscardUnknown()
- func (m *EventUpdateDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateDevGas) XXX_Merge(src proto.Message)
- func (m *EventUpdateDevGas) XXX_Size() int
- func (m *EventUpdateDevGas) XXX_Unmarshal(b []byte) error
- type FeeShare
- func (*FeeShare) Descriptor() ([]byte, []int)
- func (fs FeeShare) GetContractAddr() sdk.Address
- func (m *FeeShare) GetContractAddress() string
- func (fs FeeShare) GetDeployerAddr() sdk.AccAddress
- func (m *FeeShare) GetDeployerAddress() string
- func (fs FeeShare) GetWithdrawerAddr() sdk.AccAddress
- func (m *FeeShare) GetWithdrawerAddress() string
- func (m *FeeShare) Marshal() (dAtA []byte, err error)
- func (m *FeeShare) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeShare) ProtoMessage()
- func (m *FeeShare) Reset()
- func (m *FeeShare) Size() (n int)
- func (m *FeeShare) String() string
- func (m *FeeShare) Unmarshal(dAtA []byte) error
- func (fs FeeShare) Validate() error
- func (m *FeeShare) XXX_DiscardUnknown()
- func (m *FeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeShare) XXX_Merge(src proto.Message)
- func (m *FeeShare) XXX_Size() int
- func (m *FeeShare) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetFeeShare() []FeeShare
- func (m *GenesisState) GetParams() ModuleParams
- 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 ModuleParams
- func (*ModuleParams) Descriptor() ([]byte, []int)
- func (m *ModuleParams) GetAllowedDenoms() []string
- func (m *ModuleParams) GetEnableFeeShare() bool
- func (m *ModuleParams) Marshal() (dAtA []byte, err error)
- func (m *ModuleParams) MarshalTo(dAtA []byte) (int, error)
- func (m *ModuleParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ModuleParams) ParamSetPairs() paramtypes.ParamSetPairs
- func (*ModuleParams) ProtoMessage()
- func (m *ModuleParams) Reset()
- func (p ModuleParams) Sanitize() ModuleParams
- func (m *ModuleParams) Size() (n int)
- func (m *ModuleParams) String() string
- func (m *ModuleParams) Unmarshal(dAtA []byte) error
- func (p ModuleParams) Validate() error
- func (m *ModuleParams) XXX_DiscardUnknown()
- func (m *ModuleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModuleParams) XXX_Merge(src proto.Message)
- func (m *ModuleParams) XXX_Size() int
- func (m *ModuleParams) XXX_Unmarshal(b []byte) error
- type MsgCancelFeeShare
- func (*MsgCancelFeeShare) Descriptor() ([]byte, []int)
- func (m *MsgCancelFeeShare) GetContractAddress() string
- func (m *MsgCancelFeeShare) GetDeployerAddress() string
- func (msg *MsgCancelFeeShare) GetSignBytes() []byte
- func (msg MsgCancelFeeShare) GetSigners() []sdk.AccAddress
- func (m *MsgCancelFeeShare) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelFeeShare) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelFeeShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelFeeShare) ProtoMessage()
- func (m *MsgCancelFeeShare) Reset()
- func (msg MsgCancelFeeShare) Route() string
- func (m *MsgCancelFeeShare) Size() (n int)
- func (m *MsgCancelFeeShare) String() string
- func (msg MsgCancelFeeShare) Type() string
- func (m *MsgCancelFeeShare) Unmarshal(dAtA []byte) error
- func (msg MsgCancelFeeShare) ValidateBasic() error
- func (m *MsgCancelFeeShare) XXX_DiscardUnknown()
- func (m *MsgCancelFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelFeeShare) XXX_Merge(src proto.Message)
- func (m *MsgCancelFeeShare) XXX_Size() int
- func (m *MsgCancelFeeShare) XXX_Unmarshal(b []byte) error
- type MsgCancelFeeShareResponse
- func (*MsgCancelFeeShareResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelFeeShareResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelFeeShareResponse) ProtoMessage()
- func (m *MsgCancelFeeShareResponse) Reset()
- func (m *MsgCancelFeeShareResponse) Size() (n int)
- func (m *MsgCancelFeeShareResponse) String() string
- func (m *MsgCancelFeeShareResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelFeeShareResponse) XXX_DiscardUnknown()
- func (m *MsgCancelFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelFeeShareResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelFeeShareResponse) XXX_Size() int
- func (m *MsgCancelFeeShareResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRegisterFeeShare
- func (*MsgRegisterFeeShare) Descriptor() ([]byte, []int)
- func (m *MsgRegisterFeeShare) GetContractAddress() string
- func (m *MsgRegisterFeeShare) GetDeployerAddress() string
- func (msg *MsgRegisterFeeShare) GetSignBytes() []byte
- func (msg MsgRegisterFeeShare) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterFeeShare) GetWithdrawerAddress() string
- func (m *MsgRegisterFeeShare) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterFeeShare) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterFeeShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterFeeShare) ProtoMessage()
- func (m *MsgRegisterFeeShare) Reset()
- func (msg MsgRegisterFeeShare) Route() string
- func (m *MsgRegisterFeeShare) Size() (n int)
- func (m *MsgRegisterFeeShare) String() string
- func (msg MsgRegisterFeeShare) Type() string
- func (m *MsgRegisterFeeShare) Unmarshal(dAtA []byte) error
- func (msg MsgRegisterFeeShare) ValidateBasic() error
- func (m *MsgRegisterFeeShare) XXX_DiscardUnknown()
- func (m *MsgRegisterFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterFeeShare) XXX_Merge(src proto.Message)
- func (m *MsgRegisterFeeShare) XXX_Size() int
- func (m *MsgRegisterFeeShare) XXX_Unmarshal(b []byte) error
- type MsgRegisterFeeShareResponse
- func (*MsgRegisterFeeShareResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterFeeShareResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterFeeShareResponse) ProtoMessage()
- func (m *MsgRegisterFeeShareResponse) Reset()
- func (m *MsgRegisterFeeShareResponse) Size() (n int)
- func (m *MsgRegisterFeeShareResponse) String() string
- func (m *MsgRegisterFeeShareResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterFeeShareResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterFeeShareResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterFeeShareResponse) XXX_Size() int
- func (m *MsgRegisterFeeShareResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateFeeShare
- func (*MsgUpdateFeeShare) Descriptor() ([]byte, []int)
- func (m *MsgUpdateFeeShare) GetContractAddress() string
- func (m *MsgUpdateFeeShare) GetDeployerAddress() string
- func (msg *MsgUpdateFeeShare) GetSignBytes() []byte
- func (msg MsgUpdateFeeShare) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateFeeShare) GetWithdrawerAddress() string
- func (m *MsgUpdateFeeShare) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateFeeShare) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateFeeShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateFeeShare) ProtoMessage()
- func (m *MsgUpdateFeeShare) Reset()
- func (msg MsgUpdateFeeShare) Route() string
- func (m *MsgUpdateFeeShare) Size() (n int)
- func (m *MsgUpdateFeeShare) String() string
- func (msg MsgUpdateFeeShare) Type() string
- func (m *MsgUpdateFeeShare) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateFeeShare) ValidateBasic() error
- func (m *MsgUpdateFeeShare) XXX_DiscardUnknown()
- func (m *MsgUpdateFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateFeeShare) XXX_Merge(src proto.Message)
- func (m *MsgUpdateFeeShare) XXX_Size() int
- func (m *MsgUpdateFeeShare) XXX_Unmarshal(b []byte) error
- type MsgUpdateFeeShareResponse
- func (*MsgUpdateFeeShareResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateFeeShareResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateFeeShareResponse) ProtoMessage()
- func (m *MsgUpdateFeeShareResponse) Reset()
- func (m *MsgUpdateFeeShareResponse) Size() (n int)
- func (m *MsgUpdateFeeShareResponse) String() string
- func (m *MsgUpdateFeeShareResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateFeeShareResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateFeeShareResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateFeeShareResponse) XXX_Size() int
- func (m *MsgUpdateFeeShareResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() ModuleParams
- 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) Size() (n int)
- func (m *MsgUpdateParams) String() 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 QueryClient
- type QueryFeeShareRequest
- func (*QueryFeeShareRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeShareRequest) GetContractAddress() string
- func (m *QueryFeeShareRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeShareRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeShareRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeShareRequest) ProtoMessage()
- func (m *QueryFeeShareRequest) Reset()
- func (m *QueryFeeShareRequest) Size() (n int)
- func (m *QueryFeeShareRequest) String() string
- func (m *QueryFeeShareRequest) Unmarshal(dAtA []byte) error
- func (q QueryFeeShareRequest) ValidateBasic() error
- func (m *QueryFeeShareRequest) XXX_DiscardUnknown()
- func (m *QueryFeeShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeShareRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeShareRequest) XXX_Size() int
- func (m *QueryFeeShareRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeShareResponse
- func (*QueryFeeShareResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeShareResponse) GetFeeshare() FeeShare
- func (m *QueryFeeShareResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeShareResponse) ProtoMessage()
- func (m *QueryFeeShareResponse) Reset()
- func (m *QueryFeeShareResponse) Size() (n int)
- func (m *QueryFeeShareResponse) String() string
- func (m *QueryFeeShareResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeShareResponse) XXX_DiscardUnknown()
- func (m *QueryFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeShareResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeShareResponse) XXX_Size() int
- func (m *QueryFeeShareResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeSharesByWithdrawerRequest
- func (*QueryFeeSharesByWithdrawerRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeSharesByWithdrawerRequest) GetWithdrawerAddress() string
- func (m *QueryFeeSharesByWithdrawerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSharesByWithdrawerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSharesByWithdrawerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSharesByWithdrawerRequest) ProtoMessage()
- func (m *QueryFeeSharesByWithdrawerRequest) Reset()
- func (m *QueryFeeSharesByWithdrawerRequest) Size() (n int)
- func (m *QueryFeeSharesByWithdrawerRequest) String() string
- func (m *QueryFeeSharesByWithdrawerRequest) Unmarshal(dAtA []byte) error
- func (q QueryFeeSharesByWithdrawerRequest) ValidateBasic() error
- func (m *QueryFeeSharesByWithdrawerRequest) XXX_DiscardUnknown()
- func (m *QueryFeeSharesByWithdrawerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSharesByWithdrawerRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeSharesByWithdrawerRequest) XXX_Size() int
- func (m *QueryFeeSharesByWithdrawerRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeSharesByWithdrawerResponse
- func (*QueryFeeSharesByWithdrawerResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeSharesByWithdrawerResponse) GetFeeshare() []FeeShare
- func (m *QueryFeeSharesByWithdrawerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSharesByWithdrawerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSharesByWithdrawerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSharesByWithdrawerResponse) ProtoMessage()
- func (m *QueryFeeSharesByWithdrawerResponse) Reset()
- func (m *QueryFeeSharesByWithdrawerResponse) Size() (n int)
- func (m *QueryFeeSharesByWithdrawerResponse) String() string
- func (m *QueryFeeSharesByWithdrawerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeSharesByWithdrawerResponse) XXX_DiscardUnknown()
- func (m *QueryFeeSharesByWithdrawerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSharesByWithdrawerResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeSharesByWithdrawerResponse) XXX_Size() int
- func (m *QueryFeeSharesByWithdrawerResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeSharesRequest
- func (*QueryFeeSharesRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeSharesRequest) GetDeployer() string
- func (m *QueryFeeSharesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSharesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSharesRequest) ProtoMessage()
- func (m *QueryFeeSharesRequest) Reset()
- func (m *QueryFeeSharesRequest) Size() (n int)
- func (m *QueryFeeSharesRequest) String() string
- func (m *QueryFeeSharesRequest) Unmarshal(dAtA []byte) error
- func (q QueryFeeSharesRequest) ValidateBasic() error
- func (m *QueryFeeSharesRequest) XXX_DiscardUnknown()
- func (m *QueryFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSharesRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeSharesRequest) XXX_Size() int
- func (m *QueryFeeSharesRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeSharesResponse
- func (*QueryFeeSharesResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeSharesResponse) GetFeeshare() []FeeShare
- func (m *QueryFeeSharesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSharesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSharesResponse) ProtoMessage()
- func (m *QueryFeeSharesResponse) Reset()
- func (m *QueryFeeSharesResponse) Size() (n int)
- func (m *QueryFeeSharesResponse) String() string
- func (m *QueryFeeSharesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeSharesResponse) XXX_DiscardUnknown()
- func (m *QueryFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSharesResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeSharesResponse) XXX_Size() int
- func (m *QueryFeeSharesResponse) 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() ModuleParams
- 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 UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelFeeShare(ctx context.Context, req *MsgCancelFeeShare) (*MsgCancelFeeShareResponse, error)
- func (*UnimplementedMsgServer) RegisterFeeShare(ctx context.Context, req *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error)
- func (*UnimplementedMsgServer) UpdateFeeShare(ctx context.Context, req *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) FeeShare(ctx context.Context, req *QueryFeeShareRequest) (*QueryFeeShareResponse, error)
- func (*UnimplementedQueryServer) FeeShares(ctx context.Context, req *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error)
- func (*UnimplementedQueryServer) FeeSharesByWithdrawer(ctx context.Context, req *QueryFeeSharesByWithdrawerRequest) (*QueryFeeSharesByWithdrawerResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type WasmKeeper
Constants ¶
const ( // module name ModuleName = "devgas" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey to be used for message routing RouterKey = ModuleName )
constants
const ( KeyPrefixDeployer KeyPrefixWithdrawer KeyPrefixParams )
KVStore key and mutli-index prefixes prefix bytes for the fees persistent store
const ()
Variables ¶
var ( // ModuleCdc references the global erc20 module codec. Note, the codec // should ONLY be used in certain instances of tests and for JSON encoding. // // The actual codec used for serialization should be provided to // modules/erc20 and defined at the application level. ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) // AminoCdc is a amino codec created to support amino JSON compatible msgs. AminoCdc = codec.NewAminoCodec(amino) )
var ( ErrInvalidLengthDevgas = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDevgas = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDevgas = fmt.Errorf("proto: unexpected end of group") )
var ()
errors
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = 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 ( // DefaultAllowedDenoms = []string(nil) // all allowed DefaultAllowedDenoms = []string{} // all allowed ParamStoreKeyAllowedDenoms = []byte("AllowedDenoms") )
Parameter store key
Functions ¶
func GrpcQueryServiceDesc ¶
func GrpcQueryServiceDesc() grpc.ServiceDesc
GrpcQueryServiceDesc represents the query server's RPC service specification. This gives access to the service name and method names needed for stargate queries.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces register implementations
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/FeeShare interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization and EIP-712 compatibility.
func RegisterMsgHandler ¶
RegisterMsgHandler registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterMsgHandlerClient ¶
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MsgClient" to call the correct interceptors.
func RegisterMsgHandlerFromEndpoint ¶
func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterMsgHandlerServer ¶
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer 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 RegisterMsgHandlerFromEndpoint instead.
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 { GetModuleAddress(moduleName string) sdk.AccAddress GetModuleAccount(ctx sdk.Context, name string) acctypes.ModuleAccountI HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool GetAccount(ctx sdk.Context, addr sdk.AccAddress) (account acctypes.AccountI) }
AccountKeeper defines the expected interface needed to retrieve account info.
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 BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected interface needed to retrieve account balances.
type EventCancelDevGas ¶
type EventCancelDevGas struct { // deployer is the addess of the account that registered the smart contract to // receive dev gas royalties. Deployer string `protobuf:"bytes,1,opt,name=deployer,proto3" json:"deployer,omitempty"` // Address of the smart contract. This identifies the specific contract // that will receive fee sharing payouts. Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` }
ABCI event emitted when a deployer cancels fee sharing for a contract, specifying the deployer and contract addresses.
func (*EventCancelDevGas) Descriptor ¶
func (*EventCancelDevGas) Descriptor() ([]byte, []int)
func (*EventCancelDevGas) GetContract ¶
func (m *EventCancelDevGas) GetContract() string
func (*EventCancelDevGas) GetDeployer ¶
func (m *EventCancelDevGas) GetDeployer() string
func (*EventCancelDevGas) Marshal ¶
func (m *EventCancelDevGas) Marshal() (dAtA []byte, err error)
func (*EventCancelDevGas) MarshalTo ¶
func (m *EventCancelDevGas) MarshalTo(dAtA []byte) (int, error)
func (*EventCancelDevGas) MarshalToSizedBuffer ¶
func (m *EventCancelDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCancelDevGas) ProtoMessage ¶
func (*EventCancelDevGas) ProtoMessage()
func (*EventCancelDevGas) Reset ¶
func (m *EventCancelDevGas) Reset()
func (*EventCancelDevGas) Size ¶
func (m *EventCancelDevGas) Size() (n int)
func (*EventCancelDevGas) String ¶
func (m *EventCancelDevGas) String() string
func (*EventCancelDevGas) Unmarshal ¶
func (m *EventCancelDevGas) Unmarshal(dAtA []byte) error
func (*EventCancelDevGas) XXX_DiscardUnknown ¶
func (m *EventCancelDevGas) XXX_DiscardUnknown()
func (*EventCancelDevGas) XXX_Marshal ¶
func (m *EventCancelDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCancelDevGas) XXX_Merge ¶
func (m *EventCancelDevGas) XXX_Merge(src proto.Message)
func (*EventCancelDevGas) XXX_Size ¶
func (m *EventCancelDevGas) XXX_Size() int
func (*EventCancelDevGas) XXX_Unmarshal ¶
func (m *EventCancelDevGas) XXX_Unmarshal(b []byte) error
type EventPayoutDevGas ¶
type EventPayoutDevGas struct {
Payouts string `protobuf:"bytes,1,opt,name=payouts,proto3" json:"payouts,omitempty"`
}
ABCI event emitted when fee sharing payouts are made, containing details on the payouts in JSON format.
func (*EventPayoutDevGas) Descriptor ¶
func (*EventPayoutDevGas) Descriptor() ([]byte, []int)
func (*EventPayoutDevGas) GetPayouts ¶
func (m *EventPayoutDevGas) GetPayouts() string
func (*EventPayoutDevGas) Marshal ¶
func (m *EventPayoutDevGas) Marshal() (dAtA []byte, err error)
func (*EventPayoutDevGas) MarshalTo ¶
func (m *EventPayoutDevGas) MarshalTo(dAtA []byte) (int, error)
func (*EventPayoutDevGas) MarshalToSizedBuffer ¶
func (m *EventPayoutDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventPayoutDevGas) ProtoMessage ¶
func (*EventPayoutDevGas) ProtoMessage()
func (*EventPayoutDevGas) Reset ¶
func (m *EventPayoutDevGas) Reset()
func (*EventPayoutDevGas) Size ¶
func (m *EventPayoutDevGas) Size() (n int)
func (*EventPayoutDevGas) String ¶
func (m *EventPayoutDevGas) String() string
func (*EventPayoutDevGas) Unmarshal ¶
func (m *EventPayoutDevGas) Unmarshal(dAtA []byte) error
func (*EventPayoutDevGas) XXX_DiscardUnknown ¶
func (m *EventPayoutDevGas) XXX_DiscardUnknown()
func (*EventPayoutDevGas) XXX_Marshal ¶
func (m *EventPayoutDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventPayoutDevGas) XXX_Merge ¶
func (m *EventPayoutDevGas) XXX_Merge(src proto.Message)
func (*EventPayoutDevGas) XXX_Size ¶
func (m *EventPayoutDevGas) XXX_Size() int
func (*EventPayoutDevGas) XXX_Unmarshal ¶
func (m *EventPayoutDevGas) XXX_Unmarshal(b []byte) error
type EventRegisterDevGas ¶
type EventRegisterDevGas struct { // deployer is the addess of the account that registered the smart contract to // receive dev gas royalties. Deployer string `protobuf:"bytes,1,opt,name=deployer,proto3" json:"deployer,omitempty"` // Address of the smart contract. This identifies the specific contract // that will receive fee sharing payouts. Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` // The address that will receive the fee sharing payouts for the registered // contract. This could be the deployer address or a separate withdrawer // address specified. Withdrawer string `protobuf:"bytes,3,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"` }
ABCI event emitted when a deployer registers a contract to receive fee sharing payouts, specifying the deployer, contract, and withdrawer addresses.
func (*EventRegisterDevGas) Descriptor ¶
func (*EventRegisterDevGas) Descriptor() ([]byte, []int)
func (*EventRegisterDevGas) GetContract ¶
func (m *EventRegisterDevGas) GetContract() string
func (*EventRegisterDevGas) GetDeployer ¶
func (m *EventRegisterDevGas) GetDeployer() string
func (*EventRegisterDevGas) GetWithdrawer ¶
func (m *EventRegisterDevGas) GetWithdrawer() string
func (*EventRegisterDevGas) Marshal ¶
func (m *EventRegisterDevGas) Marshal() (dAtA []byte, err error)
func (*EventRegisterDevGas) MarshalTo ¶
func (m *EventRegisterDevGas) MarshalTo(dAtA []byte) (int, error)
func (*EventRegisterDevGas) MarshalToSizedBuffer ¶
func (m *EventRegisterDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRegisterDevGas) ProtoMessage ¶
func (*EventRegisterDevGas) ProtoMessage()
func (*EventRegisterDevGas) Reset ¶
func (m *EventRegisterDevGas) Reset()
func (*EventRegisterDevGas) Size ¶
func (m *EventRegisterDevGas) Size() (n int)
func (*EventRegisterDevGas) String ¶
func (m *EventRegisterDevGas) String() string
func (*EventRegisterDevGas) Unmarshal ¶
func (m *EventRegisterDevGas) Unmarshal(dAtA []byte) error
func (*EventRegisterDevGas) XXX_DiscardUnknown ¶
func (m *EventRegisterDevGas) XXX_DiscardUnknown()
func (*EventRegisterDevGas) XXX_Marshal ¶
func (m *EventRegisterDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRegisterDevGas) XXX_Merge ¶
func (m *EventRegisterDevGas) XXX_Merge(src proto.Message)
func (*EventRegisterDevGas) XXX_Size ¶
func (m *EventRegisterDevGas) XXX_Size() int
func (*EventRegisterDevGas) XXX_Unmarshal ¶
func (m *EventRegisterDevGas) XXX_Unmarshal(b []byte) error
type EventUpdateDevGas ¶
type EventUpdateDevGas struct { // deployer is the addess of the account that registered the smart contract to // receive dev gas royalties. Deployer string `protobuf:"bytes,1,opt,name=deployer,proto3" json:"deployer,omitempty"` // Address of the smart contract. This identifies the specific contract // that will receive fee sharing payouts. Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` // The address that will receive the fee sharing payouts for the registered // contract. This could be the deployer address or a separate withdrawer // address specified. Withdrawer string `protobuf:"bytes,3,opt,name=withdrawer,proto3" json:"withdrawer,omitempty"` }
ABCI event emitted when a deployer updates the fee sharing registration for a contract, specifying updated deployer, contract, and/or withdrawer addresses.
func (*EventUpdateDevGas) Descriptor ¶
func (*EventUpdateDevGas) Descriptor() ([]byte, []int)
func (*EventUpdateDevGas) GetContract ¶
func (m *EventUpdateDevGas) GetContract() string
func (*EventUpdateDevGas) GetDeployer ¶
func (m *EventUpdateDevGas) GetDeployer() string
func (*EventUpdateDevGas) GetWithdrawer ¶
func (m *EventUpdateDevGas) GetWithdrawer() string
func (*EventUpdateDevGas) Marshal ¶
func (m *EventUpdateDevGas) Marshal() (dAtA []byte, err error)
func (*EventUpdateDevGas) MarshalTo ¶
func (m *EventUpdateDevGas) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateDevGas) MarshalToSizedBuffer ¶
func (m *EventUpdateDevGas) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateDevGas) ProtoMessage ¶
func (*EventUpdateDevGas) ProtoMessage()
func (*EventUpdateDevGas) Reset ¶
func (m *EventUpdateDevGas) Reset()
func (*EventUpdateDevGas) Size ¶
func (m *EventUpdateDevGas) Size() (n int)
func (*EventUpdateDevGas) String ¶
func (m *EventUpdateDevGas) String() string
func (*EventUpdateDevGas) Unmarshal ¶
func (m *EventUpdateDevGas) Unmarshal(dAtA []byte) error
func (*EventUpdateDevGas) XXX_DiscardUnknown ¶
func (m *EventUpdateDevGas) XXX_DiscardUnknown()
func (*EventUpdateDevGas) XXX_Marshal ¶
func (m *EventUpdateDevGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateDevGas) XXX_Merge ¶
func (m *EventUpdateDevGas) XXX_Merge(src proto.Message)
func (*EventUpdateDevGas) XXX_Size ¶
func (m *EventUpdateDevGas) XXX_Size() int
func (*EventUpdateDevGas) XXX_Unmarshal ¶
func (m *EventUpdateDevGas) XXX_Unmarshal(b []byte) error
type FeeShare ¶
type FeeShare struct { // form ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // same as the contracts admin address. DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` // transaction fees. WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` }
FeeShare defines an instance that organizes fee distribution conditions for the owner of a given smart contract
func NewFeeShare ¶
func NewFeeShare(contract sdk.Address, deployer, withdrawer sdk.AccAddress) FeeShare
NewFeeShare returns an instance of FeeShare.
func (*FeeShare) Descriptor ¶
func (FeeShare) GetContractAddr ¶
GetContractAddr returns the contract address
func (*FeeShare) GetContractAddress ¶
func (FeeShare) GetDeployerAddr ¶
func (fs FeeShare) GetDeployerAddr() sdk.AccAddress
GetDeployerAddr returns the contract deployer address
func (*FeeShare) GetDeployerAddress ¶
func (FeeShare) GetWithdrawerAddr ¶
func (fs FeeShare) GetWithdrawerAddr() sdk.AccAddress
GetWithdrawerAddr returns the account address to where the funds proceeding from the fees will be received.
func (*FeeShare) GetWithdrawerAddress ¶
func (*FeeShare) MarshalToSizedBuffer ¶
func (*FeeShare) ProtoMessage ¶
func (*FeeShare) ProtoMessage()
func (*FeeShare) XXX_DiscardUnknown ¶
func (m *FeeShare) XXX_DiscardUnknown()
func (*FeeShare) XXX_Marshal ¶
func (*FeeShare) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { // params are the feeshare module parameters Params ModuleParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` FeeShare []FeeShare `protobuf:"bytes,2,rep,name=fee_share,json=feeShare,proto3" json:"fee_share"` }
GenesisState defines the module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState sets default evm genesis state with empty accounts and default params and chain config values.
func NewGenesisState ¶
func NewGenesisState(params ModuleParams, feeshare []FeeShare) GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetFeeShare ¶
func (m *GenesisState) GetFeeShare() []FeeShare
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() ModuleParams
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 ModuleParams ¶
type ModuleParams struct { bool `protobuf:"varint,1,opt,name=enable_fee_share,json=enableFeeShare,proto3" json:"enable_fee_share,omitempty"` // distributed to the registered contract owner DeveloperShares github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ // allowed_denoms defines the list of denoms that are allowed to be paid to // the contract withdraw addresses. If said denom is not in the list, the fees // will ONLY be sent to the community pool. // If this list is empty, all denoms are allowed. AllowedDenoms []string `protobuf:"bytes,3,rep,name=allowed_denoms,json=allowedDenoms,proto3" json:"allowed_denoms,omitempty"` }EnableFeeShare
ModuleParams defines the params for the devgas module
func DefaultParams ¶
func DefaultParams() ModuleParams
func NewParams ¶
func NewParams( enableFeeShare bool, developerShares sdk.Dec, allowedDenoms []string, ) ModuleParams
NewParams creates a new Params object
func (*ModuleParams) Descriptor ¶
func (*ModuleParams) Descriptor() ([]byte, []int)
func (*ModuleParams) GetAllowedDenoms ¶
func (m *ModuleParams) GetAllowedDenoms() []string
func (*ModuleParams) GetEnableFeeShare ¶
func (m *ModuleParams) GetEnableFeeShare() bool
func (*ModuleParams) Marshal ¶
func (m *ModuleParams) Marshal() (dAtA []byte, err error)
func (*ModuleParams) MarshalToSizedBuffer ¶
func (m *ModuleParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModuleParams) ParamSetPairs ¶
func (p *ModuleParams) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*ModuleParams) ProtoMessage ¶
func (*ModuleParams) ProtoMessage()
func (*ModuleParams) Reset ¶
func (m *ModuleParams) Reset()
func (ModuleParams) Sanitize ¶
func (p ModuleParams) Sanitize() ModuleParams
func (*ModuleParams) Size ¶
func (m *ModuleParams) Size() (n int)
func (*ModuleParams) String ¶
func (m *ModuleParams) String() string
func (*ModuleParams) Unmarshal ¶
func (m *ModuleParams) Unmarshal(dAtA []byte) error
func (ModuleParams) Validate ¶
func (p ModuleParams) Validate() error
func (*ModuleParams) XXX_DiscardUnknown ¶
func (m *ModuleParams) XXX_DiscardUnknown()
func (*ModuleParams) XXX_Marshal ¶
func (m *ModuleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleParams) XXX_Merge ¶
func (m *ModuleParams) XXX_Merge(src proto.Message)
func (*ModuleParams) XXX_Size ¶
func (m *ModuleParams) XXX_Size() int
func (*ModuleParams) XXX_Unmarshal ¶
func (m *ModuleParams) XXX_Unmarshal(b []byte) error
type MsgCancelFeeShare ¶
type MsgCancelFeeShare struct { string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // same the contract's admin address DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` }ContractAddress
MsgCancelFeeShare defines a message that cancels a registered FeeShare
func NewMsgCancelFeeShare ¶
func NewMsgCancelFeeShare( contract sdk.Address, deployer sdk.AccAddress, ) *MsgCancelFeeShare
NewMsgCancelFeeShare creates new instance of MsgCancelFeeShare.
func (*MsgCancelFeeShare) Descriptor ¶
func (*MsgCancelFeeShare) Descriptor() ([]byte, []int)
func (*MsgCancelFeeShare) GetContractAddress ¶
func (m *MsgCancelFeeShare) GetContractAddress() string
func (*MsgCancelFeeShare) GetDeployerAddress ¶
func (m *MsgCancelFeeShare) GetDeployerAddress() string
func (*MsgCancelFeeShare) GetSignBytes ¶
func (msg *MsgCancelFeeShare) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgCancelFeeShare) GetSigners ¶
func (msg MsgCancelFeeShare) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCancelFeeShare) Marshal ¶
func (m *MsgCancelFeeShare) Marshal() (dAtA []byte, err error)
func (*MsgCancelFeeShare) MarshalTo ¶
func (m *MsgCancelFeeShare) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelFeeShare) MarshalToSizedBuffer ¶
func (m *MsgCancelFeeShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelFeeShare) ProtoMessage ¶
func (*MsgCancelFeeShare) ProtoMessage()
func (*MsgCancelFeeShare) Reset ¶
func (m *MsgCancelFeeShare) Reset()
func (MsgCancelFeeShare) Route ¶
func (msg MsgCancelFeeShare) Route() string
Route returns the message route for a MsgCancelFeeShare.
func (*MsgCancelFeeShare) Size ¶
func (m *MsgCancelFeeShare) Size() (n int)
func (*MsgCancelFeeShare) String ¶
func (m *MsgCancelFeeShare) String() string
func (MsgCancelFeeShare) Type ¶
func (msg MsgCancelFeeShare) Type() string
Type returns the message type for a MsgCancelFeeShare.
func (*MsgCancelFeeShare) Unmarshal ¶
func (m *MsgCancelFeeShare) Unmarshal(dAtA []byte) error
func (MsgCancelFeeShare) ValidateBasic ¶
func (msg MsgCancelFeeShare) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgCancelFeeShare) XXX_DiscardUnknown ¶
func (m *MsgCancelFeeShare) XXX_DiscardUnknown()
func (*MsgCancelFeeShare) XXX_Marshal ¶
func (m *MsgCancelFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelFeeShare) XXX_Merge ¶
func (m *MsgCancelFeeShare) XXX_Merge(src proto.Message)
func (*MsgCancelFeeShare) XXX_Size ¶
func (m *MsgCancelFeeShare) XXX_Size() int
func (*MsgCancelFeeShare) XXX_Unmarshal ¶
func (m *MsgCancelFeeShare) XXX_Unmarshal(b []byte) error
type MsgCancelFeeShareResponse ¶
type MsgCancelFeeShareResponse struct { }
MsgCancelFeeShareResponse defines the MsgCancelFeeShare response type
func (*MsgCancelFeeShareResponse) Descriptor ¶
func (*MsgCancelFeeShareResponse) Descriptor() ([]byte, []int)
func (*MsgCancelFeeShareResponse) Marshal ¶
func (m *MsgCancelFeeShareResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelFeeShareResponse) MarshalTo ¶
func (m *MsgCancelFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelFeeShareResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelFeeShareResponse) ProtoMessage ¶
func (*MsgCancelFeeShareResponse) ProtoMessage()
func (*MsgCancelFeeShareResponse) Reset ¶
func (m *MsgCancelFeeShareResponse) Reset()
func (*MsgCancelFeeShareResponse) Size ¶
func (m *MsgCancelFeeShareResponse) Size() (n int)
func (*MsgCancelFeeShareResponse) String ¶
func (m *MsgCancelFeeShareResponse) String() string
func (*MsgCancelFeeShareResponse) Unmarshal ¶
func (m *MsgCancelFeeShareResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelFeeShareResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelFeeShareResponse) XXX_DiscardUnknown()
func (*MsgCancelFeeShareResponse) XXX_Marshal ¶
func (m *MsgCancelFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelFeeShareResponse) XXX_Merge ¶
func (m *MsgCancelFeeShareResponse) XXX_Merge(src proto.Message)
func (*MsgCancelFeeShareResponse) XXX_Size ¶
func (m *MsgCancelFeeShareResponse) XXX_Size() int
func (*MsgCancelFeeShareResponse) XXX_Unmarshal ¶
func (m *MsgCancelFeeShareResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { context.Context, in *MsgRegisterFeeShare, opts ...grpc.CallOption) (*MsgRegisterFeeShareResponse, error) UpdateFeeShare(ctx context.Context, in *MsgUpdateFeeShare, opts ...grpc.CallOption) (*MsgUpdateFeeShareResponse, error) // of transaction fees CancelFeeShare(ctx context.Context, in *MsgCancelFeeShare, opts ...grpc.CallOption) (*MsgCancelFeeShareResponse, error) // Update the params of the module through gov v1 type. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }RegisterFeeShare(ctx
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 MsgRegisterFeeShare ¶
type MsgRegisterFeeShare struct { string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // same the contract's admin address DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` // transaction fees WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` }ContractAddress
MsgRegisterFeeShare defines a message that registers a FeeShare
func NewMsgRegisterFeeShare ¶
func NewMsgRegisterFeeShare( contract sdk.Address, deployer, withdrawer sdk.AccAddress, ) *MsgRegisterFeeShare
NewMsgRegisterFeeShare creates new instance of MsgRegisterFeeShare
func (*MsgRegisterFeeShare) Descriptor ¶
func (*MsgRegisterFeeShare) Descriptor() ([]byte, []int)
func (*MsgRegisterFeeShare) GetContractAddress ¶
func (m *MsgRegisterFeeShare) GetContractAddress() string
func (*MsgRegisterFeeShare) GetDeployerAddress ¶
func (m *MsgRegisterFeeShare) GetDeployerAddress() string
func (*MsgRegisterFeeShare) GetSignBytes ¶
func (msg *MsgRegisterFeeShare) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgRegisterFeeShare) GetSigners ¶
func (msg MsgRegisterFeeShare) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgRegisterFeeShare) GetWithdrawerAddress ¶
func (m *MsgRegisterFeeShare) GetWithdrawerAddress() string
func (*MsgRegisterFeeShare) Marshal ¶
func (m *MsgRegisterFeeShare) Marshal() (dAtA []byte, err error)
func (*MsgRegisterFeeShare) MarshalTo ¶
func (m *MsgRegisterFeeShare) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterFeeShare) MarshalToSizedBuffer ¶
func (m *MsgRegisterFeeShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterFeeShare) ProtoMessage ¶
func (*MsgRegisterFeeShare) ProtoMessage()
func (*MsgRegisterFeeShare) Reset ¶
func (m *MsgRegisterFeeShare) Reset()
func (MsgRegisterFeeShare) Route ¶
func (msg MsgRegisterFeeShare) Route() string
Route returns the name of the module
func (*MsgRegisterFeeShare) Size ¶
func (m *MsgRegisterFeeShare) Size() (n int)
func (*MsgRegisterFeeShare) String ¶
func (m *MsgRegisterFeeShare) String() string
func (MsgRegisterFeeShare) Type ¶
func (msg MsgRegisterFeeShare) Type() string
Type returns the action
func (*MsgRegisterFeeShare) Unmarshal ¶
func (m *MsgRegisterFeeShare) Unmarshal(dAtA []byte) error
func (MsgRegisterFeeShare) ValidateBasic ¶
func (msg MsgRegisterFeeShare) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRegisterFeeShare) XXX_DiscardUnknown ¶
func (m *MsgRegisterFeeShare) XXX_DiscardUnknown()
func (*MsgRegisterFeeShare) XXX_Marshal ¶
func (m *MsgRegisterFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterFeeShare) XXX_Merge ¶
func (m *MsgRegisterFeeShare) XXX_Merge(src proto.Message)
func (*MsgRegisterFeeShare) XXX_Size ¶
func (m *MsgRegisterFeeShare) XXX_Size() int
func (*MsgRegisterFeeShare) XXX_Unmarshal ¶
func (m *MsgRegisterFeeShare) XXX_Unmarshal(b []byte) error
type MsgRegisterFeeShareResponse ¶
type MsgRegisterFeeShareResponse struct { }
MsgRegisterFeeShareResponse defines the MsgRegisterFeeShare response type
func (*MsgRegisterFeeShareResponse) Descriptor ¶
func (*MsgRegisterFeeShareResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterFeeShareResponse) Marshal ¶
func (m *MsgRegisterFeeShareResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterFeeShareResponse) MarshalTo ¶
func (m *MsgRegisterFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterFeeShareResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterFeeShareResponse) ProtoMessage ¶
func (*MsgRegisterFeeShareResponse) ProtoMessage()
func (*MsgRegisterFeeShareResponse) Reset ¶
func (m *MsgRegisterFeeShareResponse) Reset()
func (*MsgRegisterFeeShareResponse) Size ¶
func (m *MsgRegisterFeeShareResponse) Size() (n int)
func (*MsgRegisterFeeShareResponse) String ¶
func (m *MsgRegisterFeeShareResponse) String() string
func (*MsgRegisterFeeShareResponse) Unmarshal ¶
func (m *MsgRegisterFeeShareResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterFeeShareResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterFeeShareResponse) XXX_DiscardUnknown()
func (*MsgRegisterFeeShareResponse) XXX_Marshal ¶
func (m *MsgRegisterFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterFeeShareResponse) XXX_Merge ¶
func (m *MsgRegisterFeeShareResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterFeeShareResponse) XXX_Size ¶
func (m *MsgRegisterFeeShareResponse) XXX_Size() int
func (*MsgRegisterFeeShareResponse) XXX_Unmarshal ¶
func (m *MsgRegisterFeeShareResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { context.Context, *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error) UpdateFeeShare(context.Context, *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error) // of transaction fees CancelFeeShare(context.Context, *MsgCancelFeeShare) (*MsgCancelFeeShareResponse, error) // Update the params of the module through gov v1 type. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }RegisterFeeShare(
MsgServer is the server API for Msg service.
type MsgUpdateFeeShare ¶
type MsgUpdateFeeShare struct { string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // same the contract's admin address DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` // transaction fees WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` }ContractAddress
MsgUpdateFeeShare defines a message that updates the withdrawer address for a registered FeeShare
func NewMsgUpdateFeeShare ¶
func NewMsgUpdateFeeShare( contract sdk.Address, deployer, withdraw sdk.AccAddress, ) *MsgUpdateFeeShare
NewMsgUpdateFeeShare creates new instance of MsgUpdateFeeShare
func (*MsgUpdateFeeShare) Descriptor ¶
func (*MsgUpdateFeeShare) Descriptor() ([]byte, []int)
func (*MsgUpdateFeeShare) GetContractAddress ¶
func (m *MsgUpdateFeeShare) GetContractAddress() string
func (*MsgUpdateFeeShare) GetDeployerAddress ¶
func (m *MsgUpdateFeeShare) GetDeployerAddress() string
func (*MsgUpdateFeeShare) GetSignBytes ¶
func (msg *MsgUpdateFeeShare) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUpdateFeeShare) GetSigners ¶
func (msg MsgUpdateFeeShare) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUpdateFeeShare) GetWithdrawerAddress ¶
func (m *MsgUpdateFeeShare) GetWithdrawerAddress() string
func (*MsgUpdateFeeShare) Marshal ¶
func (m *MsgUpdateFeeShare) Marshal() (dAtA []byte, err error)
func (*MsgUpdateFeeShare) MarshalTo ¶
func (m *MsgUpdateFeeShare) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateFeeShare) MarshalToSizedBuffer ¶
func (m *MsgUpdateFeeShare) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateFeeShare) ProtoMessage ¶
func (*MsgUpdateFeeShare) ProtoMessage()
func (*MsgUpdateFeeShare) Reset ¶
func (m *MsgUpdateFeeShare) Reset()
func (MsgUpdateFeeShare) Route ¶
func (msg MsgUpdateFeeShare) Route() string
Route returns the name of the module
func (*MsgUpdateFeeShare) Size ¶
func (m *MsgUpdateFeeShare) Size() (n int)
func (*MsgUpdateFeeShare) String ¶
func (m *MsgUpdateFeeShare) String() string
func (*MsgUpdateFeeShare) Unmarshal ¶
func (m *MsgUpdateFeeShare) Unmarshal(dAtA []byte) error
func (MsgUpdateFeeShare) ValidateBasic ¶
func (msg MsgUpdateFeeShare) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUpdateFeeShare) XXX_DiscardUnknown ¶
func (m *MsgUpdateFeeShare) XXX_DiscardUnknown()
func (*MsgUpdateFeeShare) XXX_Marshal ¶
func (m *MsgUpdateFeeShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateFeeShare) XXX_Merge ¶
func (m *MsgUpdateFeeShare) XXX_Merge(src proto.Message)
func (*MsgUpdateFeeShare) XXX_Size ¶
func (m *MsgUpdateFeeShare) XXX_Size() int
func (*MsgUpdateFeeShare) XXX_Unmarshal ¶
func (m *MsgUpdateFeeShare) XXX_Unmarshal(b []byte) error
type MsgUpdateFeeShareResponse ¶
type MsgUpdateFeeShareResponse struct { }
MsgUpdateFeeShareResponse defines the MsgUpdateFeeShare response type
func (*MsgUpdateFeeShareResponse) Descriptor ¶
func (*MsgUpdateFeeShareResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateFeeShareResponse) Marshal ¶
func (m *MsgUpdateFeeShareResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateFeeShareResponse) MarshalTo ¶
func (m *MsgUpdateFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateFeeShareResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateFeeShareResponse) ProtoMessage ¶
func (*MsgUpdateFeeShareResponse) ProtoMessage()
func (*MsgUpdateFeeShareResponse) Reset ¶
func (m *MsgUpdateFeeShareResponse) Reset()
func (*MsgUpdateFeeShareResponse) Size ¶
func (m *MsgUpdateFeeShareResponse) Size() (n int)
func (*MsgUpdateFeeShareResponse) String ¶
func (m *MsgUpdateFeeShareResponse) String() string
func (*MsgUpdateFeeShareResponse) Unmarshal ¶
func (m *MsgUpdateFeeShareResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateFeeShareResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateFeeShareResponse) XXX_DiscardUnknown()
func (*MsgUpdateFeeShareResponse) XXX_Marshal ¶
func (m *MsgUpdateFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateFeeShareResponse) XXX_Merge ¶
func (m *MsgUpdateFeeShareResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateFeeShareResponse) XXX_Size ¶
func (m *MsgUpdateFeeShareResponse) XXX_Size() int
func (*MsgUpdateFeeShareResponse) XXX_Unmarshal ¶
func (m *MsgUpdateFeeShareResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/feeshare parameters to update. // // NOTE: All parameters must be supplied. Params ModuleParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() ModuleParams
func (MsgUpdateParams) GetSignBytes ¶
func (m MsgUpdateParams) GetSignBytes() []byte
GetSignBytes implements the LegacyMsg interface.
func (*MsgUpdateParams) GetSigners ¶
func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateParams message.
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) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) ValidateBasic ¶
func (m *MsgUpdateParams) ValidateBasic() error
ValidateBasic does a sanity check on the provided data.
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 { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
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 QueryClient ¶
type QueryClient interface { // registered FeeShares(ctx context.Context, in *QueryFeeSharesRequest, opts ...grpc.CallOption) (*QueryFeeSharesResponse, error) FeeShare(ctx context.Context, in *QueryFeeShareRequest, opts ...grpc.CallOption) (*QueryFeeShareResponse, error) // Params retrieves the module params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // address FeeSharesByWithdrawer(ctx context.Context, in *QueryFeeSharesByWithdrawerRequest, opts ...grpc.CallOption) (*QueryFeeSharesByWithdrawerResponse, 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 QueryFeeShareRequest ¶
type QueryFeeShareRequest struct { string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }ContractAddress
QueryFeeShareRequest is the request type for the Query/FeeShare RPC method.
func (*QueryFeeShareRequest) Descriptor ¶
func (*QueryFeeShareRequest) Descriptor() ([]byte, []int)
func (*QueryFeeShareRequest) GetContractAddress ¶
func (m *QueryFeeShareRequest) GetContractAddress() string
func (*QueryFeeShareRequest) Marshal ¶
func (m *QueryFeeShareRequest) Marshal() (dAtA []byte, err error)
func (*QueryFeeShareRequest) MarshalTo ¶
func (m *QueryFeeShareRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeShareRequest) MarshalToSizedBuffer ¶
func (m *QueryFeeShareRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeShareRequest) ProtoMessage ¶
func (*QueryFeeShareRequest) ProtoMessage()
func (*QueryFeeShareRequest) Reset ¶
func (m *QueryFeeShareRequest) Reset()
func (*QueryFeeShareRequest) Size ¶
func (m *QueryFeeShareRequest) Size() (n int)
func (*QueryFeeShareRequest) String ¶
func (m *QueryFeeShareRequest) String() string
func (*QueryFeeShareRequest) Unmarshal ¶
func (m *QueryFeeShareRequest) Unmarshal(dAtA []byte) error
func (QueryFeeShareRequest) ValidateBasic ¶
func (q QueryFeeShareRequest) ValidateBasic() error
ValidateBasic runs stateless checks on the query requests
func (*QueryFeeShareRequest) XXX_DiscardUnknown ¶
func (m *QueryFeeShareRequest) XXX_DiscardUnknown()
func (*QueryFeeShareRequest) XXX_Marshal ¶
func (m *QueryFeeShareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeShareRequest) XXX_Merge ¶
func (m *QueryFeeShareRequest) XXX_Merge(src proto.Message)
func (*QueryFeeShareRequest) XXX_Size ¶
func (m *QueryFeeShareRequest) XXX_Size() int
func (*QueryFeeShareRequest) XXX_Unmarshal ¶
func (m *QueryFeeShareRequest) XXX_Unmarshal(b []byte) error
type QueryFeeShareResponse ¶
type QueryFeeShareResponse struct { FeeShare `protobuf:"bytes,1,opt,name=feeshare,proto3" json:"feeshare"` }Feeshare
QueryFeeShareResponse is the response type for the Query/FeeShare RPC method.
func (*QueryFeeShareResponse) Descriptor ¶
func (*QueryFeeShareResponse) Descriptor() ([]byte, []int)
func (*QueryFeeShareResponse) GetFeeshare ¶
func (m *QueryFeeShareResponse) GetFeeshare() FeeShare
func (*QueryFeeShareResponse) Marshal ¶
func (m *QueryFeeShareResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeeShareResponse) MarshalTo ¶
func (m *QueryFeeShareResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeShareResponse) MarshalToSizedBuffer ¶
func (m *QueryFeeShareResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeShareResponse) ProtoMessage ¶
func (*QueryFeeShareResponse) ProtoMessage()
func (*QueryFeeShareResponse) Reset ¶
func (m *QueryFeeShareResponse) Reset()
func (*QueryFeeShareResponse) Size ¶
func (m *QueryFeeShareResponse) Size() (n int)
func (*QueryFeeShareResponse) String ¶
func (m *QueryFeeShareResponse) String() string
func (*QueryFeeShareResponse) Unmarshal ¶
func (m *QueryFeeShareResponse) Unmarshal(dAtA []byte) error
func (*QueryFeeShareResponse) XXX_DiscardUnknown ¶
func (m *QueryFeeShareResponse) XXX_DiscardUnknown()
func (*QueryFeeShareResponse) XXX_Marshal ¶
func (m *QueryFeeShareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeShareResponse) XXX_Merge ¶
func (m *QueryFeeShareResponse) XXX_Merge(src proto.Message)
func (*QueryFeeShareResponse) XXX_Size ¶
func (m *QueryFeeShareResponse) XXX_Size() int
func (*QueryFeeShareResponse) XXX_Unmarshal ¶
func (m *QueryFeeShareResponse) XXX_Unmarshal(b []byte) error
type QueryFeeSharesByWithdrawerRequest ¶
type QueryFeeSharesByWithdrawerRequest struct { string `protobuf:"bytes,1,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` }WithdrawerAddress
QueryFeeSharesByWithdrawerRequest is the request type for the Query/FeeSharesByWithdrawer RPC method.
func (*QueryFeeSharesByWithdrawerRequest) Descriptor ¶
func (*QueryFeeSharesByWithdrawerRequest) Descriptor() ([]byte, []int)
func (*QueryFeeSharesByWithdrawerRequest) GetWithdrawerAddress ¶
func (m *QueryFeeSharesByWithdrawerRequest) GetWithdrawerAddress() string
func (*QueryFeeSharesByWithdrawerRequest) Marshal ¶
func (m *QueryFeeSharesByWithdrawerRequest) Marshal() (dAtA []byte, err error)
func (*QueryFeeSharesByWithdrawerRequest) MarshalTo ¶
func (m *QueryFeeSharesByWithdrawerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSharesByWithdrawerRequest) MarshalToSizedBuffer ¶
func (m *QueryFeeSharesByWithdrawerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSharesByWithdrawerRequest) ProtoMessage ¶
func (*QueryFeeSharesByWithdrawerRequest) ProtoMessage()
func (*QueryFeeSharesByWithdrawerRequest) Reset ¶
func (m *QueryFeeSharesByWithdrawerRequest) Reset()
func (*QueryFeeSharesByWithdrawerRequest) Size ¶
func (m *QueryFeeSharesByWithdrawerRequest) Size() (n int)
func (*QueryFeeSharesByWithdrawerRequest) String ¶
func (m *QueryFeeSharesByWithdrawerRequest) String() string
func (*QueryFeeSharesByWithdrawerRequest) Unmarshal ¶
func (m *QueryFeeSharesByWithdrawerRequest) Unmarshal(dAtA []byte) error
func (QueryFeeSharesByWithdrawerRequest) ValidateBasic ¶
func (q QueryFeeSharesByWithdrawerRequest) ValidateBasic() error
ValidateBasic runs stateless checks on the query requests
func (*QueryFeeSharesByWithdrawerRequest) XXX_DiscardUnknown ¶
func (m *QueryFeeSharesByWithdrawerRequest) XXX_DiscardUnknown()
func (*QueryFeeSharesByWithdrawerRequest) XXX_Marshal ¶
func (m *QueryFeeSharesByWithdrawerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSharesByWithdrawerRequest) XXX_Merge ¶
func (m *QueryFeeSharesByWithdrawerRequest) XXX_Merge(src proto.Message)
func (*QueryFeeSharesByWithdrawerRequest) XXX_Size ¶
func (m *QueryFeeSharesByWithdrawerRequest) XXX_Size() int
func (*QueryFeeSharesByWithdrawerRequest) XXX_Unmarshal ¶
func (m *QueryFeeSharesByWithdrawerRequest) XXX_Unmarshal(b []byte) error
type QueryFeeSharesByWithdrawerResponse ¶
type QueryFeeSharesByWithdrawerResponse struct {
}QueryFeeSharesByWithdrawerResponse is the response type for the Query/FeeSharesByWithdrawer RPC method.
func (*QueryFeeSharesByWithdrawerResponse) Descriptor ¶
func (*QueryFeeSharesByWithdrawerResponse) Descriptor() ([]byte, []int)
func (*QueryFeeSharesByWithdrawerResponse) GetFeeshare ¶
func (m *QueryFeeSharesByWithdrawerResponse) GetFeeshare() []FeeShare
func (*QueryFeeSharesByWithdrawerResponse) Marshal ¶
func (m *QueryFeeSharesByWithdrawerResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeeSharesByWithdrawerResponse) MarshalTo ¶
func (m *QueryFeeSharesByWithdrawerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSharesByWithdrawerResponse) MarshalToSizedBuffer ¶
func (m *QueryFeeSharesByWithdrawerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSharesByWithdrawerResponse) ProtoMessage ¶
func (*QueryFeeSharesByWithdrawerResponse) ProtoMessage()
func (*QueryFeeSharesByWithdrawerResponse) Reset ¶
func (m *QueryFeeSharesByWithdrawerResponse) Reset()
func (*QueryFeeSharesByWithdrawerResponse) Size ¶
func (m *QueryFeeSharesByWithdrawerResponse) Size() (n int)
func (*QueryFeeSharesByWithdrawerResponse) String ¶
func (m *QueryFeeSharesByWithdrawerResponse) String() string
func (*QueryFeeSharesByWithdrawerResponse) Unmarshal ¶
func (m *QueryFeeSharesByWithdrawerResponse) Unmarshal(dAtA []byte) error
func (*QueryFeeSharesByWithdrawerResponse) XXX_DiscardUnknown ¶
func (m *QueryFeeSharesByWithdrawerResponse) XXX_DiscardUnknown()
func (*QueryFeeSharesByWithdrawerResponse) XXX_Marshal ¶
func (m *QueryFeeSharesByWithdrawerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSharesByWithdrawerResponse) XXX_Merge ¶
func (m *QueryFeeSharesByWithdrawerResponse) XXX_Merge(src proto.Message)
func (*QueryFeeSharesByWithdrawerResponse) XXX_Size ¶
func (m *QueryFeeSharesByWithdrawerResponse) XXX_Size() int
func (*QueryFeeSharesByWithdrawerResponse) XXX_Unmarshal ¶
func (m *QueryFeeSharesByWithdrawerResponse) XXX_Unmarshal(b []byte) error
type QueryFeeSharesRequest ¶
type QueryFeeSharesRequest struct { // TODO feat(colletions): add automatic pagination generation Deployer string `protobuf:"bytes,1,opt,name=deployer,proto3" json:"deployer,omitempty"` }
QueryFeeSharesRequest is the request type for the Query/FeeShares RPC method.
func (*QueryFeeSharesRequest) Descriptor ¶
func (*QueryFeeSharesRequest) Descriptor() ([]byte, []int)
func (*QueryFeeSharesRequest) GetDeployer ¶
func (m *QueryFeeSharesRequest) GetDeployer() string
func (*QueryFeeSharesRequest) Marshal ¶
func (m *QueryFeeSharesRequest) Marshal() (dAtA []byte, err error)
func (*QueryFeeSharesRequest) MarshalTo ¶
func (m *QueryFeeSharesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSharesRequest) MarshalToSizedBuffer ¶
func (m *QueryFeeSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSharesRequest) ProtoMessage ¶
func (*QueryFeeSharesRequest) ProtoMessage()
func (*QueryFeeSharesRequest) Reset ¶
func (m *QueryFeeSharesRequest) Reset()
func (*QueryFeeSharesRequest) Size ¶
func (m *QueryFeeSharesRequest) Size() (n int)
func (*QueryFeeSharesRequest) String ¶
func (m *QueryFeeSharesRequest) String() string
func (*QueryFeeSharesRequest) Unmarshal ¶
func (m *QueryFeeSharesRequest) Unmarshal(dAtA []byte) error
func (QueryFeeSharesRequest) ValidateBasic ¶
func (q QueryFeeSharesRequest) ValidateBasic() error
ValidateBasic runs stateless checks on the query requests
func (*QueryFeeSharesRequest) XXX_DiscardUnknown ¶
func (m *QueryFeeSharesRequest) XXX_DiscardUnknown()
func (*QueryFeeSharesRequest) XXX_Marshal ¶
func (m *QueryFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSharesRequest) XXX_Merge ¶
func (m *QueryFeeSharesRequest) XXX_Merge(src proto.Message)
func (*QueryFeeSharesRequest) XXX_Size ¶
func (m *QueryFeeSharesRequest) XXX_Size() int
func (*QueryFeeSharesRequest) XXX_Unmarshal ¶
func (m *QueryFeeSharesRequest) XXX_Unmarshal(b []byte) error
type QueryFeeSharesResponse ¶
type QueryFeeSharesResponse struct { FeeShare `protobuf:"bytes,1,rep,name=feeshare,proto3" json:"feeshare"` }Feeshare []
QueryFeeSharesResponse is the response type for the Query/FeeShares RPC method.
func (*QueryFeeSharesResponse) Descriptor ¶
func (*QueryFeeSharesResponse) Descriptor() ([]byte, []int)
func (*QueryFeeSharesResponse) GetFeeshare ¶
func (m *QueryFeeSharesResponse) GetFeeshare() []FeeShare
func (*QueryFeeSharesResponse) Marshal ¶
func (m *QueryFeeSharesResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeeSharesResponse) MarshalTo ¶
func (m *QueryFeeSharesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSharesResponse) MarshalToSizedBuffer ¶
func (m *QueryFeeSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSharesResponse) ProtoMessage ¶
func (*QueryFeeSharesResponse) ProtoMessage()
func (*QueryFeeSharesResponse) Reset ¶
func (m *QueryFeeSharesResponse) Reset()
func (*QueryFeeSharesResponse) Size ¶
func (m *QueryFeeSharesResponse) Size() (n int)
func (*QueryFeeSharesResponse) String ¶
func (m *QueryFeeSharesResponse) String() string
func (*QueryFeeSharesResponse) Unmarshal ¶
func (m *QueryFeeSharesResponse) Unmarshal(dAtA []byte) error
func (*QueryFeeSharesResponse) XXX_DiscardUnknown ¶
func (m *QueryFeeSharesResponse) XXX_DiscardUnknown()
func (*QueryFeeSharesResponse) XXX_Marshal ¶
func (m *QueryFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSharesResponse) XXX_Merge ¶
func (m *QueryFeeSharesResponse) XXX_Merge(src proto.Message)
func (*QueryFeeSharesResponse) XXX_Size ¶
func (m *QueryFeeSharesResponse) XXX_Size() int
func (*QueryFeeSharesResponse) XXX_Unmarshal ¶
func (m *QueryFeeSharesResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params is the returned FeeShare parameter Params ModuleParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() ModuleParams
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 { // registered FeeShares(context.Context, *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error) FeeShare(context.Context, *QueryFeeShareRequest) (*QueryFeeShareResponse, error) // Params retrieves the module params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // address FeeSharesByWithdrawer(context.Context, *QueryFeeSharesByWithdrawerRequest) (*QueryFeeSharesByWithdrawerResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelFeeShare ¶
func (*UnimplementedMsgServer) CancelFeeShare(ctx context.Context, req *MsgCancelFeeShare) (*MsgCancelFeeShareResponse, error)
func (*UnimplementedMsgServer) RegisterFeeShare ¶
func (*UnimplementedMsgServer) RegisterFeeShare(ctx context.Context, req *MsgRegisterFeeShare) (*MsgRegisterFeeShareResponse, error)
func (*UnimplementedMsgServer) UpdateFeeShare ¶
func (*UnimplementedMsgServer) UpdateFeeShare(ctx context.Context, req *MsgUpdateFeeShare) (*MsgUpdateFeeShareResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) FeeShare ¶
func (*UnimplementedQueryServer) FeeShare(ctx context.Context, req *QueryFeeShareRequest) (*QueryFeeShareResponse, error)
func (*UnimplementedQueryServer) FeeShares ¶
func (*UnimplementedQueryServer) FeeShares(ctx context.Context, req *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error)
func (*UnimplementedQueryServer) FeeSharesByWithdrawer ¶
func (*UnimplementedQueryServer) FeeSharesByWithdrawer(ctx context.Context, req *QueryFeeSharesByWithdrawerRequest) (*QueryFeeSharesByWithdrawerResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type WasmKeeper ¶
type WasmKeeper interface {
GetContractInfo(ctx sdk.Context, contractAddr sdk.AccAddress) (wasmtypes.ContractInfo, error)
}
WasmKeeper defines the expected interface needed to retrieve cosmwasm contracts.