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 GetKeyPrefixDeployer(deployerAddress sdk.AccAddress) []byte
- func GetKeyPrefixWithdrawer(withdrawerAddress sdk.AccAddress) []byte
- 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 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() 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 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 Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAllowedDenoms() []string
- func (m *Params) GetEnableFeeShare() bool
- 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 QueryDeployerFeeSharesRequest
- func (*QueryDeployerFeeSharesRequest) Descriptor() ([]byte, []int)
- func (m *QueryDeployerFeeSharesRequest) GetDeployerAddress() string
- func (m *QueryDeployerFeeSharesRequest) GetPagination() *query.PageRequest
- func (m *QueryDeployerFeeSharesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDeployerFeeSharesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeployerFeeSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeployerFeeSharesRequest) ProtoMessage()
- func (m *QueryDeployerFeeSharesRequest) Reset()
- func (m *QueryDeployerFeeSharesRequest) Size() (n int)
- func (m *QueryDeployerFeeSharesRequest) String() string
- func (m *QueryDeployerFeeSharesRequest) Unmarshal(dAtA []byte) error
- func (q QueryDeployerFeeSharesRequest) ValidateBasic() error
- func (m *QueryDeployerFeeSharesRequest) XXX_DiscardUnknown()
- func (m *QueryDeployerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeployerFeeSharesRequest) XXX_Merge(src proto.Message)
- func (m *QueryDeployerFeeSharesRequest) XXX_Size() int
- func (m *QueryDeployerFeeSharesRequest) XXX_Unmarshal(b []byte) error
- type QueryDeployerFeeSharesResponse
- func (*QueryDeployerFeeSharesResponse) Descriptor() ([]byte, []int)
- func (m *QueryDeployerFeeSharesResponse) GetContractAddresses() []string
- func (m *QueryDeployerFeeSharesResponse) GetPagination() *query.PageResponse
- func (m *QueryDeployerFeeSharesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDeployerFeeSharesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeployerFeeSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeployerFeeSharesResponse) ProtoMessage()
- func (m *QueryDeployerFeeSharesResponse) Reset()
- func (m *QueryDeployerFeeSharesResponse) Size() (n int)
- func (m *QueryDeployerFeeSharesResponse) String() string
- func (m *QueryDeployerFeeSharesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDeployerFeeSharesResponse) XXX_DiscardUnknown()
- func (m *QueryDeployerFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeployerFeeSharesResponse) XXX_Merge(src proto.Message)
- func (m *QueryDeployerFeeSharesResponse) XXX_Size() int
- func (m *QueryDeployerFeeSharesResponse) XXX_Unmarshal(b []byte) error
- 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 QueryFeeSharesRequest
- func (*QueryFeeSharesRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeSharesRequest) GetPagination() *query.PageRequest
- 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 (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) GetPagination() *query.PageResponse
- 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() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryWithdrawerFeeSharesRequest
- func (*QueryWithdrawerFeeSharesRequest) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawerFeeSharesRequest) GetPagination() *query.PageRequest
- func (m *QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress() string
- func (m *QueryWithdrawerFeeSharesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawerFeeSharesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawerFeeSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawerFeeSharesRequest) ProtoMessage()
- func (m *QueryWithdrawerFeeSharesRequest) Reset()
- func (m *QueryWithdrawerFeeSharesRequest) Size() (n int)
- func (m *QueryWithdrawerFeeSharesRequest) String() string
- func (m *QueryWithdrawerFeeSharesRequest) Unmarshal(dAtA []byte) error
- func (q QueryWithdrawerFeeSharesRequest) ValidateBasic() error
- func (m *QueryWithdrawerFeeSharesRequest) XXX_DiscardUnknown()
- func (m *QueryWithdrawerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawerFeeSharesRequest) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawerFeeSharesRequest) XXX_Size() int
- func (m *QueryWithdrawerFeeSharesRequest) XXX_Unmarshal(b []byte) error
- type QueryWithdrawerFeeSharesResponse
- func (*QueryWithdrawerFeeSharesResponse) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawerFeeSharesResponse) GetContractAddresses() []string
- func (m *QueryWithdrawerFeeSharesResponse) GetPagination() *query.PageResponse
- func (m *QueryWithdrawerFeeSharesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawerFeeSharesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawerFeeSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawerFeeSharesResponse) ProtoMessage()
- func (m *QueryWithdrawerFeeSharesResponse) Reset()
- func (m *QueryWithdrawerFeeSharesResponse) Size() (n int)
- func (m *QueryWithdrawerFeeSharesResponse) String() string
- func (m *QueryWithdrawerFeeSharesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWithdrawerFeeSharesResponse) XXX_DiscardUnknown()
- func (m *QueryWithdrawerFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawerFeeSharesResponse) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawerFeeSharesResponse) XXX_Size() int
- func (m *QueryWithdrawerFeeSharesResponse) XXX_Unmarshal(b []byte) error
- 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)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DeployerFeeShares(ctx context.Context, req *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error)
- func (*UnimplementedQueryServer) FeeShare(ctx context.Context, req *QueryFeeShareRequest) (*QueryFeeShareResponse, error)
- func (*UnimplementedQueryServer) FeeShares(ctx context.Context, req *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) WithdrawerFeeShares(ctx context.Context, req *QueryWithdrawerFeeSharesRequest) (*QueryWithdrawerFeeSharesResponse, error)
- type WasmKeeper
Constants ¶
const ( AttributeKeyContract = "contract" AttributeKeyWithdrawerAddress = "withdrawer_address" )
feeshare events
const ( // module name ModuleName = "feeshare" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey to be used for message routing RouterKey = ModuleName )
constants
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 ()
errors
var ()
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 ( KeyPrefixDeployer = []byte{prefixDeployer} KeyPrefixWithdrawer = []byte{prefixWithdrawer} )
KVStore key prefixes
var ( DefaultAllowedDenoms = []string(nil) // all allowed ParamStoreKeyAllowedDenoms = []byte("AllowedDenoms") )
Parameter store key
Functions ¶
func GetKeyPrefixDeployer ¶
func GetKeyPrefixDeployer(deployerAddress sdk.AccAddress) []byte
GetKeyPrefixDeployer returns the KVStore key prefix for storing registered feeshare contract for a deployer
func GetKeyPrefixWithdrawer ¶
func GetKeyPrefixWithdrawer(withdrawerAddress sdk.AccAddress) []byte
GetKeyPrefixWithdrawer returns the KVStore key prefix for storing registered feeshare contract for a withdrawer
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 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 Params `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 Params, 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() 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 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) }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 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) }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) Type ¶
func (msg MsgUpdateFeeShare) Type() string
Type returns the the action
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 Params ¶
type Params 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
Params defines the feeshare module params
func DefaultParams ¶
func DefaultParams() Params
func (*Params) Descriptor ¶
func (*Params) GetAllowedDenoms ¶
func (*Params) GetEnableFeeShare ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { context.Context, in *QueryFeeSharesRequest, opts ...grpc.CallOption) (*QueryFeeSharesResponse, error) FeeShare(ctx context.Context, in *QueryFeeShareRequest, opts ...grpc.CallOption) (*QueryFeeShareResponse, error) // Params retrieves the FeeShare module params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // registered DeployerFeeShares(ctx context.Context, in *QueryDeployerFeeSharesRequest, opts ...grpc.CallOption) (*QueryDeployerFeeSharesResponse, error) // address WithdrawerFeeShares(ctx context.Context, in *QueryWithdrawerFeeSharesRequest, opts ...grpc.CallOption) (*QueryWithdrawerFeeSharesResponse, error) }FeeShares(ctx
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 QueryDeployerFeeSharesRequest ¶
type QueryDeployerFeeSharesRequest struct { string `protobuf:"bytes,1,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }DeployerAddress
QueryDeployerFeeSharesRequest is the request type for the Query/DeployerFeeShares RPC method.
func (*QueryDeployerFeeSharesRequest) Descriptor ¶
func (*QueryDeployerFeeSharesRequest) Descriptor() ([]byte, []int)
func (*QueryDeployerFeeSharesRequest) GetDeployerAddress ¶
func (m *QueryDeployerFeeSharesRequest) GetDeployerAddress() string
func (*QueryDeployerFeeSharesRequest) GetPagination ¶
func (m *QueryDeployerFeeSharesRequest) GetPagination() *query.PageRequest
func (*QueryDeployerFeeSharesRequest) Marshal ¶
func (m *QueryDeployerFeeSharesRequest) Marshal() (dAtA []byte, err error)
func (*QueryDeployerFeeSharesRequest) MarshalTo ¶
func (m *QueryDeployerFeeSharesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeployerFeeSharesRequest) MarshalToSizedBuffer ¶
func (m *QueryDeployerFeeSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeployerFeeSharesRequest) ProtoMessage ¶
func (*QueryDeployerFeeSharesRequest) ProtoMessage()
func (*QueryDeployerFeeSharesRequest) Reset ¶
func (m *QueryDeployerFeeSharesRequest) Reset()
func (*QueryDeployerFeeSharesRequest) Size ¶
func (m *QueryDeployerFeeSharesRequest) Size() (n int)
func (*QueryDeployerFeeSharesRequest) String ¶
func (m *QueryDeployerFeeSharesRequest) String() string
func (*QueryDeployerFeeSharesRequest) Unmarshal ¶
func (m *QueryDeployerFeeSharesRequest) Unmarshal(dAtA []byte) error
func (QueryDeployerFeeSharesRequest) ValidateBasic ¶
func (q QueryDeployerFeeSharesRequest) ValidateBasic() error
ValidateBasic runs stateless checks on the query requests
func (*QueryDeployerFeeSharesRequest) XXX_DiscardUnknown ¶
func (m *QueryDeployerFeeSharesRequest) XXX_DiscardUnknown()
func (*QueryDeployerFeeSharesRequest) XXX_Marshal ¶
func (m *QueryDeployerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeployerFeeSharesRequest) XXX_Merge ¶
func (m *QueryDeployerFeeSharesRequest) XXX_Merge(src proto.Message)
func (*QueryDeployerFeeSharesRequest) XXX_Size ¶
func (m *QueryDeployerFeeSharesRequest) XXX_Size() int
func (*QueryDeployerFeeSharesRequest) XXX_Unmarshal ¶
func (m *QueryDeployerFeeSharesRequest) XXX_Unmarshal(b []byte) error
type QueryDeployerFeeSharesResponse ¶
type QueryDeployerFeeSharesResponse struct { // deployer ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDeployerFeeSharesResponse is the response type for the Query/DeployerFeeShares RPC method.
func (*QueryDeployerFeeSharesResponse) Descriptor ¶
func (*QueryDeployerFeeSharesResponse) Descriptor() ([]byte, []int)
func (*QueryDeployerFeeSharesResponse) GetContractAddresses ¶
func (m *QueryDeployerFeeSharesResponse) GetContractAddresses() []string
func (*QueryDeployerFeeSharesResponse) GetPagination ¶
func (m *QueryDeployerFeeSharesResponse) GetPagination() *query.PageResponse
func (*QueryDeployerFeeSharesResponse) Marshal ¶
func (m *QueryDeployerFeeSharesResponse) Marshal() (dAtA []byte, err error)
func (*QueryDeployerFeeSharesResponse) MarshalTo ¶
func (m *QueryDeployerFeeSharesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeployerFeeSharesResponse) MarshalToSizedBuffer ¶
func (m *QueryDeployerFeeSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeployerFeeSharesResponse) ProtoMessage ¶
func (*QueryDeployerFeeSharesResponse) ProtoMessage()
func (*QueryDeployerFeeSharesResponse) Reset ¶
func (m *QueryDeployerFeeSharesResponse) Reset()
func (*QueryDeployerFeeSharesResponse) Size ¶
func (m *QueryDeployerFeeSharesResponse) Size() (n int)
func (*QueryDeployerFeeSharesResponse) String ¶
func (m *QueryDeployerFeeSharesResponse) String() string
func (*QueryDeployerFeeSharesResponse) Unmarshal ¶
func (m *QueryDeployerFeeSharesResponse) Unmarshal(dAtA []byte) error
func (*QueryDeployerFeeSharesResponse) XXX_DiscardUnknown ¶
func (m *QueryDeployerFeeSharesResponse) XXX_DiscardUnknown()
func (*QueryDeployerFeeSharesResponse) XXX_Marshal ¶
func (m *QueryDeployerFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeployerFeeSharesResponse) XXX_Merge ¶
func (m *QueryDeployerFeeSharesResponse) XXX_Merge(src proto.Message)
func (*QueryDeployerFeeSharesResponse) XXX_Size ¶
func (m *QueryDeployerFeeSharesResponse) XXX_Size() int
func (*QueryDeployerFeeSharesResponse) XXX_Unmarshal ¶
func (m *QueryDeployerFeeSharesResponse) XXX_Unmarshal(b []byte) error
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 QueryFeeSharesRequest ¶
type QueryFeeSharesRequest struct { query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }Pagination *
QueryFeeSharesRequest is the request type for the Query/FeeShares RPC method.
func (*QueryFeeSharesRequest) Descriptor ¶
func (*QueryFeeSharesRequest) Descriptor() ([]byte, []int)
func (*QueryFeeSharesRequest) GetPagination ¶
func (m *QueryFeeSharesRequest) GetPagination() *query.PageRequest
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) 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"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }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) GetPagination ¶
func (m *QueryFeeSharesResponse) GetPagination() *query.PageResponse
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 Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { context.Context, *QueryFeeSharesRequest) (*QueryFeeSharesResponse, error) FeeShare(context.Context, *QueryFeeShareRequest) (*QueryFeeShareResponse, error) // Params retrieves the FeeShare module params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // registered DeployerFeeShares(context.Context, *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error) // address WithdrawerFeeShares(context.Context, *QueryWithdrawerFeeSharesRequest) (*QueryWithdrawerFeeSharesResponse, error) }FeeShares(
QueryServer is the server API for Query service.
type QueryWithdrawerFeeSharesRequest ¶
type QueryWithdrawerFeeSharesRequest struct { string `protobuf:"bytes,1,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }WithdrawerAddress
QueryWithdrawerFeeSharesRequest is the request type for the Query/WithdrawerFeeShares RPC method.
func (*QueryWithdrawerFeeSharesRequest) Descriptor ¶
func (*QueryWithdrawerFeeSharesRequest) Descriptor() ([]byte, []int)
func (*QueryWithdrawerFeeSharesRequest) GetPagination ¶
func (m *QueryWithdrawerFeeSharesRequest) GetPagination() *query.PageRequest
func (*QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress ¶
func (m *QueryWithdrawerFeeSharesRequest) GetWithdrawerAddress() string
func (*QueryWithdrawerFeeSharesRequest) Marshal ¶
func (m *QueryWithdrawerFeeSharesRequest) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawerFeeSharesRequest) MarshalTo ¶
func (m *QueryWithdrawerFeeSharesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSharesRequest) MarshalToSizedBuffer ¶
func (m *QueryWithdrawerFeeSharesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSharesRequest) ProtoMessage ¶
func (*QueryWithdrawerFeeSharesRequest) ProtoMessage()
func (*QueryWithdrawerFeeSharesRequest) Reset ¶
func (m *QueryWithdrawerFeeSharesRequest) Reset()
func (*QueryWithdrawerFeeSharesRequest) Size ¶
func (m *QueryWithdrawerFeeSharesRequest) Size() (n int)
func (*QueryWithdrawerFeeSharesRequest) String ¶
func (m *QueryWithdrawerFeeSharesRequest) String() string
func (*QueryWithdrawerFeeSharesRequest) Unmarshal ¶
func (m *QueryWithdrawerFeeSharesRequest) Unmarshal(dAtA []byte) error
func (QueryWithdrawerFeeSharesRequest) ValidateBasic ¶
func (q QueryWithdrawerFeeSharesRequest) ValidateBasic() error
ValidateBasic runs stateless checks on the query requests
func (*QueryWithdrawerFeeSharesRequest) XXX_DiscardUnknown ¶
func (m *QueryWithdrawerFeeSharesRequest) XXX_DiscardUnknown()
func (*QueryWithdrawerFeeSharesRequest) XXX_Marshal ¶
func (m *QueryWithdrawerFeeSharesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawerFeeSharesRequest) XXX_Merge ¶
func (m *QueryWithdrawerFeeSharesRequest) XXX_Merge(src proto.Message)
func (*QueryWithdrawerFeeSharesRequest) XXX_Size ¶
func (m *QueryWithdrawerFeeSharesRequest) XXX_Size() int
func (*QueryWithdrawerFeeSharesRequest) XXX_Unmarshal ¶
func (m *QueryWithdrawerFeeSharesRequest) XXX_Unmarshal(b []byte) error
type QueryWithdrawerFeeSharesResponse ¶
type QueryWithdrawerFeeSharesResponse struct { // withdrawer ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryWithdrawerFeeSharesResponse is the response type for the Query/WithdrawerFeeShares RPC method.
func (*QueryWithdrawerFeeSharesResponse) Descriptor ¶
func (*QueryWithdrawerFeeSharesResponse) Descriptor() ([]byte, []int)
func (*QueryWithdrawerFeeSharesResponse) GetContractAddresses ¶
func (m *QueryWithdrawerFeeSharesResponse) GetContractAddresses() []string
func (*QueryWithdrawerFeeSharesResponse) GetPagination ¶
func (m *QueryWithdrawerFeeSharesResponse) GetPagination() *query.PageResponse
func (*QueryWithdrawerFeeSharesResponse) Marshal ¶
func (m *QueryWithdrawerFeeSharesResponse) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawerFeeSharesResponse) MarshalTo ¶
func (m *QueryWithdrawerFeeSharesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSharesResponse) MarshalToSizedBuffer ¶
func (m *QueryWithdrawerFeeSharesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSharesResponse) ProtoMessage ¶
func (*QueryWithdrawerFeeSharesResponse) ProtoMessage()
func (*QueryWithdrawerFeeSharesResponse) Reset ¶
func (m *QueryWithdrawerFeeSharesResponse) Reset()
func (*QueryWithdrawerFeeSharesResponse) Size ¶
func (m *QueryWithdrawerFeeSharesResponse) Size() (n int)
func (*QueryWithdrawerFeeSharesResponse) String ¶
func (m *QueryWithdrawerFeeSharesResponse) String() string
func (*QueryWithdrawerFeeSharesResponse) Unmarshal ¶
func (m *QueryWithdrawerFeeSharesResponse) Unmarshal(dAtA []byte) error
func (*QueryWithdrawerFeeSharesResponse) XXX_DiscardUnknown ¶
func (m *QueryWithdrawerFeeSharesResponse) XXX_DiscardUnknown()
func (*QueryWithdrawerFeeSharesResponse) XXX_Marshal ¶
func (m *QueryWithdrawerFeeSharesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawerFeeSharesResponse) XXX_Merge ¶
func (m *QueryWithdrawerFeeSharesResponse) XXX_Merge(src proto.Message)
func (*QueryWithdrawerFeeSharesResponse) XXX_Size ¶
func (m *QueryWithdrawerFeeSharesResponse) XXX_Size() int
func (*QueryWithdrawerFeeSharesResponse) XXX_Unmarshal ¶
func (m *QueryWithdrawerFeeSharesResponse) XXX_Unmarshal(b []byte) error
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)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DeployerFeeShares ¶
func (*UnimplementedQueryServer) DeployerFeeShares(ctx context.Context, req *QueryDeployerFeeSharesRequest) (*QueryDeployerFeeSharesResponse, error)
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) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) WithdrawerFeeShares ¶
func (*UnimplementedQueryServer) WithdrawerFeeShares(ctx context.Context, req *QueryWithdrawerFeeSharesRequest) (*QueryWithdrawerFeeSharesResponse, 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.