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 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 EVMKeeper
- type FeeSplit
- func (*FeeSplit) Descriptor() ([]byte, []int)
- func (fs FeeSplit) GetContractAddr() common.Address
- func (m *FeeSplit) GetContractAddress() string
- func (fs FeeSplit) GetDeployerAddr() sdk.AccAddress
- func (m *FeeSplit) GetDeployerAddress() string
- func (fs FeeSplit) GetWithdrawerAddr() sdk.AccAddress
- func (m *FeeSplit) GetWithdrawerAddress() string
- func (m *FeeSplit) Marshal() (dAtA []byte, err error)
- func (m *FeeSplit) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeSplit) ProtoMessage()
- func (m *FeeSplit) Reset()
- func (m *FeeSplit) Size() (n int)
- func (m *FeeSplit) String() string
- func (m *FeeSplit) Unmarshal(dAtA []byte) error
- func (fs FeeSplit) Validate() error
- func (m *FeeSplit) XXX_DiscardUnknown()
- func (m *FeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeSplit) XXX_Merge(src proto.Message)
- func (m *FeeSplit) XXX_Size() int
- func (m *FeeSplit) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetFeeSplits() []FeeSplit
- 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 MsgCancelFeeSplit
- func (*MsgCancelFeeSplit) Descriptor() ([]byte, []int)
- func (m *MsgCancelFeeSplit) GetContractAddress() string
- func (m *MsgCancelFeeSplit) GetDeployerAddress() string
- func (msg *MsgCancelFeeSplit) GetSignBytes() []byte
- func (msg MsgCancelFeeSplit) GetSigners() []sdk.AccAddress
- func (m *MsgCancelFeeSplit) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelFeeSplit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelFeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelFeeSplit) ProtoMessage()
- func (m *MsgCancelFeeSplit) Reset()
- func (msg MsgCancelFeeSplit) Route() string
- func (m *MsgCancelFeeSplit) Size() (n int)
- func (m *MsgCancelFeeSplit) String() string
- func (msg MsgCancelFeeSplit) Type() string
- func (m *MsgCancelFeeSplit) Unmarshal(dAtA []byte) error
- func (msg MsgCancelFeeSplit) ValidateBasic() error
- func (m *MsgCancelFeeSplit) XXX_DiscardUnknown()
- func (m *MsgCancelFeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelFeeSplit) XXX_Merge(src proto.Message)
- func (m *MsgCancelFeeSplit) XXX_Size() int
- func (m *MsgCancelFeeSplit) XXX_Unmarshal(b []byte) error
- type MsgCancelFeeSplitResponse
- func (*MsgCancelFeeSplitResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelFeeSplitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelFeeSplitResponse) ProtoMessage()
- func (m *MsgCancelFeeSplitResponse) Reset()
- func (m *MsgCancelFeeSplitResponse) Size() (n int)
- func (m *MsgCancelFeeSplitResponse) String() string
- func (m *MsgCancelFeeSplitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelFeeSplitResponse) XXX_DiscardUnknown()
- func (m *MsgCancelFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelFeeSplitResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelFeeSplitResponse) XXX_Size() int
- func (m *MsgCancelFeeSplitResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRegisterFeeSplit
- func (*MsgRegisterFeeSplit) Descriptor() ([]byte, []int)
- func (m *MsgRegisterFeeSplit) GetContractAddress() string
- func (m *MsgRegisterFeeSplit) GetDeployerAddress() string
- func (m *MsgRegisterFeeSplit) GetNonces() []uint64
- func (msg *MsgRegisterFeeSplit) GetSignBytes() []byte
- func (msg MsgRegisterFeeSplit) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterFeeSplit) GetWithdrawerAddress() string
- func (m *MsgRegisterFeeSplit) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterFeeSplit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterFeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterFeeSplit) ProtoMessage()
- func (m *MsgRegisterFeeSplit) Reset()
- func (msg MsgRegisterFeeSplit) Route() string
- func (m *MsgRegisterFeeSplit) Size() (n int)
- func (m *MsgRegisterFeeSplit) String() string
- func (msg MsgRegisterFeeSplit) Type() string
- func (m *MsgRegisterFeeSplit) Unmarshal(dAtA []byte) error
- func (msg MsgRegisterFeeSplit) ValidateBasic() error
- func (m *MsgRegisterFeeSplit) XXX_DiscardUnknown()
- func (m *MsgRegisterFeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterFeeSplit) XXX_Merge(src proto.Message)
- func (m *MsgRegisterFeeSplit) XXX_Size() int
- func (m *MsgRegisterFeeSplit) XXX_Unmarshal(b []byte) error
- type MsgRegisterFeeSplitResponse
- func (*MsgRegisterFeeSplitResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterFeeSplitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterFeeSplitResponse) ProtoMessage()
- func (m *MsgRegisterFeeSplitResponse) Reset()
- func (m *MsgRegisterFeeSplitResponse) Size() (n int)
- func (m *MsgRegisterFeeSplitResponse) String() string
- func (m *MsgRegisterFeeSplitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterFeeSplitResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterFeeSplitResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterFeeSplitResponse) XXX_Size() int
- func (m *MsgRegisterFeeSplitResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateFeeSplit
- func (*MsgUpdateFeeSplit) Descriptor() ([]byte, []int)
- func (m *MsgUpdateFeeSplit) GetContractAddress() string
- func (m *MsgUpdateFeeSplit) GetDeployerAddress() string
- func (msg *MsgUpdateFeeSplit) GetSignBytes() []byte
- func (msg MsgUpdateFeeSplit) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateFeeSplit) GetWithdrawerAddress() string
- func (m *MsgUpdateFeeSplit) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateFeeSplit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateFeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateFeeSplit) ProtoMessage()
- func (m *MsgUpdateFeeSplit) Reset()
- func (msg MsgUpdateFeeSplit) Route() string
- func (m *MsgUpdateFeeSplit) Size() (n int)
- func (m *MsgUpdateFeeSplit) String() string
- func (msg MsgUpdateFeeSplit) Type() string
- func (m *MsgUpdateFeeSplit) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateFeeSplit) ValidateBasic() error
- func (m *MsgUpdateFeeSplit) XXX_DiscardUnknown()
- func (m *MsgUpdateFeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateFeeSplit) XXX_Merge(src proto.Message)
- func (m *MsgUpdateFeeSplit) XXX_Size() int
- func (m *MsgUpdateFeeSplit) XXX_Unmarshal(b []byte) error
- type MsgUpdateFeeSplitResponse
- func (*MsgUpdateFeeSplitResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateFeeSplitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateFeeSplitResponse) ProtoMessage()
- func (m *MsgUpdateFeeSplitResponse) Reset()
- func (m *MsgUpdateFeeSplitResponse) Size() (n int)
- func (m *MsgUpdateFeeSplitResponse) String() string
- func (m *MsgUpdateFeeSplitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateFeeSplitResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateFeeSplitResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateFeeSplitResponse) XXX_Size() int
- func (m *MsgUpdateFeeSplitResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAddrDerivationCostCreate() uint64
- func (m *Params) GetEnableFeeSplit() 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 QueryDeployerFeeSplitsRequest
- func (*QueryDeployerFeeSplitsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDeployerFeeSplitsRequest) GetDeployerAddress() string
- func (m *QueryDeployerFeeSplitsRequest) GetPagination() *query.PageRequest
- func (m *QueryDeployerFeeSplitsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDeployerFeeSplitsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeployerFeeSplitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeployerFeeSplitsRequest) ProtoMessage()
- func (m *QueryDeployerFeeSplitsRequest) Reset()
- func (m *QueryDeployerFeeSplitsRequest) Size() (n int)
- func (m *QueryDeployerFeeSplitsRequest) String() string
- func (m *QueryDeployerFeeSplitsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDeployerFeeSplitsRequest) XXX_DiscardUnknown()
- func (m *QueryDeployerFeeSplitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeployerFeeSplitsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDeployerFeeSplitsRequest) XXX_Size() int
- func (m *QueryDeployerFeeSplitsRequest) XXX_Unmarshal(b []byte) error
- type QueryDeployerFeeSplitsResponse
- func (*QueryDeployerFeeSplitsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDeployerFeeSplitsResponse) GetContractAddresses() []string
- func (m *QueryDeployerFeeSplitsResponse) GetPagination() *query.PageResponse
- func (m *QueryDeployerFeeSplitsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDeployerFeeSplitsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDeployerFeeSplitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDeployerFeeSplitsResponse) ProtoMessage()
- func (m *QueryDeployerFeeSplitsResponse) Reset()
- func (m *QueryDeployerFeeSplitsResponse) Size() (n int)
- func (m *QueryDeployerFeeSplitsResponse) String() string
- func (m *QueryDeployerFeeSplitsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDeployerFeeSplitsResponse) XXX_DiscardUnknown()
- func (m *QueryDeployerFeeSplitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDeployerFeeSplitsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDeployerFeeSplitsResponse) XXX_Size() int
- func (m *QueryDeployerFeeSplitsResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeSplitRequest
- func (*QueryFeeSplitRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeSplitRequest) GetContractAddress() string
- func (m *QueryFeeSplitRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSplitRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSplitRequest) ProtoMessage()
- func (m *QueryFeeSplitRequest) Reset()
- func (m *QueryFeeSplitRequest) Size() (n int)
- func (m *QueryFeeSplitRequest) String() string
- func (m *QueryFeeSplitRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeeSplitRequest) XXX_DiscardUnknown()
- func (m *QueryFeeSplitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSplitRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeSplitRequest) XXX_Size() int
- func (m *QueryFeeSplitRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeSplitResponse
- func (*QueryFeeSplitResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeSplitResponse) GetFeeSplit() FeeSplit
- func (m *QueryFeeSplitResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSplitResponse) ProtoMessage()
- func (m *QueryFeeSplitResponse) Reset()
- func (m *QueryFeeSplitResponse) Size() (n int)
- func (m *QueryFeeSplitResponse) String() string
- func (m *QueryFeeSplitResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeSplitResponse) XXX_DiscardUnknown()
- func (m *QueryFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSplitResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeSplitResponse) XXX_Size() int
- func (m *QueryFeeSplitResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeSplitsRequest
- func (*QueryFeeSplitsRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeSplitsRequest) GetPagination() *query.PageRequest
- func (m *QueryFeeSplitsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSplitsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSplitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSplitsRequest) ProtoMessage()
- func (m *QueryFeeSplitsRequest) Reset()
- func (m *QueryFeeSplitsRequest) Size() (n int)
- func (m *QueryFeeSplitsRequest) String() string
- func (m *QueryFeeSplitsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeeSplitsRequest) XXX_DiscardUnknown()
- func (m *QueryFeeSplitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSplitsRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeSplitsRequest) XXX_Size() int
- func (m *QueryFeeSplitsRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeSplitsResponse
- func (*QueryFeeSplitsResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeSplitsResponse) GetFeeSplits() []FeeSplit
- func (m *QueryFeeSplitsResponse) GetPagination() *query.PageResponse
- func (m *QueryFeeSplitsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeSplitsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeSplitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeSplitsResponse) ProtoMessage()
- func (m *QueryFeeSplitsResponse) Reset()
- func (m *QueryFeeSplitsResponse) Size() (n int)
- func (m *QueryFeeSplitsResponse) String() string
- func (m *QueryFeeSplitsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeSplitsResponse) XXX_DiscardUnknown()
- func (m *QueryFeeSplitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeSplitsResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeSplitsResponse) XXX_Size() int
- func (m *QueryFeeSplitsResponse) 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 QueryWithdrawerFeeSplitsRequest
- func (*QueryWithdrawerFeeSplitsRequest) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawerFeeSplitsRequest) GetPagination() *query.PageRequest
- func (m *QueryWithdrawerFeeSplitsRequest) GetWithdrawerAddress() string
- func (m *QueryWithdrawerFeeSplitsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawerFeeSplitsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawerFeeSplitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawerFeeSplitsRequest) ProtoMessage()
- func (m *QueryWithdrawerFeeSplitsRequest) Reset()
- func (m *QueryWithdrawerFeeSplitsRequest) Size() (n int)
- func (m *QueryWithdrawerFeeSplitsRequest) String() string
- func (m *QueryWithdrawerFeeSplitsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWithdrawerFeeSplitsRequest) XXX_DiscardUnknown()
- func (m *QueryWithdrawerFeeSplitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawerFeeSplitsRequest) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawerFeeSplitsRequest) XXX_Size() int
- func (m *QueryWithdrawerFeeSplitsRequest) XXX_Unmarshal(b []byte) error
- type QueryWithdrawerFeeSplitsResponse
- func (*QueryWithdrawerFeeSplitsResponse) Descriptor() ([]byte, []int)
- func (m *QueryWithdrawerFeeSplitsResponse) GetContractAddresses() []string
- func (m *QueryWithdrawerFeeSplitsResponse) GetPagination() *query.PageResponse
- func (m *QueryWithdrawerFeeSplitsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWithdrawerFeeSplitsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWithdrawerFeeSplitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWithdrawerFeeSplitsResponse) ProtoMessage()
- func (m *QueryWithdrawerFeeSplitsResponse) Reset()
- func (m *QueryWithdrawerFeeSplitsResponse) Size() (n int)
- func (m *QueryWithdrawerFeeSplitsResponse) String() string
- func (m *QueryWithdrawerFeeSplitsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWithdrawerFeeSplitsResponse) XXX_DiscardUnknown()
- func (m *QueryWithdrawerFeeSplitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWithdrawerFeeSplitsResponse) XXX_Merge(src proto.Message)
- func (m *QueryWithdrawerFeeSplitsResponse) XXX_Size() int
- func (m *QueryWithdrawerFeeSplitsResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelFeeSplit(ctx context.Context, req *MsgCancelFeeSplit) (*MsgCancelFeeSplitResponse, error)
- func (*UnimplementedMsgServer) RegisterFeeSplit(ctx context.Context, req *MsgRegisterFeeSplit) (*MsgRegisterFeeSplitResponse, error)
- func (*UnimplementedMsgServer) UpdateFeeSplit(ctx context.Context, req *MsgUpdateFeeSplit) (*MsgUpdateFeeSplitResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DeployerFeeSplits(ctx context.Context, req *QueryDeployerFeeSplitsRequest) (*QueryDeployerFeeSplitsResponse, error)
- func (*UnimplementedQueryServer) FeeSplit(ctx context.Context, req *QueryFeeSplitRequest) (*QueryFeeSplitResponse, error)
- func (*UnimplementedQueryServer) FeeSplits(ctx context.Context, req *QueryFeeSplitsRequest) (*QueryFeeSplitsResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) WithdrawerFeeSplits(ctx context.Context, req *QueryWithdrawerFeeSplitsRequest) (*QueryWithdrawerFeeSplitsResponse, error)
Constants ¶
const ( EventTypeRegisterFeeSplit = "register_fee_split" EventTypeCancelFeeSplit = "cancel_fee_split" EventTypeUpdateFeeSplit = "update_fee_split" EventTypeDistributeDevFeeSplit = "distribute_dev_fee_split" AttributeKeyContract = "contract" AttributeKeyWithdrawerAddress = "withdrawer_address" )
feesplit events
const ( // module name ModuleName = "feesplit" // StoreKey to be used when creating the KVStore StoreKey = ModuleName // RouterKey to be used for message routing RouterKey = ModuleName )
constants
const ( TypeMsgRegisterFeeSplit = "register_fee_split" TypeMsgCancelFeeSplit = "cancel_fee_split" TypeMsgUpdateFeeSplit = "update_fee_split" )
Variables ¶
var ( ErrInternalFeeSplit = sdkerrors.Register(ModuleName, 2, "internal feesplit error") ErrFeeSplitDisabled = sdkerrors.Register(ModuleName, 3, "feesplit module is disabled by governance") ErrFeeSplitAlreadyRegistered = sdkerrors.Register(ModuleName, 4, "feesplit already exists for given contract") ErrFeeSplitNoContractDeployed = sdkerrors.Register(ModuleName, 5, "no contract deployed") ErrFeeSplitContractNotRegistered = sdkerrors.Register(ModuleName, 6, "no feesplit registered for contract") ErrFeeSplitDeployerIsNotEOA = sdkerrors.Register(ModuleName, 7, "no feesplit registered for contract") )
errors
var ( ErrInvalidLengthFeesplit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFeesplit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFeesplit = 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 ( KeyPrefixFeeSplit = []byte{prefixFeeSplit} KeyPrefixDeployer = []byte{prefixDeployer} KeyPrefixWithdrawer = []byte{prefixWithdrawer} )
KVStore key prefixes
var ( DefaultEnableFeeSplit = true // Cost for executing `crypto.CreateAddress` must be at least 36 gas for the // contained keccak256(word) operation DefaultAddrDerivationCostCreate = uint64(50) ParamStoreKeyEnableFeeSplit = []byte("EnableFeeSplit") 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 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 GetKeyPrefixDeployer ¶
func GetKeyPrefixDeployer(deployerAddress sdk.AccAddress) []byte
GetKeyPrefixDeployer returns the KVStore key prefix for storing registered fee split contract for a deployer
func GetKeyPrefixWithdrawer ¶
func GetKeyPrefixWithdrawer(withdrawerAddress sdk.AccAddress) []byte
GetKeyPrefixWithdrawer returns the KVStore key prefix for storing registered fee split 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 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 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 FeeSplit ¶
type FeeSplit 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 WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` }
FeeSplit defines an instance that organizes fee distribution conditions for the owner of a given smart contract
func NewFeeSplit ¶
func NewFeeSplit(contract common.Address, deployer, withdrawer sdk.AccAddress) FeeSplit
NewFeeSplit returns an instance of FeeSplit. If the provided withdrawer address is empty, it sets the value to an empty string.
func (*FeeSplit) Descriptor ¶
func (FeeSplit) GetContractAddr ¶
GetContractAddr returns the contract address
func (*FeeSplit) GetContractAddress ¶
func (FeeSplit) GetDeployerAddr ¶
func (fs FeeSplit) GetDeployerAddr() sdk.AccAddress
GetDeployerAddr returns the contract deployer address
func (*FeeSplit) GetDeployerAddress ¶
func (FeeSplit) GetWithdrawerAddr ¶
func (fs FeeSplit) GetWithdrawerAddr() sdk.AccAddress
GetWithdrawerAddr returns the account address to where the funds proceeding from the fees will be received. If the withdraw address is not defined, it defaults to the deployer address.
func (*FeeSplit) GetWithdrawerAddress ¶
func (*FeeSplit) MarshalToSizedBuffer ¶
func (*FeeSplit) ProtoMessage ¶
func (*FeeSplit) ProtoMessage()
func (*FeeSplit) XXX_DiscardUnknown ¶
func (m *FeeSplit) XXX_DiscardUnknown()
func (*FeeSplit) XXX_Marshal ¶
func (*FeeSplit) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { // module parameters Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // active registered contracts for fee distribution FeeSplits []FeeSplit `protobuf:"bytes,2,rep,name=fee_splits,json=feeSplits,proto3" json:"fee_splits"` }
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, feeSplits []FeeSplit) GenesisState
NewGenesisState creates a new genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetFeeSplits ¶
func (m *GenesisState) GetFeeSplits() []FeeSplit
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 MsgCancelFeeSplit ¶
type MsgCancelFeeSplit 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"` }
MsgCancelFeeSplit defines a message that cancels a registered FeeSplit
func NewMsgCancelFeeSplit ¶
func NewMsgCancelFeeSplit( contract common.Address, deployer sdk.AccAddress, ) *MsgCancelFeeSplit
NewMsgCancelFeeSplit creates new instance of MsgCancelFeeSplit.
func (*MsgCancelFeeSplit) Descriptor ¶
func (*MsgCancelFeeSplit) Descriptor() ([]byte, []int)
func (*MsgCancelFeeSplit) GetContractAddress ¶
func (m *MsgCancelFeeSplit) GetContractAddress() string
func (*MsgCancelFeeSplit) GetDeployerAddress ¶
func (m *MsgCancelFeeSplit) GetDeployerAddress() string
func (*MsgCancelFeeSplit) GetSignBytes ¶
func (msg *MsgCancelFeeSplit) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgCancelFeeSplit) GetSigners ¶
func (msg MsgCancelFeeSplit) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgCancelFeeSplit) Marshal ¶
func (m *MsgCancelFeeSplit) Marshal() (dAtA []byte, err error)
func (*MsgCancelFeeSplit) MarshalTo ¶
func (m *MsgCancelFeeSplit) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelFeeSplit) MarshalToSizedBuffer ¶
func (m *MsgCancelFeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelFeeSplit) ProtoMessage ¶
func (*MsgCancelFeeSplit) ProtoMessage()
func (*MsgCancelFeeSplit) Reset ¶
func (m *MsgCancelFeeSplit) Reset()
func (MsgCancelFeeSplit) Route ¶
func (msg MsgCancelFeeSplit) Route() string
Route returns the message route for a MsgCancelFeeSplit.
func (*MsgCancelFeeSplit) Size ¶
func (m *MsgCancelFeeSplit) Size() (n int)
func (*MsgCancelFeeSplit) String ¶
func (m *MsgCancelFeeSplit) String() string
func (MsgCancelFeeSplit) Type ¶
func (msg MsgCancelFeeSplit) Type() string
Type returns the message type for a MsgCancelFeeSplit.
func (*MsgCancelFeeSplit) Unmarshal ¶
func (m *MsgCancelFeeSplit) Unmarshal(dAtA []byte) error
func (MsgCancelFeeSplit) ValidateBasic ¶
func (msg MsgCancelFeeSplit) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgCancelFeeSplit) XXX_DiscardUnknown ¶
func (m *MsgCancelFeeSplit) XXX_DiscardUnknown()
func (*MsgCancelFeeSplit) XXX_Marshal ¶
func (m *MsgCancelFeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelFeeSplit) XXX_Merge ¶
func (m *MsgCancelFeeSplit) XXX_Merge(src proto.Message)
func (*MsgCancelFeeSplit) XXX_Size ¶
func (m *MsgCancelFeeSplit) XXX_Size() int
func (*MsgCancelFeeSplit) XXX_Unmarshal ¶
func (m *MsgCancelFeeSplit) XXX_Unmarshal(b []byte) error
type MsgCancelFeeSplitResponse ¶
type MsgCancelFeeSplitResponse struct { }
MsgCancelFeeSplitResponse defines the MsgCancelFeeSplit response type
func (*MsgCancelFeeSplitResponse) Descriptor ¶
func (*MsgCancelFeeSplitResponse) Descriptor() ([]byte, []int)
func (*MsgCancelFeeSplitResponse) Marshal ¶
func (m *MsgCancelFeeSplitResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelFeeSplitResponse) MarshalTo ¶
func (m *MsgCancelFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelFeeSplitResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelFeeSplitResponse) ProtoMessage ¶
func (*MsgCancelFeeSplitResponse) ProtoMessage()
func (*MsgCancelFeeSplitResponse) Reset ¶
func (m *MsgCancelFeeSplitResponse) Reset()
func (*MsgCancelFeeSplitResponse) Size ¶
func (m *MsgCancelFeeSplitResponse) Size() (n int)
func (*MsgCancelFeeSplitResponse) String ¶
func (m *MsgCancelFeeSplitResponse) String() string
func (*MsgCancelFeeSplitResponse) Unmarshal ¶
func (m *MsgCancelFeeSplitResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelFeeSplitResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelFeeSplitResponse) XXX_DiscardUnknown()
func (*MsgCancelFeeSplitResponse) XXX_Marshal ¶
func (m *MsgCancelFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelFeeSplitResponse) XXX_Merge ¶
func (m *MsgCancelFeeSplitResponse) XXX_Merge(src proto.Message)
func (*MsgCancelFeeSplitResponse) XXX_Size ¶
func (m *MsgCancelFeeSplitResponse) XXX_Size() int
func (*MsgCancelFeeSplitResponse) XXX_Unmarshal ¶
func (m *MsgCancelFeeSplitResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // RegisterFeeSplit registers a new contract for receiving transaction fees RegisterFeeSplit(ctx context.Context, in *MsgRegisterFeeSplit, opts ...grpc.CallOption) (*MsgRegisterFeeSplitResponse, error) // UpdateFeeSplit updates the withdrawer address of a fee split UpdateFeeSplit(ctx context.Context, in *MsgUpdateFeeSplit, opts ...grpc.CallOption) (*MsgUpdateFeeSplitResponse, error) // CancelFeeSplit cancels a contract's fee registration and further receival // of transaction fees CancelFeeSplit(ctx context.Context, in *MsgCancelFeeSplit, opts ...grpc.CallOption) (*MsgCancelFeeSplitResponse, 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 MsgRegisterFeeSplit ¶
type MsgRegisterFeeSplit 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 WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_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"` }
MsgRegisterFeeSplit defines a message that registers a FeeSplit
func NewMsgRegisterFeeSplit ¶
func NewMsgRegisterFeeSplit( contract common.Address, deployer, withdrawer sdk.AccAddress, nonces []uint64, ) *MsgRegisterFeeSplit
NewMsgRegisterFeeSplit creates new instance of MsgRegisterFeeSplit
func (*MsgRegisterFeeSplit) Descriptor ¶
func (*MsgRegisterFeeSplit) Descriptor() ([]byte, []int)
func (*MsgRegisterFeeSplit) GetContractAddress ¶
func (m *MsgRegisterFeeSplit) GetContractAddress() string
func (*MsgRegisterFeeSplit) GetDeployerAddress ¶
func (m *MsgRegisterFeeSplit) GetDeployerAddress() string
func (*MsgRegisterFeeSplit) GetNonces ¶
func (m *MsgRegisterFeeSplit) GetNonces() []uint64
func (*MsgRegisterFeeSplit) GetSignBytes ¶
func (msg *MsgRegisterFeeSplit) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgRegisterFeeSplit) GetSigners ¶
func (msg MsgRegisterFeeSplit) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgRegisterFeeSplit) GetWithdrawerAddress ¶
func (m *MsgRegisterFeeSplit) GetWithdrawerAddress() string
func (*MsgRegisterFeeSplit) Marshal ¶
func (m *MsgRegisterFeeSplit) Marshal() (dAtA []byte, err error)
func (*MsgRegisterFeeSplit) MarshalTo ¶
func (m *MsgRegisterFeeSplit) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterFeeSplit) MarshalToSizedBuffer ¶
func (m *MsgRegisterFeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterFeeSplit) ProtoMessage ¶
func (*MsgRegisterFeeSplit) ProtoMessage()
func (*MsgRegisterFeeSplit) Reset ¶
func (m *MsgRegisterFeeSplit) Reset()
func (MsgRegisterFeeSplit) Route ¶
func (msg MsgRegisterFeeSplit) Route() string
Route returns the name of the module
func (*MsgRegisterFeeSplit) Size ¶
func (m *MsgRegisterFeeSplit) Size() (n int)
func (*MsgRegisterFeeSplit) String ¶
func (m *MsgRegisterFeeSplit) String() string
func (MsgRegisterFeeSplit) Type ¶
func (msg MsgRegisterFeeSplit) Type() string
Type returns the the action
func (*MsgRegisterFeeSplit) Unmarshal ¶
func (m *MsgRegisterFeeSplit) Unmarshal(dAtA []byte) error
func (MsgRegisterFeeSplit) ValidateBasic ¶
func (msg MsgRegisterFeeSplit) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgRegisterFeeSplit) XXX_DiscardUnknown ¶
func (m *MsgRegisterFeeSplit) XXX_DiscardUnknown()
func (*MsgRegisterFeeSplit) XXX_Marshal ¶
func (m *MsgRegisterFeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterFeeSplit) XXX_Merge ¶
func (m *MsgRegisterFeeSplit) XXX_Merge(src proto.Message)
func (*MsgRegisterFeeSplit) XXX_Size ¶
func (m *MsgRegisterFeeSplit) XXX_Size() int
func (*MsgRegisterFeeSplit) XXX_Unmarshal ¶
func (m *MsgRegisterFeeSplit) XXX_Unmarshal(b []byte) error
type MsgRegisterFeeSplitResponse ¶
type MsgRegisterFeeSplitResponse struct { }
MsgRegisterFeeSplitResponse defines the MsgRegisterFeeSplit response type
func (*MsgRegisterFeeSplitResponse) Descriptor ¶
func (*MsgRegisterFeeSplitResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterFeeSplitResponse) Marshal ¶
func (m *MsgRegisterFeeSplitResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterFeeSplitResponse) MarshalTo ¶
func (m *MsgRegisterFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterFeeSplitResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterFeeSplitResponse) ProtoMessage ¶
func (*MsgRegisterFeeSplitResponse) ProtoMessage()
func (*MsgRegisterFeeSplitResponse) Reset ¶
func (m *MsgRegisterFeeSplitResponse) Reset()
func (*MsgRegisterFeeSplitResponse) Size ¶
func (m *MsgRegisterFeeSplitResponse) Size() (n int)
func (*MsgRegisterFeeSplitResponse) String ¶
func (m *MsgRegisterFeeSplitResponse) String() string
func (*MsgRegisterFeeSplitResponse) Unmarshal ¶
func (m *MsgRegisterFeeSplitResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterFeeSplitResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterFeeSplitResponse) XXX_DiscardUnknown()
func (*MsgRegisterFeeSplitResponse) XXX_Marshal ¶
func (m *MsgRegisterFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterFeeSplitResponse) XXX_Merge ¶
func (m *MsgRegisterFeeSplitResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterFeeSplitResponse) XXX_Size ¶
func (m *MsgRegisterFeeSplitResponse) XXX_Size() int
func (*MsgRegisterFeeSplitResponse) XXX_Unmarshal ¶
func (m *MsgRegisterFeeSplitResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // RegisterFeeSplit registers a new contract for receiving transaction fees RegisterFeeSplit(context.Context, *MsgRegisterFeeSplit) (*MsgRegisterFeeSplitResponse, error) // UpdateFeeSplit updates the withdrawer address of a fee split UpdateFeeSplit(context.Context, *MsgUpdateFeeSplit) (*MsgUpdateFeeSplitResponse, error) // CancelFeeSplit cancels a contract's fee registration and further receival // of transaction fees CancelFeeSplit(context.Context, *MsgCancelFeeSplit) (*MsgCancelFeeSplitResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateFeeSplit ¶
type MsgUpdateFeeSplit 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 withdrawer bech32 address for receiving the transaction fees WithdrawerAddress string `protobuf:"bytes,3,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` }
MsgUpdateFeeSplit defines a message that updates the withdrawer address for a registered FeeSplit
func NewMsgUpdateFeeSplit ¶
func NewMsgUpdateFeeSplit( contract common.Address, deployer, withdraw sdk.AccAddress, ) *MsgUpdateFeeSplit
NewMsgUpdateFeeSplit creates new instance of MsgUpdateFeeSplit
func (*MsgUpdateFeeSplit) Descriptor ¶
func (*MsgUpdateFeeSplit) Descriptor() ([]byte, []int)
func (*MsgUpdateFeeSplit) GetContractAddress ¶
func (m *MsgUpdateFeeSplit) GetContractAddress() string
func (*MsgUpdateFeeSplit) GetDeployerAddress ¶
func (m *MsgUpdateFeeSplit) GetDeployerAddress() string
func (*MsgUpdateFeeSplit) GetSignBytes ¶
func (msg *MsgUpdateFeeSplit) GetSignBytes() []byte
GetSignBytes encodes the message for signing
func (MsgUpdateFeeSplit) GetSigners ¶
func (msg MsgUpdateFeeSplit) GetSigners() []sdk.AccAddress
GetSigners defines whose signature is required
func (*MsgUpdateFeeSplit) GetWithdrawerAddress ¶
func (m *MsgUpdateFeeSplit) GetWithdrawerAddress() string
func (*MsgUpdateFeeSplit) Marshal ¶
func (m *MsgUpdateFeeSplit) Marshal() (dAtA []byte, err error)
func (*MsgUpdateFeeSplit) MarshalTo ¶
func (m *MsgUpdateFeeSplit) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateFeeSplit) MarshalToSizedBuffer ¶
func (m *MsgUpdateFeeSplit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateFeeSplit) ProtoMessage ¶
func (*MsgUpdateFeeSplit) ProtoMessage()
func (*MsgUpdateFeeSplit) Reset ¶
func (m *MsgUpdateFeeSplit) Reset()
func (MsgUpdateFeeSplit) Route ¶
func (msg MsgUpdateFeeSplit) Route() string
Route returns the name of the module
func (*MsgUpdateFeeSplit) Size ¶
func (m *MsgUpdateFeeSplit) Size() (n int)
func (*MsgUpdateFeeSplit) String ¶
func (m *MsgUpdateFeeSplit) String() string
func (MsgUpdateFeeSplit) Type ¶
func (msg MsgUpdateFeeSplit) Type() string
Type returns the the action
func (*MsgUpdateFeeSplit) Unmarshal ¶
func (m *MsgUpdateFeeSplit) Unmarshal(dAtA []byte) error
func (MsgUpdateFeeSplit) ValidateBasic ¶
func (msg MsgUpdateFeeSplit) ValidateBasic() error
ValidateBasic runs stateless checks on the message
func (*MsgUpdateFeeSplit) XXX_DiscardUnknown ¶
func (m *MsgUpdateFeeSplit) XXX_DiscardUnknown()
func (*MsgUpdateFeeSplit) XXX_Marshal ¶
func (m *MsgUpdateFeeSplit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateFeeSplit) XXX_Merge ¶
func (m *MsgUpdateFeeSplit) XXX_Merge(src proto.Message)
func (*MsgUpdateFeeSplit) XXX_Size ¶
func (m *MsgUpdateFeeSplit) XXX_Size() int
func (*MsgUpdateFeeSplit) XXX_Unmarshal ¶
func (m *MsgUpdateFeeSplit) XXX_Unmarshal(b []byte) error
type MsgUpdateFeeSplitResponse ¶
type MsgUpdateFeeSplitResponse struct { }
MsgUpdateFeeSplitResponse defines the MsgUpdateFeeSplit response type
func (*MsgUpdateFeeSplitResponse) Descriptor ¶
func (*MsgUpdateFeeSplitResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateFeeSplitResponse) Marshal ¶
func (m *MsgUpdateFeeSplitResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateFeeSplitResponse) MarshalTo ¶
func (m *MsgUpdateFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateFeeSplitResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateFeeSplitResponse) ProtoMessage ¶
func (*MsgUpdateFeeSplitResponse) ProtoMessage()
func (*MsgUpdateFeeSplitResponse) Reset ¶
func (m *MsgUpdateFeeSplitResponse) Reset()
func (*MsgUpdateFeeSplitResponse) Size ¶
func (m *MsgUpdateFeeSplitResponse) Size() (n int)
func (*MsgUpdateFeeSplitResponse) String ¶
func (m *MsgUpdateFeeSplitResponse) String() string
func (*MsgUpdateFeeSplitResponse) Unmarshal ¶
func (m *MsgUpdateFeeSplitResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateFeeSplitResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateFeeSplitResponse) XXX_DiscardUnknown()
func (*MsgUpdateFeeSplitResponse) XXX_Marshal ¶
func (m *MsgUpdateFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateFeeSplitResponse) XXX_Merge ¶
func (m *MsgUpdateFeeSplitResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateFeeSplitResponse) XXX_Size ¶
func (m *MsgUpdateFeeSplitResponse) XXX_Size() int
func (*MsgUpdateFeeSplitResponse) XXX_Unmarshal ¶
func (m *MsgUpdateFeeSplitResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // enable_fee_split defines a parameter to enable the feesplit module EnableFeeSplit bool `protobuf:"varint,1,opt,name=enable_fee_split,json=enableFeeSplit,proto3" json:"enable_fee_split,omitempty"` // distributed to the registered contract owner DeveloperShares github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ // addr_derivation_cost_create defines the cost of address derivation for // verifying the contract deployer at fee registration AddrDerivationCostCreate uint64 `` /* 138-byte string literal not displayed */ }
Params defines the feesplit module params
func DefaultParams ¶
func DefaultParams() Params
func NewParams ¶
func NewParams( enableFeeSplit bool, developerShares sdk.Dec, addrDerivationCostCreate uint64, ) Params
NewParams creates a new Params object
func (*Params) Descriptor ¶
func (*Params) GetAddrDerivationCostCreate ¶
func (*Params) GetEnableFeeSplit ¶
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 { // FeeSplits retrieves all registered fees plits FeeSplits(ctx context.Context, in *QueryFeeSplitsRequest, opts ...grpc.CallOption) (*QueryFeeSplitsResponse, error) // FeeSplit retrieves a registered fee split for a given contract address FeeSplit(ctx context.Context, in *QueryFeeSplitRequest, opts ...grpc.CallOption) (*QueryFeeSplitResponse, error) // Params retrieves the feesplit module params Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // DeployerFeeSplits retrieves all fee splits that a given deployer has // registered DeployerFeeSplits(ctx context.Context, in *QueryDeployerFeeSplitsRequest, opts ...grpc.CallOption) (*QueryDeployerFeeSplitsResponse, error) // WithdrawerFeeSplits retrieves all fees plits with a given withdrawer // address WithdrawerFeeSplits(ctx context.Context, in *QueryWithdrawerFeeSplitsRequest, opts ...grpc.CallOption) (*QueryWithdrawerFeeSplitsResponse, 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 QueryDeployerFeeSplitsRequest ¶
type QueryDeployerFeeSplitsRequest 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"` }
QueryDeployerFeeSplitsRequest is the request type for the Query/DeployerFeeSplits RPC method.
func (*QueryDeployerFeeSplitsRequest) Descriptor ¶
func (*QueryDeployerFeeSplitsRequest) Descriptor() ([]byte, []int)
func (*QueryDeployerFeeSplitsRequest) GetDeployerAddress ¶
func (m *QueryDeployerFeeSplitsRequest) GetDeployerAddress() string
func (*QueryDeployerFeeSplitsRequest) GetPagination ¶
func (m *QueryDeployerFeeSplitsRequest) GetPagination() *query.PageRequest
func (*QueryDeployerFeeSplitsRequest) Marshal ¶
func (m *QueryDeployerFeeSplitsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDeployerFeeSplitsRequest) MarshalTo ¶
func (m *QueryDeployerFeeSplitsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeployerFeeSplitsRequest) MarshalToSizedBuffer ¶
func (m *QueryDeployerFeeSplitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeployerFeeSplitsRequest) ProtoMessage ¶
func (*QueryDeployerFeeSplitsRequest) ProtoMessage()
func (*QueryDeployerFeeSplitsRequest) Reset ¶
func (m *QueryDeployerFeeSplitsRequest) Reset()
func (*QueryDeployerFeeSplitsRequest) Size ¶
func (m *QueryDeployerFeeSplitsRequest) Size() (n int)
func (*QueryDeployerFeeSplitsRequest) String ¶
func (m *QueryDeployerFeeSplitsRequest) String() string
func (*QueryDeployerFeeSplitsRequest) Unmarshal ¶
func (m *QueryDeployerFeeSplitsRequest) Unmarshal(dAtA []byte) error
func (*QueryDeployerFeeSplitsRequest) XXX_DiscardUnknown ¶
func (m *QueryDeployerFeeSplitsRequest) XXX_DiscardUnknown()
func (*QueryDeployerFeeSplitsRequest) XXX_Marshal ¶
func (m *QueryDeployerFeeSplitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeployerFeeSplitsRequest) XXX_Merge ¶
func (m *QueryDeployerFeeSplitsRequest) XXX_Merge(src proto.Message)
func (*QueryDeployerFeeSplitsRequest) XXX_Size ¶
func (m *QueryDeployerFeeSplitsRequest) XXX_Size() int
func (*QueryDeployerFeeSplitsRequest) XXX_Unmarshal ¶
func (m *QueryDeployerFeeSplitsRequest) XXX_Unmarshal(b []byte) error
type QueryDeployerFeeSplitsResponse ¶
type QueryDeployerFeeSplitsResponse struct { ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryDeployerFeeSplitsResponse is the response type for the Query/DeployerFeeSplits RPC method.
func (*QueryDeployerFeeSplitsResponse) Descriptor ¶
func (*QueryDeployerFeeSplitsResponse) Descriptor() ([]byte, []int)
func (*QueryDeployerFeeSplitsResponse) GetContractAddresses ¶
func (m *QueryDeployerFeeSplitsResponse) GetContractAddresses() []string
func (*QueryDeployerFeeSplitsResponse) GetPagination ¶
func (m *QueryDeployerFeeSplitsResponse) GetPagination() *query.PageResponse
func (*QueryDeployerFeeSplitsResponse) Marshal ¶
func (m *QueryDeployerFeeSplitsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDeployerFeeSplitsResponse) MarshalTo ¶
func (m *QueryDeployerFeeSplitsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDeployerFeeSplitsResponse) MarshalToSizedBuffer ¶
func (m *QueryDeployerFeeSplitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDeployerFeeSplitsResponse) ProtoMessage ¶
func (*QueryDeployerFeeSplitsResponse) ProtoMessage()
func (*QueryDeployerFeeSplitsResponse) Reset ¶
func (m *QueryDeployerFeeSplitsResponse) Reset()
func (*QueryDeployerFeeSplitsResponse) Size ¶
func (m *QueryDeployerFeeSplitsResponse) Size() (n int)
func (*QueryDeployerFeeSplitsResponse) String ¶
func (m *QueryDeployerFeeSplitsResponse) String() string
func (*QueryDeployerFeeSplitsResponse) Unmarshal ¶
func (m *QueryDeployerFeeSplitsResponse) Unmarshal(dAtA []byte) error
func (*QueryDeployerFeeSplitsResponse) XXX_DiscardUnknown ¶
func (m *QueryDeployerFeeSplitsResponse) XXX_DiscardUnknown()
func (*QueryDeployerFeeSplitsResponse) XXX_Marshal ¶
func (m *QueryDeployerFeeSplitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDeployerFeeSplitsResponse) XXX_Merge ¶
func (m *QueryDeployerFeeSplitsResponse) XXX_Merge(src proto.Message)
func (*QueryDeployerFeeSplitsResponse) XXX_Size ¶
func (m *QueryDeployerFeeSplitsResponse) XXX_Size() int
func (*QueryDeployerFeeSplitsResponse) XXX_Unmarshal ¶
func (m *QueryDeployerFeeSplitsResponse) XXX_Unmarshal(b []byte) error
type QueryFeeSplitRequest ¶
type QueryFeeSplitRequest 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"` }
QueryFeeSplitRequest is the request type for the Query/FeeSplit RPC method.
func (*QueryFeeSplitRequest) Descriptor ¶
func (*QueryFeeSplitRequest) Descriptor() ([]byte, []int)
func (*QueryFeeSplitRequest) GetContractAddress ¶
func (m *QueryFeeSplitRequest) GetContractAddress() string
func (*QueryFeeSplitRequest) Marshal ¶
func (m *QueryFeeSplitRequest) Marshal() (dAtA []byte, err error)
func (*QueryFeeSplitRequest) MarshalTo ¶
func (m *QueryFeeSplitRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSplitRequest) MarshalToSizedBuffer ¶
func (m *QueryFeeSplitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSplitRequest) ProtoMessage ¶
func (*QueryFeeSplitRequest) ProtoMessage()
func (*QueryFeeSplitRequest) Reset ¶
func (m *QueryFeeSplitRequest) Reset()
func (*QueryFeeSplitRequest) Size ¶
func (m *QueryFeeSplitRequest) Size() (n int)
func (*QueryFeeSplitRequest) String ¶
func (m *QueryFeeSplitRequest) String() string
func (*QueryFeeSplitRequest) Unmarshal ¶
func (m *QueryFeeSplitRequest) Unmarshal(dAtA []byte) error
func (*QueryFeeSplitRequest) XXX_DiscardUnknown ¶
func (m *QueryFeeSplitRequest) XXX_DiscardUnknown()
func (*QueryFeeSplitRequest) XXX_Marshal ¶
func (m *QueryFeeSplitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSplitRequest) XXX_Merge ¶
func (m *QueryFeeSplitRequest) XXX_Merge(src proto.Message)
func (*QueryFeeSplitRequest) XXX_Size ¶
func (m *QueryFeeSplitRequest) XXX_Size() int
func (*QueryFeeSplitRequest) XXX_Unmarshal ¶
func (m *QueryFeeSplitRequest) XXX_Unmarshal(b []byte) error
type QueryFeeSplitResponse ¶
type QueryFeeSplitResponse struct {
FeeSplit FeeSplit `protobuf:"bytes,1,opt,name=fee_split,json=feeSplit,proto3" json:"fee_split"`
}
QueryFeeSplitResponse is the response type for the Query/FeeSplit RPC method.
func (*QueryFeeSplitResponse) Descriptor ¶
func (*QueryFeeSplitResponse) Descriptor() ([]byte, []int)
func (*QueryFeeSplitResponse) GetFeeSplit ¶
func (m *QueryFeeSplitResponse) GetFeeSplit() FeeSplit
func (*QueryFeeSplitResponse) Marshal ¶
func (m *QueryFeeSplitResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeeSplitResponse) MarshalTo ¶
func (m *QueryFeeSplitResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSplitResponse) MarshalToSizedBuffer ¶
func (m *QueryFeeSplitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSplitResponse) ProtoMessage ¶
func (*QueryFeeSplitResponse) ProtoMessage()
func (*QueryFeeSplitResponse) Reset ¶
func (m *QueryFeeSplitResponse) Reset()
func (*QueryFeeSplitResponse) Size ¶
func (m *QueryFeeSplitResponse) Size() (n int)
func (*QueryFeeSplitResponse) String ¶
func (m *QueryFeeSplitResponse) String() string
func (*QueryFeeSplitResponse) Unmarshal ¶
func (m *QueryFeeSplitResponse) Unmarshal(dAtA []byte) error
func (*QueryFeeSplitResponse) XXX_DiscardUnknown ¶
func (m *QueryFeeSplitResponse) XXX_DiscardUnknown()
func (*QueryFeeSplitResponse) XXX_Marshal ¶
func (m *QueryFeeSplitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSplitResponse) XXX_Merge ¶
func (m *QueryFeeSplitResponse) XXX_Merge(src proto.Message)
func (*QueryFeeSplitResponse) XXX_Size ¶
func (m *QueryFeeSplitResponse) XXX_Size() int
func (*QueryFeeSplitResponse) XXX_Unmarshal ¶
func (m *QueryFeeSplitResponse) XXX_Unmarshal(b []byte) error
type QueryFeeSplitsRequest ¶
type QueryFeeSplitsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryFeeSplitsRequest is the request type for the Query/FeeSplits RPC method.
func (*QueryFeeSplitsRequest) Descriptor ¶
func (*QueryFeeSplitsRequest) Descriptor() ([]byte, []int)
func (*QueryFeeSplitsRequest) GetPagination ¶
func (m *QueryFeeSplitsRequest) GetPagination() *query.PageRequest
func (*QueryFeeSplitsRequest) Marshal ¶
func (m *QueryFeeSplitsRequest) Marshal() (dAtA []byte, err error)
func (*QueryFeeSplitsRequest) MarshalTo ¶
func (m *QueryFeeSplitsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSplitsRequest) MarshalToSizedBuffer ¶
func (m *QueryFeeSplitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSplitsRequest) ProtoMessage ¶
func (*QueryFeeSplitsRequest) ProtoMessage()
func (*QueryFeeSplitsRequest) Reset ¶
func (m *QueryFeeSplitsRequest) Reset()
func (*QueryFeeSplitsRequest) Size ¶
func (m *QueryFeeSplitsRequest) Size() (n int)
func (*QueryFeeSplitsRequest) String ¶
func (m *QueryFeeSplitsRequest) String() string
func (*QueryFeeSplitsRequest) Unmarshal ¶
func (m *QueryFeeSplitsRequest) Unmarshal(dAtA []byte) error
func (*QueryFeeSplitsRequest) XXX_DiscardUnknown ¶
func (m *QueryFeeSplitsRequest) XXX_DiscardUnknown()
func (*QueryFeeSplitsRequest) XXX_Marshal ¶
func (m *QueryFeeSplitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSplitsRequest) XXX_Merge ¶
func (m *QueryFeeSplitsRequest) XXX_Merge(src proto.Message)
func (*QueryFeeSplitsRequest) XXX_Size ¶
func (m *QueryFeeSplitsRequest) XXX_Size() int
func (*QueryFeeSplitsRequest) XXX_Unmarshal ¶
func (m *QueryFeeSplitsRequest) XXX_Unmarshal(b []byte) error
type QueryFeeSplitsResponse ¶
type QueryFeeSplitsResponse struct { FeeSplits []FeeSplit `protobuf:"bytes,1,rep,name=fee_splits,json=feeSplits,proto3" json:"fee_splits"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryFeeSplitsResponse is the response type for the Query/FeeSplits RPC method.
func (*QueryFeeSplitsResponse) Descriptor ¶
func (*QueryFeeSplitsResponse) Descriptor() ([]byte, []int)
func (*QueryFeeSplitsResponse) GetFeeSplits ¶
func (m *QueryFeeSplitsResponse) GetFeeSplits() []FeeSplit
func (*QueryFeeSplitsResponse) GetPagination ¶
func (m *QueryFeeSplitsResponse) GetPagination() *query.PageResponse
func (*QueryFeeSplitsResponse) Marshal ¶
func (m *QueryFeeSplitsResponse) Marshal() (dAtA []byte, err error)
func (*QueryFeeSplitsResponse) MarshalTo ¶
func (m *QueryFeeSplitsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryFeeSplitsResponse) MarshalToSizedBuffer ¶
func (m *QueryFeeSplitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryFeeSplitsResponse) ProtoMessage ¶
func (*QueryFeeSplitsResponse) ProtoMessage()
func (*QueryFeeSplitsResponse) Reset ¶
func (m *QueryFeeSplitsResponse) Reset()
func (*QueryFeeSplitsResponse) Size ¶
func (m *QueryFeeSplitsResponse) Size() (n int)
func (*QueryFeeSplitsResponse) String ¶
func (m *QueryFeeSplitsResponse) String() string
func (*QueryFeeSplitsResponse) Unmarshal ¶
func (m *QueryFeeSplitsResponse) Unmarshal(dAtA []byte) error
func (*QueryFeeSplitsResponse) XXX_DiscardUnknown ¶
func (m *QueryFeeSplitsResponse) XXX_DiscardUnknown()
func (*QueryFeeSplitsResponse) XXX_Marshal ¶
func (m *QueryFeeSplitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryFeeSplitsResponse) XXX_Merge ¶
func (m *QueryFeeSplitsResponse) XXX_Merge(src proto.Message)
func (*QueryFeeSplitsResponse) XXX_Size ¶
func (m *QueryFeeSplitsResponse) XXX_Size() int
func (*QueryFeeSplitsResponse) XXX_Unmarshal ¶
func (m *QueryFeeSplitsResponse) 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 { // FeeSplits retrieves all registered fees plits FeeSplits(context.Context, *QueryFeeSplitsRequest) (*QueryFeeSplitsResponse, error) // FeeSplit retrieves a registered fee split for a given contract address FeeSplit(context.Context, *QueryFeeSplitRequest) (*QueryFeeSplitResponse, error) // Params retrieves the feesplit module params Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // DeployerFeeSplits retrieves all fee splits that a given deployer has // registered DeployerFeeSplits(context.Context, *QueryDeployerFeeSplitsRequest) (*QueryDeployerFeeSplitsResponse, error) // WithdrawerFeeSplits retrieves all fees plits with a given withdrawer // address WithdrawerFeeSplits(context.Context, *QueryWithdrawerFeeSplitsRequest) (*QueryWithdrawerFeeSplitsResponse, error) }
QueryServer is the server API for Query service.
type QueryWithdrawerFeeSplitsRequest ¶
type QueryWithdrawerFeeSplitsRequest struct { // withdrawer bech32 address WithdrawerAddress string `protobuf:"bytes,1,opt,name=withdrawer_address,json=withdrawerAddress,proto3" json:"withdrawer_address,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryWithdrawerFeeSplitsRequest is the request type for the Query/WithdrawerFeeSplits RPC method.
func (*QueryWithdrawerFeeSplitsRequest) Descriptor ¶
func (*QueryWithdrawerFeeSplitsRequest) Descriptor() ([]byte, []int)
func (*QueryWithdrawerFeeSplitsRequest) GetPagination ¶
func (m *QueryWithdrawerFeeSplitsRequest) GetPagination() *query.PageRequest
func (*QueryWithdrawerFeeSplitsRequest) GetWithdrawerAddress ¶
func (m *QueryWithdrawerFeeSplitsRequest) GetWithdrawerAddress() string
func (*QueryWithdrawerFeeSplitsRequest) Marshal ¶
func (m *QueryWithdrawerFeeSplitsRequest) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawerFeeSplitsRequest) MarshalTo ¶
func (m *QueryWithdrawerFeeSplitsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSplitsRequest) MarshalToSizedBuffer ¶
func (m *QueryWithdrawerFeeSplitsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSplitsRequest) ProtoMessage ¶
func (*QueryWithdrawerFeeSplitsRequest) ProtoMessage()
func (*QueryWithdrawerFeeSplitsRequest) Reset ¶
func (m *QueryWithdrawerFeeSplitsRequest) Reset()
func (*QueryWithdrawerFeeSplitsRequest) Size ¶
func (m *QueryWithdrawerFeeSplitsRequest) Size() (n int)
func (*QueryWithdrawerFeeSplitsRequest) String ¶
func (m *QueryWithdrawerFeeSplitsRequest) String() string
func (*QueryWithdrawerFeeSplitsRequest) Unmarshal ¶
func (m *QueryWithdrawerFeeSplitsRequest) Unmarshal(dAtA []byte) error
func (*QueryWithdrawerFeeSplitsRequest) XXX_DiscardUnknown ¶
func (m *QueryWithdrawerFeeSplitsRequest) XXX_DiscardUnknown()
func (*QueryWithdrawerFeeSplitsRequest) XXX_Marshal ¶
func (m *QueryWithdrawerFeeSplitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawerFeeSplitsRequest) XXX_Merge ¶
func (m *QueryWithdrawerFeeSplitsRequest) XXX_Merge(src proto.Message)
func (*QueryWithdrawerFeeSplitsRequest) XXX_Size ¶
func (m *QueryWithdrawerFeeSplitsRequest) XXX_Size() int
func (*QueryWithdrawerFeeSplitsRequest) XXX_Unmarshal ¶
func (m *QueryWithdrawerFeeSplitsRequest) XXX_Unmarshal(b []byte) error
type QueryWithdrawerFeeSplitsResponse ¶
type QueryWithdrawerFeeSplitsResponse struct { ContractAddresses []string `protobuf:"bytes,1,rep,name=contract_addresses,json=contractAddresses,proto3" json:"contract_addresses,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryWithdrawerFeeSplitsResponse is the response type for the Query/WithdrawerFeeSplits RPC method.
func (*QueryWithdrawerFeeSplitsResponse) Descriptor ¶
func (*QueryWithdrawerFeeSplitsResponse) Descriptor() ([]byte, []int)
func (*QueryWithdrawerFeeSplitsResponse) GetContractAddresses ¶
func (m *QueryWithdrawerFeeSplitsResponse) GetContractAddresses() []string
func (*QueryWithdrawerFeeSplitsResponse) GetPagination ¶
func (m *QueryWithdrawerFeeSplitsResponse) GetPagination() *query.PageResponse
func (*QueryWithdrawerFeeSplitsResponse) Marshal ¶
func (m *QueryWithdrawerFeeSplitsResponse) Marshal() (dAtA []byte, err error)
func (*QueryWithdrawerFeeSplitsResponse) MarshalTo ¶
func (m *QueryWithdrawerFeeSplitsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSplitsResponse) MarshalToSizedBuffer ¶
func (m *QueryWithdrawerFeeSplitsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWithdrawerFeeSplitsResponse) ProtoMessage ¶
func (*QueryWithdrawerFeeSplitsResponse) ProtoMessage()
func (*QueryWithdrawerFeeSplitsResponse) Reset ¶
func (m *QueryWithdrawerFeeSplitsResponse) Reset()
func (*QueryWithdrawerFeeSplitsResponse) Size ¶
func (m *QueryWithdrawerFeeSplitsResponse) Size() (n int)
func (*QueryWithdrawerFeeSplitsResponse) String ¶
func (m *QueryWithdrawerFeeSplitsResponse) String() string
func (*QueryWithdrawerFeeSplitsResponse) Unmarshal ¶
func (m *QueryWithdrawerFeeSplitsResponse) Unmarshal(dAtA []byte) error
func (*QueryWithdrawerFeeSplitsResponse) XXX_DiscardUnknown ¶
func (m *QueryWithdrawerFeeSplitsResponse) XXX_DiscardUnknown()
func (*QueryWithdrawerFeeSplitsResponse) XXX_Marshal ¶
func (m *QueryWithdrawerFeeSplitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWithdrawerFeeSplitsResponse) XXX_Merge ¶
func (m *QueryWithdrawerFeeSplitsResponse) XXX_Merge(src proto.Message)
func (*QueryWithdrawerFeeSplitsResponse) XXX_Size ¶
func (m *QueryWithdrawerFeeSplitsResponse) XXX_Size() int
func (*QueryWithdrawerFeeSplitsResponse) XXX_Unmarshal ¶
func (m *QueryWithdrawerFeeSplitsResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelFeeSplit ¶
func (*UnimplementedMsgServer) CancelFeeSplit(ctx context.Context, req *MsgCancelFeeSplit) (*MsgCancelFeeSplitResponse, error)
func (*UnimplementedMsgServer) RegisterFeeSplit ¶
func (*UnimplementedMsgServer) RegisterFeeSplit(ctx context.Context, req *MsgRegisterFeeSplit) (*MsgRegisterFeeSplitResponse, error)
func (*UnimplementedMsgServer) UpdateFeeSplit ¶
func (*UnimplementedMsgServer) UpdateFeeSplit(ctx context.Context, req *MsgUpdateFeeSplit) (*MsgUpdateFeeSplitResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DeployerFeeSplits ¶
func (*UnimplementedQueryServer) DeployerFeeSplits(ctx context.Context, req *QueryDeployerFeeSplitsRequest) (*QueryDeployerFeeSplitsResponse, error)
func (*UnimplementedQueryServer) FeeSplit ¶
func (*UnimplementedQueryServer) FeeSplit(ctx context.Context, req *QueryFeeSplitRequest) (*QueryFeeSplitResponse, error)
func (*UnimplementedQueryServer) FeeSplits ¶
func (*UnimplementedQueryServer) FeeSplits(ctx context.Context, req *QueryFeeSplitsRequest) (*QueryFeeSplitsResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) WithdrawerFeeSplits ¶
func (*UnimplementedQueryServer) WithdrawerFeeSplits(ctx context.Context, req *QueryWithdrawerFeeSplitsRequest) (*QueryWithdrawerFeeSplitsResponse, error)