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 ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- 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 DevFeeInfo
- func (*DevFeeInfo) Descriptor() ([]byte, []int)
- func (m *DevFeeInfo) GetContractAddress() string
- func (m *DevFeeInfo) GetDeployerAddress() string
- func (m *DevFeeInfo) GetWithdrawAddress() string
- func (m *DevFeeInfo) Marshal() (dAtA []byte, err error)
- func (m *DevFeeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DevFeeInfo) ProtoMessage()
- func (m *DevFeeInfo) Reset()
- func (m *DevFeeInfo) Size() (n int)
- func (m *DevFeeInfo) String() string
- func (m *DevFeeInfo) Unmarshal(dAtA []byte) error
- func (i DevFeeInfo) Validate() error
- func (m *DevFeeInfo) XXX_DiscardUnknown()
- func (m *DevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DevFeeInfo) XXX_Merge(src proto.Message)
- func (m *DevFeeInfo) XXX_Size() int
- func (m *DevFeeInfo) XXX_Unmarshal(b []byte) error
- type DevFeeInfosPerDeployer
- func (*DevFeeInfosPerDeployer) Descriptor() ([]byte, []int)
- func (m *DevFeeInfosPerDeployer) GetContractAddresses() []string
- func (m *DevFeeInfosPerDeployer) Marshal() (dAtA []byte, err error)
- func (m *DevFeeInfosPerDeployer) MarshalTo(dAtA []byte) (int, error)
- func (m *DevFeeInfosPerDeployer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DevFeeInfosPerDeployer) ProtoMessage()
- func (m *DevFeeInfosPerDeployer) Reset()
- func (m *DevFeeInfosPerDeployer) Size() (n int)
- func (m *DevFeeInfosPerDeployer) String() string
- func (m *DevFeeInfosPerDeployer) Unmarshal(dAtA []byte) error
- func (m *DevFeeInfosPerDeployer) XXX_DiscardUnknown()
- func (m *DevFeeInfosPerDeployer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DevFeeInfosPerDeployer) XXX_Merge(src proto.Message)
- func (m *DevFeeInfosPerDeployer) XXX_Size() int
- func (m *DevFeeInfosPerDeployer) XXX_Unmarshal(b []byte) error
- type EVMKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDevFeeInfos() []DevFeeInfo
- 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 MsgCancelDevFeeInfo
- func (*MsgCancelDevFeeInfo) Descriptor() ([]byte, []int)
- func (m *MsgCancelDevFeeInfo) GetContractAddress() string
- func (m *MsgCancelDevFeeInfo) GetDeployerAddress() string
- func (msg *MsgCancelDevFeeInfo) GetSignBytes() []byte
- func (msg MsgCancelDevFeeInfo) GetSigners() []sdk.AccAddress
- func (m *MsgCancelDevFeeInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelDevFeeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelDevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelDevFeeInfo) ProtoMessage()
- func (m *MsgCancelDevFeeInfo) Reset()
- func (msg MsgCancelDevFeeInfo) Route() string
- func (m *MsgCancelDevFeeInfo) Size() (n int)
- func (m *MsgCancelDevFeeInfo) String() string
- func (msg MsgCancelDevFeeInfo) Type() string
- func (m *MsgCancelDevFeeInfo) Unmarshal(dAtA []byte) error
- func (msg MsgCancelDevFeeInfo) ValidateBasic() error
- func (m *MsgCancelDevFeeInfo) XXX_DiscardUnknown()
- func (m *MsgCancelDevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelDevFeeInfo) XXX_Merge(src proto.Message)
- func (m *MsgCancelDevFeeInfo) XXX_Size() int
- func (m *MsgCancelDevFeeInfo) XXX_Unmarshal(b []byte) error
- type MsgCancelDevFeeInfoResponse
- func (*MsgCancelDevFeeInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelDevFeeInfoResponse) ProtoMessage()
- func (m *MsgCancelDevFeeInfoResponse) Reset()
- func (m *MsgCancelDevFeeInfoResponse) Size() (n int)
- func (m *MsgCancelDevFeeInfoResponse) String() string
- func (m *MsgCancelDevFeeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelDevFeeInfoResponse) XXX_DiscardUnknown()
- func (m *MsgCancelDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelDevFeeInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelDevFeeInfoResponse) XXX_Size() int
- func (m *MsgCancelDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRegisterDevFeeInfo
- func (*MsgRegisterDevFeeInfo) Descriptor() ([]byte, []int)
- func (m *MsgRegisterDevFeeInfo) GetContractAddress() string
- func (m *MsgRegisterDevFeeInfo) GetDeployerAddress() string
- func (m *MsgRegisterDevFeeInfo) GetNonces() []uint64
- func (msg *MsgRegisterDevFeeInfo) GetSignBytes() []byte
- func (msg MsgRegisterDevFeeInfo) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterDevFeeInfo) GetWithdrawAddress() string
- func (m *MsgRegisterDevFeeInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterDevFeeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterDevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterDevFeeInfo) ProtoMessage()
- func (m *MsgRegisterDevFeeInfo) Reset()
- func (msg MsgRegisterDevFeeInfo) Route() string
- func (m *MsgRegisterDevFeeInfo) Size() (n int)
- func (m *MsgRegisterDevFeeInfo) String() string
- func (msg MsgRegisterDevFeeInfo) Type() string
- func (m *MsgRegisterDevFeeInfo) Unmarshal(dAtA []byte) error
- func (msg MsgRegisterDevFeeInfo) ValidateBasic() error
- func (m *MsgRegisterDevFeeInfo) XXX_DiscardUnknown()
- func (m *MsgRegisterDevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterDevFeeInfo) XXX_Merge(src proto.Message)
- func (m *MsgRegisterDevFeeInfo) XXX_Size() int
- func (m *MsgRegisterDevFeeInfo) XXX_Unmarshal(b []byte) error
- type MsgRegisterDevFeeInfoResponse
- func (*MsgRegisterDevFeeInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterDevFeeInfoResponse) ProtoMessage()
- func (m *MsgRegisterDevFeeInfoResponse) Reset()
- func (m *MsgRegisterDevFeeInfoResponse) Size() (n int)
- func (m *MsgRegisterDevFeeInfoResponse) String() string
- func (m *MsgRegisterDevFeeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterDevFeeInfoResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterDevFeeInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterDevFeeInfoResponse) XXX_Size() int
- func (m *MsgRegisterDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateDevFeeInfo
- func (*MsgUpdateDevFeeInfo) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDevFeeInfo) GetContractAddress() string
- func (m *MsgUpdateDevFeeInfo) GetDeployerAddress() string
- func (msg *MsgUpdateDevFeeInfo) GetSignBytes() []byte
- func (msg MsgUpdateDevFeeInfo) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateDevFeeInfo) GetWithdrawAddress() string
- func (m *MsgUpdateDevFeeInfo) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDevFeeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDevFeeInfo) ProtoMessage()
- func (m *MsgUpdateDevFeeInfo) Reset()
- func (msg MsgUpdateDevFeeInfo) Route() string
- func (m *MsgUpdateDevFeeInfo) Size() (n int)
- func (m *MsgUpdateDevFeeInfo) String() string
- func (msg MsgUpdateDevFeeInfo) Type() string
- func (m *MsgUpdateDevFeeInfo) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateDevFeeInfo) ValidateBasic() error
- func (m *MsgUpdateDevFeeInfo) XXX_DiscardUnknown()
- func (m *MsgUpdateDevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDevFeeInfo) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDevFeeInfo) XXX_Size() int
- func (m *MsgUpdateDevFeeInfo) XXX_Unmarshal(b []byte) error
- type MsgUpdateDevFeeInfoResponse
- func (*MsgUpdateDevFeeInfoResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDevFeeInfoResponse) ProtoMessage()
- func (m *MsgUpdateDevFeeInfoResponse) Reset()
- func (m *MsgUpdateDevFeeInfoResponse) Size() (n int)
- func (m *MsgUpdateDevFeeInfoResponse) String() string
- func (m *MsgUpdateDevFeeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateDevFeeInfoResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDevFeeInfoResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDevFeeInfoResponse) XXX_Size() int
- func (m *MsgUpdateDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAddrDerivationCostCreate() uint64
- func (m *Params) GetEnableFees() 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 QueryDevFeeInfoRequest
- func (*QueryDevFeeInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryDevFeeInfoRequest) GetContractAddress() string
- func (m *QueryDevFeeInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDevFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDevFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDevFeeInfoRequest) ProtoMessage()
- func (m *QueryDevFeeInfoRequest) Reset()
- func (m *QueryDevFeeInfoRequest) Size() (n int)
- func (m *QueryDevFeeInfoRequest) String() string
- func (m *QueryDevFeeInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDevFeeInfoRequest) XXX_DiscardUnknown()
- func (m *QueryDevFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDevFeeInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryDevFeeInfoRequest) XXX_Size() int
- func (m *QueryDevFeeInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryDevFeeInfoResponse
- func (*QueryDevFeeInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryDevFeeInfoResponse) GetFee() DevFeeInfo
- func (m *QueryDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDevFeeInfoResponse) ProtoMessage()
- func (m *QueryDevFeeInfoResponse) Reset()
- func (m *QueryDevFeeInfoResponse) Size() (n int)
- func (m *QueryDevFeeInfoResponse) String() string
- func (m *QueryDevFeeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDevFeeInfoResponse) XXX_DiscardUnknown()
- func (m *QueryDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDevFeeInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryDevFeeInfoResponse) XXX_Size() int
- func (m *QueryDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryDevFeeInfosPerDeployerRequest
- func (*QueryDevFeeInfosPerDeployerRequest) Descriptor() ([]byte, []int)
- func (m *QueryDevFeeInfosPerDeployerRequest) GetDeployerAddress() string
- func (m *QueryDevFeeInfosPerDeployerRequest) GetPagination() *query.PageRequest
- func (m *QueryDevFeeInfosPerDeployerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDevFeeInfosPerDeployerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDevFeeInfosPerDeployerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDevFeeInfosPerDeployerRequest) ProtoMessage()
- func (m *QueryDevFeeInfosPerDeployerRequest) Reset()
- func (m *QueryDevFeeInfosPerDeployerRequest) Size() (n int)
- func (m *QueryDevFeeInfosPerDeployerRequest) String() string
- func (m *QueryDevFeeInfosPerDeployerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDevFeeInfosPerDeployerRequest) XXX_DiscardUnknown()
- func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Merge(src proto.Message)
- func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Size() int
- func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Unmarshal(b []byte) error
- type QueryDevFeeInfosPerDeployerResponse
- func (*QueryDevFeeInfosPerDeployerResponse) Descriptor() ([]byte, []int)
- func (m *QueryDevFeeInfosPerDeployerResponse) GetFees() []DevFeeInfo
- func (m *QueryDevFeeInfosPerDeployerResponse) GetPagination() *query.PageResponse
- func (m *QueryDevFeeInfosPerDeployerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDevFeeInfosPerDeployerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDevFeeInfosPerDeployerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDevFeeInfosPerDeployerResponse) ProtoMessage()
- func (m *QueryDevFeeInfosPerDeployerResponse) Reset()
- func (m *QueryDevFeeInfosPerDeployerResponse) Size() (n int)
- func (m *QueryDevFeeInfosPerDeployerResponse) String() string
- func (m *QueryDevFeeInfosPerDeployerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDevFeeInfosPerDeployerResponse) XXX_DiscardUnknown()
- func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Merge(src proto.Message)
- func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Size() int
- func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Unmarshal(b []byte) error
- type QueryDevFeeInfosRequest
- func (*QueryDevFeeInfosRequest) Descriptor() ([]byte, []int)
- func (m *QueryDevFeeInfosRequest) GetPagination() *query.PageRequest
- func (m *QueryDevFeeInfosRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDevFeeInfosRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDevFeeInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDevFeeInfosRequest) ProtoMessage()
- func (m *QueryDevFeeInfosRequest) Reset()
- func (m *QueryDevFeeInfosRequest) Size() (n int)
- func (m *QueryDevFeeInfosRequest) String() string
- func (m *QueryDevFeeInfosRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDevFeeInfosRequest) XXX_DiscardUnknown()
- func (m *QueryDevFeeInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDevFeeInfosRequest) XXX_Merge(src proto.Message)
- func (m *QueryDevFeeInfosRequest) XXX_Size() int
- func (m *QueryDevFeeInfosRequest) XXX_Unmarshal(b []byte) error
- type QueryDevFeeInfosResponse
- func (*QueryDevFeeInfosResponse) Descriptor() ([]byte, []int)
- func (m *QueryDevFeeInfosResponse) GetFees() []DevFeeInfo
- func (m *QueryDevFeeInfosResponse) GetPagination() *query.PageResponse
- func (m *QueryDevFeeInfosResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDevFeeInfosResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDevFeeInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDevFeeInfosResponse) ProtoMessage()
- func (m *QueryDevFeeInfosResponse) Reset()
- func (m *QueryDevFeeInfosResponse) Size() (n int)
- func (m *QueryDevFeeInfosResponse) String() string
- func (m *QueryDevFeeInfosResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDevFeeInfosResponse) XXX_DiscardUnknown()
- func (m *QueryDevFeeInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDevFeeInfosResponse) XXX_Merge(src proto.Message)
- func (m *QueryDevFeeInfosResponse) XXX_Size() int
- func (m *QueryDevFeeInfosResponse) 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 UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelDevFeeInfo(ctx context.Context, req *MsgCancelDevFeeInfo) (*MsgCancelDevFeeInfoResponse, error)
- func (*UnimplementedMsgServer) RegisterDevFeeInfo(ctx context.Context, req *MsgRegisterDevFeeInfo) (*MsgRegisterDevFeeInfoResponse, error)
- func (*UnimplementedMsgServer) UpdateDevFeeInfo(ctx context.Context, req *MsgUpdateDevFeeInfo) (*MsgUpdateDevFeeInfoResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DevFeeInfo(ctx context.Context, req *QueryDevFeeInfoRequest) (*QueryDevFeeInfoResponse, error)
- func (*UnimplementedQueryServer) DevFeeInfos(ctx context.Context, req *QueryDevFeeInfosRequest) (*QueryDevFeeInfosResponse, error)
- func (*UnimplementedQueryServer) DevFeeInfosPerDeployer(ctx context.Context, req *QueryDevFeeInfosPerDeployerRequest) (*QueryDevFeeInfosPerDeployerResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
Constants ¶
const ( EventTypeRegisterDevFeeInfo = "register_dev_fee_info" EventTypeCancelDevFeeInfo = "cancel_dev_fee_info" EventTypeUpdateDevFeeInfo = "update_dev_fee_info" AttributeKeyContract = "contract" AttributeKeyWithdrawAddress = "withdraw_address" )
fees events
const ( // module name ModuleName = "fees" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey to be used for message routing RouterKey = ModuleName )
constants
const ( TypeMsgRegisterDevFeeInfo = "register_dev_fee_info" TypeMsgCancelDevFeeInfo = "cancel_dev_fee_info" TypeMsgUpdateDevFeeInfo = "update_dev_fee_info" )
Variables ¶
var ( ErrInvalidLengthFees = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFees = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFees = 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 ( KeyPrefixFee = []byte{prefixFee} KeyPrefixFeeWithdrawal = []byte{prefixFeeWithdrawal} KeyPrefixInverse = []byte{prefixFeeInverse} )
KVStore key prefixes
var ( DefaultEnableFees = false // Cost for executing `crypto.CreateAddress` // must be at least 36 gas for the contained keccak256(word) operation DefaultAddrDerivationCostCreate = uint64(50) ParamStoreKeyEnableFees = []byte("EnableFees") ParamStoreKeyAddrDerivationCostCreate = []byte("AddrDerivationCostCreate") )
Parameter store key
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrInternalFee = sdkerrors.Register(ModuleName, 2, "internal fees error")
)
errors
var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())
ModuleCdc references the global fees 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/fees and defined at the application level.
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable returns the parameter key table.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces register implementations
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
}
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 DevFeeInfo ¶
type DevFeeInfo struct { // hex address of registered contract ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // bech32 address of contract deployer DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` // bech32 address of account receiving the transaction fees // it defaults to deployer_address WithdrawAddress string `protobuf:"bytes,3,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"` }
DevFeeInfo defines an instance that organizes fee distribution conditions for the owner of a given smart contract
func NewDevFeeInfo ¶
func NewDevFeeInfo( contract common.Address, deployer, withdraw sdk.AccAddress, ) DevFeeInfo
NewFee returns an instance of DevFeeInfo
func (*DevFeeInfo) Descriptor ¶
func (*DevFeeInfo) Descriptor() ([]byte, []int)
func (*DevFeeInfo) GetContractAddress ¶
func (m *DevFeeInfo) GetContractAddress() string
func (*DevFeeInfo) GetDeployerAddress ¶
func (m *DevFeeInfo) GetDeployerAddress() string
func (*DevFeeInfo) GetWithdrawAddress ¶
func (m *DevFeeInfo) GetWithdrawAddress() string
func (*DevFeeInfo) Marshal ¶
func (m *DevFeeInfo) Marshal() (dAtA []byte, err error)
func (*DevFeeInfo) MarshalToSizedBuffer ¶
func (m *DevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DevFeeInfo) ProtoMessage ¶
func (*DevFeeInfo) ProtoMessage()
func (*DevFeeInfo) Reset ¶
func (m *DevFeeInfo) Reset()
func (*DevFeeInfo) Size ¶
func (m *DevFeeInfo) Size() (n int)
func (*DevFeeInfo) String ¶
func (m *DevFeeInfo) String() string
func (*DevFeeInfo) Unmarshal ¶
func (m *DevFeeInfo) Unmarshal(dAtA []byte) error
func (DevFeeInfo) Validate ¶
func (i DevFeeInfo) Validate() error
Validate performs a stateless validation of a DevFeeInfo
func (*DevFeeInfo) XXX_DiscardUnknown ¶
func (m *DevFeeInfo) XXX_DiscardUnknown()
func (*DevFeeInfo) XXX_Marshal ¶
func (m *DevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DevFeeInfo) XXX_Merge ¶
func (m *DevFeeInfo) XXX_Merge(src proto.Message)
func (*DevFeeInfo) XXX_Size ¶
func (m *DevFeeInfo) XXX_Size() int
func (*DevFeeInfo) XXX_Unmarshal ¶
func (m *DevFeeInfo) XXX_Unmarshal(b []byte) error
type DevFeeInfosPerDeployer ¶
type DevFeeInfosPerDeployer struct {
ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"`
}
DevFeeInfosPerDeployer defines an instance that keeps track of all contracts registered by a deployer
func (*DevFeeInfosPerDeployer) Descriptor ¶
func (*DevFeeInfosPerDeployer) Descriptor() ([]byte, []int)
func (*DevFeeInfosPerDeployer) GetContractAddresses ¶
func (m *DevFeeInfosPerDeployer) GetContractAddresses() []string
func (*DevFeeInfosPerDeployer) Marshal ¶
func (m *DevFeeInfosPerDeployer) Marshal() (dAtA []byte, err error)
func (*DevFeeInfosPerDeployer) MarshalTo ¶
func (m *DevFeeInfosPerDeployer) MarshalTo(dAtA []byte) (int, error)
func (*DevFeeInfosPerDeployer) MarshalToSizedBuffer ¶
func (m *DevFeeInfosPerDeployer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DevFeeInfosPerDeployer) ProtoMessage ¶
func (*DevFeeInfosPerDeployer) ProtoMessage()
func (*DevFeeInfosPerDeployer) Reset ¶
func (m *DevFeeInfosPerDeployer) Reset()
func (*DevFeeInfosPerDeployer) Size ¶
func (m *DevFeeInfosPerDeployer) Size() (n int)
func (*DevFeeInfosPerDeployer) String ¶
func (m *DevFeeInfosPerDeployer) String() string
func (*DevFeeInfosPerDeployer) Unmarshal ¶
func (m *DevFeeInfosPerDeployer) Unmarshal(dAtA []byte) error
func (*DevFeeInfosPerDeployer) XXX_DiscardUnknown ¶
func (m *DevFeeInfosPerDeployer) XXX_DiscardUnknown()
func (*DevFeeInfosPerDeployer) XXX_Marshal ¶
func (m *DevFeeInfosPerDeployer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DevFeeInfosPerDeployer) XXX_Merge ¶
func (m *DevFeeInfosPerDeployer) XXX_Merge(src proto.Message)
func (*DevFeeInfosPerDeployer) XXX_Size ¶
func (m *DevFeeInfosPerDeployer) XXX_Size() int
func (*DevFeeInfosPerDeployer) XXX_Unmarshal ¶
func (m *DevFeeInfosPerDeployer) XXX_Unmarshal(b []byte) error
type EVMKeeper ¶
type EVMKeeper interface { EVMConfig(ctx sdk.Context) (*evmtypes.EVMConfig, error) GetParams(ctx sdk.Context) evmtypes.Params GetAccountWithoutBalance(ctx sdk.Context, addr common.Address) *statedb.Account }
EVMKeeper defines the expected EVM keeper interface used on erc20
type GenesisState ¶
type GenesisState struct { // module parameters Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // active registered contracts DevFeeInfos []DevFeeInfo `protobuf:"bytes,2,rep,name=dev_fee_infos,json=devFeeInfos,proto3" json:"dev_fee_infos"` }
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, feeInfos []DevFeeInfo, ) GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDevFeeInfos ¶
func (m *GenesisState) GetDevFeeInfos() []DevFeeInfo
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 MsgCancelDevFeeInfo ¶
type MsgCancelDevFeeInfo struct { // contract hex address ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // deployer bech32 address DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` }
MsgCancelDevFeeInfo defines a message that cancels a registered a DevFeeInfo
func NewMsgCancelDevFeeInfo ¶
func NewMsgCancelDevFeeInfo(contract common.Address, deployer sdk.AccAddress) *MsgCancelDevFeeInfo
NewMsgClawbackcreates new instance of MsgClawback. The dest_address may be nil - defaulting to the funder.
func (*MsgCancelDevFeeInfo) Descriptor ¶
func (*MsgCancelDevFeeInfo) Descriptor() ([]byte, []int)
func (*MsgCancelDevFeeInfo) GetContractAddress ¶
func (m *MsgCancelDevFeeInfo) GetContractAddress() string
func (*MsgCancelDevFeeInfo) GetDeployerAddress ¶
func (m *MsgCancelDevFeeInfo) GetDeployerAddress() string
func (*MsgCancelDevFeeInfo) GetSignBytes ¶
func (msg *MsgCancelDevFeeInfo) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgCancelDevFeeInfo) GetSigners ¶
func (msg MsgCancelDevFeeInfo) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCancelDevFeeInfo) Marshal ¶
func (m *MsgCancelDevFeeInfo) Marshal() (dAtA []byte, err error)
func (*MsgCancelDevFeeInfo) MarshalTo ¶
func (m *MsgCancelDevFeeInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelDevFeeInfo) MarshalToSizedBuffer ¶
func (m *MsgCancelDevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelDevFeeInfo) ProtoMessage ¶
func (*MsgCancelDevFeeInfo) ProtoMessage()
func (*MsgCancelDevFeeInfo) Reset ¶
func (m *MsgCancelDevFeeInfo) Reset()
func (MsgCancelDevFeeInfo) Route ¶
func (msg MsgCancelDevFeeInfo) Route() string
Route returns the message route for a MsgCancelDevFeeInfo.
func (*MsgCancelDevFeeInfo) Size ¶
func (m *MsgCancelDevFeeInfo) Size() (n int)
func (*MsgCancelDevFeeInfo) String ¶
func (m *MsgCancelDevFeeInfo) String() string
func (MsgCancelDevFeeInfo) Type ¶
func (msg MsgCancelDevFeeInfo) Type() string
Type returns the message type for a MsgCancelDevFeeInfo.
func (*MsgCancelDevFeeInfo) Unmarshal ¶
func (m *MsgCancelDevFeeInfo) Unmarshal(dAtA []byte) error
func (MsgCancelDevFeeInfo) ValidateBasic ¶
func (msg MsgCancelDevFeeInfo) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgCancelDevFeeInfo) XXX_DiscardUnknown ¶
func (m *MsgCancelDevFeeInfo) XXX_DiscardUnknown()
func (*MsgCancelDevFeeInfo) XXX_Marshal ¶
func (m *MsgCancelDevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelDevFeeInfo) XXX_Merge ¶
func (m *MsgCancelDevFeeInfo) XXX_Merge(src proto.Message)
func (*MsgCancelDevFeeInfo) XXX_Size ¶
func (m *MsgCancelDevFeeInfo) XXX_Size() int
func (*MsgCancelDevFeeInfo) XXX_Unmarshal ¶
func (m *MsgCancelDevFeeInfo) XXX_Unmarshal(b []byte) error
type MsgCancelDevFeeInfoResponse ¶
type MsgCancelDevFeeInfoResponse struct { }
MsgCancelDevFeeInfoResponse defines the MsgCancelDevFeeInfo response type
func (*MsgCancelDevFeeInfoResponse) Descriptor ¶
func (*MsgCancelDevFeeInfoResponse) Descriptor() ([]byte, []int)
func (*MsgCancelDevFeeInfoResponse) Marshal ¶
func (m *MsgCancelDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelDevFeeInfoResponse) MarshalTo ¶
func (m *MsgCancelDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelDevFeeInfoResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelDevFeeInfoResponse) ProtoMessage ¶
func (*MsgCancelDevFeeInfoResponse) ProtoMessage()
func (*MsgCancelDevFeeInfoResponse) Reset ¶
func (m *MsgCancelDevFeeInfoResponse) Reset()
func (*MsgCancelDevFeeInfoResponse) Size ¶
func (m *MsgCancelDevFeeInfoResponse) Size() (n int)
func (*MsgCancelDevFeeInfoResponse) String ¶
func (m *MsgCancelDevFeeInfoResponse) String() string
func (*MsgCancelDevFeeInfoResponse) Unmarshal ¶
func (m *MsgCancelDevFeeInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelDevFeeInfoResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelDevFeeInfoResponse) XXX_DiscardUnknown()
func (*MsgCancelDevFeeInfoResponse) XXX_Marshal ¶
func (m *MsgCancelDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelDevFeeInfoResponse) XXX_Merge ¶
func (m *MsgCancelDevFeeInfoResponse) XXX_Merge(src proto.Message)
func (*MsgCancelDevFeeInfoResponse) XXX_Size ¶
func (m *MsgCancelDevFeeInfoResponse) XXX_Size() int
func (*MsgCancelDevFeeInfoResponse) XXX_Unmarshal ¶
func (m *MsgCancelDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // RegisterDevFeeInfo is used by a deployer to register a new contract for // receiving transaction fees RegisterDevFeeInfo(ctx context.Context, in *MsgRegisterDevFeeInfo, opts ...grpc.CallOption) (*MsgRegisterDevFeeInfoResponse, error) // CancelDevFeeInfo is used by a deployer to cancel a registered contract // and stop receiving transaction fees CancelDevFeeInfo(ctx context.Context, in *MsgCancelDevFeeInfo, opts ...grpc.CallOption) (*MsgCancelDevFeeInfoResponse, error) // UpdateDevFeeInfo is used by a deployer to update the withdraw address UpdateDevFeeInfo(ctx context.Context, in *MsgUpdateDevFeeInfo, opts ...grpc.CallOption) (*MsgUpdateDevFeeInfoResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgRegisterDevFeeInfo ¶
type MsgRegisterDevFeeInfo struct { // contract hex address ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // bech32 address of message sender, must be the same as the origin EOA // sending the transaction which deploys the contract DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` // bech32 address of account receiving the transaction fees WithdrawAddress string `protobuf:"bytes,3,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"` // array of nonces from the address path, where the last nonce is // the nonce that determines the contract's address - it can be an EOA nonce // or a factory contract nonce Nonces []uint64 `protobuf:"varint,4,rep,packed,name=nonces,proto3" json:"nonces,omitempty"` }
MsgRegisterFeesContract defines a message that registers a DevFeeInfo
func NewMsgRegisterDevFeeInfo ¶
func NewMsgRegisterDevFeeInfo( contract common.Address, deployer sdk.AccAddress, withdraw sdk.AccAddress, nonces []uint64, ) *MsgRegisterDevFeeInfo
NewMsgRegisterDevFeeInfo creates new instance of MsgRegisterDevFeeInfo
func (*MsgRegisterDevFeeInfo) Descriptor ¶
func (*MsgRegisterDevFeeInfo) Descriptor() ([]byte, []int)
func (*MsgRegisterDevFeeInfo) GetContractAddress ¶
func (m *MsgRegisterDevFeeInfo) GetContractAddress() string
func (*MsgRegisterDevFeeInfo) GetDeployerAddress ¶
func (m *MsgRegisterDevFeeInfo) GetDeployerAddress() string
func (*MsgRegisterDevFeeInfo) GetNonces ¶
func (m *MsgRegisterDevFeeInfo) GetNonces() []uint64
func (*MsgRegisterDevFeeInfo) GetSignBytes ¶
func (msg *MsgRegisterDevFeeInfo) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgRegisterDevFeeInfo) GetSigners ¶
func (msg MsgRegisterDevFeeInfo) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgRegisterDevFeeInfo) GetWithdrawAddress ¶
func (m *MsgRegisterDevFeeInfo) GetWithdrawAddress() string
func (*MsgRegisterDevFeeInfo) Marshal ¶
func (m *MsgRegisterDevFeeInfo) Marshal() (dAtA []byte, err error)
func (*MsgRegisterDevFeeInfo) MarshalTo ¶
func (m *MsgRegisterDevFeeInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterDevFeeInfo) MarshalToSizedBuffer ¶
func (m *MsgRegisterDevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterDevFeeInfo) ProtoMessage ¶
func (*MsgRegisterDevFeeInfo) ProtoMessage()
func (*MsgRegisterDevFeeInfo) Reset ¶
func (m *MsgRegisterDevFeeInfo) Reset()
func (MsgRegisterDevFeeInfo) Route ¶
func (msg MsgRegisterDevFeeInfo) Route() string
Route returns the name of the module
func (*MsgRegisterDevFeeInfo) Size ¶
func (m *MsgRegisterDevFeeInfo) Size() (n int)
func (*MsgRegisterDevFeeInfo) String ¶
func (m *MsgRegisterDevFeeInfo) String() string
func (MsgRegisterDevFeeInfo) Type ¶
func (msg MsgRegisterDevFeeInfo) Type() string
Type returns the the action
func (*MsgRegisterDevFeeInfo) Unmarshal ¶
func (m *MsgRegisterDevFeeInfo) Unmarshal(dAtA []byte) error
func (MsgRegisterDevFeeInfo) ValidateBasic ¶
func (msg MsgRegisterDevFeeInfo) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRegisterDevFeeInfo) XXX_DiscardUnknown ¶
func (m *MsgRegisterDevFeeInfo) XXX_DiscardUnknown()
func (*MsgRegisterDevFeeInfo) XXX_Marshal ¶
func (m *MsgRegisterDevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterDevFeeInfo) XXX_Merge ¶
func (m *MsgRegisterDevFeeInfo) XXX_Merge(src proto.Message)
func (*MsgRegisterDevFeeInfo) XXX_Size ¶
func (m *MsgRegisterDevFeeInfo) XXX_Size() int
func (*MsgRegisterDevFeeInfo) XXX_Unmarshal ¶
func (m *MsgRegisterDevFeeInfo) XXX_Unmarshal(b []byte) error
type MsgRegisterDevFeeInfoResponse ¶
type MsgRegisterDevFeeInfoResponse struct { }
MsgRegisterDevFeeInfoResponse defines the MsgRegisterDevFeeInfo response type
func (*MsgRegisterDevFeeInfoResponse) Descriptor ¶
func (*MsgRegisterDevFeeInfoResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterDevFeeInfoResponse) Marshal ¶
func (m *MsgRegisterDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterDevFeeInfoResponse) MarshalTo ¶
func (m *MsgRegisterDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterDevFeeInfoResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterDevFeeInfoResponse) ProtoMessage ¶
func (*MsgRegisterDevFeeInfoResponse) ProtoMessage()
func (*MsgRegisterDevFeeInfoResponse) Reset ¶
func (m *MsgRegisterDevFeeInfoResponse) Reset()
func (*MsgRegisterDevFeeInfoResponse) Size ¶
func (m *MsgRegisterDevFeeInfoResponse) Size() (n int)
func (*MsgRegisterDevFeeInfoResponse) String ¶
func (m *MsgRegisterDevFeeInfoResponse) String() string
func (*MsgRegisterDevFeeInfoResponse) Unmarshal ¶
func (m *MsgRegisterDevFeeInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterDevFeeInfoResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterDevFeeInfoResponse) XXX_DiscardUnknown()
func (*MsgRegisterDevFeeInfoResponse) XXX_Marshal ¶
func (m *MsgRegisterDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterDevFeeInfoResponse) XXX_Merge ¶
func (m *MsgRegisterDevFeeInfoResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterDevFeeInfoResponse) XXX_Size ¶
func (m *MsgRegisterDevFeeInfoResponse) XXX_Size() int
func (*MsgRegisterDevFeeInfoResponse) XXX_Unmarshal ¶
func (m *MsgRegisterDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // RegisterDevFeeInfo is used by a deployer to register a new contract for // receiving transaction fees RegisterDevFeeInfo(context.Context, *MsgRegisterDevFeeInfo) (*MsgRegisterDevFeeInfoResponse, error) // CancelDevFeeInfo is used by a deployer to cancel a registered contract // and stop receiving transaction fees CancelDevFeeInfo(context.Context, *MsgCancelDevFeeInfo) (*MsgCancelDevFeeInfoResponse, error) // UpdateDevFeeInfo is used by a deployer to update the withdraw address UpdateDevFeeInfo(context.Context, *MsgUpdateDevFeeInfo) (*MsgUpdateDevFeeInfoResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateDevFeeInfo ¶
type MsgUpdateDevFeeInfo struct { // contract hex address ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` // deployer bech32 address DeployerAddress string `protobuf:"bytes,2,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` // new withdraw bech32 address for receiving the transaction fees WithdrawAddress string `protobuf:"bytes,3,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"` }
MsgUpdateDevFeeInfo defines a message that updates the withdraw address for a registered DevFeeInfo
func NewMsgUpdateDevFeeInfo ¶
func NewMsgUpdateDevFeeInfo( contract common.Address, deployer sdk.AccAddress, withdraw sdk.AccAddress, ) *MsgUpdateDevFeeInfo
NewMsgUpdateDevFeeInfo creates new instance of MsgUpdateDevFeeInfo
func (*MsgUpdateDevFeeInfo) Descriptor ¶
func (*MsgUpdateDevFeeInfo) Descriptor() ([]byte, []int)
func (*MsgUpdateDevFeeInfo) GetContractAddress ¶
func (m *MsgUpdateDevFeeInfo) GetContractAddress() string
func (*MsgUpdateDevFeeInfo) GetDeployerAddress ¶
func (m *MsgUpdateDevFeeInfo) GetDeployerAddress() string
func (*MsgUpdateDevFeeInfo) GetSignBytes ¶
func (msg *MsgUpdateDevFeeInfo) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUpdateDevFeeInfo) GetSigners ¶
func (msg MsgUpdateDevFeeInfo) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUpdateDevFeeInfo) GetWithdrawAddress ¶
func (m *MsgUpdateDevFeeInfo) GetWithdrawAddress() string
func (*MsgUpdateDevFeeInfo) Marshal ¶
func (m *MsgUpdateDevFeeInfo) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDevFeeInfo) MarshalTo ¶
func (m *MsgUpdateDevFeeInfo) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDevFeeInfo) MarshalToSizedBuffer ¶
func (m *MsgUpdateDevFeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDevFeeInfo) ProtoMessage ¶
func (*MsgUpdateDevFeeInfo) ProtoMessage()
func (*MsgUpdateDevFeeInfo) Reset ¶
func (m *MsgUpdateDevFeeInfo) Reset()
func (MsgUpdateDevFeeInfo) Route ¶
func (msg MsgUpdateDevFeeInfo) Route() string
Route returns the name of the module
func (*MsgUpdateDevFeeInfo) Size ¶
func (m *MsgUpdateDevFeeInfo) Size() (n int)
func (*MsgUpdateDevFeeInfo) String ¶
func (m *MsgUpdateDevFeeInfo) String() string
func (MsgUpdateDevFeeInfo) Type ¶
func (msg MsgUpdateDevFeeInfo) Type() string
Type returns the the action
func (*MsgUpdateDevFeeInfo) Unmarshal ¶
func (m *MsgUpdateDevFeeInfo) Unmarshal(dAtA []byte) error
func (MsgUpdateDevFeeInfo) ValidateBasic ¶
func (msg MsgUpdateDevFeeInfo) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUpdateDevFeeInfo) XXX_DiscardUnknown ¶
func (m *MsgUpdateDevFeeInfo) XXX_DiscardUnknown()
func (*MsgUpdateDevFeeInfo) XXX_Marshal ¶
func (m *MsgUpdateDevFeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDevFeeInfo) XXX_Merge ¶
func (m *MsgUpdateDevFeeInfo) XXX_Merge(src proto.Message)
func (*MsgUpdateDevFeeInfo) XXX_Size ¶
func (m *MsgUpdateDevFeeInfo) XXX_Size() int
func (*MsgUpdateDevFeeInfo) XXX_Unmarshal ¶
func (m *MsgUpdateDevFeeInfo) XXX_Unmarshal(b []byte) error
type MsgUpdateDevFeeInfoResponse ¶
type MsgUpdateDevFeeInfoResponse struct { }
MsgUpdateDevFeeInfoResponse defines the MsgUpdateDevFeeInfo response type
func (*MsgUpdateDevFeeInfoResponse) Descriptor ¶
func (*MsgUpdateDevFeeInfoResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateDevFeeInfoResponse) Marshal ¶
func (m *MsgUpdateDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDevFeeInfoResponse) MarshalTo ¶
func (m *MsgUpdateDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDevFeeInfoResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDevFeeInfoResponse) ProtoMessage ¶
func (*MsgUpdateDevFeeInfoResponse) ProtoMessage()
func (*MsgUpdateDevFeeInfoResponse) Reset ¶
func (m *MsgUpdateDevFeeInfoResponse) Reset()
func (*MsgUpdateDevFeeInfoResponse) Size ¶
func (m *MsgUpdateDevFeeInfoResponse) Size() (n int)
func (*MsgUpdateDevFeeInfoResponse) String ¶
func (m *MsgUpdateDevFeeInfoResponse) String() string
func (*MsgUpdateDevFeeInfoResponse) Unmarshal ¶
func (m *MsgUpdateDevFeeInfoResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateDevFeeInfoResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateDevFeeInfoResponse) XXX_DiscardUnknown()
func (*MsgUpdateDevFeeInfoResponse) XXX_Marshal ¶
func (m *MsgUpdateDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDevFeeInfoResponse) XXX_Merge ¶
func (m *MsgUpdateDevFeeInfoResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateDevFeeInfoResponse) XXX_Size ¶
func (m *MsgUpdateDevFeeInfoResponse) XXX_Size() int
func (*MsgUpdateDevFeeInfoResponse) XXX_Unmarshal ¶
func (m *MsgUpdateDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // parameter to enable fees EnableFees bool `protobuf:"varint,1,opt,name=enable_fees,json=enableFees,proto3" json:"enable_fees,omitempty"` // distributed to the registered contract owner DeveloperShares github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ // distributed to validators ValidatorShares github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ // parameter to configure the cost of address derivation AddrDerivationCostCreate uint64 `` /* 138-byte string literal not displayed */ }
Params defines the fees module params
func DefaultParams ¶
func DefaultParams() Params
func NewParams ¶
func NewParams( enableFees bool, developerShares, validatorShares sdk.Dec, addrDerivationCostCreate uint64, ) Params
NewParams creates a new Params object
func (*Params) Descriptor ¶
func (*Params) GetAddrDerivationCostCreate ¶
func (*Params) GetEnableFees ¶
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 { // DevFeeInfos retrieves all registered contracts for fee distribution DevFeeInfos(ctx context.Context, in *QueryDevFeeInfosRequest, opts ...grpc.CallOption) (*QueryDevFeeInfosResponse, error) // DevFeeInfo retrieves a registered contract for fee distribution DevFeeInfo(ctx context.Context, in *QueryDevFeeInfoRequest, opts ...grpc.CallOption) (*QueryDevFeeInfoResponse, error) // Params retrieves the fees module params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // DevFeeInfosPerDeployer retrieves all contracts that a deployer has // registered for fee distribution DevFeeInfosPerDeployer(ctx context.Context, in *QueryDevFeeInfosPerDeployerRequest, opts ...grpc.CallOption) (*QueryDevFeeInfosPerDeployerResponse, 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 QueryDevFeeInfoRequest ¶
type QueryDevFeeInfoRequest struct { // contract identifier is the hex contract address of a contract ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
QueryDevFeeInfoRequest is the request type for the Query/DevFeeInfo RPC method.
func (*QueryDevFeeInfoRequest) Descriptor ¶
func (*QueryDevFeeInfoRequest) Descriptor() ([]byte, []int)
func (*QueryDevFeeInfoRequest) GetContractAddress ¶
func (m *QueryDevFeeInfoRequest) GetContractAddress() string
func (*QueryDevFeeInfoRequest) Marshal ¶
func (m *QueryDevFeeInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryDevFeeInfoRequest) MarshalTo ¶
func (m *QueryDevFeeInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDevFeeInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryDevFeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDevFeeInfoRequest) ProtoMessage ¶
func (*QueryDevFeeInfoRequest) ProtoMessage()
func (*QueryDevFeeInfoRequest) Reset ¶
func (m *QueryDevFeeInfoRequest) Reset()
func (*QueryDevFeeInfoRequest) Size ¶
func (m *QueryDevFeeInfoRequest) Size() (n int)
func (*QueryDevFeeInfoRequest) String ¶
func (m *QueryDevFeeInfoRequest) String() string
func (*QueryDevFeeInfoRequest) Unmarshal ¶
func (m *QueryDevFeeInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryDevFeeInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryDevFeeInfoRequest) XXX_DiscardUnknown()
func (*QueryDevFeeInfoRequest) XXX_Marshal ¶
func (m *QueryDevFeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDevFeeInfoRequest) XXX_Merge ¶
func (m *QueryDevFeeInfoRequest) XXX_Merge(src proto.Message)
func (*QueryDevFeeInfoRequest) XXX_Size ¶
func (m *QueryDevFeeInfoRequest) XXX_Size() int
func (*QueryDevFeeInfoRequest) XXX_Unmarshal ¶
func (m *QueryDevFeeInfoRequest) XXX_Unmarshal(b []byte) error
type QueryDevFeeInfoResponse ¶
type QueryDevFeeInfoResponse struct {
Fee DevFeeInfo `protobuf:"bytes,1,opt,name=fee,proto3" json:"fee"`
}
QueryDevFeeInfoResponse is the response type for the Query/DevFeeInfo RPC method.
func (*QueryDevFeeInfoResponse) Descriptor ¶
func (*QueryDevFeeInfoResponse) Descriptor() ([]byte, []int)
func (*QueryDevFeeInfoResponse) GetFee ¶
func (m *QueryDevFeeInfoResponse) GetFee() DevFeeInfo
func (*QueryDevFeeInfoResponse) Marshal ¶
func (m *QueryDevFeeInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryDevFeeInfoResponse) MarshalTo ¶
func (m *QueryDevFeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDevFeeInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryDevFeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDevFeeInfoResponse) ProtoMessage ¶
func (*QueryDevFeeInfoResponse) ProtoMessage()
func (*QueryDevFeeInfoResponse) Reset ¶
func (m *QueryDevFeeInfoResponse) Reset()
func (*QueryDevFeeInfoResponse) Size ¶
func (m *QueryDevFeeInfoResponse) Size() (n int)
func (*QueryDevFeeInfoResponse) String ¶
func (m *QueryDevFeeInfoResponse) String() string
func (*QueryDevFeeInfoResponse) Unmarshal ¶
func (m *QueryDevFeeInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryDevFeeInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryDevFeeInfoResponse) XXX_DiscardUnknown()
func (*QueryDevFeeInfoResponse) XXX_Marshal ¶
func (m *QueryDevFeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDevFeeInfoResponse) XXX_Merge ¶
func (m *QueryDevFeeInfoResponse) XXX_Merge(src proto.Message)
func (*QueryDevFeeInfoResponse) XXX_Size ¶
func (m *QueryDevFeeInfoResponse) XXX_Size() int
func (*QueryDevFeeInfoResponse) XXX_Unmarshal ¶
func (m *QueryDevFeeInfoResponse) XXX_Unmarshal(b []byte) error
type QueryDevFeeInfosPerDeployerRequest ¶
type QueryDevFeeInfosPerDeployerRequest struct { // deployer bech32 address DeployerAddress string `protobuf:"bytes,1,opt,name=deployer_address,json=deployerAddress,proto3" json:"deployer_address,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDevFeeInfosPerDeployerRequest is the request type for the Query/DevFeeInfosPerDeployer RPC method.
func (*QueryDevFeeInfosPerDeployerRequest) Descriptor ¶
func (*QueryDevFeeInfosPerDeployerRequest) Descriptor() ([]byte, []int)
func (*QueryDevFeeInfosPerDeployerRequest) GetDeployerAddress ¶
func (m *QueryDevFeeInfosPerDeployerRequest) GetDeployerAddress() string
func (*QueryDevFeeInfosPerDeployerRequest) GetPagination ¶
func (m *QueryDevFeeInfosPerDeployerRequest) GetPagination() *query.PageRequest
func (*QueryDevFeeInfosPerDeployerRequest) Marshal ¶
func (m *QueryDevFeeInfosPerDeployerRequest) Marshal() (dAtA []byte, err error)
func (*QueryDevFeeInfosPerDeployerRequest) MarshalTo ¶
func (m *QueryDevFeeInfosPerDeployerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDevFeeInfosPerDeployerRequest) MarshalToSizedBuffer ¶
func (m *QueryDevFeeInfosPerDeployerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDevFeeInfosPerDeployerRequest) ProtoMessage ¶
func (*QueryDevFeeInfosPerDeployerRequest) ProtoMessage()
func (*QueryDevFeeInfosPerDeployerRequest) Reset ¶
func (m *QueryDevFeeInfosPerDeployerRequest) Reset()
func (*QueryDevFeeInfosPerDeployerRequest) Size ¶
func (m *QueryDevFeeInfosPerDeployerRequest) Size() (n int)
func (*QueryDevFeeInfosPerDeployerRequest) String ¶
func (m *QueryDevFeeInfosPerDeployerRequest) String() string
func (*QueryDevFeeInfosPerDeployerRequest) Unmarshal ¶
func (m *QueryDevFeeInfosPerDeployerRequest) Unmarshal(dAtA []byte) error
func (*QueryDevFeeInfosPerDeployerRequest) XXX_DiscardUnknown ¶
func (m *QueryDevFeeInfosPerDeployerRequest) XXX_DiscardUnknown()
func (*QueryDevFeeInfosPerDeployerRequest) XXX_Marshal ¶
func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDevFeeInfosPerDeployerRequest) XXX_Merge ¶
func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Merge(src proto.Message)
func (*QueryDevFeeInfosPerDeployerRequest) XXX_Size ¶
func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Size() int
func (*QueryDevFeeInfosPerDeployerRequest) XXX_Unmarshal ¶
func (m *QueryDevFeeInfosPerDeployerRequest) XXX_Unmarshal(b []byte) error
type QueryDevFeeInfosPerDeployerResponse ¶
type QueryDevFeeInfosPerDeployerResponse struct { Fees []DevFeeInfo `protobuf:"bytes,1,rep,name=fees,proto3" json:"fees"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDevFeeInfosPerDeployerResponse is the response type for the Query/DevFeeInfosPerDeployer RPC method.
func (*QueryDevFeeInfosPerDeployerResponse) Descriptor ¶
func (*QueryDevFeeInfosPerDeployerResponse) Descriptor() ([]byte, []int)
func (*QueryDevFeeInfosPerDeployerResponse) GetFees ¶
func (m *QueryDevFeeInfosPerDeployerResponse) GetFees() []DevFeeInfo
func (*QueryDevFeeInfosPerDeployerResponse) GetPagination ¶
func (m *QueryDevFeeInfosPerDeployerResponse) GetPagination() *query.PageResponse
func (*QueryDevFeeInfosPerDeployerResponse) Marshal ¶
func (m *QueryDevFeeInfosPerDeployerResponse) Marshal() (dAtA []byte, err error)
func (*QueryDevFeeInfosPerDeployerResponse) MarshalTo ¶
func (m *QueryDevFeeInfosPerDeployerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDevFeeInfosPerDeployerResponse) MarshalToSizedBuffer ¶
func (m *QueryDevFeeInfosPerDeployerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDevFeeInfosPerDeployerResponse) ProtoMessage ¶
func (*QueryDevFeeInfosPerDeployerResponse) ProtoMessage()
func (*QueryDevFeeInfosPerDeployerResponse) Reset ¶
func (m *QueryDevFeeInfosPerDeployerResponse) Reset()
func (*QueryDevFeeInfosPerDeployerResponse) Size ¶
func (m *QueryDevFeeInfosPerDeployerResponse) Size() (n int)
func (*QueryDevFeeInfosPerDeployerResponse) String ¶
func (m *QueryDevFeeInfosPerDeployerResponse) String() string
func (*QueryDevFeeInfosPerDeployerResponse) Unmarshal ¶
func (m *QueryDevFeeInfosPerDeployerResponse) Unmarshal(dAtA []byte) error
func (*QueryDevFeeInfosPerDeployerResponse) XXX_DiscardUnknown ¶
func (m *QueryDevFeeInfosPerDeployerResponse) XXX_DiscardUnknown()
func (*QueryDevFeeInfosPerDeployerResponse) XXX_Marshal ¶
func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDevFeeInfosPerDeployerResponse) XXX_Merge ¶
func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Merge(src proto.Message)
func (*QueryDevFeeInfosPerDeployerResponse) XXX_Size ¶
func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Size() int
func (*QueryDevFeeInfosPerDeployerResponse) XXX_Unmarshal ¶
func (m *QueryDevFeeInfosPerDeployerResponse) XXX_Unmarshal(b []byte) error
type QueryDevFeeInfosRequest ¶
type QueryDevFeeInfosRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDevFeeInfosRequest is the request type for the Query/DevFeeInfos RPC method.
func (*QueryDevFeeInfosRequest) Descriptor ¶
func (*QueryDevFeeInfosRequest) Descriptor() ([]byte, []int)
func (*QueryDevFeeInfosRequest) GetPagination ¶
func (m *QueryDevFeeInfosRequest) GetPagination() *query.PageRequest
func (*QueryDevFeeInfosRequest) Marshal ¶
func (m *QueryDevFeeInfosRequest) Marshal() (dAtA []byte, err error)
func (*QueryDevFeeInfosRequest) MarshalTo ¶
func (m *QueryDevFeeInfosRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDevFeeInfosRequest) MarshalToSizedBuffer ¶
func (m *QueryDevFeeInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDevFeeInfosRequest) ProtoMessage ¶
func (*QueryDevFeeInfosRequest) ProtoMessage()
func (*QueryDevFeeInfosRequest) Reset ¶
func (m *QueryDevFeeInfosRequest) Reset()
func (*QueryDevFeeInfosRequest) Size ¶
func (m *QueryDevFeeInfosRequest) Size() (n int)
func (*QueryDevFeeInfosRequest) String ¶
func (m *QueryDevFeeInfosRequest) String() string
func (*QueryDevFeeInfosRequest) Unmarshal ¶
func (m *QueryDevFeeInfosRequest) Unmarshal(dAtA []byte) error
func (*QueryDevFeeInfosRequest) XXX_DiscardUnknown ¶
func (m *QueryDevFeeInfosRequest) XXX_DiscardUnknown()
func (*QueryDevFeeInfosRequest) XXX_Marshal ¶
func (m *QueryDevFeeInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDevFeeInfosRequest) XXX_Merge ¶
func (m *QueryDevFeeInfosRequest) XXX_Merge(src proto.Message)
func (*QueryDevFeeInfosRequest) XXX_Size ¶
func (m *QueryDevFeeInfosRequest) XXX_Size() int
func (*QueryDevFeeInfosRequest) XXX_Unmarshal ¶
func (m *QueryDevFeeInfosRequest) XXX_Unmarshal(b []byte) error
type QueryDevFeeInfosResponse ¶
type QueryDevFeeInfosResponse struct { Fees []DevFeeInfo `protobuf:"bytes,1,rep,name=fees,proto3" json:"fees"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDevFeeInfosResponse is the response type for the Query/DevFeeInfos RPC method.
func (*QueryDevFeeInfosResponse) Descriptor ¶
func (*QueryDevFeeInfosResponse) Descriptor() ([]byte, []int)
func (*QueryDevFeeInfosResponse) GetFees ¶
func (m *QueryDevFeeInfosResponse) GetFees() []DevFeeInfo
func (*QueryDevFeeInfosResponse) GetPagination ¶
func (m *QueryDevFeeInfosResponse) GetPagination() *query.PageResponse
func (*QueryDevFeeInfosResponse) Marshal ¶
func (m *QueryDevFeeInfosResponse) Marshal() (dAtA []byte, err error)
func (*QueryDevFeeInfosResponse) MarshalTo ¶
func (m *QueryDevFeeInfosResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDevFeeInfosResponse) MarshalToSizedBuffer ¶
func (m *QueryDevFeeInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDevFeeInfosResponse) ProtoMessage ¶
func (*QueryDevFeeInfosResponse) ProtoMessage()
func (*QueryDevFeeInfosResponse) Reset ¶
func (m *QueryDevFeeInfosResponse) Reset()
func (*QueryDevFeeInfosResponse) Size ¶
func (m *QueryDevFeeInfosResponse) Size() (n int)
func (*QueryDevFeeInfosResponse) String ¶
func (m *QueryDevFeeInfosResponse) String() string
func (*QueryDevFeeInfosResponse) Unmarshal ¶
func (m *QueryDevFeeInfosResponse) Unmarshal(dAtA []byte) error
func (*QueryDevFeeInfosResponse) XXX_DiscardUnknown ¶
func (m *QueryDevFeeInfosResponse) XXX_DiscardUnknown()
func (*QueryDevFeeInfosResponse) XXX_Marshal ¶
func (m *QueryDevFeeInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDevFeeInfosResponse) XXX_Merge ¶
func (m *QueryDevFeeInfosResponse) XXX_Merge(src proto.Message)
func (*QueryDevFeeInfosResponse) XXX_Size ¶
func (m *QueryDevFeeInfosResponse) XXX_Size() int
func (*QueryDevFeeInfosResponse) XXX_Unmarshal ¶
func (m *QueryDevFeeInfosResponse) 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 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 { // DevFeeInfos retrieves all registered contracts for fee distribution DevFeeInfos(context.Context, *QueryDevFeeInfosRequest) (*QueryDevFeeInfosResponse, error) // DevFeeInfo retrieves a registered contract for fee distribution DevFeeInfo(context.Context, *QueryDevFeeInfoRequest) (*QueryDevFeeInfoResponse, error) // Params retrieves the fees module params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // DevFeeInfosPerDeployer retrieves all contracts that a deployer has // registered for fee distribution DevFeeInfosPerDeployer(context.Context, *QueryDevFeeInfosPerDeployerRequest) (*QueryDevFeeInfosPerDeployerResponse, 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) CancelDevFeeInfo ¶
func (*UnimplementedMsgServer) CancelDevFeeInfo(ctx context.Context, req *MsgCancelDevFeeInfo) (*MsgCancelDevFeeInfoResponse, error)
func (*UnimplementedMsgServer) RegisterDevFeeInfo ¶
func (*UnimplementedMsgServer) RegisterDevFeeInfo(ctx context.Context, req *MsgRegisterDevFeeInfo) (*MsgRegisterDevFeeInfoResponse, error)
func (*UnimplementedMsgServer) UpdateDevFeeInfo ¶
func (*UnimplementedMsgServer) UpdateDevFeeInfo(ctx context.Context, req *MsgUpdateDevFeeInfo) (*MsgUpdateDevFeeInfoResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DevFeeInfo ¶
func (*UnimplementedQueryServer) DevFeeInfo(ctx context.Context, req *QueryDevFeeInfoRequest) (*QueryDevFeeInfoResponse, error)
func (*UnimplementedQueryServer) DevFeeInfos ¶
func (*UnimplementedQueryServer) DevFeeInfos(ctx context.Context, req *QueryDevFeeInfosRequest) (*QueryDevFeeInfosResponse, error)
func (*UnimplementedQueryServer) DevFeeInfosPerDeployer ¶
func (*UnimplementedQueryServer) DevFeeInfosPerDeployer(ctx context.Context, req *QueryDevFeeInfosPerDeployerRequest) (*QueryDevFeeInfosPerDeployerResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)