Versions in this module Expand all Collapse all v1 v1.0.0 Feb 26, 2023 Changes in this version + const AttributeKeyContract + const AttributeKeyWithdrawerAddress + const EventTypeCancelRevenue + const EventTypeDistributeDevRevenue + const EventTypeRegisterRevenue + const EventTypeUpdateRevenue + const ModuleName + const RouterKey + const StoreKey + const TypeMsgCancelRevenue + const TypeMsgRegisterRevenue + const TypeMsgUpdateRevenue + var AminoCdc = codec.NewAminoCodec(amino) + var DefaultAddrDerivationCostCreate = uint64(50) + var DefaultDeveloperShares = sdk.NewDecWithPrec(50, 2) + var DefaultEnableRevenue = true + var ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowRevenue = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInternalRevenue = errorsmod.Register(ModuleName, 2, "internal revenue error") + var ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthRevenue = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrRevenueAlreadyRegistered = errorsmod.Register(ModuleName, 4, "revenue already exists for given contract") + var ErrRevenueContractNotRegistered = errorsmod.Register(ModuleName, 6, "no revenue registered for contract") + var ErrRevenueDeployerIsNotEOA = errorsmod.Register(ModuleName, 7, "no revenue registered for contract") + var ErrRevenueDisabled = errorsmod.Register(ModuleName, 3, "revenue module is disabled by governance") + var ErrRevenueNoContractDeployed = errorsmod.Register(ModuleName, 5, "no contract deployed") + var ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupRevenue = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var KeyPrefixDeployer = []byte + var KeyPrefixRevenue = []byte + var KeyPrefixWithdrawer = []byte + var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) + var ParamStoreKeyAddrDerivationCostCreate = []byte("AddrDerivationCostCreate") + var ParamStoreKeyDeveloperShares = []byte("DeveloperShares") + var ParamStoreKeyEnableRevenue = []byte("EnableRevenue") + var ParamsKey = []byte("Params") + func GetKeyPrefixDeployer(deployerAddress sdk.AccAddress) []byte + func GetKeyPrefixWithdrawer(withdrawerAddress sdk.AccAddress) []byte + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error + func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type AccountKeeper interface + GetModuleAddress func(moduleName string) sdk.AccAddress + type BankKeeper interface + BurnCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + type EVMKeeper interface + EVMConfig func(ctx sdk.Context, proposerAddress sdk.ConsAddress, chainID *big.Int) (*statedb.EVMConfig, error) + GetAccountWithoutBalance func(ctx sdk.Context, addr common.Address) *statedb.Account + GetParams func(ctx sdk.Context) evmtypes.Params + type EventCancelRevenue struct + ContractAddress string + DeployerAddress string + func (*EventCancelRevenue) Descriptor() ([]byte, []int) + func (*EventCancelRevenue) ProtoMessage() + func (m *EventCancelRevenue) GetContractAddress() string + func (m *EventCancelRevenue) GetDeployerAddress() string + func (m *EventCancelRevenue) Marshal() (dAtA []byte, err error) + func (m *EventCancelRevenue) MarshalTo(dAtA []byte) (int, error) + func (m *EventCancelRevenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventCancelRevenue) Reset() + func (m *EventCancelRevenue) Size() (n int) + func (m *EventCancelRevenue) String() string + func (m *EventCancelRevenue) Unmarshal(dAtA []byte) error + func (m *EventCancelRevenue) XXX_DiscardUnknown() + func (m *EventCancelRevenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventCancelRevenue) XXX_Merge(src proto.Message) + func (m *EventCancelRevenue) XXX_Size() int + func (m *EventCancelRevenue) XXX_Unmarshal(b []byte) error + type EventDistributeRevenue struct + Amount string + Contract string + Sender string + WithdrawerAddress string + func (*EventDistributeRevenue) Descriptor() ([]byte, []int) + func (*EventDistributeRevenue) ProtoMessage() + func (m *EventDistributeRevenue) GetAmount() string + func (m *EventDistributeRevenue) GetContract() string + func (m *EventDistributeRevenue) GetSender() string + func (m *EventDistributeRevenue) GetWithdrawerAddress() string + func (m *EventDistributeRevenue) Marshal() (dAtA []byte, err error) + func (m *EventDistributeRevenue) MarshalTo(dAtA []byte) (int, error) + func (m *EventDistributeRevenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventDistributeRevenue) Reset() + func (m *EventDistributeRevenue) Size() (n int) + func (m *EventDistributeRevenue) String() string + func (m *EventDistributeRevenue) Unmarshal(dAtA []byte) error + func (m *EventDistributeRevenue) XXX_DiscardUnknown() + func (m *EventDistributeRevenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventDistributeRevenue) XXX_Merge(src proto.Message) + func (m *EventDistributeRevenue) XXX_Size() int + func (m *EventDistributeRevenue) XXX_Unmarshal(b []byte) error + type EventRegisterRevenue struct + ContractAddress string + DeployerAddress string + EffectiveWithdrawer string + func (*EventRegisterRevenue) Descriptor() ([]byte, []int) + func (*EventRegisterRevenue) ProtoMessage() + func (m *EventRegisterRevenue) GetContractAddress() string + func (m *EventRegisterRevenue) GetDeployerAddress() string + func (m *EventRegisterRevenue) GetEffectiveWithdrawer() string + func (m *EventRegisterRevenue) Marshal() (dAtA []byte, err error) + func (m *EventRegisterRevenue) MarshalTo(dAtA []byte) (int, error) + func (m *EventRegisterRevenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventRegisterRevenue) Reset() + func (m *EventRegisterRevenue) Size() (n int) + func (m *EventRegisterRevenue) String() string + func (m *EventRegisterRevenue) Unmarshal(dAtA []byte) error + func (m *EventRegisterRevenue) XXX_DiscardUnknown() + func (m *EventRegisterRevenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventRegisterRevenue) XXX_Merge(src proto.Message) + func (m *EventRegisterRevenue) XXX_Size() int + func (m *EventRegisterRevenue) XXX_Unmarshal(b []byte) error + type EventUpdateRevenue struct + ContractAddress string + DeployerAddress string + WithdrawerAddress string + func (*EventUpdateRevenue) Descriptor() ([]byte, []int) + func (*EventUpdateRevenue) ProtoMessage() + func (m *EventUpdateRevenue) GetContractAddress() string + func (m *EventUpdateRevenue) GetDeployerAddress() string + func (m *EventUpdateRevenue) GetWithdrawerAddress() string + func (m *EventUpdateRevenue) Marshal() (dAtA []byte, err error) + func (m *EventUpdateRevenue) MarshalTo(dAtA []byte) (int, error) + func (m *EventUpdateRevenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EventUpdateRevenue) Reset() + func (m *EventUpdateRevenue) Size() (n int) + func (m *EventUpdateRevenue) String() string + func (m *EventUpdateRevenue) Unmarshal(dAtA []byte) error + func (m *EventUpdateRevenue) XXX_DiscardUnknown() + func (m *EventUpdateRevenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EventUpdateRevenue) XXX_Merge(src proto.Message) + func (m *EventUpdateRevenue) XXX_Size() int + func (m *EventUpdateRevenue) XXX_Unmarshal(b []byte) error + type GenesisState struct + Params Params + Revenues []Revenue + func DefaultGenesisState() *GenesisState + func NewGenesisState(params Params, revenues []Revenue) GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetRevenues() []Revenue + 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 (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) 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 LegacyParams = paramtypes.ParamSet + type MsgCancelRevenue struct + ContractAddress string + DeployerAddress string + func NewMsgCancelRevenue(contract common.Address, deployer sdk.AccAddress) *MsgCancelRevenue + func (*MsgCancelRevenue) Descriptor() ([]byte, []int) + func (*MsgCancelRevenue) ProtoMessage() + func (m *MsgCancelRevenue) GetContractAddress() string + func (m *MsgCancelRevenue) GetDeployerAddress() string + func (m *MsgCancelRevenue) Marshal() (dAtA []byte, err error) + func (m *MsgCancelRevenue) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCancelRevenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCancelRevenue) Reset() + func (m *MsgCancelRevenue) Size() (n int) + func (m *MsgCancelRevenue) String() string + func (m *MsgCancelRevenue) Unmarshal(dAtA []byte) error + func (m *MsgCancelRevenue) XXX_DiscardUnknown() + func (m *MsgCancelRevenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCancelRevenue) XXX_Merge(src proto.Message) + func (m *MsgCancelRevenue) XXX_Size() int + func (m *MsgCancelRevenue) XXX_Unmarshal(b []byte) error + func (msg *MsgCancelRevenue) GetSignBytes() []byte + func (msg MsgCancelRevenue) GetSigners() []sdk.AccAddress + func (msg MsgCancelRevenue) Route() string + func (msg MsgCancelRevenue) Type() string + func (msg MsgCancelRevenue) ValidateBasic() error + type MsgCancelRevenueResponse struct + func (*MsgCancelRevenueResponse) Descriptor() ([]byte, []int) + func (*MsgCancelRevenueResponse) ProtoMessage() + func (m *MsgCancelRevenueResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCancelRevenueResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCancelRevenueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCancelRevenueResponse) Reset() + func (m *MsgCancelRevenueResponse) Size() (n int) + func (m *MsgCancelRevenueResponse) String() string + func (m *MsgCancelRevenueResponse) Unmarshal(dAtA []byte) error + func (m *MsgCancelRevenueResponse) XXX_DiscardUnknown() + func (m *MsgCancelRevenueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCancelRevenueResponse) XXX_Merge(src proto.Message) + func (m *MsgCancelRevenueResponse) XXX_Size() int + func (m *MsgCancelRevenueResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + CancelRevenue func(ctx context.Context, in *MsgCancelRevenue, opts ...grpc.CallOption) (*MsgCancelRevenueResponse, error) + RegisterRevenue func(ctx context.Context, in *MsgRegisterRevenue, opts ...grpc.CallOption) (*MsgRegisterRevenueResponse, error) + UpdateParams func(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + UpdateRevenue func(ctx context.Context, in *MsgUpdateRevenue, opts ...grpc.CallOption) (*MsgUpdateRevenueResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgRegisterRevenue struct + ContractAddress string + DeployerAddress string + Nonces []uint64 + WithdrawerAddress string + func NewMsgRegisterRevenue(contract common.Address, deployer, withdrawer sdk.AccAddress, nonces []uint64) *MsgRegisterRevenue + func (*MsgRegisterRevenue) Descriptor() ([]byte, []int) + func (*MsgRegisterRevenue) ProtoMessage() + func (m *MsgRegisterRevenue) GetContractAddress() string + func (m *MsgRegisterRevenue) GetDeployerAddress() string + func (m *MsgRegisterRevenue) GetNonces() []uint64 + func (m *MsgRegisterRevenue) GetWithdrawerAddress() string + func (m *MsgRegisterRevenue) Marshal() (dAtA []byte, err error) + func (m *MsgRegisterRevenue) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRegisterRevenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRegisterRevenue) Reset() + func (m *MsgRegisterRevenue) Size() (n int) + func (m *MsgRegisterRevenue) String() string + func (m *MsgRegisterRevenue) Unmarshal(dAtA []byte) error + func (m *MsgRegisterRevenue) XXX_DiscardUnknown() + func (m *MsgRegisterRevenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRegisterRevenue) XXX_Merge(src proto.Message) + func (m *MsgRegisterRevenue) XXX_Size() int + func (m *MsgRegisterRevenue) XXX_Unmarshal(b []byte) error + func (msg *MsgRegisterRevenue) GetSignBytes() []byte + func (msg MsgRegisterRevenue) GetSigners() []sdk.AccAddress + func (msg MsgRegisterRevenue) Route() string + func (msg MsgRegisterRevenue) Type() string + func (msg MsgRegisterRevenue) ValidateBasic() error + type MsgRegisterRevenueResponse struct + func (*MsgRegisterRevenueResponse) Descriptor() ([]byte, []int) + func (*MsgRegisterRevenueResponse) ProtoMessage() + func (m *MsgRegisterRevenueResponse) Marshal() (dAtA []byte, err error) + func (m *MsgRegisterRevenueResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRegisterRevenueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRegisterRevenueResponse) Reset() + func (m *MsgRegisterRevenueResponse) Size() (n int) + func (m *MsgRegisterRevenueResponse) String() string + func (m *MsgRegisterRevenueResponse) Unmarshal(dAtA []byte) error + func (m *MsgRegisterRevenueResponse) XXX_DiscardUnknown() + func (m *MsgRegisterRevenueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRegisterRevenueResponse) XXX_Merge(src proto.Message) + func (m *MsgRegisterRevenueResponse) XXX_Size() int + func (m *MsgRegisterRevenueResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + CancelRevenue func(context.Context, *MsgCancelRevenue) (*MsgCancelRevenueResponse, error) + RegisterRevenue func(context.Context, *MsgRegisterRevenue) (*MsgRegisterRevenueResponse, error) + UpdateParams func(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + UpdateRevenue func(context.Context, *MsgUpdateRevenue) (*MsgUpdateRevenueResponse, error) + type MsgUpdateParams struct + Authority string + Params Params + func (*MsgUpdateParams) Descriptor() ([]byte, []int) + func (*MsgUpdateParams) ProtoMessage() + func (m *MsgUpdateParams) GetAuthority() string + func (m *MsgUpdateParams) GetParams() Params + func (m *MsgUpdateParams) GetSigners() []sdk.AccAddress + func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParams) Reset() + func (m *MsgUpdateParams) Size() (n int) + func (m *MsgUpdateParams) String() string + func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParams) ValidateBasic() error + func (m *MsgUpdateParams) XXX_DiscardUnknown() + func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParams) XXX_Merge(src proto.Message) + func (m *MsgUpdateParams) XXX_Size() int + func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error + func (m MsgUpdateParams) GetSignBytes() []byte + type MsgUpdateParamsResponse struct + func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateParamsResponse) ProtoMessage() + func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateParamsResponse) Reset() + func (m *MsgUpdateParamsResponse) Size() (n int) + func (m *MsgUpdateParamsResponse) String() string + func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() + func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateParamsResponse) XXX_Size() int + func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error + type MsgUpdateRevenue struct + ContractAddress string + DeployerAddress string + WithdrawerAddress string + func NewMsgUpdateRevenue(contract common.Address, deployer, withdraw sdk.AccAddress) *MsgUpdateRevenue + func (*MsgUpdateRevenue) Descriptor() ([]byte, []int) + func (*MsgUpdateRevenue) ProtoMessage() + func (m *MsgUpdateRevenue) GetContractAddress() string + func (m *MsgUpdateRevenue) GetDeployerAddress() string + func (m *MsgUpdateRevenue) GetWithdrawerAddress() string + func (m *MsgUpdateRevenue) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateRevenue) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateRevenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateRevenue) Reset() + func (m *MsgUpdateRevenue) Size() (n int) + func (m *MsgUpdateRevenue) String() string + func (m *MsgUpdateRevenue) Unmarshal(dAtA []byte) error + func (m *MsgUpdateRevenue) XXX_DiscardUnknown() + func (m *MsgUpdateRevenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateRevenue) XXX_Merge(src proto.Message) + func (m *MsgUpdateRevenue) XXX_Size() int + func (m *MsgUpdateRevenue) XXX_Unmarshal(b []byte) error + func (msg *MsgUpdateRevenue) GetSignBytes() []byte + func (msg MsgUpdateRevenue) GetSigners() []sdk.AccAddress + func (msg MsgUpdateRevenue) Route() string + func (msg MsgUpdateRevenue) Type() string + func (msg MsgUpdateRevenue) ValidateBasic() error + type MsgUpdateRevenueResponse struct + func (*MsgUpdateRevenueResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateRevenueResponse) ProtoMessage() + func (m *MsgUpdateRevenueResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateRevenueResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateRevenueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateRevenueResponse) Reset() + func (m *MsgUpdateRevenueResponse) Size() (n int) + func (m *MsgUpdateRevenueResponse) String() string + func (m *MsgUpdateRevenueResponse) Unmarshal(dAtA []byte) error + func (m *MsgUpdateRevenueResponse) XXX_DiscardUnknown() + func (m *MsgUpdateRevenueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateRevenueResponse) XXX_Merge(src proto.Message) + func (m *MsgUpdateRevenueResponse) XXX_Size() int + func (m *MsgUpdateRevenueResponse) XXX_Unmarshal(b []byte) error + type Params struct + AddrDerivationCostCreate uint64 + DeveloperShares github_com_cosmos_cosmos_sdk_types.Dec + EnableRevenue bool + func DefaultParams() Params + func NewParams(enableRevenue bool, developerShares sdk.Dec, addrDerivationCostCreate uint64) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetAddrDerivationCostCreate() uint64 + func (m *Params) GetEnableRevenue() 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 (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) 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 + func (p Params) Validate() error + type QueryClient interface + DeployerRevenues func(ctx context.Context, in *QueryDeployerRevenuesRequest, opts ...grpc.CallOption) (*QueryDeployerRevenuesResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + Revenue func(ctx context.Context, in *QueryRevenueRequest, opts ...grpc.CallOption) (*QueryRevenueResponse, error) + Revenues func(ctx context.Context, in *QueryRevenuesRequest, opts ...grpc.CallOption) (*QueryRevenuesResponse, error) + WithdrawerRevenues func(ctx context.Context, in *QueryWithdrawerRevenuesRequest, ...) (*QueryWithdrawerRevenuesResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryDeployerRevenuesRequest struct + DeployerAddress string + Pagination *query.PageRequest + func (*QueryDeployerRevenuesRequest) Descriptor() ([]byte, []int) + func (*QueryDeployerRevenuesRequest) ProtoMessage() + func (m *QueryDeployerRevenuesRequest) GetDeployerAddress() string + func (m *QueryDeployerRevenuesRequest) GetPagination() *query.PageRequest + func (m *QueryDeployerRevenuesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryDeployerRevenuesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryDeployerRevenuesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryDeployerRevenuesRequest) Reset() + func (m *QueryDeployerRevenuesRequest) Size() (n int) + func (m *QueryDeployerRevenuesRequest) String() string + func (m *QueryDeployerRevenuesRequest) Unmarshal(dAtA []byte) error + func (m *QueryDeployerRevenuesRequest) XXX_DiscardUnknown() + func (m *QueryDeployerRevenuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDeployerRevenuesRequest) XXX_Merge(src proto.Message) + func (m *QueryDeployerRevenuesRequest) XXX_Size() int + func (m *QueryDeployerRevenuesRequest) XXX_Unmarshal(b []byte) error + type QueryDeployerRevenuesResponse struct + ContractAddresses []string + Pagination *query.PageResponse + func (*QueryDeployerRevenuesResponse) Descriptor() ([]byte, []int) + func (*QueryDeployerRevenuesResponse) ProtoMessage() + func (m *QueryDeployerRevenuesResponse) GetContractAddresses() []string + func (m *QueryDeployerRevenuesResponse) GetPagination() *query.PageResponse + func (m *QueryDeployerRevenuesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryDeployerRevenuesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryDeployerRevenuesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryDeployerRevenuesResponse) Reset() + func (m *QueryDeployerRevenuesResponse) Size() (n int) + func (m *QueryDeployerRevenuesResponse) String() string + func (m *QueryDeployerRevenuesResponse) Unmarshal(dAtA []byte) error + func (m *QueryDeployerRevenuesResponse) XXX_DiscardUnknown() + func (m *QueryDeployerRevenuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryDeployerRevenuesResponse) XXX_Merge(src proto.Message) + func (m *QueryDeployerRevenuesResponse) XXX_Size() int + func (m *QueryDeployerRevenuesResponse) XXX_Unmarshal(b []byte) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + 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 (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 struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + 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 (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 QueryRevenueRequest struct + ContractAddress string + func (*QueryRevenueRequest) Descriptor() ([]byte, []int) + func (*QueryRevenueRequest) ProtoMessage() + func (m *QueryRevenueRequest) GetContractAddress() string + func (m *QueryRevenueRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRevenueRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRevenueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRevenueRequest) Reset() + func (m *QueryRevenueRequest) Size() (n int) + func (m *QueryRevenueRequest) String() string + func (m *QueryRevenueRequest) Unmarshal(dAtA []byte) error + func (m *QueryRevenueRequest) XXX_DiscardUnknown() + func (m *QueryRevenueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRevenueRequest) XXX_Merge(src proto.Message) + func (m *QueryRevenueRequest) XXX_Size() int + func (m *QueryRevenueRequest) XXX_Unmarshal(b []byte) error + type QueryRevenueResponse struct + Revenue Revenue + func (*QueryRevenueResponse) Descriptor() ([]byte, []int) + func (*QueryRevenueResponse) ProtoMessage() + func (m *QueryRevenueResponse) GetRevenue() Revenue + func (m *QueryRevenueResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRevenueResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRevenueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRevenueResponse) Reset() + func (m *QueryRevenueResponse) Size() (n int) + func (m *QueryRevenueResponse) String() string + func (m *QueryRevenueResponse) Unmarshal(dAtA []byte) error + func (m *QueryRevenueResponse) XXX_DiscardUnknown() + func (m *QueryRevenueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRevenueResponse) XXX_Merge(src proto.Message) + func (m *QueryRevenueResponse) XXX_Size() int + func (m *QueryRevenueResponse) XXX_Unmarshal(b []byte) error + type QueryRevenuesRequest struct + Pagination *query.PageRequest + func (*QueryRevenuesRequest) Descriptor() ([]byte, []int) + func (*QueryRevenuesRequest) ProtoMessage() + func (m *QueryRevenuesRequest) GetPagination() *query.PageRequest + func (m *QueryRevenuesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRevenuesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRevenuesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRevenuesRequest) Reset() + func (m *QueryRevenuesRequest) Size() (n int) + func (m *QueryRevenuesRequest) String() string + func (m *QueryRevenuesRequest) Unmarshal(dAtA []byte) error + func (m *QueryRevenuesRequest) XXX_DiscardUnknown() + func (m *QueryRevenuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRevenuesRequest) XXX_Merge(src proto.Message) + func (m *QueryRevenuesRequest) XXX_Size() int + func (m *QueryRevenuesRequest) XXX_Unmarshal(b []byte) error + type QueryRevenuesResponse struct + Pagination *query.PageResponse + Revenues []Revenue + func (*QueryRevenuesResponse) Descriptor() ([]byte, []int) + func (*QueryRevenuesResponse) ProtoMessage() + func (m *QueryRevenuesResponse) GetPagination() *query.PageResponse + func (m *QueryRevenuesResponse) GetRevenues() []Revenue + func (m *QueryRevenuesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRevenuesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRevenuesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRevenuesResponse) Reset() + func (m *QueryRevenuesResponse) Size() (n int) + func (m *QueryRevenuesResponse) String() string + func (m *QueryRevenuesResponse) Unmarshal(dAtA []byte) error + func (m *QueryRevenuesResponse) XXX_DiscardUnknown() + func (m *QueryRevenuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRevenuesResponse) XXX_Merge(src proto.Message) + func (m *QueryRevenuesResponse) XXX_Size() int + func (m *QueryRevenuesResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + DeployerRevenues func(context.Context, *QueryDeployerRevenuesRequest) (*QueryDeployerRevenuesResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + Revenue func(context.Context, *QueryRevenueRequest) (*QueryRevenueResponse, error) + Revenues func(context.Context, *QueryRevenuesRequest) (*QueryRevenuesResponse, error) + WithdrawerRevenues func(context.Context, *QueryWithdrawerRevenuesRequest) (*QueryWithdrawerRevenuesResponse, error) + type QueryWithdrawerRevenuesRequest struct + Pagination *query.PageRequest + WithdrawerAddress string + func (*QueryWithdrawerRevenuesRequest) Descriptor() ([]byte, []int) + func (*QueryWithdrawerRevenuesRequest) ProtoMessage() + func (m *QueryWithdrawerRevenuesRequest) GetPagination() *query.PageRequest + func (m *QueryWithdrawerRevenuesRequest) GetWithdrawerAddress() string + func (m *QueryWithdrawerRevenuesRequest) Marshal() (dAtA []byte, err error) + func (m *QueryWithdrawerRevenuesRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryWithdrawerRevenuesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryWithdrawerRevenuesRequest) Reset() + func (m *QueryWithdrawerRevenuesRequest) Size() (n int) + func (m *QueryWithdrawerRevenuesRequest) String() string + func (m *QueryWithdrawerRevenuesRequest) Unmarshal(dAtA []byte) error + func (m *QueryWithdrawerRevenuesRequest) XXX_DiscardUnknown() + func (m *QueryWithdrawerRevenuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryWithdrawerRevenuesRequest) XXX_Merge(src proto.Message) + func (m *QueryWithdrawerRevenuesRequest) XXX_Size() int + func (m *QueryWithdrawerRevenuesRequest) XXX_Unmarshal(b []byte) error + type QueryWithdrawerRevenuesResponse struct + ContractAddresses []string + Pagination *query.PageResponse + func (*QueryWithdrawerRevenuesResponse) Descriptor() ([]byte, []int) + func (*QueryWithdrawerRevenuesResponse) ProtoMessage() + func (m *QueryWithdrawerRevenuesResponse) GetContractAddresses() []string + func (m *QueryWithdrawerRevenuesResponse) GetPagination() *query.PageResponse + func (m *QueryWithdrawerRevenuesResponse) Marshal() (dAtA []byte, err error) + func (m *QueryWithdrawerRevenuesResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryWithdrawerRevenuesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryWithdrawerRevenuesResponse) Reset() + func (m *QueryWithdrawerRevenuesResponse) Size() (n int) + func (m *QueryWithdrawerRevenuesResponse) String() string + func (m *QueryWithdrawerRevenuesResponse) Unmarshal(dAtA []byte) error + func (m *QueryWithdrawerRevenuesResponse) XXX_DiscardUnknown() + func (m *QueryWithdrawerRevenuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryWithdrawerRevenuesResponse) XXX_Merge(src proto.Message) + func (m *QueryWithdrawerRevenuesResponse) XXX_Size() int + func (m *QueryWithdrawerRevenuesResponse) XXX_Unmarshal(b []byte) error + type Revenue struct + ContractAddress string + DeployerAddress string + WithdrawerAddress string + func NewRevenue(contract common.Address, deployer, withdrawer sdk.AccAddress) Revenue + func (*Revenue) Descriptor() ([]byte, []int) + func (*Revenue) ProtoMessage() + func (fs Revenue) GetContractAddr() common.Address + func (fs Revenue) GetDeployerAddr() sdk.AccAddress + func (fs Revenue) GetWithdrawerAddr() sdk.AccAddress + func (fs Revenue) Validate() error + func (m *Revenue) GetContractAddress() string + func (m *Revenue) GetDeployerAddress() string + func (m *Revenue) GetWithdrawerAddress() string + func (m *Revenue) Marshal() (dAtA []byte, err error) + func (m *Revenue) MarshalTo(dAtA []byte) (int, error) + func (m *Revenue) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Revenue) Reset() + func (m *Revenue) Size() (n int) + func (m *Revenue) String() string + func (m *Revenue) Unmarshal(dAtA []byte) error + func (m *Revenue) XXX_DiscardUnknown() + func (m *Revenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Revenue) XXX_Merge(src proto.Message) + func (m *Revenue) XXX_Size() int + func (m *Revenue) XXX_Unmarshal(b []byte) error + type Subspace interface + GetParamSetIfExists func(ctx sdk.Context, ps LegacyParams) + WithKeyTable func(table paramtypes.KeyTable) paramtypes.Subspace + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) CancelRevenue(ctx context.Context, req *MsgCancelRevenue) (*MsgCancelRevenueResponse, error) + func (*UnimplementedMsgServer) RegisterRevenue(ctx context.Context, req *MsgRegisterRevenue) (*MsgRegisterRevenueResponse, error) + func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + func (*UnimplementedMsgServer) UpdateRevenue(ctx context.Context, req *MsgUpdateRevenue) (*MsgUpdateRevenueResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) DeployerRevenues(ctx context.Context, req *QueryDeployerRevenuesRequest) (*QueryDeployerRevenuesResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) + func (*UnimplementedQueryServer) Revenue(ctx context.Context, req *QueryRevenueRequest) (*QueryRevenueResponse, error) + func (*UnimplementedQueryServer) Revenues(ctx context.Context, req *QueryRevenuesRequest) (*QueryRevenuesResponse, error) + func (*UnimplementedQueryServer) WithdrawerRevenues(ctx context.Context, req *QueryWithdrawerRevenuesRequest) (*QueryWithdrawerRevenuesResponse, error)