Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetTenantTreasuryAccount(tenantId uint64) sdk.AccAddress
- func GetTreasuryAccountName(tenantId uint64) string
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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)
- func TenantStoreKey(tenantId uint64) []byte
- func UTXRStoreByRequestIdKey(tenantId uint64, requestId string) []byte
- func UTXRStoreByTenantKey(tenantId uint64) []byte
- func UTXRStoreKey(tenantId, utxrId uint64) []byte
- type AccountKeeper
- type BankKeeper
- type Erc20Keeper
- type EventCancel
- func (*EventCancel) Descriptor() ([]byte, []int)
- func (m *EventCancel) GetRequestId() string
- func (m *EventCancel) GetTenant() uint64
- func (m *EventCancel) GetUtxrId() uint64
- func (m *EventCancel) Marshal() (dAtA []byte, err error)
- func (m *EventCancel) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancel) ProtoMessage()
- func (m *EventCancel) Reset()
- func (m *EventCancel) Size() (n int)
- func (m *EventCancel) String() string
- func (m *EventCancel) Unmarshal(dAtA []byte) error
- func (m *EventCancel) XXX_DiscardUnknown()
- func (m *EventCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancel) XXX_Merge(src proto.Message)
- func (m *EventCancel) XXX_Size() int
- func (m *EventCancel) XXX_Unmarshal(b []byte) error
- type EventDeployContract
- func (*EventDeployContract) Descriptor() ([]byte, []int)
- func (m *EventDeployContract) GetContractAddress() string
- func (m *EventDeployContract) GetContractAdmin() string
- func (m *EventDeployContract) GetTenant() uint64
- func (m *EventDeployContract) GetTokenName() string
- func (m *EventDeployContract) Marshal() (dAtA []byte, err error)
- func (m *EventDeployContract) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeployContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeployContract) ProtoMessage()
- func (m *EventDeployContract) Reset()
- func (m *EventDeployContract) Size() (n int)
- func (m *EventDeployContract) String() string
- func (m *EventDeployContract) Unmarshal(dAtA []byte) error
- func (m *EventDeployContract) XXX_DiscardUnknown()
- func (m *EventDeployContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeployContract) XXX_Merge(src proto.Message)
- func (m *EventDeployContract) XXX_Size() int
- func (m *EventDeployContract) XXX_Unmarshal(b []byte) error
- type EventRecord
- func (*EventRecord) Descriptor() ([]byte, []int)
- func (m *EventRecord) GetAmount() types.Coin
- func (m *EventRecord) GetChainId() string
- func (m *EventRecord) GetContractAddress() string
- func (m *EventRecord) GetMetadata() string
- func (m *EventRecord) GetPayoutBlock() uint64
- func (m *EventRecord) GetRecipient() string
- func (m *EventRecord) GetRequestId() string
- func (m *EventRecord) GetSender() string
- func (m *EventRecord) GetTenant() uint64
- func (m *EventRecord) GetTokenIdHex() string
- func (m *EventRecord) GetUtxrId() uint64
- func (m *EventRecord) Marshal() (dAtA []byte, err error)
- func (m *EventRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRecord) ProtoMessage()
- func (m *EventRecord) Reset()
- func (m *EventRecord) Size() (n int)
- func (m *EventRecord) String() string
- func (m *EventRecord) Unmarshal(dAtA []byte) error
- func (m *EventRecord) XXX_DiscardUnknown()
- func (m *EventRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRecord) XXX_Merge(src proto.Message)
- func (m *EventRecord) XXX_Size() int
- func (m *EventRecord) XXX_Unmarshal(b []byte) error
- type EventSettled
- func (*EventSettled) Descriptor() ([]byte, []int)
- func (m *EventSettled) GetAmount() types.Coin
- func (m *EventSettled) GetRecipient() string
- func (m *EventSettled) GetRequestId() string
- func (m *EventSettled) GetTenant() uint64
- func (m *EventSettled) GetUtxrId() uint64
- func (m *EventSettled) Marshal() (dAtA []byte, err error)
- func (m *EventSettled) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSettled) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSettled) ProtoMessage()
- func (m *EventSettled) Reset()
- func (m *EventSettled) Size() (n int)
- func (m *EventSettled) String() string
- func (m *EventSettled) Unmarshal(dAtA []byte) error
- func (m *EventSettled) XXX_DiscardUnknown()
- func (m *EventSettled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSettled) XXX_Merge(src proto.Message)
- func (m *EventSettled) XXX_Size() int
- func (m *EventSettled) XXX_Unmarshal(b []byte) error
- type EventSettlementFailed
- func (*EventSettlementFailed) Descriptor() ([]byte, []int)
- func (m *EventSettlementFailed) GetReason() string
- func (m *EventSettlementFailed) GetTenant() uint64
- func (m *EventSettlementFailed) Marshal() (dAtA []byte, err error)
- func (m *EventSettlementFailed) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSettlementFailed) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSettlementFailed) ProtoMessage()
- func (m *EventSettlementFailed) Reset()
- func (m *EventSettlementFailed) Size() (n int)
- func (m *EventSettlementFailed) String() string
- func (m *EventSettlementFailed) Unmarshal(dAtA []byte) error
- func (m *EventSettlementFailed) XXX_DiscardUnknown()
- func (m *EventSettlementFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSettlementFailed) XXX_Merge(src proto.Message)
- func (m *EventSettlementFailed) XXX_Size() int
- func (m *EventSettlementFailed) XXX_Unmarshal(b []byte) error
- type EvmKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetTenants() []Tenant
- func (m *GenesisState) GetUtxrs() []UTXRWithTenantAndId
- 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 MsgAddTenantAdmin
- func (*MsgAddTenantAdmin) Descriptor() ([]byte, []int)
- func (m *MsgAddTenantAdmin) GetNewAdmin() string
- func (m *MsgAddTenantAdmin) GetSender() string
- func (msg *MsgAddTenantAdmin) GetSignBytes() []byte
- func (msg *MsgAddTenantAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgAddTenantAdmin) GetTenantId() uint64
- func (m *MsgAddTenantAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgAddTenantAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddTenantAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddTenantAdmin) ProtoMessage()
- func (m *MsgAddTenantAdmin) Reset()
- func (msg *MsgAddTenantAdmin) Route() string
- func (m *MsgAddTenantAdmin) Size() (n int)
- func (m *MsgAddTenantAdmin) String() string
- func (msg *MsgAddTenantAdmin) Type() string
- func (m *MsgAddTenantAdmin) Unmarshal(dAtA []byte) error
- func (msg *MsgAddTenantAdmin) ValidateBasic() error
- func (m *MsgAddTenantAdmin) XXX_DiscardUnknown()
- func (m *MsgAddTenantAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddTenantAdmin) XXX_Merge(src proto.Message)
- func (m *MsgAddTenantAdmin) XXX_Size() int
- func (m *MsgAddTenantAdmin) XXX_Unmarshal(b []byte) error
- type MsgAddTenantAdminResponse
- func (*MsgAddTenantAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddTenantAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddTenantAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddTenantAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddTenantAdminResponse) ProtoMessage()
- func (m *MsgAddTenantAdminResponse) Reset()
- func (m *MsgAddTenantAdminResponse) Size() (n int)
- func (m *MsgAddTenantAdminResponse) String() string
- func (m *MsgAddTenantAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddTenantAdminResponse) XXX_DiscardUnknown()
- func (m *MsgAddTenantAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddTenantAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddTenantAdminResponse) XXX_Size() int
- func (m *MsgAddTenantAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgCancel
- func (*MsgCancel) Descriptor() ([]byte, []int)
- func (m *MsgCancel) GetRequestId() string
- func (m *MsgCancel) GetSender() string
- func (msg *MsgCancel) GetSignBytes() []byte
- func (msg *MsgCancel) GetSigners() []sdk.AccAddress
- func (m *MsgCancel) GetTenantId() uint64
- func (m *MsgCancel) Marshal() (dAtA []byte, err error)
- func (m *MsgCancel) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancel) ProtoMessage()
- func (m *MsgCancel) Reset()
- func (msg *MsgCancel) Route() string
- func (m *MsgCancel) Size() (n int)
- func (m *MsgCancel) String() string
- func (msg *MsgCancel) Type() string
- func (m *MsgCancel) Unmarshal(dAtA []byte) error
- func (msg *MsgCancel) ValidateBasic() error
- func (m *MsgCancel) XXX_DiscardUnknown()
- func (m *MsgCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancel) XXX_Merge(src proto.Message)
- func (m *MsgCancel) XXX_Size() int
- func (m *MsgCancel) XXX_Unmarshal(b []byte) error
- type MsgCancelResponse
- func (*MsgCancelResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelResponse) ProtoMessage()
- func (m *MsgCancelResponse) Reset()
- func (m *MsgCancelResponse) Size() (n int)
- func (m *MsgCancelResponse) String() string
- func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelResponse) XXX_DiscardUnknown()
- func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelResponse) XXX_Size() int
- func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateTenant
- func (*MsgCreateTenant) Descriptor() ([]byte, []int)
- func (m *MsgCreateTenant) GetDenom() string
- func (m *MsgCreateTenant) GetPayoutPeriod() uint64
- func (m *MsgCreateTenant) GetSender() string
- func (msg *MsgCreateTenant) GetSignBytes() []byte
- func (msg *MsgCreateTenant) GetSigners() []sdk.AccAddress
- func (m *MsgCreateTenant) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateTenant) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateTenant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateTenant) ProtoMessage()
- func (m *MsgCreateTenant) Reset()
- func (msg *MsgCreateTenant) Route() string
- func (m *MsgCreateTenant) Size() (n int)
- func (m *MsgCreateTenant) String() string
- func (msg *MsgCreateTenant) Type() string
- func (m *MsgCreateTenant) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateTenant) ValidateBasic() error
- func (m *MsgCreateTenant) XXX_DiscardUnknown()
- func (m *MsgCreateTenant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateTenant) XXX_Merge(src proto.Message)
- func (m *MsgCreateTenant) XXX_Size() int
- func (m *MsgCreateTenant) XXX_Unmarshal(b []byte) error
- type MsgCreateTenantResponse
- func (*MsgCreateTenantResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateTenantResponse) GetTenantId() uint64
- func (m *MsgCreateTenantResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateTenantResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateTenantResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateTenantResponse) ProtoMessage()
- func (m *MsgCreateTenantResponse) Reset()
- func (m *MsgCreateTenantResponse) Size() (n int)
- func (m *MsgCreateTenantResponse) String() string
- func (m *MsgCreateTenantResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateTenantResponse) XXX_DiscardUnknown()
- func (m *MsgCreateTenantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateTenantResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateTenantResponse) XXX_Size() int
- func (m *MsgCreateTenantResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateTenantWithMintableContract
- func (*MsgCreateTenantWithMintableContract) Descriptor() ([]byte, []int)
- func (m *MsgCreateTenantWithMintableContract) GetContractAddress() string
- func (m *MsgCreateTenantWithMintableContract) GetDenom() string
- func (m *MsgCreateTenantWithMintableContract) GetPayoutPeriod() uint64
- func (m *MsgCreateTenantWithMintableContract) GetSender() string
- func (msg *MsgCreateTenantWithMintableContract) GetSignBytes() []byte
- func (msg *MsgCreateTenantWithMintableContract) GetSigners() []sdk.AccAddress
- func (m *MsgCreateTenantWithMintableContract) GetXContractAddress() isMsgCreateTenantWithMintableContract_XContractAddress
- func (m *MsgCreateTenantWithMintableContract) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateTenantWithMintableContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateTenantWithMintableContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateTenantWithMintableContract) ProtoMessage()
- func (m *MsgCreateTenantWithMintableContract) Reset()
- func (msg *MsgCreateTenantWithMintableContract) Route() string
- func (m *MsgCreateTenantWithMintableContract) Size() (n int)
- func (m *MsgCreateTenantWithMintableContract) String() string
- func (msg *MsgCreateTenantWithMintableContract) Type() string
- func (m *MsgCreateTenantWithMintableContract) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateTenantWithMintableContract) ValidateBasic() error
- func (m *MsgCreateTenantWithMintableContract) XXX_DiscardUnknown()
- func (m *MsgCreateTenantWithMintableContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateTenantWithMintableContract) XXX_Merge(src proto.Message)
- func (*MsgCreateTenantWithMintableContract) XXX_OneofWrappers() []interface{}
- func (m *MsgCreateTenantWithMintableContract) XXX_Size() int
- func (m *MsgCreateTenantWithMintableContract) XXX_Unmarshal(b []byte) error
- type MsgCreateTenantWithMintableContract_ContractAddress
- type MsgDepositToTreasury
- func (*MsgDepositToTreasury) Descriptor() ([]byte, []int)
- func (m *MsgDepositToTreasury) GetAmount() types.Coin
- func (m *MsgDepositToTreasury) GetSender() string
- func (msg *MsgDepositToTreasury) GetSignBytes() []byte
- func (msg *MsgDepositToTreasury) GetSigners() []sdk.AccAddress
- func (m *MsgDepositToTreasury) GetTenantId() uint64
- func (m *MsgDepositToTreasury) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositToTreasury) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositToTreasury) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositToTreasury) ProtoMessage()
- func (m *MsgDepositToTreasury) Reset()
- func (msg *MsgDepositToTreasury) Route() string
- func (m *MsgDepositToTreasury) Size() (n int)
- func (m *MsgDepositToTreasury) String() string
- func (msg *MsgDepositToTreasury) Type() string
- func (m *MsgDepositToTreasury) Unmarshal(dAtA []byte) error
- func (msg *MsgDepositToTreasury) ValidateBasic() error
- func (m *MsgDepositToTreasury) XXX_DiscardUnknown()
- func (m *MsgDepositToTreasury) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositToTreasury) XXX_Merge(src proto.Message)
- func (m *MsgDepositToTreasury) XXX_Size() int
- func (m *MsgDepositToTreasury) XXX_Unmarshal(b []byte) error
- type MsgDepositToTreasuryResponse
- func (*MsgDepositToTreasuryResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositToTreasuryResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositToTreasuryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositToTreasuryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositToTreasuryResponse) ProtoMessage()
- func (m *MsgDepositToTreasuryResponse) Reset()
- func (m *MsgDepositToTreasuryResponse) Size() (n int)
- func (m *MsgDepositToTreasuryResponse) String() string
- func (m *MsgDepositToTreasuryResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositToTreasuryResponse) XXX_DiscardUnknown()
- func (m *MsgDepositToTreasuryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositToTreasuryResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositToTreasuryResponse) XXX_Size() int
- func (m *MsgDepositToTreasuryResponse) XXX_Unmarshal(b []byte) error
- type MsgRecord
- func (*MsgRecord) Descriptor() ([]byte, []int)
- func (m *MsgRecord) GetAmount() types.Coin
- func (m *MsgRecord) GetChainId() string
- func (m *MsgRecord) GetContractAddress() string
- func (m *MsgRecord) GetMetadata() string
- func (m *MsgRecord) GetRequestId() string
- func (m *MsgRecord) GetSender() string
- func (msg *MsgRecord) GetSignBytes() []byte
- func (msg *MsgRecord) GetSigners() []sdk.AccAddress
- func (m *MsgRecord) GetTenantId() uint64
- func (m *MsgRecord) GetTokenIdHex() string
- func (m *MsgRecord) Marshal() (dAtA []byte, err error)
- func (m *MsgRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRecord) ProtoMessage()
- func (m *MsgRecord) Reset()
- func (msg *MsgRecord) Route() string
- func (m *MsgRecord) Size() (n int)
- func (m *MsgRecord) String() string
- func (msg *MsgRecord) Type() string
- func (m *MsgRecord) Unmarshal(dAtA []byte) error
- func (msg *MsgRecord) ValidateBasic() error
- func (m *MsgRecord) XXX_DiscardUnknown()
- func (m *MsgRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRecord) XXX_Merge(src proto.Message)
- func (m *MsgRecord) XXX_Size() int
- func (m *MsgRecord) XXX_Unmarshal(b []byte) error
- type MsgRecordResponse
- func (*MsgRecordResponse) Descriptor() ([]byte, []int)
- func (m *MsgRecordResponse) GetRecipient() string
- func (m *MsgRecordResponse) GetUtxrId() uint64
- func (m *MsgRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRecordResponse) ProtoMessage()
- func (m *MsgRecordResponse) Reset()
- func (m *MsgRecordResponse) Size() (n int)
- func (m *MsgRecordResponse) String() string
- func (m *MsgRecordResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRecordResponse) XXX_DiscardUnknown()
- func (m *MsgRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRecordResponse) XXX_Merge(src proto.Message)
- func (m *MsgRecordResponse) XXX_Size() int
- func (m *MsgRecordResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveTenantAdmin
- func (*MsgRemoveTenantAdmin) Descriptor() ([]byte, []int)
- func (m *MsgRemoveTenantAdmin) GetAdminToRemove() string
- func (m *MsgRemoveTenantAdmin) GetSender() string
- func (msg *MsgRemoveTenantAdmin) GetSignBytes() []byte
- func (msg *MsgRemoveTenantAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveTenantAdmin) GetTenantId() uint64
- func (m *MsgRemoveTenantAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveTenantAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveTenantAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveTenantAdmin) ProtoMessage()
- func (m *MsgRemoveTenantAdmin) Reset()
- func (msg *MsgRemoveTenantAdmin) Route() string
- func (m *MsgRemoveTenantAdmin) Size() (n int)
- func (m *MsgRemoveTenantAdmin) String() string
- func (msg *MsgRemoveTenantAdmin) Type() string
- func (m *MsgRemoveTenantAdmin) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveTenantAdmin) ValidateBasic() error
- func (m *MsgRemoveTenantAdmin) XXX_DiscardUnknown()
- func (m *MsgRemoveTenantAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveTenantAdmin) XXX_Merge(src proto.Message)
- func (m *MsgRemoveTenantAdmin) XXX_Size() int
- func (m *MsgRemoveTenantAdmin) XXX_Unmarshal(b []byte) error
- type MsgRemoveTenantAdminResponse
- func (*MsgRemoveTenantAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveTenantAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveTenantAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveTenantAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveTenantAdminResponse) ProtoMessage()
- func (m *MsgRemoveTenantAdminResponse) Reset()
- func (m *MsgRemoveTenantAdminResponse) Size() (n int)
- func (m *MsgRemoveTenantAdminResponse) String() string
- func (m *MsgRemoveTenantAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveTenantAdminResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveTenantAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveTenantAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveTenantAdminResponse) XXX_Size() int
- func (m *MsgRemoveTenantAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateTenantPayoutPeriod
- func (*MsgUpdateTenantPayoutPeriod) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTenantPayoutPeriod) GetPayoutPeriod() uint64
- func (m *MsgUpdateTenantPayoutPeriod) GetSender() string
- func (msg *MsgUpdateTenantPayoutPeriod) GetSignBytes() []byte
- func (msg *MsgUpdateTenantPayoutPeriod) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateTenantPayoutPeriod) GetTenantId() uint64
- func (m *MsgUpdateTenantPayoutPeriod) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTenantPayoutPeriod) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTenantPayoutPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTenantPayoutPeriod) ProtoMessage()
- func (m *MsgUpdateTenantPayoutPeriod) Reset()
- func (msg *MsgUpdateTenantPayoutPeriod) Route() string
- func (m *MsgUpdateTenantPayoutPeriod) Size() (n int)
- func (m *MsgUpdateTenantPayoutPeriod) String() string
- func (msg *MsgUpdateTenantPayoutPeriod) Type() string
- func (m *MsgUpdateTenantPayoutPeriod) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateTenantPayoutPeriod) ValidateBasic() error
- func (m *MsgUpdateTenantPayoutPeriod) XXX_DiscardUnknown()
- func (m *MsgUpdateTenantPayoutPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTenantPayoutPeriod) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTenantPayoutPeriod) XXX_Size() int
- func (m *MsgUpdateTenantPayoutPeriod) XXX_Unmarshal(b []byte) error
- type MsgUpdateTenantPayoutPeriodResponse
- func (*MsgUpdateTenantPayoutPeriodResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTenantPayoutPeriodResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTenantPayoutPeriodResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTenantPayoutPeriodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTenantPayoutPeriodResponse) ProtoMessage()
- func (m *MsgUpdateTenantPayoutPeriodResponse) Reset()
- func (m *MsgUpdateTenantPayoutPeriodResponse) Size() (n int)
- func (m *MsgUpdateTenantPayoutPeriodResponse) String() string
- func (m *MsgUpdateTenantPayoutPeriodResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Size() int
- func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Unmarshal(b []byte) error
- type NftOwnershipKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetGasPrice() types.Coin
- 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 (p 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 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 QueryTenantRequest
- func (*QueryTenantRequest) Descriptor() ([]byte, []int)
- func (m *QueryTenantRequest) GetTenantId() uint64
- func (m *QueryTenantRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTenantRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTenantRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTenantRequest) ProtoMessage()
- func (m *QueryTenantRequest) Reset()
- func (m *QueryTenantRequest) Size() (n int)
- func (m *QueryTenantRequest) String() string
- func (m *QueryTenantRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTenantRequest) XXX_DiscardUnknown()
- func (m *QueryTenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTenantRequest) XXX_Merge(src proto.Message)
- func (m *QueryTenantRequest) XXX_Size() int
- func (m *QueryTenantRequest) XXX_Unmarshal(b []byte) error
- type QueryTenantResponse
- func (*QueryTenantResponse) Descriptor() ([]byte, []int)
- func (m *QueryTenantResponse) GetTenant() TenantWithTreasury
- func (m *QueryTenantResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTenantResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTenantResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTenantResponse) ProtoMessage()
- func (m *QueryTenantResponse) Reset()
- func (m *QueryTenantResponse) Size() (n int)
- func (m *QueryTenantResponse) String() string
- func (m *QueryTenantResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTenantResponse) XXX_DiscardUnknown()
- func (m *QueryTenantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTenantResponse) XXX_Merge(src proto.Message)
- func (m *QueryTenantResponse) XXX_Size() int
- func (m *QueryTenantResponse) XXX_Unmarshal(b []byte) error
- type QueryTenantsRequest
- func (*QueryTenantsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTenantsRequest) GetPagination() *query.PageRequest
- func (m *QueryTenantsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTenantsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTenantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTenantsRequest) ProtoMessage()
- func (m *QueryTenantsRequest) Reset()
- func (m *QueryTenantsRequest) Size() (n int)
- func (m *QueryTenantsRequest) String() string
- func (m *QueryTenantsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTenantsRequest) XXX_DiscardUnknown()
- func (m *QueryTenantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTenantsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTenantsRequest) XXX_Size() int
- func (m *QueryTenantsRequest) XXX_Unmarshal(b []byte) error
- type QueryTenantsResponse
- func (*QueryTenantsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTenantsResponse) GetPagination() *query.PageResponse
- func (m *QueryTenantsResponse) GetTenants() []TenantWithTreasury
- func (m *QueryTenantsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTenantsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTenantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTenantsResponse) ProtoMessage()
- func (m *QueryTenantsResponse) Reset()
- func (m *QueryTenantsResponse) Size() (n int)
- func (m *QueryTenantsResponse) String() string
- func (m *QueryTenantsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTenantsResponse) XXX_DiscardUnknown()
- func (m *QueryTenantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTenantsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTenantsResponse) XXX_Size() int
- func (m *QueryTenantsResponse) XXX_Unmarshal(b []byte) error
- type QueryUTXRRRequest
- func (*QueryUTXRRRequest) Descriptor() ([]byte, []int)
- func (m *QueryUTXRRRequest) GetRequestId() string
- func (m *QueryUTXRRRequest) GetTenantId() uint64
- func (m *QueryUTXRRRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUTXRRRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUTXRRRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUTXRRRequest) ProtoMessage()
- func (m *QueryUTXRRRequest) Reset()
- func (m *QueryUTXRRRequest) Size() (n int)
- func (m *QueryUTXRRRequest) String() string
- func (m *QueryUTXRRRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUTXRRRequest) XXX_DiscardUnknown()
- func (m *QueryUTXRRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUTXRRRequest) XXX_Merge(src proto.Message)
- func (m *QueryUTXRRRequest) XXX_Size() int
- func (m *QueryUTXRRRequest) XXX_Unmarshal(b []byte) error
- type QueryUTXRResponse
- func (*QueryUTXRResponse) Descriptor() ([]byte, []int)
- func (m *QueryUTXRResponse) GetUtxr() UTXR
- func (m *QueryUTXRResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUTXRResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUTXRResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUTXRResponse) ProtoMessage()
- func (m *QueryUTXRResponse) Reset()
- func (m *QueryUTXRResponse) Size() (n int)
- func (m *QueryUTXRResponse) String() string
- func (m *QueryUTXRResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUTXRResponse) XXX_DiscardUnknown()
- func (m *QueryUTXRResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUTXRResponse) XXX_Merge(src proto.Message)
- func (m *QueryUTXRResponse) XXX_Size() int
- func (m *QueryUTXRResponse) XXX_Unmarshal(b []byte) error
- type QueryUTXRsRequest
- func (*QueryUTXRsRequest) Descriptor() ([]byte, []int)
- func (m *QueryUTXRsRequest) GetPagination() *query.PageRequest
- func (m *QueryUTXRsRequest) GetTenantId() uint64
- func (m *QueryUTXRsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUTXRsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUTXRsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUTXRsRequest) ProtoMessage()
- func (m *QueryUTXRsRequest) Reset()
- func (m *QueryUTXRsRequest) Size() (n int)
- func (m *QueryUTXRsRequest) String() string
- func (m *QueryUTXRsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUTXRsRequest) XXX_DiscardUnknown()
- func (m *QueryUTXRsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUTXRsRequest) XXX_Merge(src proto.Message)
- func (m *QueryUTXRsRequest) XXX_Size() int
- func (m *QueryUTXRsRequest) XXX_Unmarshal(b []byte) error
- type QueryUTXRsResponse
- func (*QueryUTXRsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUTXRsResponse) GetPagination() *query.PageResponse
- func (m *QueryUTXRsResponse) GetUtxrs() []UTXR
- func (m *QueryUTXRsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUTXRsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUTXRsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUTXRsResponse) ProtoMessage()
- func (m *QueryUTXRsResponse) Reset()
- func (m *QueryUTXRsResponse) Size() (n int)
- func (m *QueryUTXRsResponse) String() string
- func (m *QueryUTXRsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUTXRsResponse) XXX_DiscardUnknown()
- func (m *QueryUTXRsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUTXRsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUTXRsResponse) XXX_Size() int
- func (m *QueryUTXRsResponse) XXX_Unmarshal(b []byte) error
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)
- func (this *Tenant) Equal(that interface{}) bool
- func (m *Tenant) GetAdmins() []string
- func (m *Tenant) GetContractAddress() string
- func (m *Tenant) GetDenom() string
- func (m *Tenant) GetId() uint64
- func (m *Tenant) GetPayoutMethod() string
- func (m *Tenant) GetPayoutPeriod() uint64
- func (m *Tenant) Marshal() (dAtA []byte, err error)
- func (m *Tenant) MarshalTo(dAtA []byte) (int, error)
- func (m *Tenant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tenant) ProtoMessage()
- func (m *Tenant) Reset()
- func (m *Tenant) Size() (n int)
- func (t Tenant) String() string
- func (m *Tenant) Unmarshal(dAtA []byte) error
- func (m *Tenant) XXX_DiscardUnknown()
- func (m *Tenant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tenant) XXX_Merge(src proto.Message)
- func (m *Tenant) XXX_Size() int
- func (m *Tenant) XXX_Unmarshal(b []byte) error
- type TenantWithTreasury
- func (*TenantWithTreasury) Descriptor() ([]byte, []int)
- func (m *TenantWithTreasury) GetTenant() *Tenant
- func (m *TenantWithTreasury) GetTreasury() *Treasury
- func (m *TenantWithTreasury) Marshal() (dAtA []byte, err error)
- func (m *TenantWithTreasury) MarshalTo(dAtA []byte) (int, error)
- func (m *TenantWithTreasury) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TenantWithTreasury) ProtoMessage()
- func (m *TenantWithTreasury) Reset()
- func (m *TenantWithTreasury) Size() (n int)
- func (m *TenantWithTreasury) String() string
- func (m *TenantWithTreasury) Unmarshal(dAtA []byte) error
- func (m *TenantWithTreasury) XXX_DiscardUnknown()
- func (m *TenantWithTreasury) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantWithTreasury) XXX_Merge(src proto.Message)
- func (m *TenantWithTreasury) XXX_Size() int
- func (m *TenantWithTreasury) XXX_Unmarshal(b []byte) error
- type Treasury
- func (*Treasury) Descriptor() ([]byte, []int)
- func (m *Treasury) GetAddress() string
- func (m *Treasury) GetBalance() *types.Coin
- func (m *Treasury) Marshal() (dAtA []byte, err error)
- func (m *Treasury) MarshalTo(dAtA []byte) (int, error)
- func (m *Treasury) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Treasury) ProtoMessage()
- func (m *Treasury) Reset()
- func (m *Treasury) Size() (n int)
- func (m *Treasury) String() string
- func (m *Treasury) Unmarshal(dAtA []byte) error
- func (m *Treasury) XXX_DiscardUnknown()
- func (m *Treasury) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Treasury) XXX_Merge(src proto.Message)
- func (m *Treasury) XXX_Size() int
- func (m *Treasury) XXX_Unmarshal(b []byte) error
- type UTXR
- func (*UTXR) Descriptor() ([]byte, []int)
- func (m *UTXR) GetAmount() types.Coin
- func (m *UTXR) GetPayoutBlock() uint64
- func (m *UTXR) GetRequestId() string
- func (m *UTXR) Marshal() (dAtA []byte, err error)
- func (m *UTXR) MarshalTo(dAtA []byte) (int, error)
- func (m *UTXR) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UTXR) ProtoMessage()
- func (m *UTXR) Reset()
- func (m *UTXR) Size() (n int)
- func (m *UTXR) String() string
- func (m *UTXR) Unmarshal(dAtA []byte) error
- func (m *UTXR) XXX_DiscardUnknown()
- func (m *UTXR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UTXR) XXX_Merge(src proto.Message)
- func (m *UTXR) XXX_Size() int
- func (m *UTXR) XXX_Unmarshal(b []byte) error
- type UTXRWithTenantAndId
- func (*UTXRWithTenantAndId) Descriptor() ([]byte, []int)
- func (m *UTXRWithTenantAndId) GetId() uint64
- func (m *UTXRWithTenantAndId) GetTenantId() uint64
- func (m *UTXRWithTenantAndId) GetUtxr() UTXR
- func (m *UTXRWithTenantAndId) Marshal() (dAtA []byte, err error)
- func (m *UTXRWithTenantAndId) MarshalTo(dAtA []byte) (int, error)
- func (m *UTXRWithTenantAndId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UTXRWithTenantAndId) ProtoMessage()
- func (m *UTXRWithTenantAndId) Reset()
- func (m *UTXRWithTenantAndId) Size() (n int)
- func (m *UTXRWithTenantAndId) String() string
- func (m *UTXRWithTenantAndId) Unmarshal(dAtA []byte) error
- func (m *UTXRWithTenantAndId) XXX_DiscardUnknown()
- func (m *UTXRWithTenantAndId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UTXRWithTenantAndId) XXX_Merge(src proto.Message)
- func (m *UTXRWithTenantAndId) XXX_Size() int
- func (m *UTXRWithTenantAndId) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddTenantAdmin(ctx context.Context, req *MsgAddTenantAdmin) (*MsgAddTenantAdminResponse, error)
- func (*UnimplementedMsgServer) Cancel(ctx context.Context, req *MsgCancel) (*MsgCancelResponse, error)
- func (*UnimplementedMsgServer) CreateTenant(ctx context.Context, req *MsgCreateTenant) (*MsgCreateTenantResponse, error)
- func (*UnimplementedMsgServer) CreateTenantWithMintableContract(ctx context.Context, req *MsgCreateTenantWithMintableContract) (*MsgCreateTenantResponse, error)
- func (*UnimplementedMsgServer) DepositToTreasury(ctx context.Context, req *MsgDepositToTreasury) (*MsgDepositToTreasuryResponse, error)
- func (*UnimplementedMsgServer) Record(ctx context.Context, req *MsgRecord) (*MsgRecordResponse, error)
- func (*UnimplementedMsgServer) RemoveTenantAdmin(ctx context.Context, req *MsgRemoveTenantAdmin) (*MsgRemoveTenantAdminResponse, error)
- func (*UnimplementedMsgServer) UpdateTenantPayoutPeriod(ctx context.Context, req *MsgUpdateTenantPayoutPeriod) (*MsgUpdateTenantPayoutPeriodResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Tenant(ctx context.Context, req *QueryTenantRequest) (*QueryTenantResponse, error)
- func (*UnimplementedQueryServer) Tenants(ctx context.Context, req *QueryTenantsRequest) (*QueryTenantsResponse, error)
- func (*UnimplementedQueryServer) UTXR(ctx context.Context, req *QueryUTXRRRequest) (*QueryUTXRResponse, error)
- func (*UnimplementedQueryServer) UTXRs(ctx context.Context, req *QueryUTXRsRequest) (*QueryUTXRsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "settlement" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_settlement" )
const ( TypeMsgRecord = "record" TypeMsgCancel = "cancel" TypeMsgCreateTenant = "create_tenant" TypeMsgAddTenantAdmin = "add_tenant_admin" TypeMsgRemoveTenantAdmin = "remove_tenant_admin" TypeMsgUpdateTenantPayoutPeriod = "update_tenant_payout_period" TypeMsgDepositToTreasury = "deposit_to_treausry" )
const ( PayoutMethod_Native = "native" PayoutMethod_MintContract = "mintable_contract" )
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
Variables ¶
var ( ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) AminoCdc = codec.NewAminoCodec(amino) )
var ( ErrNotAuthorized = sdkerrors.Register(ModuleName, 1100, "not authorized") ErrNotEnoughBalance = sdkerrors.Register(ModuleName, 1101, "not enough balance") ErrInvalidTenant = sdkerrors.Register(ModuleName, 1102, "invalid tenant") ErrInvalidTxId = sdkerrors.Register(ModuleName, 1103, "invalid tx id") ErrInvalidAccount = sdkerrors.Register(ModuleName, 1104, "invalid account") ErrNotFound = sdkerrors.Register(ModuleName, 1105, "account not found") ErrInvalidRequest = sdkerrors.Register(ModuleName, 1106, "invalid request") ErrInvalidChainId = sdkerrors.Register(ModuleName, 1107, "invalid chain id") ErrInvalidContractAddress = sdkerrors.Register(ModuleName, 1108, "invalid contract address") ErrInvalidTokenId = sdkerrors.Register(ModuleName, 1109, "invalid token id") ErrEVMCallFailed = sdkerrors.Register(ModuleName, 1110, "evm call failed") ErrEventCreationFailed = sdkerrors.Register(ModuleName, 1111, "failed to emit event") ErrDuplicateRequestId = sdkerrors.Register(ModuleName, 1112, "duplicate request id") ErrUTXRNotFound = sdkerrors.Register(ModuleName, 1113, "utxr not found") ErrInvalidAdmin = sdkerrors.Register(ModuleName, 1114, "invalid admin") ErrCannotRemoveAdmin = sdkerrors.Register(ModuleName, 1115, "cannot remove admin") )
x/settlement module sentinel errors
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( UTXRPrefix = []byte{0x00} UTXRRequestIdPrefix = []byte{0x01} TenantPrefix = []byte{0x02} )
var ( KeyFee = []byte("Fee") KeyOracleFeePercentage = []byte("OracleFeePercentage") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func GetTenantTreasuryAccount ¶
func GetTenantTreasuryAccount(tenantId uint64) sdk.AccAddress
GetTenantTreasuryAccount gets the treasury account for the tenant by hashing the tenant account name
func GetTreasuryAccountName ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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)
func TenantStoreKey ¶
func UTXRStoreByRequestIdKey ¶
func UTXRStoreByTenantKey ¶
func UTXRStoreKey ¶
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { NewAccount(ctx sdk.Context, acc authtypes.AccountI) authtypes.AccountI NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI GetSequence(sdk.Context, sdk.AccAddress) (uint64, error) HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool SetAccount(ctx sdk.Context, acc authtypes.AccountI) GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI SetModuleAccount(ctx sdk.Context, macc authtypes.ModuleAccountI) }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type Erc20Keeper ¶
type Erc20Keeper interface { ConvertCoin(goCtx context.Context, msg *erc20types.MsgConvertCoin) (*erc20types.MsgConvertCoinResponse, error) IsDenomRegistered(ctx sdk.Context, denom string) bool }
type EventCancel ¶
type EventCancel struct { Tenant uint64 `protobuf:"varint,1,opt,name=tenant,proto3" json:"tenant,omitempty"` UtxrId uint64 `protobuf:"varint,2,opt,name=utxr_id,json=utxrId,proto3" json:"utxr_id,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` }
func (*EventCancel) Descriptor ¶
func (*EventCancel) Descriptor() ([]byte, []int)
func (*EventCancel) GetRequestId ¶
func (m *EventCancel) GetRequestId() string
func (*EventCancel) GetTenant ¶
func (m *EventCancel) GetTenant() uint64
func (*EventCancel) GetUtxrId ¶
func (m *EventCancel) GetUtxrId() uint64
func (*EventCancel) Marshal ¶
func (m *EventCancel) Marshal() (dAtA []byte, err error)
func (*EventCancel) MarshalToSizedBuffer ¶
func (m *EventCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCancel) ProtoMessage ¶
func (*EventCancel) ProtoMessage()
func (*EventCancel) Reset ¶
func (m *EventCancel) Reset()
func (*EventCancel) Size ¶
func (m *EventCancel) Size() (n int)
func (*EventCancel) String ¶
func (m *EventCancel) String() string
func (*EventCancel) Unmarshal ¶
func (m *EventCancel) Unmarshal(dAtA []byte) error
func (*EventCancel) XXX_DiscardUnknown ¶
func (m *EventCancel) XXX_DiscardUnknown()
func (*EventCancel) XXX_Marshal ¶
func (m *EventCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCancel) XXX_Merge ¶
func (m *EventCancel) XXX_Merge(src proto.Message)
func (*EventCancel) XXX_Size ¶
func (m *EventCancel) XXX_Size() int
func (*EventCancel) XXX_Unmarshal ¶
func (m *EventCancel) XXX_Unmarshal(b []byte) error
type EventDeployContract ¶
type EventDeployContract struct { Tenant uint64 `protobuf:"varint,1,opt,name=tenant,proto3" json:"tenant,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` TokenName string `protobuf:"bytes,3,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"` ContractAdmin string `protobuf:"bytes,4,opt,name=contract_admin,json=contractAdmin,proto3" json:"contract_admin,omitempty"` }
func (*EventDeployContract) Descriptor ¶
func (*EventDeployContract) Descriptor() ([]byte, []int)
func (*EventDeployContract) GetContractAddress ¶
func (m *EventDeployContract) GetContractAddress() string
func (*EventDeployContract) GetContractAdmin ¶
func (m *EventDeployContract) GetContractAdmin() string
func (*EventDeployContract) GetTenant ¶
func (m *EventDeployContract) GetTenant() uint64
func (*EventDeployContract) GetTokenName ¶
func (m *EventDeployContract) GetTokenName() string
func (*EventDeployContract) Marshal ¶
func (m *EventDeployContract) Marshal() (dAtA []byte, err error)
func (*EventDeployContract) MarshalTo ¶
func (m *EventDeployContract) MarshalTo(dAtA []byte) (int, error)
func (*EventDeployContract) MarshalToSizedBuffer ¶
func (m *EventDeployContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeployContract) ProtoMessage ¶
func (*EventDeployContract) ProtoMessage()
func (*EventDeployContract) Reset ¶
func (m *EventDeployContract) Reset()
func (*EventDeployContract) Size ¶
func (m *EventDeployContract) Size() (n int)
func (*EventDeployContract) String ¶
func (m *EventDeployContract) String() string
func (*EventDeployContract) Unmarshal ¶
func (m *EventDeployContract) Unmarshal(dAtA []byte) error
func (*EventDeployContract) XXX_DiscardUnknown ¶
func (m *EventDeployContract) XXX_DiscardUnknown()
func (*EventDeployContract) XXX_Marshal ¶
func (m *EventDeployContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeployContract) XXX_Merge ¶
func (m *EventDeployContract) XXX_Merge(src proto.Message)
func (*EventDeployContract) XXX_Size ¶
func (m *EventDeployContract) XXX_Size() int
func (*EventDeployContract) XXX_Unmarshal ¶
func (m *EventDeployContract) XXX_Unmarshal(b []byte) error
type EventRecord ¶
type EventRecord struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Tenant uint64 `protobuf:"varint,2,opt,name=tenant,proto3" json:"tenant,omitempty"` UtxrId uint64 `protobuf:"varint,3,opt,name=utxr_id,json=utxrId,proto3" json:"utxr_id,omitempty"` RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Amount types.Coin `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount"` ChainId string `protobuf:"bytes,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ContractAddress string `protobuf:"bytes,7,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` TokenIdHex string `protobuf:"bytes,8,opt,name=token_id_hex,json=tokenIdHex,proto3" json:"token_id_hex,omitempty"` Recipient string `protobuf:"bytes,9,opt,name=recipient,proto3" json:"recipient,omitempty"` Metadata string `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"` PayoutBlock uint64 `protobuf:"varint,11,opt,name=payout_block,json=payoutBlock,proto3" json:"payout_block,omitempty"` }
func (*EventRecord) Descriptor ¶
func (*EventRecord) Descriptor() ([]byte, []int)
func (*EventRecord) GetAmount ¶
func (m *EventRecord) GetAmount() types.Coin
func (*EventRecord) GetChainId ¶
func (m *EventRecord) GetChainId() string
func (*EventRecord) GetContractAddress ¶
func (m *EventRecord) GetContractAddress() string
func (*EventRecord) GetMetadata ¶
func (m *EventRecord) GetMetadata() string
func (*EventRecord) GetPayoutBlock ¶ added in v0.0.5
func (m *EventRecord) GetPayoutBlock() uint64
func (*EventRecord) GetRecipient ¶
func (m *EventRecord) GetRecipient() string
func (*EventRecord) GetRequestId ¶
func (m *EventRecord) GetRequestId() string
func (*EventRecord) GetSender ¶
func (m *EventRecord) GetSender() string
func (*EventRecord) GetTenant ¶
func (m *EventRecord) GetTenant() uint64
func (*EventRecord) GetTokenIdHex ¶
func (m *EventRecord) GetTokenIdHex() string
func (*EventRecord) GetUtxrId ¶
func (m *EventRecord) GetUtxrId() uint64
func (*EventRecord) Marshal ¶
func (m *EventRecord) Marshal() (dAtA []byte, err error)
func (*EventRecord) MarshalToSizedBuffer ¶
func (m *EventRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRecord) ProtoMessage ¶
func (*EventRecord) ProtoMessage()
func (*EventRecord) Reset ¶
func (m *EventRecord) Reset()
func (*EventRecord) Size ¶
func (m *EventRecord) Size() (n int)
func (*EventRecord) String ¶
func (m *EventRecord) String() string
func (*EventRecord) Unmarshal ¶
func (m *EventRecord) Unmarshal(dAtA []byte) error
func (*EventRecord) XXX_DiscardUnknown ¶
func (m *EventRecord) XXX_DiscardUnknown()
func (*EventRecord) XXX_Marshal ¶
func (m *EventRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRecord) XXX_Merge ¶
func (m *EventRecord) XXX_Merge(src proto.Message)
func (*EventRecord) XXX_Size ¶
func (m *EventRecord) XXX_Size() int
func (*EventRecord) XXX_Unmarshal ¶
func (m *EventRecord) XXX_Unmarshal(b []byte) error
type EventSettled ¶
type EventSettled struct { Tenant uint64 `protobuf:"varint,1,opt,name=tenant,proto3" json:"tenant,omitempty"` UtxrId uint64 `protobuf:"varint,2,opt,name=utxr_id,json=utxrId,proto3" json:"utxr_id,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Amount types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"` Recipient string `protobuf:"bytes,5,opt,name=recipient,proto3" json:"recipient,omitempty"` }
func (*EventSettled) Descriptor ¶
func (*EventSettled) Descriptor() ([]byte, []int)
func (*EventSettled) GetAmount ¶
func (m *EventSettled) GetAmount() types.Coin
func (*EventSettled) GetRecipient ¶
func (m *EventSettled) GetRecipient() string
func (*EventSettled) GetRequestId ¶
func (m *EventSettled) GetRequestId() string
func (*EventSettled) GetTenant ¶
func (m *EventSettled) GetTenant() uint64
func (*EventSettled) GetUtxrId ¶
func (m *EventSettled) GetUtxrId() uint64
func (*EventSettled) Marshal ¶
func (m *EventSettled) Marshal() (dAtA []byte, err error)
func (*EventSettled) MarshalToSizedBuffer ¶
func (m *EventSettled) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSettled) ProtoMessage ¶
func (*EventSettled) ProtoMessage()
func (*EventSettled) Reset ¶
func (m *EventSettled) Reset()
func (*EventSettled) Size ¶
func (m *EventSettled) Size() (n int)
func (*EventSettled) String ¶
func (m *EventSettled) String() string
func (*EventSettled) Unmarshal ¶
func (m *EventSettled) Unmarshal(dAtA []byte) error
func (*EventSettled) XXX_DiscardUnknown ¶
func (m *EventSettled) XXX_DiscardUnknown()
func (*EventSettled) XXX_Marshal ¶
func (m *EventSettled) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSettled) XXX_Merge ¶
func (m *EventSettled) XXX_Merge(src proto.Message)
func (*EventSettled) XXX_Size ¶
func (m *EventSettled) XXX_Size() int
func (*EventSettled) XXX_Unmarshal ¶
func (m *EventSettled) XXX_Unmarshal(b []byte) error
type EventSettlementFailed ¶
type EventSettlementFailed struct { Tenant uint64 `protobuf:"varint,1,opt,name=tenant,proto3" json:"tenant,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` }
func (*EventSettlementFailed) Descriptor ¶
func (*EventSettlementFailed) Descriptor() ([]byte, []int)
func (*EventSettlementFailed) GetReason ¶
func (m *EventSettlementFailed) GetReason() string
func (*EventSettlementFailed) GetTenant ¶
func (m *EventSettlementFailed) GetTenant() uint64
func (*EventSettlementFailed) Marshal ¶
func (m *EventSettlementFailed) Marshal() (dAtA []byte, err error)
func (*EventSettlementFailed) MarshalTo ¶
func (m *EventSettlementFailed) MarshalTo(dAtA []byte) (int, error)
func (*EventSettlementFailed) MarshalToSizedBuffer ¶
func (m *EventSettlementFailed) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSettlementFailed) ProtoMessage ¶
func (*EventSettlementFailed) ProtoMessage()
func (*EventSettlementFailed) Reset ¶
func (m *EventSettlementFailed) Reset()
func (*EventSettlementFailed) Size ¶
func (m *EventSettlementFailed) Size() (n int)
func (*EventSettlementFailed) String ¶
func (m *EventSettlementFailed) String() string
func (*EventSettlementFailed) Unmarshal ¶
func (m *EventSettlementFailed) Unmarshal(dAtA []byte) error
func (*EventSettlementFailed) XXX_DiscardUnknown ¶
func (m *EventSettlementFailed) XXX_DiscardUnknown()
func (*EventSettlementFailed) XXX_Marshal ¶
func (m *EventSettlementFailed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSettlementFailed) XXX_Merge ¶
func (m *EventSettlementFailed) XXX_Merge(src proto.Message)
func (*EventSettlementFailed) XXX_Size ¶
func (m *EventSettlementFailed) XXX_Size() int
func (*EventSettlementFailed) XXX_Unmarshal ¶
func (m *EventSettlementFailed) XXX_Unmarshal(b []byte) error
type EvmKeeper ¶
type EvmKeeper interface { CallEVM(ctx sdk.Context, abi abi.ABI, from, contract common.Address, commit bool, method string, args ...interface{}) (*evmtypes.MsgEthereumTxResponse, error) CallEVMWithData(ctx sdk.Context, from common.Address, contract *common.Address, data []byte, commit bool) (*evmtypes.MsgEthereumTxResponse, error) }
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` Tenants []Tenant `protobuf:"bytes,2,rep,name=tenants,proto3" json:"tenants"` Utxrs []UTXRWithTenantAndId `protobuf:"bytes,3,rep,name=utxrs,proto3" json:"utxrs"` }
GenesisState defines the settlement module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetTenants ¶
func (m *GenesisState) GetTenants() []Tenant
func (*GenesisState) GetUtxrs ¶
func (m *GenesisState) GetUtxrs() []UTXRWithTenantAndId
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 MsgAddTenantAdmin ¶
type MsgAddTenantAdmin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` TenantId uint64 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"` }
MsgAddTenantAdmin is the AddTenantAdmin request type.
func NewMsgAddTenantAdmin ¶
func NewMsgAddTenantAdmin(sender string, tenantId uint64, newAdmin string) *MsgAddTenantAdmin
func (*MsgAddTenantAdmin) Descriptor ¶
func (*MsgAddTenantAdmin) Descriptor() ([]byte, []int)
func (*MsgAddTenantAdmin) GetNewAdmin ¶
func (m *MsgAddTenantAdmin) GetNewAdmin() string
func (*MsgAddTenantAdmin) GetSender ¶
func (m *MsgAddTenantAdmin) GetSender() string
func (*MsgAddTenantAdmin) GetSignBytes ¶
func (msg *MsgAddTenantAdmin) GetSignBytes() []byte
func (*MsgAddTenantAdmin) GetSigners ¶
func (msg *MsgAddTenantAdmin) GetSigners() []sdk.AccAddress
func (*MsgAddTenantAdmin) GetTenantId ¶
func (m *MsgAddTenantAdmin) GetTenantId() uint64
func (*MsgAddTenantAdmin) Marshal ¶
func (m *MsgAddTenantAdmin) Marshal() (dAtA []byte, err error)
func (*MsgAddTenantAdmin) MarshalTo ¶
func (m *MsgAddTenantAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddTenantAdmin) MarshalToSizedBuffer ¶
func (m *MsgAddTenantAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddTenantAdmin) ProtoMessage ¶
func (*MsgAddTenantAdmin) ProtoMessage()
func (*MsgAddTenantAdmin) Reset ¶
func (m *MsgAddTenantAdmin) Reset()
func (*MsgAddTenantAdmin) Route ¶
func (msg *MsgAddTenantAdmin) Route() string
func (*MsgAddTenantAdmin) Size ¶
func (m *MsgAddTenantAdmin) Size() (n int)
func (*MsgAddTenantAdmin) String ¶
func (m *MsgAddTenantAdmin) String() string
func (*MsgAddTenantAdmin) Type ¶
func (msg *MsgAddTenantAdmin) Type() string
func (*MsgAddTenantAdmin) Unmarshal ¶
func (m *MsgAddTenantAdmin) Unmarshal(dAtA []byte) error
func (*MsgAddTenantAdmin) ValidateBasic ¶
func (msg *MsgAddTenantAdmin) ValidateBasic() error
func (*MsgAddTenantAdmin) XXX_DiscardUnknown ¶
func (m *MsgAddTenantAdmin) XXX_DiscardUnknown()
func (*MsgAddTenantAdmin) XXX_Marshal ¶
func (m *MsgAddTenantAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddTenantAdmin) XXX_Merge ¶
func (m *MsgAddTenantAdmin) XXX_Merge(src proto.Message)
func (*MsgAddTenantAdmin) XXX_Size ¶
func (m *MsgAddTenantAdmin) XXX_Size() int
func (*MsgAddTenantAdmin) XXX_Unmarshal ¶
func (m *MsgAddTenantAdmin) XXX_Unmarshal(b []byte) error
type MsgAddTenantAdminResponse ¶
type MsgAddTenantAdminResponse struct { }
MsgAddTenantAdminResponse defines the response structure for executing a MsgAddTenantAdmin message.
func (*MsgAddTenantAdminResponse) Descriptor ¶
func (*MsgAddTenantAdminResponse) Descriptor() ([]byte, []int)
func (*MsgAddTenantAdminResponse) Marshal ¶
func (m *MsgAddTenantAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddTenantAdminResponse) MarshalTo ¶
func (m *MsgAddTenantAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddTenantAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgAddTenantAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddTenantAdminResponse) ProtoMessage ¶
func (*MsgAddTenantAdminResponse) ProtoMessage()
func (*MsgAddTenantAdminResponse) Reset ¶
func (m *MsgAddTenantAdminResponse) Reset()
func (*MsgAddTenantAdminResponse) Size ¶
func (m *MsgAddTenantAdminResponse) Size() (n int)
func (*MsgAddTenantAdminResponse) String ¶
func (m *MsgAddTenantAdminResponse) String() string
func (*MsgAddTenantAdminResponse) Unmarshal ¶
func (m *MsgAddTenantAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgAddTenantAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgAddTenantAdminResponse) XXX_DiscardUnknown()
func (*MsgAddTenantAdminResponse) XXX_Marshal ¶
func (m *MsgAddTenantAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddTenantAdminResponse) XXX_Merge ¶
func (m *MsgAddTenantAdminResponse) XXX_Merge(src proto.Message)
func (*MsgAddTenantAdminResponse) XXX_Size ¶
func (m *MsgAddTenantAdminResponse) XXX_Size() int
func (*MsgAddTenantAdminResponse) XXX_Unmarshal ¶
func (m *MsgAddTenantAdminResponse) XXX_Unmarshal(b []byte) error
type MsgCancel ¶
type MsgCancel struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` TenantId uint64 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` }
MsgCancel is the Cancel request type.
func (*MsgCancel) Descriptor ¶
func (*MsgCancel) GetRequestId ¶
func (*MsgCancel) GetSignBytes ¶
func (*MsgCancel) GetSigners ¶
func (msg *MsgCancel) GetSigners() []sdk.AccAddress
func (*MsgCancel) GetTenantId ¶
func (*MsgCancel) MarshalToSizedBuffer ¶
func (*MsgCancel) ProtoMessage ¶
func (*MsgCancel) ProtoMessage()
func (*MsgCancel) ValidateBasic ¶
func (*MsgCancel) XXX_DiscardUnknown ¶
func (m *MsgCancel) XXX_DiscardUnknown()
func (*MsgCancel) XXX_Marshal ¶
func (*MsgCancel) XXX_Unmarshal ¶
type MsgCancelResponse ¶
type MsgCancelResponse struct { }
MsgCancelResponse defines the response structure for executing a MsgCancel message.
func (*MsgCancelResponse) Descriptor ¶
func (*MsgCancelResponse) Descriptor() ([]byte, []int)
func (*MsgCancelResponse) Marshal ¶
func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelResponse) MarshalTo ¶
func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelResponse) ProtoMessage ¶
func (*MsgCancelResponse) ProtoMessage()
func (*MsgCancelResponse) Reset ¶
func (m *MsgCancelResponse) Reset()
func (*MsgCancelResponse) Size ¶
func (m *MsgCancelResponse) Size() (n int)
func (*MsgCancelResponse) String ¶
func (m *MsgCancelResponse) String() string
func (*MsgCancelResponse) Unmarshal ¶
func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelResponse) XXX_DiscardUnknown()
func (*MsgCancelResponse) XXX_Marshal ¶
func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelResponse) XXX_Merge ¶
func (m *MsgCancelResponse) XXX_Merge(src proto.Message)
func (*MsgCancelResponse) XXX_Size ¶
func (m *MsgCancelResponse) XXX_Size() int
func (*MsgCancelResponse) XXX_Unmarshal ¶
func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // Record records a revenue for a tenant. Record(ctx context.Context, in *MsgRecord, opts ...grpc.CallOption) (*MsgRecordResponse, error) // Cancel cancels a revenue record for a tenant. Cancel(ctx context.Context, in *MsgCancel, opts ...grpc.CallOption) (*MsgCancelResponse, error) // CreateTenant creates a new tenant. CreateTenant(ctx context.Context, in *MsgCreateTenant, opts ...grpc.CallOption) (*MsgCreateTenantResponse, error) // CreateTenantWithMintableContract creates a new tenant with a mintable // contract. CreateTenantWithMintableContract(ctx context.Context, in *MsgCreateTenantWithMintableContract, opts ...grpc.CallOption) (*MsgCreateTenantResponse, error) // AddTenantAdmin adds a new admin to a tenant. AddTenantAdmin(ctx context.Context, in *MsgAddTenantAdmin, opts ...grpc.CallOption) (*MsgAddTenantAdminResponse, error) // RemoveTenantAdmin removes an admin from a tenant. RemoveTenantAdmin(ctx context.Context, in *MsgRemoveTenantAdmin, opts ...grpc.CallOption) (*MsgRemoveTenantAdminResponse, error) // UpdateTenantPayoutPeriod updates the payout period for a tenant. UpdateTenantPayoutPeriod(ctx context.Context, in *MsgUpdateTenantPayoutPeriod, opts ...grpc.CallOption) (*MsgUpdateTenantPayoutPeriodResponse, error) // DepositToTreasury deposits funds to the treasury. DepositToTreasury(ctx context.Context, in *MsgDepositToTreasury, opts ...grpc.CallOption) (*MsgDepositToTreasuryResponse, 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 MsgCreateTenant ¶
type MsgCreateTenant struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` PayoutPeriod uint64 `protobuf:"varint,3,opt,name=payout_period,json=payoutPeriod,proto3" json:"payout_period,omitempty"` }
MsgCreateTenant is the CreateTenant request type.
func NewMsgCreateTenant ¶
func NewMsgCreateTenant(sender string, denom string, payoutPeriod uint64) *MsgCreateTenant
func (*MsgCreateTenant) Descriptor ¶
func (*MsgCreateTenant) Descriptor() ([]byte, []int)
func (*MsgCreateTenant) GetDenom ¶
func (m *MsgCreateTenant) GetDenom() string
func (*MsgCreateTenant) GetPayoutPeriod ¶
func (m *MsgCreateTenant) GetPayoutPeriod() uint64
func (*MsgCreateTenant) GetSender ¶
func (m *MsgCreateTenant) GetSender() string
func (*MsgCreateTenant) GetSignBytes ¶
func (msg *MsgCreateTenant) GetSignBytes() []byte
func (*MsgCreateTenant) GetSigners ¶
func (msg *MsgCreateTenant) GetSigners() []sdk.AccAddress
func (*MsgCreateTenant) Marshal ¶
func (m *MsgCreateTenant) Marshal() (dAtA []byte, err error)
func (*MsgCreateTenant) MarshalToSizedBuffer ¶
func (m *MsgCreateTenant) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateTenant) ProtoMessage ¶
func (*MsgCreateTenant) ProtoMessage()
func (*MsgCreateTenant) Reset ¶
func (m *MsgCreateTenant) Reset()
func (*MsgCreateTenant) Route ¶
func (msg *MsgCreateTenant) Route() string
func (*MsgCreateTenant) Size ¶
func (m *MsgCreateTenant) Size() (n int)
func (*MsgCreateTenant) String ¶
func (m *MsgCreateTenant) String() string
func (*MsgCreateTenant) Type ¶
func (msg *MsgCreateTenant) Type() string
func (*MsgCreateTenant) Unmarshal ¶
func (m *MsgCreateTenant) Unmarshal(dAtA []byte) error
func (*MsgCreateTenant) ValidateBasic ¶
func (msg *MsgCreateTenant) ValidateBasic() error
func (*MsgCreateTenant) XXX_DiscardUnknown ¶
func (m *MsgCreateTenant) XXX_DiscardUnknown()
func (*MsgCreateTenant) XXX_Marshal ¶
func (m *MsgCreateTenant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateTenant) XXX_Merge ¶
func (m *MsgCreateTenant) XXX_Merge(src proto.Message)
func (*MsgCreateTenant) XXX_Size ¶
func (m *MsgCreateTenant) XXX_Size() int
func (*MsgCreateTenant) XXX_Unmarshal ¶
func (m *MsgCreateTenant) XXX_Unmarshal(b []byte) error
type MsgCreateTenantResponse ¶
type MsgCreateTenantResponse struct {
TenantId uint64 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
}
MsgCreateTenantResponse defines the response structure for executing a MsgCreateTenant message.
func (*MsgCreateTenantResponse) Descriptor ¶
func (*MsgCreateTenantResponse) Descriptor() ([]byte, []int)
func (*MsgCreateTenantResponse) GetTenantId ¶
func (m *MsgCreateTenantResponse) GetTenantId() uint64
func (*MsgCreateTenantResponse) Marshal ¶
func (m *MsgCreateTenantResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateTenantResponse) MarshalTo ¶
func (m *MsgCreateTenantResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateTenantResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateTenantResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateTenantResponse) ProtoMessage ¶
func (*MsgCreateTenantResponse) ProtoMessage()
func (*MsgCreateTenantResponse) Reset ¶
func (m *MsgCreateTenantResponse) Reset()
func (*MsgCreateTenantResponse) Size ¶
func (m *MsgCreateTenantResponse) Size() (n int)
func (*MsgCreateTenantResponse) String ¶
func (m *MsgCreateTenantResponse) String() string
func (*MsgCreateTenantResponse) Unmarshal ¶
func (m *MsgCreateTenantResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateTenantResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateTenantResponse) XXX_DiscardUnknown()
func (*MsgCreateTenantResponse) XXX_Marshal ¶
func (m *MsgCreateTenantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateTenantResponse) XXX_Merge ¶
func (m *MsgCreateTenantResponse) XXX_Merge(src proto.Message)
func (*MsgCreateTenantResponse) XXX_Size ¶
func (m *MsgCreateTenantResponse) XXX_Size() int
func (*MsgCreateTenantResponse) XXX_Unmarshal ¶
func (m *MsgCreateTenantResponse) XXX_Unmarshal(b []byte) error
type MsgCreateTenantWithMintableContract ¶
type MsgCreateTenantWithMintableContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` PayoutPeriod uint64 `protobuf:"varint,3,opt,name=payout_period,json=payoutPeriod,proto3" json:"payout_period,omitempty"` // Types that are valid to be assigned to XContractAddress: // *MsgCreateTenantWithMintableContract_ContractAddress XContractAddress isMsgCreateTenantWithMintableContract_XContractAddress `protobuf_oneof:"_contract_address"` }
MsgCreateTenantWithMintableContract is the CreateTenantWithMintableContract request type.
func NewMsgCreateTenantWithMintableContract ¶
func NewMsgCreateTenantWithMintableContract(sender string, denom string, payoutPeriod uint64, contractAddress string) *MsgCreateTenantWithMintableContract
func (*MsgCreateTenantWithMintableContract) Descriptor ¶
func (*MsgCreateTenantWithMintableContract) Descriptor() ([]byte, []int)
func (*MsgCreateTenantWithMintableContract) GetContractAddress ¶
func (m *MsgCreateTenantWithMintableContract) GetContractAddress() string
func (*MsgCreateTenantWithMintableContract) GetDenom ¶
func (m *MsgCreateTenantWithMintableContract) GetDenom() string
func (*MsgCreateTenantWithMintableContract) GetPayoutPeriod ¶
func (m *MsgCreateTenantWithMintableContract) GetPayoutPeriod() uint64
func (*MsgCreateTenantWithMintableContract) GetSender ¶
func (m *MsgCreateTenantWithMintableContract) GetSender() string
func (*MsgCreateTenantWithMintableContract) GetSignBytes ¶
func (msg *MsgCreateTenantWithMintableContract) GetSignBytes() []byte
func (*MsgCreateTenantWithMintableContract) GetSigners ¶
func (msg *MsgCreateTenantWithMintableContract) GetSigners() []sdk.AccAddress
func (*MsgCreateTenantWithMintableContract) GetXContractAddress ¶
func (m *MsgCreateTenantWithMintableContract) GetXContractAddress() isMsgCreateTenantWithMintableContract_XContractAddress
func (*MsgCreateTenantWithMintableContract) Marshal ¶
func (m *MsgCreateTenantWithMintableContract) Marshal() (dAtA []byte, err error)
func (*MsgCreateTenantWithMintableContract) MarshalTo ¶
func (m *MsgCreateTenantWithMintableContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateTenantWithMintableContract) MarshalToSizedBuffer ¶
func (m *MsgCreateTenantWithMintableContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateTenantWithMintableContract) ProtoMessage ¶
func (*MsgCreateTenantWithMintableContract) ProtoMessage()
func (*MsgCreateTenantWithMintableContract) Reset ¶
func (m *MsgCreateTenantWithMintableContract) Reset()
func (*MsgCreateTenantWithMintableContract) Route ¶
func (msg *MsgCreateTenantWithMintableContract) Route() string
func (*MsgCreateTenantWithMintableContract) Size ¶
func (m *MsgCreateTenantWithMintableContract) Size() (n int)
func (*MsgCreateTenantWithMintableContract) String ¶
func (m *MsgCreateTenantWithMintableContract) String() string
func (*MsgCreateTenantWithMintableContract) Type ¶
func (msg *MsgCreateTenantWithMintableContract) Type() string
func (*MsgCreateTenantWithMintableContract) Unmarshal ¶
func (m *MsgCreateTenantWithMintableContract) Unmarshal(dAtA []byte) error
func (*MsgCreateTenantWithMintableContract) ValidateBasic ¶
func (msg *MsgCreateTenantWithMintableContract) ValidateBasic() error
func (*MsgCreateTenantWithMintableContract) XXX_DiscardUnknown ¶
func (m *MsgCreateTenantWithMintableContract) XXX_DiscardUnknown()
func (*MsgCreateTenantWithMintableContract) XXX_Marshal ¶
func (m *MsgCreateTenantWithMintableContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateTenantWithMintableContract) XXX_Merge ¶
func (m *MsgCreateTenantWithMintableContract) XXX_Merge(src proto.Message)
func (*MsgCreateTenantWithMintableContract) XXX_OneofWrappers ¶
func (*MsgCreateTenantWithMintableContract) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MsgCreateTenantWithMintableContract) XXX_Size ¶
func (m *MsgCreateTenantWithMintableContract) XXX_Size() int
func (*MsgCreateTenantWithMintableContract) XXX_Unmarshal ¶
func (m *MsgCreateTenantWithMintableContract) XXX_Unmarshal(b []byte) error
type MsgCreateTenantWithMintableContract_ContractAddress ¶
type MsgCreateTenantWithMintableContract_ContractAddress struct {
ContractAddress string `protobuf:"bytes,4,opt,name=contract_address,json=contractAddress,proto3,oneof" json:"contract_address,omitempty"`
}
func (*MsgCreateTenantWithMintableContract_ContractAddress) MarshalTo ¶
func (m *MsgCreateTenantWithMintableContract_ContractAddress) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateTenantWithMintableContract_ContractAddress) MarshalToSizedBuffer ¶
func (m *MsgCreateTenantWithMintableContract_ContractAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateTenantWithMintableContract_ContractAddress) Size ¶
func (m *MsgCreateTenantWithMintableContract_ContractAddress) Size() (n int)
type MsgDepositToTreasury ¶
type MsgDepositToTreasury struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` TenantId uint64 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` }
MsgPayout is the Payout request type.
func NewMsgDepositToTreasury ¶
func NewMsgDepositToTreasury(sender string, tenantId uint64, amount sdk.Coin) *MsgDepositToTreasury
func (*MsgDepositToTreasury) Descriptor ¶
func (*MsgDepositToTreasury) Descriptor() ([]byte, []int)
func (*MsgDepositToTreasury) GetAmount ¶
func (m *MsgDepositToTreasury) GetAmount() types.Coin
func (*MsgDepositToTreasury) GetSender ¶
func (m *MsgDepositToTreasury) GetSender() string
func (*MsgDepositToTreasury) GetSignBytes ¶
func (msg *MsgDepositToTreasury) GetSignBytes() []byte
func (*MsgDepositToTreasury) GetSigners ¶
func (msg *MsgDepositToTreasury) GetSigners() []sdk.AccAddress
func (*MsgDepositToTreasury) GetTenantId ¶
func (m *MsgDepositToTreasury) GetTenantId() uint64
func (*MsgDepositToTreasury) Marshal ¶
func (m *MsgDepositToTreasury) Marshal() (dAtA []byte, err error)
func (*MsgDepositToTreasury) MarshalTo ¶
func (m *MsgDepositToTreasury) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositToTreasury) MarshalToSizedBuffer ¶
func (m *MsgDepositToTreasury) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositToTreasury) ProtoMessage ¶
func (*MsgDepositToTreasury) ProtoMessage()
func (*MsgDepositToTreasury) Reset ¶
func (m *MsgDepositToTreasury) Reset()
func (*MsgDepositToTreasury) Route ¶
func (msg *MsgDepositToTreasury) Route() string
func (*MsgDepositToTreasury) Size ¶
func (m *MsgDepositToTreasury) Size() (n int)
func (*MsgDepositToTreasury) String ¶
func (m *MsgDepositToTreasury) String() string
func (*MsgDepositToTreasury) Type ¶
func (msg *MsgDepositToTreasury) Type() string
func (*MsgDepositToTreasury) Unmarshal ¶
func (m *MsgDepositToTreasury) Unmarshal(dAtA []byte) error
func (*MsgDepositToTreasury) ValidateBasic ¶
func (msg *MsgDepositToTreasury) ValidateBasic() error
func (*MsgDepositToTreasury) XXX_DiscardUnknown ¶
func (m *MsgDepositToTreasury) XXX_DiscardUnknown()
func (*MsgDepositToTreasury) XXX_Marshal ¶
func (m *MsgDepositToTreasury) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositToTreasury) XXX_Merge ¶
func (m *MsgDepositToTreasury) XXX_Merge(src proto.Message)
func (*MsgDepositToTreasury) XXX_Size ¶
func (m *MsgDepositToTreasury) XXX_Size() int
func (*MsgDepositToTreasury) XXX_Unmarshal ¶
func (m *MsgDepositToTreasury) XXX_Unmarshal(b []byte) error
type MsgDepositToTreasuryResponse ¶
type MsgDepositToTreasuryResponse struct { }
MsgPayoutResponse defines the response structure for executing a MsgPayout message.
func (*MsgDepositToTreasuryResponse) Descriptor ¶
func (*MsgDepositToTreasuryResponse) Descriptor() ([]byte, []int)
func (*MsgDepositToTreasuryResponse) Marshal ¶
func (m *MsgDepositToTreasuryResponse) Marshal() (dAtA []byte, err error)
func (*MsgDepositToTreasuryResponse) MarshalTo ¶
func (m *MsgDepositToTreasuryResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDepositToTreasuryResponse) MarshalToSizedBuffer ¶
func (m *MsgDepositToTreasuryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDepositToTreasuryResponse) ProtoMessage ¶
func (*MsgDepositToTreasuryResponse) ProtoMessage()
func (*MsgDepositToTreasuryResponse) Reset ¶
func (m *MsgDepositToTreasuryResponse) Reset()
func (*MsgDepositToTreasuryResponse) Size ¶
func (m *MsgDepositToTreasuryResponse) Size() (n int)
func (*MsgDepositToTreasuryResponse) String ¶
func (m *MsgDepositToTreasuryResponse) String() string
func (*MsgDepositToTreasuryResponse) Unmarshal ¶
func (m *MsgDepositToTreasuryResponse) Unmarshal(dAtA []byte) error
func (*MsgDepositToTreasuryResponse) XXX_DiscardUnknown ¶
func (m *MsgDepositToTreasuryResponse) XXX_DiscardUnknown()
func (*MsgDepositToTreasuryResponse) XXX_Marshal ¶
func (m *MsgDepositToTreasuryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDepositToTreasuryResponse) XXX_Merge ¶
func (m *MsgDepositToTreasuryResponse) XXX_Merge(src proto.Message)
func (*MsgDepositToTreasuryResponse) XXX_Size ¶
func (m *MsgDepositToTreasuryResponse) XXX_Size() int
func (*MsgDepositToTreasuryResponse) XXX_Unmarshal ¶
func (m *MsgDepositToTreasuryResponse) XXX_Unmarshal(b []byte) error
type MsgRecord ¶
type MsgRecord struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` TenantId uint64 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Amount types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"` ChainId string `protobuf:"bytes,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ContractAddress string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` TokenIdHex string `protobuf:"bytes,7,opt,name=token_id_hex,json=tokenIdHex,proto3" json:"token_id_hex,omitempty"` Metadata string `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` }
MsgRecordRevenue is the RecordRevenue request type.
func NewMsgRecord ¶
func (*MsgRecord) Descriptor ¶
func (*MsgRecord) GetChainId ¶
func (*MsgRecord) GetContractAddress ¶
func (*MsgRecord) GetMetadata ¶
func (*MsgRecord) GetRequestId ¶
func (*MsgRecord) GetSignBytes ¶
func (*MsgRecord) GetSigners ¶
func (msg *MsgRecord) GetSigners() []sdk.AccAddress
func (*MsgRecord) GetTenantId ¶
func (*MsgRecord) GetTokenIdHex ¶
func (*MsgRecord) MarshalToSizedBuffer ¶
func (*MsgRecord) ProtoMessage ¶
func (*MsgRecord) ProtoMessage()
func (*MsgRecord) ValidateBasic ¶
func (*MsgRecord) XXX_DiscardUnknown ¶
func (m *MsgRecord) XXX_DiscardUnknown()
func (*MsgRecord) XXX_Marshal ¶
func (*MsgRecord) XXX_Unmarshal ¶
type MsgRecordResponse ¶
type MsgRecordResponse struct { UtxrId uint64 `protobuf:"varint,1,opt,name=utxr_id,json=utxrId,proto3" json:"utxr_id,omitempty"` Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` }
MsgRecordResponse defines the response structure for executing a MsgRecord message.
func (*MsgRecordResponse) Descriptor ¶
func (*MsgRecordResponse) Descriptor() ([]byte, []int)
func (*MsgRecordResponse) GetRecipient ¶
func (m *MsgRecordResponse) GetRecipient() string
func (*MsgRecordResponse) GetUtxrId ¶
func (m *MsgRecordResponse) GetUtxrId() uint64
func (*MsgRecordResponse) Marshal ¶
func (m *MsgRecordResponse) Marshal() (dAtA []byte, err error)
func (*MsgRecordResponse) MarshalTo ¶
func (m *MsgRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRecordResponse) MarshalToSizedBuffer ¶
func (m *MsgRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRecordResponse) ProtoMessage ¶
func (*MsgRecordResponse) ProtoMessage()
func (*MsgRecordResponse) Reset ¶
func (m *MsgRecordResponse) Reset()
func (*MsgRecordResponse) Size ¶
func (m *MsgRecordResponse) Size() (n int)
func (*MsgRecordResponse) String ¶
func (m *MsgRecordResponse) String() string
func (*MsgRecordResponse) Unmarshal ¶
func (m *MsgRecordResponse) Unmarshal(dAtA []byte) error
func (*MsgRecordResponse) XXX_DiscardUnknown ¶
func (m *MsgRecordResponse) XXX_DiscardUnknown()
func (*MsgRecordResponse) XXX_Marshal ¶
func (m *MsgRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRecordResponse) XXX_Merge ¶
func (m *MsgRecordResponse) XXX_Merge(src proto.Message)
func (*MsgRecordResponse) XXX_Size ¶
func (m *MsgRecordResponse) XXX_Size() int
func (*MsgRecordResponse) XXX_Unmarshal ¶
func (m *MsgRecordResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveTenantAdmin ¶
type MsgRemoveTenantAdmin struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` TenantId uint64 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` AdminToRemove string `protobuf:"bytes,3,opt,name=admin_to_remove,json=adminToRemove,proto3" json:"admin_to_remove,omitempty"` }
MsgRemoveTenantAdmin is the RemoveTenantAdmin request type.
func NewMsgRemoveTenantAdmin ¶
func NewMsgRemoveTenantAdmin(sender string, tenantId uint64, admin string) *MsgRemoveTenantAdmin
func (*MsgRemoveTenantAdmin) Descriptor ¶
func (*MsgRemoveTenantAdmin) Descriptor() ([]byte, []int)
func (*MsgRemoveTenantAdmin) GetAdminToRemove ¶
func (m *MsgRemoveTenantAdmin) GetAdminToRemove() string
func (*MsgRemoveTenantAdmin) GetSender ¶
func (m *MsgRemoveTenantAdmin) GetSender() string
func (*MsgRemoveTenantAdmin) GetSignBytes ¶
func (msg *MsgRemoveTenantAdmin) GetSignBytes() []byte
func (*MsgRemoveTenantAdmin) GetSigners ¶
func (msg *MsgRemoveTenantAdmin) GetSigners() []sdk.AccAddress
func (*MsgRemoveTenantAdmin) GetTenantId ¶
func (m *MsgRemoveTenantAdmin) GetTenantId() uint64
func (*MsgRemoveTenantAdmin) Marshal ¶
func (m *MsgRemoveTenantAdmin) Marshal() (dAtA []byte, err error)
func (*MsgRemoveTenantAdmin) MarshalTo ¶
func (m *MsgRemoveTenantAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveTenantAdmin) MarshalToSizedBuffer ¶
func (m *MsgRemoveTenantAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveTenantAdmin) ProtoMessage ¶
func (*MsgRemoveTenantAdmin) ProtoMessage()
func (*MsgRemoveTenantAdmin) Reset ¶
func (m *MsgRemoveTenantAdmin) Reset()
func (*MsgRemoveTenantAdmin) Route ¶
func (msg *MsgRemoveTenantAdmin) Route() string
func (*MsgRemoveTenantAdmin) Size ¶
func (m *MsgRemoveTenantAdmin) Size() (n int)
func (*MsgRemoveTenantAdmin) String ¶
func (m *MsgRemoveTenantAdmin) String() string
func (*MsgRemoveTenantAdmin) Type ¶
func (msg *MsgRemoveTenantAdmin) Type() string
func (*MsgRemoveTenantAdmin) Unmarshal ¶
func (m *MsgRemoveTenantAdmin) Unmarshal(dAtA []byte) error
func (*MsgRemoveTenantAdmin) ValidateBasic ¶
func (msg *MsgRemoveTenantAdmin) ValidateBasic() error
func (*MsgRemoveTenantAdmin) XXX_DiscardUnknown ¶
func (m *MsgRemoveTenantAdmin) XXX_DiscardUnknown()
func (*MsgRemoveTenantAdmin) XXX_Marshal ¶
func (m *MsgRemoveTenantAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveTenantAdmin) XXX_Merge ¶
func (m *MsgRemoveTenantAdmin) XXX_Merge(src proto.Message)
func (*MsgRemoveTenantAdmin) XXX_Size ¶
func (m *MsgRemoveTenantAdmin) XXX_Size() int
func (*MsgRemoveTenantAdmin) XXX_Unmarshal ¶
func (m *MsgRemoveTenantAdmin) XXX_Unmarshal(b []byte) error
type MsgRemoveTenantAdminResponse ¶
type MsgRemoveTenantAdminResponse struct { }
MsgRemoveTenantAdminResponse defines the response structure for executing a MsgRemoveTenantAdmin message.
func (*MsgRemoveTenantAdminResponse) Descriptor ¶
func (*MsgRemoveTenantAdminResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveTenantAdminResponse) Marshal ¶
func (m *MsgRemoveTenantAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveTenantAdminResponse) MarshalTo ¶
func (m *MsgRemoveTenantAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveTenantAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveTenantAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveTenantAdminResponse) ProtoMessage ¶
func (*MsgRemoveTenantAdminResponse) ProtoMessage()
func (*MsgRemoveTenantAdminResponse) Reset ¶
func (m *MsgRemoveTenantAdminResponse) Reset()
func (*MsgRemoveTenantAdminResponse) Size ¶
func (m *MsgRemoveTenantAdminResponse) Size() (n int)
func (*MsgRemoveTenantAdminResponse) String ¶
func (m *MsgRemoveTenantAdminResponse) String() string
func (*MsgRemoveTenantAdminResponse) Unmarshal ¶
func (m *MsgRemoveTenantAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveTenantAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveTenantAdminResponse) XXX_DiscardUnknown()
func (*MsgRemoveTenantAdminResponse) XXX_Marshal ¶
func (m *MsgRemoveTenantAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveTenantAdminResponse) XXX_Merge ¶
func (m *MsgRemoveTenantAdminResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveTenantAdminResponse) XXX_Size ¶
func (m *MsgRemoveTenantAdminResponse) XXX_Size() int
func (*MsgRemoveTenantAdminResponse) XXX_Unmarshal ¶
func (m *MsgRemoveTenantAdminResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // Record records a revenue for a tenant. Record(context.Context, *MsgRecord) (*MsgRecordResponse, error) // Cancel cancels a revenue record for a tenant. Cancel(context.Context, *MsgCancel) (*MsgCancelResponse, error) // CreateTenant creates a new tenant. CreateTenant(context.Context, *MsgCreateTenant) (*MsgCreateTenantResponse, error) // CreateTenantWithMintableContract creates a new tenant with a mintable // contract. CreateTenantWithMintableContract(context.Context, *MsgCreateTenantWithMintableContract) (*MsgCreateTenantResponse, error) // AddTenantAdmin adds a new admin to a tenant. AddTenantAdmin(context.Context, *MsgAddTenantAdmin) (*MsgAddTenantAdminResponse, error) // RemoveTenantAdmin removes an admin from a tenant. RemoveTenantAdmin(context.Context, *MsgRemoveTenantAdmin) (*MsgRemoveTenantAdminResponse, error) // UpdateTenantPayoutPeriod updates the payout period for a tenant. UpdateTenantPayoutPeriod(context.Context, *MsgUpdateTenantPayoutPeriod) (*MsgUpdateTenantPayoutPeriodResponse, error) // DepositToTreasury deposits funds to the treasury. DepositToTreasury(context.Context, *MsgDepositToTreasury) (*MsgDepositToTreasuryResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateTenantPayoutPeriod ¶
type MsgUpdateTenantPayoutPeriod struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` TenantId uint64 `protobuf:"varint,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` PayoutPeriod uint64 `protobuf:"varint,3,opt,name=payout_period,json=payoutPeriod,proto3" json:"payout_period,omitempty"` }
MsgUpdateTenantPayoutPeriod is the UpdateTenantPayoutPeriod request type.
func NewMsgUpdateTenantPayoutPeriod ¶
func NewMsgUpdateTenantPayoutPeriod(sender string, tenantId uint64, payoutPeriod uint64) *MsgUpdateTenantPayoutPeriod
func (*MsgUpdateTenantPayoutPeriod) Descriptor ¶
func (*MsgUpdateTenantPayoutPeriod) Descriptor() ([]byte, []int)
func (*MsgUpdateTenantPayoutPeriod) GetPayoutPeriod ¶
func (m *MsgUpdateTenantPayoutPeriod) GetPayoutPeriod() uint64
func (*MsgUpdateTenantPayoutPeriod) GetSender ¶
func (m *MsgUpdateTenantPayoutPeriod) GetSender() string
func (*MsgUpdateTenantPayoutPeriod) GetSignBytes ¶
func (msg *MsgUpdateTenantPayoutPeriod) GetSignBytes() []byte
func (*MsgUpdateTenantPayoutPeriod) GetSigners ¶
func (msg *MsgUpdateTenantPayoutPeriod) GetSigners() []sdk.AccAddress
func (*MsgUpdateTenantPayoutPeriod) GetTenantId ¶
func (m *MsgUpdateTenantPayoutPeriod) GetTenantId() uint64
func (*MsgUpdateTenantPayoutPeriod) Marshal ¶
func (m *MsgUpdateTenantPayoutPeriod) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTenantPayoutPeriod) MarshalTo ¶
func (m *MsgUpdateTenantPayoutPeriod) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateTenantPayoutPeriod) MarshalToSizedBuffer ¶
func (m *MsgUpdateTenantPayoutPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTenantPayoutPeriod) ProtoMessage ¶
func (*MsgUpdateTenantPayoutPeriod) ProtoMessage()
func (*MsgUpdateTenantPayoutPeriod) Reset ¶
func (m *MsgUpdateTenantPayoutPeriod) Reset()
func (*MsgUpdateTenantPayoutPeriod) Route ¶
func (msg *MsgUpdateTenantPayoutPeriod) Route() string
func (*MsgUpdateTenantPayoutPeriod) Size ¶
func (m *MsgUpdateTenantPayoutPeriod) Size() (n int)
func (*MsgUpdateTenantPayoutPeriod) String ¶
func (m *MsgUpdateTenantPayoutPeriod) String() string
func (*MsgUpdateTenantPayoutPeriod) Type ¶
func (msg *MsgUpdateTenantPayoutPeriod) Type() string
func (*MsgUpdateTenantPayoutPeriod) Unmarshal ¶
func (m *MsgUpdateTenantPayoutPeriod) Unmarshal(dAtA []byte) error
func (*MsgUpdateTenantPayoutPeriod) ValidateBasic ¶
func (msg *MsgUpdateTenantPayoutPeriod) ValidateBasic() error
func (*MsgUpdateTenantPayoutPeriod) XXX_DiscardUnknown ¶
func (m *MsgUpdateTenantPayoutPeriod) XXX_DiscardUnknown()
func (*MsgUpdateTenantPayoutPeriod) XXX_Marshal ¶
func (m *MsgUpdateTenantPayoutPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTenantPayoutPeriod) XXX_Merge ¶
func (m *MsgUpdateTenantPayoutPeriod) XXX_Merge(src proto.Message)
func (*MsgUpdateTenantPayoutPeriod) XXX_Size ¶
func (m *MsgUpdateTenantPayoutPeriod) XXX_Size() int
func (*MsgUpdateTenantPayoutPeriod) XXX_Unmarshal ¶
func (m *MsgUpdateTenantPayoutPeriod) XXX_Unmarshal(b []byte) error
type MsgUpdateTenantPayoutPeriodResponse ¶
type MsgUpdateTenantPayoutPeriodResponse struct { }
MsgUpdateTenantPayoutPeriodResponse defines the response structure for executing a MsgUpdateTenantPayoutPeriod message.
func (*MsgUpdateTenantPayoutPeriodResponse) Descriptor ¶
func (*MsgUpdateTenantPayoutPeriodResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateTenantPayoutPeriodResponse) Marshal ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTenantPayoutPeriodResponse) MarshalTo ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateTenantPayoutPeriodResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTenantPayoutPeriodResponse) ProtoMessage ¶
func (*MsgUpdateTenantPayoutPeriodResponse) ProtoMessage()
func (*MsgUpdateTenantPayoutPeriodResponse) Reset ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) Reset()
func (*MsgUpdateTenantPayoutPeriodResponse) Size ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) Size() (n int)
func (*MsgUpdateTenantPayoutPeriodResponse) String ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) String() string
func (*MsgUpdateTenantPayoutPeriodResponse) Unmarshal ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateTenantPayoutPeriodResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_DiscardUnknown()
func (*MsgUpdateTenantPayoutPeriodResponse) XXX_Marshal ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTenantPayoutPeriodResponse) XXX_Merge ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateTenantPayoutPeriodResponse) XXX_Size ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Size() int
func (*MsgUpdateTenantPayoutPeriodResponse) XXX_Unmarshal ¶
func (m *MsgUpdateTenantPayoutPeriodResponse) XXX_Unmarshal(b []byte) error
type NftOwnershipKeeper ¶
type NftOwnershipKeeper interface { CheckValidChainId(ctx sdk.Context, chainId string) bool OwnerOf(ctx sdk.Context, chainId string, contractAddr string, tokenIdHex string) (*common.Address, error) }
NftOwnershipKeeper defines the expected interface needed to retrieve owner of NFT.
type Params ¶
type Params struct { GasPrice types.Coin `protobuf:"bytes,1,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price"` OracleFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 160-byte string literal not displayed */ }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetGasPrice ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
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 { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a UTXR by tenant_id and request_id. UTXR(ctx context.Context, in *QueryUTXRRRequest, opts ...grpc.CallOption) (*QueryUTXRResponse, error) // Queries a list of TxRecord items. UTXRs(ctx context.Context, in *QueryUTXRsRequest, opts ...grpc.CallOption) (*QueryUTXRsResponse, error) // Queries a tenant by tenant_id. Tenant(ctx context.Context, in *QueryTenantRequest, opts ...grpc.CallOption) (*QueryTenantResponse, error) // Queries a all tenants. Tenants(ctx context.Context, in *QueryTenantsRequest, opts ...grpc.CallOption) (*QueryTenantsResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is 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 holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is 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 { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a UTXR by tenant_id and request_id. UTXR(context.Context, *QueryUTXRRRequest) (*QueryUTXRResponse, error) // Queries a list of TxRecord items. UTXRs(context.Context, *QueryUTXRsRequest) (*QueryUTXRsResponse, error) // Queries a tenant by tenant_id. Tenant(context.Context, *QueryTenantRequest) (*QueryTenantResponse, error) // Queries a all tenants. Tenants(context.Context, *QueryTenantsRequest) (*QueryTenantsResponse, error) }
QueryServer is the server API for Query service.
type QueryTenantRequest ¶
type QueryTenantRequest struct {
TenantId uint64 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
}
QueryTenantRequest is request type for the Query/Tenant RPC method.
func (*QueryTenantRequest) Descriptor ¶
func (*QueryTenantRequest) Descriptor() ([]byte, []int)
func (*QueryTenantRequest) GetTenantId ¶
func (m *QueryTenantRequest) GetTenantId() uint64
func (*QueryTenantRequest) Marshal ¶
func (m *QueryTenantRequest) Marshal() (dAtA []byte, err error)
func (*QueryTenantRequest) MarshalTo ¶
func (m *QueryTenantRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTenantRequest) MarshalToSizedBuffer ¶
func (m *QueryTenantRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTenantRequest) ProtoMessage ¶
func (*QueryTenantRequest) ProtoMessage()
func (*QueryTenantRequest) Reset ¶
func (m *QueryTenantRequest) Reset()
func (*QueryTenantRequest) Size ¶
func (m *QueryTenantRequest) Size() (n int)
func (*QueryTenantRequest) String ¶
func (m *QueryTenantRequest) String() string
func (*QueryTenantRequest) Unmarshal ¶
func (m *QueryTenantRequest) Unmarshal(dAtA []byte) error
func (*QueryTenantRequest) XXX_DiscardUnknown ¶
func (m *QueryTenantRequest) XXX_DiscardUnknown()
func (*QueryTenantRequest) XXX_Marshal ¶
func (m *QueryTenantRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTenantRequest) XXX_Merge ¶
func (m *QueryTenantRequest) XXX_Merge(src proto.Message)
func (*QueryTenantRequest) XXX_Size ¶
func (m *QueryTenantRequest) XXX_Size() int
func (*QueryTenantRequest) XXX_Unmarshal ¶
func (m *QueryTenantRequest) XXX_Unmarshal(b []byte) error
type QueryTenantResponse ¶
type QueryTenantResponse struct {
Tenant TenantWithTreasury `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant"`
}
QueryTenantResponse is response type for the Query/Tenant RPC method.
func (*QueryTenantResponse) Descriptor ¶
func (*QueryTenantResponse) Descriptor() ([]byte, []int)
func (*QueryTenantResponse) GetTenant ¶
func (m *QueryTenantResponse) GetTenant() TenantWithTreasury
func (*QueryTenantResponse) Marshal ¶
func (m *QueryTenantResponse) Marshal() (dAtA []byte, err error)
func (*QueryTenantResponse) MarshalTo ¶
func (m *QueryTenantResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTenantResponse) MarshalToSizedBuffer ¶
func (m *QueryTenantResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTenantResponse) ProtoMessage ¶
func (*QueryTenantResponse) ProtoMessage()
func (*QueryTenantResponse) Reset ¶
func (m *QueryTenantResponse) Reset()
func (*QueryTenantResponse) Size ¶
func (m *QueryTenantResponse) Size() (n int)
func (*QueryTenantResponse) String ¶
func (m *QueryTenantResponse) String() string
func (*QueryTenantResponse) Unmarshal ¶
func (m *QueryTenantResponse) Unmarshal(dAtA []byte) error
func (*QueryTenantResponse) XXX_DiscardUnknown ¶
func (m *QueryTenantResponse) XXX_DiscardUnknown()
func (*QueryTenantResponse) XXX_Marshal ¶
func (m *QueryTenantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTenantResponse) XXX_Merge ¶
func (m *QueryTenantResponse) XXX_Merge(src proto.Message)
func (*QueryTenantResponse) XXX_Size ¶
func (m *QueryTenantResponse) XXX_Size() int
func (*QueryTenantResponse) XXX_Unmarshal ¶
func (m *QueryTenantResponse) XXX_Unmarshal(b []byte) error
type QueryTenantsRequest ¶
type QueryTenantsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryTenantsRequest is request type for the Query/Tenants RPC method.
func (*QueryTenantsRequest) Descriptor ¶
func (*QueryTenantsRequest) Descriptor() ([]byte, []int)
func (*QueryTenantsRequest) GetPagination ¶
func (m *QueryTenantsRequest) GetPagination() *query.PageRequest
func (*QueryTenantsRequest) Marshal ¶
func (m *QueryTenantsRequest) Marshal() (dAtA []byte, err error)
func (*QueryTenantsRequest) MarshalTo ¶
func (m *QueryTenantsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTenantsRequest) MarshalToSizedBuffer ¶
func (m *QueryTenantsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTenantsRequest) ProtoMessage ¶
func (*QueryTenantsRequest) ProtoMessage()
func (*QueryTenantsRequest) Reset ¶
func (m *QueryTenantsRequest) Reset()
func (*QueryTenantsRequest) Size ¶
func (m *QueryTenantsRequest) Size() (n int)
func (*QueryTenantsRequest) String ¶
func (m *QueryTenantsRequest) String() string
func (*QueryTenantsRequest) Unmarshal ¶
func (m *QueryTenantsRequest) Unmarshal(dAtA []byte) error
func (*QueryTenantsRequest) XXX_DiscardUnknown ¶
func (m *QueryTenantsRequest) XXX_DiscardUnknown()
func (*QueryTenantsRequest) XXX_Marshal ¶
func (m *QueryTenantsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTenantsRequest) XXX_Merge ¶
func (m *QueryTenantsRequest) XXX_Merge(src proto.Message)
func (*QueryTenantsRequest) XXX_Size ¶
func (m *QueryTenantsRequest) XXX_Size() int
func (*QueryTenantsRequest) XXX_Unmarshal ¶
func (m *QueryTenantsRequest) XXX_Unmarshal(b []byte) error
type QueryTenantsResponse ¶
type QueryTenantsResponse struct { Tenants []TenantWithTreasury `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryTenantsResponse is response type for the Query/Tenants RPC method.
func (*QueryTenantsResponse) Descriptor ¶
func (*QueryTenantsResponse) Descriptor() ([]byte, []int)
func (*QueryTenantsResponse) GetPagination ¶
func (m *QueryTenantsResponse) GetPagination() *query.PageResponse
func (*QueryTenantsResponse) GetTenants ¶
func (m *QueryTenantsResponse) GetTenants() []TenantWithTreasury
func (*QueryTenantsResponse) Marshal ¶
func (m *QueryTenantsResponse) Marshal() (dAtA []byte, err error)
func (*QueryTenantsResponse) MarshalTo ¶
func (m *QueryTenantsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTenantsResponse) MarshalToSizedBuffer ¶
func (m *QueryTenantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTenantsResponse) ProtoMessage ¶
func (*QueryTenantsResponse) ProtoMessage()
func (*QueryTenantsResponse) Reset ¶
func (m *QueryTenantsResponse) Reset()
func (*QueryTenantsResponse) Size ¶
func (m *QueryTenantsResponse) Size() (n int)
func (*QueryTenantsResponse) String ¶
func (m *QueryTenantsResponse) String() string
func (*QueryTenantsResponse) Unmarshal ¶
func (m *QueryTenantsResponse) Unmarshal(dAtA []byte) error
func (*QueryTenantsResponse) XXX_DiscardUnknown ¶
func (m *QueryTenantsResponse) XXX_DiscardUnknown()
func (*QueryTenantsResponse) XXX_Marshal ¶
func (m *QueryTenantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTenantsResponse) XXX_Merge ¶
func (m *QueryTenantsResponse) XXX_Merge(src proto.Message)
func (*QueryTenantsResponse) XXX_Size ¶
func (m *QueryTenantsResponse) XXX_Size() int
func (*QueryTenantsResponse) XXX_Unmarshal ¶
func (m *QueryTenantsResponse) XXX_Unmarshal(b []byte) error
type QueryUTXRRRequest ¶
type QueryUTXRRRequest struct { TenantId uint64 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` }
QueryGetUTXRRequest is request type for the Query/UTXR RPC method.
func (*QueryUTXRRRequest) Descriptor ¶
func (*QueryUTXRRRequest) Descriptor() ([]byte, []int)
func (*QueryUTXRRRequest) GetRequestId ¶
func (m *QueryUTXRRRequest) GetRequestId() string
func (*QueryUTXRRRequest) GetTenantId ¶
func (m *QueryUTXRRRequest) GetTenantId() uint64
func (*QueryUTXRRRequest) Marshal ¶
func (m *QueryUTXRRRequest) Marshal() (dAtA []byte, err error)
func (*QueryUTXRRRequest) MarshalTo ¶
func (m *QueryUTXRRRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUTXRRRequest) MarshalToSizedBuffer ¶
func (m *QueryUTXRRRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUTXRRRequest) ProtoMessage ¶
func (*QueryUTXRRRequest) ProtoMessage()
func (*QueryUTXRRRequest) Reset ¶
func (m *QueryUTXRRRequest) Reset()
func (*QueryUTXRRRequest) Size ¶
func (m *QueryUTXRRRequest) Size() (n int)
func (*QueryUTXRRRequest) String ¶
func (m *QueryUTXRRRequest) String() string
func (*QueryUTXRRRequest) Unmarshal ¶
func (m *QueryUTXRRRequest) Unmarshal(dAtA []byte) error
func (*QueryUTXRRRequest) XXX_DiscardUnknown ¶
func (m *QueryUTXRRRequest) XXX_DiscardUnknown()
func (*QueryUTXRRRequest) XXX_Marshal ¶
func (m *QueryUTXRRRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUTXRRRequest) XXX_Merge ¶
func (m *QueryUTXRRRequest) XXX_Merge(src proto.Message)
func (*QueryUTXRRRequest) XXX_Size ¶
func (m *QueryUTXRRRequest) XXX_Size() int
func (*QueryUTXRRRequest) XXX_Unmarshal ¶
func (m *QueryUTXRRRequest) XXX_Unmarshal(b []byte) error
type QueryUTXRResponse ¶
type QueryUTXRResponse struct {
Utxr UTXR `protobuf:"bytes,1,opt,name=utxr,proto3" json:"utxr"`
}
QueryGetUTXRResponse is response type for the Query/UTXR RPC method.
func (*QueryUTXRResponse) Descriptor ¶
func (*QueryUTXRResponse) Descriptor() ([]byte, []int)
func (*QueryUTXRResponse) GetUtxr ¶
func (m *QueryUTXRResponse) GetUtxr() UTXR
func (*QueryUTXRResponse) Marshal ¶
func (m *QueryUTXRResponse) Marshal() (dAtA []byte, err error)
func (*QueryUTXRResponse) MarshalTo ¶
func (m *QueryUTXRResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUTXRResponse) MarshalToSizedBuffer ¶
func (m *QueryUTXRResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUTXRResponse) ProtoMessage ¶
func (*QueryUTXRResponse) ProtoMessage()
func (*QueryUTXRResponse) Reset ¶
func (m *QueryUTXRResponse) Reset()
func (*QueryUTXRResponse) Size ¶
func (m *QueryUTXRResponse) Size() (n int)
func (*QueryUTXRResponse) String ¶
func (m *QueryUTXRResponse) String() string
func (*QueryUTXRResponse) Unmarshal ¶
func (m *QueryUTXRResponse) Unmarshal(dAtA []byte) error
func (*QueryUTXRResponse) XXX_DiscardUnknown ¶
func (m *QueryUTXRResponse) XXX_DiscardUnknown()
func (*QueryUTXRResponse) XXX_Marshal ¶
func (m *QueryUTXRResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUTXRResponse) XXX_Merge ¶
func (m *QueryUTXRResponse) XXX_Merge(src proto.Message)
func (*QueryUTXRResponse) XXX_Size ¶
func (m *QueryUTXRResponse) XXX_Size() int
func (*QueryUTXRResponse) XXX_Unmarshal ¶
func (m *QueryUTXRResponse) XXX_Unmarshal(b []byte) error
type QueryUTXRsRequest ¶
type QueryUTXRsRequest struct { TenantId uint64 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAllUTXRRequest is request type for the Query/AllUTXR RPC method.
func (*QueryUTXRsRequest) Descriptor ¶
func (*QueryUTXRsRequest) Descriptor() ([]byte, []int)
func (*QueryUTXRsRequest) GetPagination ¶
func (m *QueryUTXRsRequest) GetPagination() *query.PageRequest
func (*QueryUTXRsRequest) GetTenantId ¶
func (m *QueryUTXRsRequest) GetTenantId() uint64
func (*QueryUTXRsRequest) Marshal ¶
func (m *QueryUTXRsRequest) Marshal() (dAtA []byte, err error)
func (*QueryUTXRsRequest) MarshalTo ¶
func (m *QueryUTXRsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUTXRsRequest) MarshalToSizedBuffer ¶
func (m *QueryUTXRsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUTXRsRequest) ProtoMessage ¶
func (*QueryUTXRsRequest) ProtoMessage()
func (*QueryUTXRsRequest) Reset ¶
func (m *QueryUTXRsRequest) Reset()
func (*QueryUTXRsRequest) Size ¶
func (m *QueryUTXRsRequest) Size() (n int)
func (*QueryUTXRsRequest) String ¶
func (m *QueryUTXRsRequest) String() string
func (*QueryUTXRsRequest) Unmarshal ¶
func (m *QueryUTXRsRequest) Unmarshal(dAtA []byte) error
func (*QueryUTXRsRequest) XXX_DiscardUnknown ¶
func (m *QueryUTXRsRequest) XXX_DiscardUnknown()
func (*QueryUTXRsRequest) XXX_Marshal ¶
func (m *QueryUTXRsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUTXRsRequest) XXX_Merge ¶
func (m *QueryUTXRsRequest) XXX_Merge(src proto.Message)
func (*QueryUTXRsRequest) XXX_Size ¶
func (m *QueryUTXRsRequest) XXX_Size() int
func (*QueryUTXRsRequest) XXX_Unmarshal ¶
func (m *QueryUTXRsRequest) XXX_Unmarshal(b []byte) error
type QueryUTXRsResponse ¶
type QueryUTXRsResponse struct { Utxrs []UTXR `protobuf:"bytes,1,rep,name=utxrs,proto3" json:"utxrs"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryAllUTXRResponse is response type for the Query/UTXRAll RPC method.
func (*QueryUTXRsResponse) Descriptor ¶
func (*QueryUTXRsResponse) Descriptor() ([]byte, []int)
func (*QueryUTXRsResponse) GetPagination ¶
func (m *QueryUTXRsResponse) GetPagination() *query.PageResponse
func (*QueryUTXRsResponse) GetUtxrs ¶
func (m *QueryUTXRsResponse) GetUtxrs() []UTXR
func (*QueryUTXRsResponse) Marshal ¶
func (m *QueryUTXRsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUTXRsResponse) MarshalTo ¶
func (m *QueryUTXRsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUTXRsResponse) MarshalToSizedBuffer ¶
func (m *QueryUTXRsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUTXRsResponse) ProtoMessage ¶
func (*QueryUTXRsResponse) ProtoMessage()
func (*QueryUTXRsResponse) Reset ¶
func (m *QueryUTXRsResponse) Reset()
func (*QueryUTXRsResponse) Size ¶
func (m *QueryUTXRsResponse) Size() (n int)
func (*QueryUTXRsResponse) String ¶
func (m *QueryUTXRsResponse) String() string
func (*QueryUTXRsResponse) Unmarshal ¶
func (m *QueryUTXRsResponse) Unmarshal(dAtA []byte) error
func (*QueryUTXRsResponse) XXX_DiscardUnknown ¶
func (m *QueryUTXRsResponse) XXX_DiscardUnknown()
func (*QueryUTXRsResponse) XXX_Marshal ¶
func (m *QueryUTXRsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUTXRsResponse) XXX_Merge ¶
func (m *QueryUTXRsResponse) XXX_Merge(src proto.Message)
func (*QueryUTXRsResponse) XXX_Size ¶
func (m *QueryUTXRsResponse) XXX_Size() int
func (*QueryUTXRsResponse) XXX_Unmarshal ¶
func (m *QueryUTXRsResponse) XXX_Unmarshal(b []byte) error
type Tenant ¶
type Tenant struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Admins []string `protobuf:"bytes,2,rep,name=admins,proto3" json:"admins,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` PayoutPeriod uint64 `protobuf:"varint,4,opt,name=payout_period,json=payoutPeriod,proto3" json:"payout_period,omitempty"` PayoutMethod string `protobuf:"bytes,5,opt,name=payout_method,json=payoutMethod,proto3" json:"payout_method,omitempty"` ContractAddress string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
Tenant defines the tenant parameters.
func (*Tenant) Descriptor ¶
func (*Tenant) GetContractAddress ¶
func (*Tenant) GetPayoutMethod ¶
func (*Tenant) GetPayoutPeriod ¶
func (*Tenant) MarshalToSizedBuffer ¶
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) XXX_DiscardUnknown ¶
func (m *Tenant) XXX_DiscardUnknown()
func (*Tenant) XXX_Marshal ¶
func (*Tenant) XXX_Unmarshal ¶
type TenantWithTreasury ¶
type TenantWithTreasury struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` Treasury *Treasury `protobuf:"bytes,2,opt,name=treasury,proto3" json:"treasury,omitempty"` }
func (*TenantWithTreasury) Descriptor ¶
func (*TenantWithTreasury) Descriptor() ([]byte, []int)
func (*TenantWithTreasury) GetTenant ¶
func (m *TenantWithTreasury) GetTenant() *Tenant
func (*TenantWithTreasury) GetTreasury ¶
func (m *TenantWithTreasury) GetTreasury() *Treasury
func (*TenantWithTreasury) Marshal ¶
func (m *TenantWithTreasury) Marshal() (dAtA []byte, err error)
func (*TenantWithTreasury) MarshalTo ¶
func (m *TenantWithTreasury) MarshalTo(dAtA []byte) (int, error)
func (*TenantWithTreasury) MarshalToSizedBuffer ¶
func (m *TenantWithTreasury) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TenantWithTreasury) ProtoMessage ¶
func (*TenantWithTreasury) ProtoMessage()
func (*TenantWithTreasury) Reset ¶
func (m *TenantWithTreasury) Reset()
func (*TenantWithTreasury) Size ¶
func (m *TenantWithTreasury) Size() (n int)
func (*TenantWithTreasury) String ¶
func (m *TenantWithTreasury) String() string
func (*TenantWithTreasury) Unmarshal ¶
func (m *TenantWithTreasury) Unmarshal(dAtA []byte) error
func (*TenantWithTreasury) XXX_DiscardUnknown ¶
func (m *TenantWithTreasury) XXX_DiscardUnknown()
func (*TenantWithTreasury) XXX_Marshal ¶
func (m *TenantWithTreasury) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantWithTreasury) XXX_Merge ¶
func (m *TenantWithTreasury) XXX_Merge(src proto.Message)
func (*TenantWithTreasury) XXX_Size ¶
func (m *TenantWithTreasury) XXX_Size() int
func (*TenantWithTreasury) XXX_Unmarshal ¶
func (m *TenantWithTreasury) XXX_Unmarshal(b []byte) error
type Treasury ¶
type Treasury struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Balance *types.Coin `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` }
func (*Treasury) Descriptor ¶
func (*Treasury) GetAddress ¶
func (*Treasury) GetBalance ¶
func (*Treasury) MarshalToSizedBuffer ¶
func (*Treasury) ProtoMessage ¶
func (*Treasury) ProtoMessage()
func (*Treasury) XXX_DiscardUnknown ¶
func (m *Treasury) XXX_DiscardUnknown()
func (*Treasury) XXX_Marshal ¶
func (*Treasury) XXX_Unmarshal ¶
type UTXR ¶
type UTXR struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Recipient github_com_settlus_chain_types.HexAddressString `protobuf:"bytes,2,opt,name=recipient,proto3,customtype=github.com/settlus/chain/types.HexAddressString" json:"recipient"` Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` PayoutBlock uint64 `protobuf:"varint,4,opt,name=payout_block,json=payoutBlock,proto3" json:"payout_block,omitempty"` }
UTXR defines the unspent transaction record.
func (*UTXR) Descriptor ¶
func (*UTXR) GetPayoutBlock ¶
func (*UTXR) GetRequestId ¶
func (*UTXR) ProtoMessage ¶
func (*UTXR) ProtoMessage()
func (*UTXR) XXX_DiscardUnknown ¶
func (m *UTXR) XXX_DiscardUnknown()
func (*UTXR) XXX_Unmarshal ¶
type UTXRWithTenantAndId ¶
type UTXRWithTenantAndId struct { TenantId uint64 `protobuf:"varint,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Utxr UTXR `protobuf:"bytes,3,opt,name=utxr,proto3" json:"utxr"` }
func (*UTXRWithTenantAndId) Descriptor ¶
func (*UTXRWithTenantAndId) Descriptor() ([]byte, []int)
func (*UTXRWithTenantAndId) GetId ¶
func (m *UTXRWithTenantAndId) GetId() uint64
func (*UTXRWithTenantAndId) GetTenantId ¶
func (m *UTXRWithTenantAndId) GetTenantId() uint64
func (*UTXRWithTenantAndId) GetUtxr ¶
func (m *UTXRWithTenantAndId) GetUtxr() UTXR
func (*UTXRWithTenantAndId) Marshal ¶
func (m *UTXRWithTenantAndId) Marshal() (dAtA []byte, err error)
func (*UTXRWithTenantAndId) MarshalTo ¶
func (m *UTXRWithTenantAndId) MarshalTo(dAtA []byte) (int, error)
func (*UTXRWithTenantAndId) MarshalToSizedBuffer ¶
func (m *UTXRWithTenantAndId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UTXRWithTenantAndId) ProtoMessage ¶
func (*UTXRWithTenantAndId) ProtoMessage()
func (*UTXRWithTenantAndId) Reset ¶
func (m *UTXRWithTenantAndId) Reset()
func (*UTXRWithTenantAndId) Size ¶
func (m *UTXRWithTenantAndId) Size() (n int)
func (*UTXRWithTenantAndId) String ¶
func (m *UTXRWithTenantAndId) String() string
func (*UTXRWithTenantAndId) Unmarshal ¶
func (m *UTXRWithTenantAndId) Unmarshal(dAtA []byte) error
func (*UTXRWithTenantAndId) XXX_DiscardUnknown ¶
func (m *UTXRWithTenantAndId) XXX_DiscardUnknown()
func (*UTXRWithTenantAndId) XXX_Marshal ¶
func (m *UTXRWithTenantAndId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UTXRWithTenantAndId) XXX_Merge ¶
func (m *UTXRWithTenantAndId) XXX_Merge(src proto.Message)
func (*UTXRWithTenantAndId) XXX_Size ¶
func (m *UTXRWithTenantAndId) XXX_Size() int
func (*UTXRWithTenantAndId) XXX_Unmarshal ¶
func (m *UTXRWithTenantAndId) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddTenantAdmin ¶
func (*UnimplementedMsgServer) AddTenantAdmin(ctx context.Context, req *MsgAddTenantAdmin) (*MsgAddTenantAdminResponse, error)
func (*UnimplementedMsgServer) Cancel ¶
func (*UnimplementedMsgServer) Cancel(ctx context.Context, req *MsgCancel) (*MsgCancelResponse, error)
func (*UnimplementedMsgServer) CreateTenant ¶
func (*UnimplementedMsgServer) CreateTenant(ctx context.Context, req *MsgCreateTenant) (*MsgCreateTenantResponse, error)
func (*UnimplementedMsgServer) CreateTenantWithMintableContract ¶
func (*UnimplementedMsgServer) CreateTenantWithMintableContract(ctx context.Context, req *MsgCreateTenantWithMintableContract) (*MsgCreateTenantResponse, error)
func (*UnimplementedMsgServer) DepositToTreasury ¶
func (*UnimplementedMsgServer) DepositToTreasury(ctx context.Context, req *MsgDepositToTreasury) (*MsgDepositToTreasuryResponse, error)
func (*UnimplementedMsgServer) Record ¶
func (*UnimplementedMsgServer) Record(ctx context.Context, req *MsgRecord) (*MsgRecordResponse, error)
func (*UnimplementedMsgServer) RemoveTenantAdmin ¶
func (*UnimplementedMsgServer) RemoveTenantAdmin(ctx context.Context, req *MsgRemoveTenantAdmin) (*MsgRemoveTenantAdminResponse, error)
func (*UnimplementedMsgServer) UpdateTenantPayoutPeriod ¶
func (*UnimplementedMsgServer) UpdateTenantPayoutPeriod(ctx context.Context, req *MsgUpdateTenantPayoutPeriod) (*MsgUpdateTenantPayoutPeriodResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Tenant ¶
func (*UnimplementedQueryServer) Tenant(ctx context.Context, req *QueryTenantRequest) (*QueryTenantResponse, error)
func (*UnimplementedQueryServer) Tenants ¶
func (*UnimplementedQueryServer) Tenants(ctx context.Context, req *QueryTenantsRequest) (*QueryTenantsResponse, error)
func (*UnimplementedQueryServer) UTXR ¶
func (*UnimplementedQueryServer) UTXR(ctx context.Context, req *QueryUTXRRRequest) (*QueryUTXRResponse, error)
func (*UnimplementedQueryServer) UTXRs ¶
func (*UnimplementedQueryServer) UTXRs(ctx context.Context, req *QueryUTXRsRequest) (*QueryUTXRsResponse, error)