Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- 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)
- type AccountKeeper
- type Action
- type Actions
- type Airdrop
- func (*Airdrop) Descriptor() ([]byte, []int)
- func (m *Airdrop) GetAirdropDuration() time.Duration
- func (m *Airdrop) GetAirdropIdentifier() string
- func (m *Airdrop) GetAirdropStartTime() time.Time
- func (m *Airdrop) GetAutopilotEnabled() bool
- func (m *Airdrop) GetChainId() string
- func (m *Airdrop) GetClaimDenom() string
- func (m *Airdrop) GetDistributorAddress() string
- func (m *Airdrop) Marshal() (dAtA []byte, err error)
- func (m *Airdrop) MarshalTo(dAtA []byte) (int, error)
- func (m *Airdrop) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Airdrop) ProtoMessage()
- func (m *Airdrop) Reset()
- func (m *Airdrop) Size() (n int)
- func (m *Airdrop) String() string
- func (m *Airdrop) Unmarshal(dAtA []byte) error
- func (m *Airdrop) XXX_DiscardUnknown()
- func (m *Airdrop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Airdrop) XXX_Merge(src proto.Message)
- func (m *Airdrop) XXX_Size() int
- func (m *Airdrop) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type ClaimMetadata
- func (*ClaimMetadata) Descriptor() ([]byte, []int)
- func (m *ClaimMetadata) GetAirdropIdentifier() string
- func (m *ClaimMetadata) GetCurrentRound() string
- func (m *ClaimMetadata) GetCurrentRoundEnd() time.Time
- func (m *ClaimMetadata) GetCurrentRoundStart() time.Time
- func (m *ClaimMetadata) Marshal() (dAtA []byte, err error)
- func (m *ClaimMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimMetadata) ProtoMessage()
- func (m *ClaimMetadata) Reset()
- func (m *ClaimMetadata) Size() (n int)
- func (m *ClaimMetadata) String() string
- func (m *ClaimMetadata) Unmarshal(dAtA []byte) error
- func (m *ClaimMetadata) XXX_DiscardUnknown()
- func (m *ClaimMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimMetadata) XXX_Merge(src proto.Message)
- func (m *ClaimMetadata) XXX_Size() int
- func (m *ClaimMetadata) XXX_Unmarshal(b []byte) error
- type ClaimRecord
- func (*ClaimRecord) Descriptor() ([]byte, []int)
- func (m *ClaimRecord) GetActionCompleted() []bool
- func (m *ClaimRecord) GetAddress() string
- func (m *ClaimRecord) GetAirdropIdentifier() string
- func (m *ClaimRecord) Marshal() (dAtA []byte, err error)
- func (m *ClaimRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimRecord) ProtoMessage()
- func (m *ClaimRecord) Reset()
- func (m *ClaimRecord) Size() (n int)
- func (m *ClaimRecord) String() string
- func (m *ClaimRecord) Unmarshal(dAtA []byte) error
- func (m *ClaimRecord) XXX_DiscardUnknown()
- func (m *ClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimRecord) XXX_Merge(src proto.Message)
- func (m *ClaimRecord) XXX_Size() int
- func (m *ClaimRecord) XXX_Unmarshal(b []byte) error
- type ClaimStatus
- func (*ClaimStatus) Descriptor() ([]byte, []int)
- func (m *ClaimStatus) GetAirdropIdentifier() string
- func (m *ClaimStatus) GetClaimed() bool
- func (m *ClaimStatus) Marshal() (dAtA []byte, err error)
- func (m *ClaimStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimStatus) ProtoMessage()
- func (m *ClaimStatus) Reset()
- func (m *ClaimStatus) Size() (n int)
- func (m *ClaimStatus) String() string
- func (m *ClaimStatus) Unmarshal(dAtA []byte) error
- func (m *ClaimStatus) XXX_DiscardUnknown()
- func (m *ClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimStatus) XXX_Merge(src proto.Message)
- func (m *ClaimStatus) XXX_Size() int
- func (m *ClaimStatus) XXX_Unmarshal(b []byte) error
- type DistrKeeper
- type EpochsKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetClaimRecords() []ClaimRecord
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClaimFreeAmount
- func (*MsgClaimFreeAmount) Descriptor() ([]byte, []int)
- func (msg *MsgClaimFreeAmount) GetSignBytes() []byte
- func (msg *MsgClaimFreeAmount) GetSigners() []sdk.AccAddress
- func (m *MsgClaimFreeAmount) GetUser() string
- func (m *MsgClaimFreeAmount) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimFreeAmount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimFreeAmount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimFreeAmount) ProtoMessage()
- func (m *MsgClaimFreeAmount) Reset()
- func (msg *MsgClaimFreeAmount) Route() string
- func (m *MsgClaimFreeAmount) Size() (n int)
- func (m *MsgClaimFreeAmount) String() string
- func (msg *MsgClaimFreeAmount) Type() string
- func (m *MsgClaimFreeAmount) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimFreeAmount) ValidateBasic() error
- func (m *MsgClaimFreeAmount) XXX_DiscardUnknown()
- func (m *MsgClaimFreeAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimFreeAmount) XXX_Merge(src proto.Message)
- func (m *MsgClaimFreeAmount) XXX_Size() int
- func (m *MsgClaimFreeAmount) XXX_Unmarshal(b []byte) error
- type MsgClaimFreeAmountResponse
- func (*MsgClaimFreeAmountResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimFreeAmountResponse) GetClaimedAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgClaimFreeAmountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimFreeAmountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimFreeAmountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimFreeAmountResponse) ProtoMessage()
- func (m *MsgClaimFreeAmountResponse) Reset()
- func (m *MsgClaimFreeAmountResponse) Size() (n int)
- func (m *MsgClaimFreeAmountResponse) String() string
- func (m *MsgClaimFreeAmountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimFreeAmountResponse) XXX_DiscardUnknown()
- func (m *MsgClaimFreeAmountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimFreeAmountResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimFreeAmountResponse) XXX_Size() int
- func (m *MsgClaimFreeAmountResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateAirdrop
- func (*MsgCreateAirdrop) Descriptor() ([]byte, []int)
- func (m *MsgCreateAirdrop) GetAutopilotEnabled() bool
- func (m *MsgCreateAirdrop) GetChainId() string
- func (m *MsgCreateAirdrop) GetDenom() string
- func (m *MsgCreateAirdrop) GetDistributor() string
- func (m *MsgCreateAirdrop) GetDuration() uint64
- func (m *MsgCreateAirdrop) GetIdentifier() string
- func (msg *MsgCreateAirdrop) GetSignBytes() []byte
- func (msg *MsgCreateAirdrop) GetSigners() []sdk.AccAddress
- func (m *MsgCreateAirdrop) GetStartTime() uint64
- func (m *MsgCreateAirdrop) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAirdrop) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAirdrop) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAirdrop) ProtoMessage()
- func (m *MsgCreateAirdrop) Reset()
- func (msg *MsgCreateAirdrop) Route() string
- func (m *MsgCreateAirdrop) Size() (n int)
- func (m *MsgCreateAirdrop) String() string
- func (msg *MsgCreateAirdrop) Type() string
- func (m *MsgCreateAirdrop) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateAirdrop) ValidateBasic() error
- func (m *MsgCreateAirdrop) XXX_DiscardUnknown()
- func (m *MsgCreateAirdrop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAirdrop) XXX_Merge(src proto.Message)
- func (m *MsgCreateAirdrop) XXX_Size() int
- func (m *MsgCreateAirdrop) XXX_Unmarshal(b []byte) error
- type MsgCreateAirdropResponse
- func (*MsgCreateAirdropResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateAirdropResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateAirdropResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateAirdropResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateAirdropResponse) ProtoMessage()
- func (m *MsgCreateAirdropResponse) Reset()
- func (m *MsgCreateAirdropResponse) Size() (n int)
- func (m *MsgCreateAirdropResponse) String() string
- func (m *MsgCreateAirdropResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateAirdropResponse) XXX_DiscardUnknown()
- func (m *MsgCreateAirdropResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateAirdropResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateAirdropResponse) XXX_Size() int
- func (m *MsgCreateAirdropResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteAirdrop
- func (*MsgDeleteAirdrop) Descriptor() ([]byte, []int)
- func (m *MsgDeleteAirdrop) GetDistributor() string
- func (m *MsgDeleteAirdrop) GetIdentifier() string
- func (msg *MsgDeleteAirdrop) GetSignBytes() []byte
- func (msg *MsgDeleteAirdrop) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteAirdrop) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteAirdrop) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteAirdrop) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteAirdrop) ProtoMessage()
- func (m *MsgDeleteAirdrop) Reset()
- func (msg *MsgDeleteAirdrop) Route() string
- func (m *MsgDeleteAirdrop) Size() (n int)
- func (m *MsgDeleteAirdrop) String() string
- func (msg *MsgDeleteAirdrop) Type() string
- func (m *MsgDeleteAirdrop) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteAirdrop) ValidateBasic() error
- func (m *MsgDeleteAirdrop) XXX_DiscardUnknown()
- func (m *MsgDeleteAirdrop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteAirdrop) XXX_Merge(src proto.Message)
- func (m *MsgDeleteAirdrop) XXX_Size() int
- func (m *MsgDeleteAirdrop) XXX_Unmarshal(b []byte) error
- type MsgDeleteAirdropResponse
- func (*MsgDeleteAirdropResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteAirdropResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteAirdropResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteAirdropResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteAirdropResponse) ProtoMessage()
- func (m *MsgDeleteAirdropResponse) Reset()
- func (m *MsgDeleteAirdropResponse) Size() (n int)
- func (m *MsgDeleteAirdropResponse) String() string
- func (m *MsgDeleteAirdropResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteAirdropResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteAirdropResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteAirdropResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteAirdropResponse) XXX_Size() int
- func (m *MsgDeleteAirdropResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetAirdropAllocations
- func (*MsgSetAirdropAllocations) Descriptor() ([]byte, []int)
- func (m *MsgSetAirdropAllocations) GetAirdropIdentifier() string
- func (m *MsgSetAirdropAllocations) GetAllocator() string
- func (msg *MsgSetAirdropAllocations) GetSignBytes() []byte
- func (msg *MsgSetAirdropAllocations) GetSigners() []sdk.AccAddress
- func (m *MsgSetAirdropAllocations) GetUsers() []string
- func (m *MsgSetAirdropAllocations) Marshal() (dAtA []byte, err error)
- func (m *MsgSetAirdropAllocations) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetAirdropAllocations) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetAirdropAllocations) ProtoMessage()
- func (m *MsgSetAirdropAllocations) Reset()
- func (msg *MsgSetAirdropAllocations) Route() string
- func (m *MsgSetAirdropAllocations) Size() (n int)
- func (m *MsgSetAirdropAllocations) String() string
- func (msg *MsgSetAirdropAllocations) Type() string
- func (m *MsgSetAirdropAllocations) Unmarshal(dAtA []byte) error
- func (msg *MsgSetAirdropAllocations) ValidateBasic() error
- func (m *MsgSetAirdropAllocations) XXX_DiscardUnknown()
- func (m *MsgSetAirdropAllocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetAirdropAllocations) XXX_Merge(src proto.Message)
- func (m *MsgSetAirdropAllocations) XXX_Size() int
- func (m *MsgSetAirdropAllocations) XXX_Unmarshal(b []byte) error
- type MsgSetAirdropAllocationsResponse
- func (*MsgSetAirdropAllocationsResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetAirdropAllocationsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetAirdropAllocationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetAirdropAllocationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetAirdropAllocationsResponse) ProtoMessage()
- func (m *MsgSetAirdropAllocationsResponse) Reset()
- func (m *MsgSetAirdropAllocationsResponse) Size() (n int)
- func (m *MsgSetAirdropAllocationsResponse) String() string
- func (m *MsgSetAirdropAllocationsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetAirdropAllocationsResponse) XXX_DiscardUnknown()
- func (m *MsgSetAirdropAllocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetAirdropAllocationsResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetAirdropAllocationsResponse) XXX_Size() int
- func (m *MsgSetAirdropAllocationsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAirdrops() []*Airdrop
- 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 (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (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 QueryClaimMetadataRequest
- func (*QueryClaimMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimMetadataRequest) ProtoMessage()
- func (m *QueryClaimMetadataRequest) Reset()
- func (m *QueryClaimMetadataRequest) Size() (n int)
- func (m *QueryClaimMetadataRequest) String() string
- func (m *QueryClaimMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryClaimMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimMetadataRequest) XXX_Size() int
- func (m *QueryClaimMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimMetadataResponse
- func (*QueryClaimMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimMetadataResponse) GetClaimMetadata() []ClaimMetadata
- func (m *QueryClaimMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimMetadataResponse) ProtoMessage()
- func (m *QueryClaimMetadataResponse) Reset()
- func (m *QueryClaimMetadataResponse) Size() (n int)
- func (m *QueryClaimMetadataResponse) String() string
- func (m *QueryClaimMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryClaimMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimMetadataResponse) XXX_Size() int
- func (m *QueryClaimMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryClaimRecordRequest
- func (*QueryClaimRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimRecordRequest) GetAddress() string
- func (m *QueryClaimRecordRequest) GetAirdropIdentifier() string
- func (m *QueryClaimRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimRecordRequest) ProtoMessage()
- func (m *QueryClaimRecordRequest) Reset()
- func (m *QueryClaimRecordRequest) Size() (n int)
- func (m *QueryClaimRecordRequest) String() string
- func (m *QueryClaimRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimRecordRequest) XXX_DiscardUnknown()
- func (m *QueryClaimRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimRecordRequest) XXX_Size() int
- func (m *QueryClaimRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimRecordResponse
- func (*QueryClaimRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimRecordResponse) GetClaimRecord() ClaimRecord
- func (m *QueryClaimRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimRecordResponse) ProtoMessage()
- func (m *QueryClaimRecordResponse) Reset()
- func (m *QueryClaimRecordResponse) Size() (n int)
- func (m *QueryClaimRecordResponse) String() string
- func (m *QueryClaimRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimRecordResponse) XXX_DiscardUnknown()
- func (m *QueryClaimRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimRecordResponse) XXX_Size() int
- func (m *QueryClaimRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryClaimStatusRequest
- func (*QueryClaimStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimStatusRequest) GetAddress() string
- func (m *QueryClaimStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimStatusRequest) ProtoMessage()
- func (m *QueryClaimStatusRequest) Reset()
- func (m *QueryClaimStatusRequest) Size() (n int)
- func (m *QueryClaimStatusRequest) String() string
- func (m *QueryClaimStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimStatusRequest) XXX_DiscardUnknown()
- func (m *QueryClaimStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimStatusRequest) XXX_Size() int
- func (m *QueryClaimStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimStatusResponse
- func (*QueryClaimStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimStatusResponse) GetClaimStatus() []ClaimStatus
- func (m *QueryClaimStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimStatusResponse) ProtoMessage()
- func (m *QueryClaimStatusResponse) Reset()
- func (m *QueryClaimStatusResponse) Size() (n int)
- func (m *QueryClaimStatusResponse) String() string
- func (m *QueryClaimStatusResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimStatusResponse) XXX_DiscardUnknown()
- func (m *QueryClaimStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimStatusResponse) XXX_Size() int
- func (m *QueryClaimStatusResponse) XXX_Unmarshal(b []byte) error
- type QueryClaimableForActionRequest
- func (*QueryClaimableForActionRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimableForActionRequest) GetAction() Action
- func (m *QueryClaimableForActionRequest) GetAddress() string
- func (m *QueryClaimableForActionRequest) GetAirdropIdentifier() string
- func (m *QueryClaimableForActionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimableForActionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimableForActionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimableForActionRequest) ProtoMessage()
- func (m *QueryClaimableForActionRequest) Reset()
- func (m *QueryClaimableForActionRequest) Size() (n int)
- func (m *QueryClaimableForActionRequest) String() string
- func (m *QueryClaimableForActionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimableForActionRequest) XXX_DiscardUnknown()
- func (m *QueryClaimableForActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimableForActionRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimableForActionRequest) XXX_Size() int
- func (m *QueryClaimableForActionRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimableForActionResponse
- func (*QueryClaimableForActionResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimableForActionResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryClaimableForActionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimableForActionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimableForActionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimableForActionResponse) ProtoMessage()
- func (m *QueryClaimableForActionResponse) Reset()
- func (m *QueryClaimableForActionResponse) Size() (n int)
- func (m *QueryClaimableForActionResponse) String() string
- func (m *QueryClaimableForActionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimableForActionResponse) XXX_DiscardUnknown()
- func (m *QueryClaimableForActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimableForActionResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimableForActionResponse) XXX_Size() int
- func (m *QueryClaimableForActionResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDistributorAccountBalanceRequest
- func (*QueryDistributorAccountBalanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryDistributorAccountBalanceRequest) GetAirdropIdentifier() string
- func (m *QueryDistributorAccountBalanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDistributorAccountBalanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDistributorAccountBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDistributorAccountBalanceRequest) ProtoMessage()
- func (m *QueryDistributorAccountBalanceRequest) Reset()
- func (m *QueryDistributorAccountBalanceRequest) Size() (n int)
- func (m *QueryDistributorAccountBalanceRequest) String() string
- func (m *QueryDistributorAccountBalanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDistributorAccountBalanceRequest) XXX_DiscardUnknown()
- func (m *QueryDistributorAccountBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDistributorAccountBalanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryDistributorAccountBalanceRequest) XXX_Size() int
- func (m *QueryDistributorAccountBalanceRequest) XXX_Unmarshal(b []byte) error
- type QueryDistributorAccountBalanceResponse
- func (*QueryDistributorAccountBalanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryDistributorAccountBalanceResponse) GetDistributorAccountBalance() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryDistributorAccountBalanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDistributorAccountBalanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDistributorAccountBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDistributorAccountBalanceResponse) ProtoMessage()
- func (m *QueryDistributorAccountBalanceResponse) Reset()
- func (m *QueryDistributorAccountBalanceResponse) Size() (n int)
- func (m *QueryDistributorAccountBalanceResponse) String() string
- func (m *QueryDistributorAccountBalanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDistributorAccountBalanceResponse) XXX_DiscardUnknown()
- func (m *QueryDistributorAccountBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDistributorAccountBalanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryDistributorAccountBalanceResponse) XXX_Size() int
- func (m *QueryDistributorAccountBalanceResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryTotalClaimableRequest
- func (*QueryTotalClaimableRequest) Descriptor() ([]byte, []int)
- func (m *QueryTotalClaimableRequest) GetAddress() string
- func (m *QueryTotalClaimableRequest) GetAirdropIdentifier() string
- func (m *QueryTotalClaimableRequest) GetIncludeClaimed() bool
- func (m *QueryTotalClaimableRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalClaimableRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalClaimableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalClaimableRequest) ProtoMessage()
- func (m *QueryTotalClaimableRequest) Reset()
- func (m *QueryTotalClaimableRequest) Size() (n int)
- func (m *QueryTotalClaimableRequest) String() string
- func (m *QueryTotalClaimableRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTotalClaimableRequest) XXX_DiscardUnknown()
- func (m *QueryTotalClaimableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalClaimableRequest) XXX_Merge(src proto.Message)
- func (m *QueryTotalClaimableRequest) XXX_Size() int
- func (m *QueryTotalClaimableRequest) XXX_Unmarshal(b []byte) error
- type QueryTotalClaimableResponse
- func (*QueryTotalClaimableResponse) Descriptor() ([]byte, []int)
- func (m *QueryTotalClaimableResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryTotalClaimableResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTotalClaimableResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTotalClaimableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTotalClaimableResponse) ProtoMessage()
- func (m *QueryTotalClaimableResponse) Reset()
- func (m *QueryTotalClaimableResponse) Size() (n int)
- func (m *QueryTotalClaimableResponse) String() string
- func (m *QueryTotalClaimableResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTotalClaimableResponse) XXX_DiscardUnknown()
- func (m *QueryTotalClaimableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTotalClaimableResponse) XXX_Merge(src proto.Message)
- func (m *QueryTotalClaimableResponse) XXX_Size() int
- func (m *QueryTotalClaimableResponse) XXX_Unmarshal(b []byte) error
- type QueryUserVestingsRequest
- func (*QueryUserVestingsRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserVestingsRequest) GetAddress() string
- func (m *QueryUserVestingsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserVestingsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserVestingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserVestingsRequest) ProtoMessage()
- func (m *QueryUserVestingsRequest) Reset()
- func (m *QueryUserVestingsRequest) Size() (n int)
- func (m *QueryUserVestingsRequest) String() string
- func (m *QueryUserVestingsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserVestingsRequest) XXX_DiscardUnknown()
- func (m *QueryUserVestingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserVestingsRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserVestingsRequest) XXX_Size() int
- func (m *QueryUserVestingsRequest) XXX_Unmarshal(b []byte) error
- type QueryUserVestingsResponse
- func (*QueryUserVestingsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserVestingsResponse) GetPeriods() []types2.Period
- func (m *QueryUserVestingsResponse) GetSpendableCoins() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *QueryUserVestingsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserVestingsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserVestingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserVestingsResponse) ProtoMessage()
- func (m *QueryUserVestingsResponse) Reset()
- func (m *QueryUserVestingsResponse) Size() (n int)
- func (m *QueryUserVestingsResponse) String() string
- func (m *QueryUserVestingsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserVestingsResponse) XXX_DiscardUnknown()
- func (m *QueryUserVestingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserVestingsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserVestingsResponse) XXX_Size() int
- func (m *QueryUserVestingsResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) ClaimFreeAmount(ctx context.Context, req *MsgClaimFreeAmount) (*MsgClaimFreeAmountResponse, error)
- func (*UnimplementedMsgServer) CreateAirdrop(ctx context.Context, req *MsgCreateAirdrop) (*MsgCreateAirdropResponse, error)
- func (*UnimplementedMsgServer) DeleteAirdrop(ctx context.Context, req *MsgDeleteAirdrop) (*MsgDeleteAirdropResponse, error)
- func (*UnimplementedMsgServer) SetAirdropAllocations(ctx context.Context, req *MsgSetAirdropAllocations) (*MsgSetAirdropAllocationsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ClaimMetadata(ctx context.Context, req *QueryClaimMetadataRequest) (*QueryClaimMetadataResponse, error)
- func (*UnimplementedQueryServer) ClaimRecord(ctx context.Context, req *QueryClaimRecordRequest) (*QueryClaimRecordResponse, error)
- func (*UnimplementedQueryServer) ClaimStatus(ctx context.Context, req *QueryClaimStatusRequest) (*QueryClaimStatusResponse, error)
- func (*UnimplementedQueryServer) ClaimableForAction(ctx context.Context, req *QueryClaimableForActionRequest) (*QueryClaimableForActionResponse, error)
- func (*UnimplementedQueryServer) DistributorAccountBalance(ctx context.Context, req *QueryDistributorAccountBalanceRequest) (*QueryDistributorAccountBalanceResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) TotalClaimable(ctx context.Context, req *QueryTotalClaimableRequest) (*QueryTotalClaimableResponse, error)
- func (*UnimplementedQueryServer) UserVestings(ctx context.Context, req *QueryUserVestingsRequest) (*QueryUserVestingsResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "claim" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // ClaimRecordsStorePrefix defines the store prefix for the claim records ClaimRecordsStorePrefix = "claimrecords" // ParamsKey defines the store key for claim module parameters ParamsKey = "params" // ActionKey defines the store key to store user accomplished actions ActionKey = "action" // TotalWeightKey defines the store key for total weight TotalWeightKey = "totalweight" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
EventTypeClaim = "claim"
)
claim module event typs
const TypeMsgClaimFreeAmount = "claim_free_amount"
Msg type for MsgClaimFreeAmount
const TypeMsgCreateAirdrop = "create_airdrop"
Msg type for MsgCreateAirdrop
const TypeMsgDeleteAirdrop = "delete_airdrop"
Msg type for MsgDeleteAirdrop
const TypeMsgSetAirdropAllocations = "set_airdrop_allocation"
Msg type for MsgSetAirdropAllocations
Variables ¶
var ( ErrInvalidLengthClaim = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClaim = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClaim = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrTotalWeightNotSet = errorsmod.Register(ModuleName, 1101, "total weight not set") ErrTotalWeightParse = errorsmod.Register(ModuleName, 1102, "total weight parse error") ErrFailedToGetTotalWeight = errorsmod.Register(ModuleName, 1104, "failed to get total weight") ErrFailedToParseDec = errorsmod.Register(ModuleName, 1105, "failed to parse dec from str") ErrAirdropAlreadyExists = errorsmod.Register(ModuleName, 1106, "airdrop with same identifier already exists") ErrDistributorAlreadyExists = errorsmod.Register(ModuleName, 1107, "airdrop with same distributor already exists") ErrInvalidAmount = errorsmod.Register(ModuleName, 1108, "cannot claim negative tokens") ErrInvalidAccount = errorsmod.Register(ModuleName, 1109, "only BaseAccount and StridePeriodicVestingAccount can claim") ErrAirdropNotFound = errorsmod.Register(ModuleName, 1110, "the airdrop was not found") ErrClaimNotFound = errorsmod.Register(ModuleName, 1111, "the claim record was not found") ErrModifyingClaimRecord = errorsmod.Register(ModuleName, 1112, "failed to modify claim record") ErrAirdropChainIdAlreadyExists = errorsmod.Register(ModuleName, 1113, "airdrop with same chain-id already exists") )
x/claim module sentinel errors
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 ( // Percentages for actions PercentageForFree = sdk.NewDecWithPrec(20, 2) //20% PercentageForStake = sdk.NewDecWithPrec(20, 2) //20% PercentageForLiquidStake = sdk.NewDecWithPrec(60, 2) //60% )
var ( DefaultClaimDenom = "ustrd" DefaultEpochDuration = time.Hour * 24 * 30 // 1 month DefaultAirdropDuration = time.Hour * 24 * 30 * 12 * 3 // 3 years DefaultVestingDurationForDelegateStake = time.Hour * 24 * 30 * 3 // 3 months DefaultVestingDurationForLiquidStake = time.Hour * 24 * 30 * 3 // 3 months DefaultVestingInitialPeriod = time.Hour * 24 * 30 * 3 // 3 months DefaultAirdropIdentifier = "stride" )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Action_name = map[int32]string{
0: "ACTION_FREE",
1: "ACTION_LIQUID_STAKE",
2: "ACTION_DELEGATE_STAKE",
}
var Action_value = map[string]int32{
"ACTION_FREE": 0,
"ACTION_LIQUID_STAKE": 1,
"ACTION_DELEGATE_STAKE": 2,
}
Functions ¶
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)
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetModuleAddress(name string) sdk.AccAddress SetModuleAccount(ctx sdk.Context, macc authtypes.ModuleAccountI) GetAccount(sdk.Context, sdk.AccAddress) authtypes.AccountI SetAccount(sdk.Context, authtypes.AccountI) NewAccountWithAddress(sdk.Context, sdk.AccAddress) authtypes.AccountI // Fetch the sequence of an account at a specified address. GetSequence(sdk.Context, sdk.AccAddress) (uint64, error) }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type Airdrop ¶
type Airdrop struct { AirdropIdentifier string `` /* 138-byte string literal not displayed */ ChainId string `protobuf:"bytes,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // seconds AirdropStartTime time.Time `` /* 135-byte string literal not displayed */ // seconds AirdropDuration time.Duration `` /* 142-byte string literal not displayed */ // denom of claimable asset ClaimDenom string `protobuf:"bytes,4,opt,name=claim_denom,json=claimDenom,proto3" json:"claim_denom,omitempty"` // airdrop distribution account DistributorAddress string `protobuf:"bytes,5,opt,name=distributor_address,json=distributorAddress,proto3" json:"distributor_address,omitempty"` // ustrd tokens claimed so far in the current period ClaimedSoFar github_com_cosmos_cosmos_sdk_types.Int `` /* 139-byte string literal not displayed */ // indicates the airdrop should be claimed via autopilot AutopilotEnabled bool `protobuf:"varint,8,opt,name=autopilot_enabled,json=autopilotEnabled,proto3" json:"autopilot_enabled,omitempty"` }
func (*Airdrop) Descriptor ¶
func (*Airdrop) GetAirdropDuration ¶
func (*Airdrop) GetAirdropIdentifier ¶
func (*Airdrop) GetAirdropStartTime ¶
func (*Airdrop) GetAutopilotEnabled ¶
func (*Airdrop) GetChainId ¶
func (*Airdrop) GetClaimDenom ¶
func (*Airdrop) GetDistributorAddress ¶
func (*Airdrop) MarshalToSizedBuffer ¶
func (*Airdrop) ProtoMessage ¶
func (*Airdrop) ProtoMessage()
func (*Airdrop) XXX_DiscardUnknown ¶
func (m *Airdrop) XXX_DiscardUnknown()
func (*Airdrop) XXX_Marshal ¶
func (*Airdrop) XXX_Unmarshal ¶
type BankKeeper ¶
type BankKeeper interface { SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin }
BankKeeper defines the banking contract that must be fulfilled when creating a x/claim keeper.
type ClaimMetadata ¶
type ClaimMetadata struct { AirdropIdentifier string `protobuf:"bytes,1,opt,name=airdrop_identifier,json=airdropIdentifier,proto3" json:"airdrop_identifier,omitempty"` CurrentRound string `protobuf:"bytes,2,opt,name=current_round,json=currentRound,proto3" json:"current_round,omitempty"` CurrentRoundStart time.Time `` /* 139-byte string literal not displayed */ CurrentRoundEnd time.Time `` /* 131-byte string literal not displayed */ }
func (*ClaimMetadata) Descriptor ¶
func (*ClaimMetadata) Descriptor() ([]byte, []int)
func (*ClaimMetadata) GetAirdropIdentifier ¶
func (m *ClaimMetadata) GetAirdropIdentifier() string
func (*ClaimMetadata) GetCurrentRound ¶
func (m *ClaimMetadata) GetCurrentRound() string
func (*ClaimMetadata) GetCurrentRoundEnd ¶
func (m *ClaimMetadata) GetCurrentRoundEnd() time.Time
func (*ClaimMetadata) GetCurrentRoundStart ¶
func (m *ClaimMetadata) GetCurrentRoundStart() time.Time
func (*ClaimMetadata) Marshal ¶
func (m *ClaimMetadata) Marshal() (dAtA []byte, err error)
func (*ClaimMetadata) MarshalToSizedBuffer ¶
func (m *ClaimMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimMetadata) ProtoMessage ¶
func (*ClaimMetadata) ProtoMessage()
func (*ClaimMetadata) Reset ¶
func (m *ClaimMetadata) Reset()
func (*ClaimMetadata) Size ¶
func (m *ClaimMetadata) Size() (n int)
func (*ClaimMetadata) String ¶
func (m *ClaimMetadata) String() string
func (*ClaimMetadata) Unmarshal ¶
func (m *ClaimMetadata) Unmarshal(dAtA []byte) error
func (*ClaimMetadata) XXX_DiscardUnknown ¶
func (m *ClaimMetadata) XXX_DiscardUnknown()
func (*ClaimMetadata) XXX_Marshal ¶
func (m *ClaimMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimMetadata) XXX_Merge ¶
func (m *ClaimMetadata) XXX_Merge(src proto.Message)
func (*ClaimMetadata) XXX_Size ¶
func (m *ClaimMetadata) XXX_Size() int
func (*ClaimMetadata) XXX_Unmarshal ¶
func (m *ClaimMetadata) XXX_Unmarshal(b []byte) error
type ClaimRecord ¶
type ClaimRecord struct { // airdrop identifier AirdropIdentifier string `` /* 138-byte string literal not displayed */ // address of claim user Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` // weight that represent the portion from total allocation Weight github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weight" yaml:"weight"` // true if action is completed // index of bool in array refers to action enum # ActionCompleted []bool `` /* 138-byte string literal not displayed */ }
A Claim Records is the metadata of claim data per address
func (*ClaimRecord) Descriptor ¶
func (*ClaimRecord) Descriptor() ([]byte, []int)
func (*ClaimRecord) GetActionCompleted ¶
func (m *ClaimRecord) GetActionCompleted() []bool
func (*ClaimRecord) GetAddress ¶
func (m *ClaimRecord) GetAddress() string
func (*ClaimRecord) GetAirdropIdentifier ¶
func (m *ClaimRecord) GetAirdropIdentifier() string
func (*ClaimRecord) Marshal ¶
func (m *ClaimRecord) Marshal() (dAtA []byte, err error)
func (*ClaimRecord) MarshalToSizedBuffer ¶
func (m *ClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimRecord) ProtoMessage ¶
func (*ClaimRecord) ProtoMessage()
func (*ClaimRecord) Reset ¶
func (m *ClaimRecord) Reset()
func (*ClaimRecord) Size ¶
func (m *ClaimRecord) Size() (n int)
func (*ClaimRecord) String ¶
func (m *ClaimRecord) String() string
func (*ClaimRecord) Unmarshal ¶
func (m *ClaimRecord) Unmarshal(dAtA []byte) error
func (*ClaimRecord) XXX_DiscardUnknown ¶
func (m *ClaimRecord) XXX_DiscardUnknown()
func (*ClaimRecord) XXX_Marshal ¶
func (m *ClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimRecord) XXX_Merge ¶
func (m *ClaimRecord) XXX_Merge(src proto.Message)
func (*ClaimRecord) XXX_Size ¶
func (m *ClaimRecord) XXX_Size() int
func (*ClaimRecord) XXX_Unmarshal ¶
func (m *ClaimRecord) XXX_Unmarshal(b []byte) error
type ClaimStatus ¶
type ClaimStatus struct { AirdropIdentifier string `protobuf:"bytes,1,opt,name=airdrop_identifier,json=airdropIdentifier,proto3" json:"airdrop_identifier,omitempty"` Claimed bool `protobuf:"varint,2,opt,name=claimed,proto3" json:"claimed,omitempty"` }
func (*ClaimStatus) Descriptor ¶
func (*ClaimStatus) Descriptor() ([]byte, []int)
func (*ClaimStatus) GetAirdropIdentifier ¶
func (m *ClaimStatus) GetAirdropIdentifier() string
func (*ClaimStatus) GetClaimed ¶
func (m *ClaimStatus) GetClaimed() bool
func (*ClaimStatus) Marshal ¶
func (m *ClaimStatus) Marshal() (dAtA []byte, err error)
func (*ClaimStatus) MarshalToSizedBuffer ¶
func (m *ClaimStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimStatus) ProtoMessage ¶
func (*ClaimStatus) ProtoMessage()
func (*ClaimStatus) Reset ¶
func (m *ClaimStatus) Reset()
func (*ClaimStatus) Size ¶
func (m *ClaimStatus) Size() (n int)
func (*ClaimStatus) String ¶
func (m *ClaimStatus) String() string
func (*ClaimStatus) Unmarshal ¶
func (m *ClaimStatus) Unmarshal(dAtA []byte) error
func (*ClaimStatus) XXX_DiscardUnknown ¶
func (m *ClaimStatus) XXX_DiscardUnknown()
func (*ClaimStatus) XXX_Marshal ¶
func (m *ClaimStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimStatus) XXX_Merge ¶
func (m *ClaimStatus) XXX_Merge(src proto.Message)
func (*ClaimStatus) XXX_Size ¶
func (m *ClaimStatus) XXX_Size() int
func (*ClaimStatus) XXX_Unmarshal ¶
func (m *ClaimStatus) XXX_Unmarshal(b []byte) error
type DistrKeeper ¶
type DistrKeeper interface {
FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error
}
DistrKeeper is the keeper of the distribution store
type EpochsKeeper ¶
type EpochsKeeper interface { SetEpochInfo(ctx sdk.Context, epoch epochstypes.EpochInfo) DeleteEpochInfo(ctx sdk.Context, identifier string) AllEpochInfos(ctx sdk.Context) []epochstypes.EpochInfo }
EpochsKeeper expected epoch keeper
type GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params" yaml:"params"` // list of claim records, one for every airdrop recipient ClaimRecords []ClaimRecord `protobuf:"bytes,2,rep,name=claim_records,json=claimRecords,proto3" json:"claim_records" yaml:"claim_records"` }
GenesisState defines the claim module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func GetGenesisStateFromAppState ¶
func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState
GetGenesisStateFromAppState returns x/claims GenesisState given raw application genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetClaimRecords ¶
func (m *GenesisState) GetClaimRecords() []ClaimRecord
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClaimFreeAmount ¶
type MsgClaimFreeAmount struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func NewMsgClaimFreeAmount ¶
func NewMsgClaimFreeAmount(user string) *MsgClaimFreeAmount
func (*MsgClaimFreeAmount) Descriptor ¶
func (*MsgClaimFreeAmount) Descriptor() ([]byte, []int)
func (*MsgClaimFreeAmount) GetSignBytes ¶
func (msg *MsgClaimFreeAmount) GetSignBytes() []byte
func (*MsgClaimFreeAmount) GetSigners ¶
func (msg *MsgClaimFreeAmount) GetSigners() []sdk.AccAddress
func (*MsgClaimFreeAmount) GetUser ¶
func (m *MsgClaimFreeAmount) GetUser() string
func (*MsgClaimFreeAmount) Marshal ¶
func (m *MsgClaimFreeAmount) Marshal() (dAtA []byte, err error)
func (*MsgClaimFreeAmount) MarshalTo ¶
func (m *MsgClaimFreeAmount) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimFreeAmount) MarshalToSizedBuffer ¶
func (m *MsgClaimFreeAmount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimFreeAmount) ProtoMessage ¶
func (*MsgClaimFreeAmount) ProtoMessage()
func (*MsgClaimFreeAmount) Reset ¶
func (m *MsgClaimFreeAmount) Reset()
func (*MsgClaimFreeAmount) Route ¶
func (msg *MsgClaimFreeAmount) Route() string
func (*MsgClaimFreeAmount) Size ¶
func (m *MsgClaimFreeAmount) Size() (n int)
func (*MsgClaimFreeAmount) String ¶
func (m *MsgClaimFreeAmount) String() string
func (*MsgClaimFreeAmount) Type ¶
func (msg *MsgClaimFreeAmount) Type() string
func (*MsgClaimFreeAmount) Unmarshal ¶
func (m *MsgClaimFreeAmount) Unmarshal(dAtA []byte) error
func (*MsgClaimFreeAmount) ValidateBasic ¶
func (msg *MsgClaimFreeAmount) ValidateBasic() error
func (*MsgClaimFreeAmount) XXX_DiscardUnknown ¶
func (m *MsgClaimFreeAmount) XXX_DiscardUnknown()
func (*MsgClaimFreeAmount) XXX_Marshal ¶
func (m *MsgClaimFreeAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimFreeAmount) XXX_Merge ¶
func (m *MsgClaimFreeAmount) XXX_Merge(src proto.Message)
func (*MsgClaimFreeAmount) XXX_Size ¶
func (m *MsgClaimFreeAmount) XXX_Size() int
func (*MsgClaimFreeAmount) XXX_Unmarshal ¶
func (m *MsgClaimFreeAmount) XXX_Unmarshal(b []byte) error
type MsgClaimFreeAmountResponse ¶
type MsgClaimFreeAmountResponse struct {
ClaimedAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */
}
func (*MsgClaimFreeAmountResponse) Descriptor ¶
func (*MsgClaimFreeAmountResponse) Descriptor() ([]byte, []int)
func (*MsgClaimFreeAmountResponse) GetClaimedAmount ¶
func (m *MsgClaimFreeAmountResponse) GetClaimedAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgClaimFreeAmountResponse) Marshal ¶
func (m *MsgClaimFreeAmountResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimFreeAmountResponse) MarshalTo ¶
func (m *MsgClaimFreeAmountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimFreeAmountResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimFreeAmountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimFreeAmountResponse) ProtoMessage ¶
func (*MsgClaimFreeAmountResponse) ProtoMessage()
func (*MsgClaimFreeAmountResponse) Reset ¶
func (m *MsgClaimFreeAmountResponse) Reset()
func (*MsgClaimFreeAmountResponse) Size ¶
func (m *MsgClaimFreeAmountResponse) Size() (n int)
func (*MsgClaimFreeAmountResponse) String ¶
func (m *MsgClaimFreeAmountResponse) String() string
func (*MsgClaimFreeAmountResponse) Unmarshal ¶
func (m *MsgClaimFreeAmountResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimFreeAmountResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimFreeAmountResponse) XXX_DiscardUnknown()
func (*MsgClaimFreeAmountResponse) XXX_Marshal ¶
func (m *MsgClaimFreeAmountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimFreeAmountResponse) XXX_Merge ¶
func (m *MsgClaimFreeAmountResponse) XXX_Merge(src proto.Message)
func (*MsgClaimFreeAmountResponse) XXX_Size ¶
func (m *MsgClaimFreeAmountResponse) XXX_Size() int
func (*MsgClaimFreeAmountResponse) XXX_Unmarshal ¶
func (m *MsgClaimFreeAmountResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { SetAirdropAllocations(ctx context.Context, in *MsgSetAirdropAllocations, opts ...grpc.CallOption) (*MsgSetAirdropAllocationsResponse, error) ClaimFreeAmount(ctx context.Context, in *MsgClaimFreeAmount, opts ...grpc.CallOption) (*MsgClaimFreeAmountResponse, error) CreateAirdrop(ctx context.Context, in *MsgCreateAirdrop, opts ...grpc.CallOption) (*MsgCreateAirdropResponse, error) DeleteAirdrop(ctx context.Context, in *MsgDeleteAirdrop, opts ...grpc.CallOption) (*MsgDeleteAirdropResponse, 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 MsgCreateAirdrop ¶
type MsgCreateAirdrop struct { Distributor string `protobuf:"bytes,1,opt,name=distributor,proto3" json:"distributor,omitempty"` Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` ChainId string `protobuf:"bytes,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Denom string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"` StartTime uint64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` Duration uint64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` AutopilotEnabled bool `protobuf:"varint,7,opt,name=autopilot_enabled,json=autopilotEnabled,proto3" json:"autopilot_enabled,omitempty"` }
func NewMsgCreateAirdrop ¶
func NewMsgCreateAirdrop(distributor, identifier, chainId, denom string, startTime, duration uint64, autopilotEnabled bool) *MsgCreateAirdrop
func (*MsgCreateAirdrop) Descriptor ¶
func (*MsgCreateAirdrop) Descriptor() ([]byte, []int)
func (*MsgCreateAirdrop) GetAutopilotEnabled ¶
func (m *MsgCreateAirdrop) GetAutopilotEnabled() bool
func (*MsgCreateAirdrop) GetChainId ¶
func (m *MsgCreateAirdrop) GetChainId() string
func (*MsgCreateAirdrop) GetDenom ¶
func (m *MsgCreateAirdrop) GetDenom() string
func (*MsgCreateAirdrop) GetDistributor ¶
func (m *MsgCreateAirdrop) GetDistributor() string
func (*MsgCreateAirdrop) GetDuration ¶
func (m *MsgCreateAirdrop) GetDuration() uint64
func (*MsgCreateAirdrop) GetIdentifier ¶
func (m *MsgCreateAirdrop) GetIdentifier() string
func (*MsgCreateAirdrop) GetSignBytes ¶
func (msg *MsgCreateAirdrop) GetSignBytes() []byte
func (*MsgCreateAirdrop) GetSigners ¶
func (msg *MsgCreateAirdrop) GetSigners() []sdk.AccAddress
func (*MsgCreateAirdrop) GetStartTime ¶
func (m *MsgCreateAirdrop) GetStartTime() uint64
func (*MsgCreateAirdrop) Marshal ¶
func (m *MsgCreateAirdrop) Marshal() (dAtA []byte, err error)
func (*MsgCreateAirdrop) MarshalToSizedBuffer ¶
func (m *MsgCreateAirdrop) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAirdrop) ProtoMessage ¶
func (*MsgCreateAirdrop) ProtoMessage()
func (*MsgCreateAirdrop) Reset ¶
func (m *MsgCreateAirdrop) Reset()
func (*MsgCreateAirdrop) Route ¶
func (msg *MsgCreateAirdrop) Route() string
func (*MsgCreateAirdrop) Size ¶
func (m *MsgCreateAirdrop) Size() (n int)
func (*MsgCreateAirdrop) String ¶
func (m *MsgCreateAirdrop) String() string
func (*MsgCreateAirdrop) Type ¶
func (msg *MsgCreateAirdrop) Type() string
func (*MsgCreateAirdrop) Unmarshal ¶
func (m *MsgCreateAirdrop) Unmarshal(dAtA []byte) error
func (*MsgCreateAirdrop) ValidateBasic ¶
func (msg *MsgCreateAirdrop) ValidateBasic() error
func (*MsgCreateAirdrop) XXX_DiscardUnknown ¶
func (m *MsgCreateAirdrop) XXX_DiscardUnknown()
func (*MsgCreateAirdrop) XXX_Marshal ¶
func (m *MsgCreateAirdrop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAirdrop) XXX_Merge ¶
func (m *MsgCreateAirdrop) XXX_Merge(src proto.Message)
func (*MsgCreateAirdrop) XXX_Size ¶
func (m *MsgCreateAirdrop) XXX_Size() int
func (*MsgCreateAirdrop) XXX_Unmarshal ¶
func (m *MsgCreateAirdrop) XXX_Unmarshal(b []byte) error
type MsgCreateAirdropResponse ¶
type MsgCreateAirdropResponse struct { }
func (*MsgCreateAirdropResponse) Descriptor ¶
func (*MsgCreateAirdropResponse) Descriptor() ([]byte, []int)
func (*MsgCreateAirdropResponse) Marshal ¶
func (m *MsgCreateAirdropResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateAirdropResponse) MarshalTo ¶
func (m *MsgCreateAirdropResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateAirdropResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateAirdropResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateAirdropResponse) ProtoMessage ¶
func (*MsgCreateAirdropResponse) ProtoMessage()
func (*MsgCreateAirdropResponse) Reset ¶
func (m *MsgCreateAirdropResponse) Reset()
func (*MsgCreateAirdropResponse) Size ¶
func (m *MsgCreateAirdropResponse) Size() (n int)
func (*MsgCreateAirdropResponse) String ¶
func (m *MsgCreateAirdropResponse) String() string
func (*MsgCreateAirdropResponse) Unmarshal ¶
func (m *MsgCreateAirdropResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateAirdropResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateAirdropResponse) XXX_DiscardUnknown()
func (*MsgCreateAirdropResponse) XXX_Marshal ¶
func (m *MsgCreateAirdropResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateAirdropResponse) XXX_Merge ¶
func (m *MsgCreateAirdropResponse) XXX_Merge(src proto.Message)
func (*MsgCreateAirdropResponse) XXX_Size ¶
func (m *MsgCreateAirdropResponse) XXX_Size() int
func (*MsgCreateAirdropResponse) XXX_Unmarshal ¶
func (m *MsgCreateAirdropResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteAirdrop ¶
type MsgDeleteAirdrop struct { Distributor string `protobuf:"bytes,1,opt,name=distributor,proto3" json:"distributor,omitempty"` Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"` }
func NewMsgDeleteAirdrop ¶
func NewMsgDeleteAirdrop(distributor string, identifier string) *MsgDeleteAirdrop
func (*MsgDeleteAirdrop) Descriptor ¶
func (*MsgDeleteAirdrop) Descriptor() ([]byte, []int)
func (*MsgDeleteAirdrop) GetDistributor ¶
func (m *MsgDeleteAirdrop) GetDistributor() string
func (*MsgDeleteAirdrop) GetIdentifier ¶
func (m *MsgDeleteAirdrop) GetIdentifier() string
func (*MsgDeleteAirdrop) GetSignBytes ¶
func (msg *MsgDeleteAirdrop) GetSignBytes() []byte
func (*MsgDeleteAirdrop) GetSigners ¶
func (msg *MsgDeleteAirdrop) GetSigners() []sdk.AccAddress
func (*MsgDeleteAirdrop) Marshal ¶
func (m *MsgDeleteAirdrop) Marshal() (dAtA []byte, err error)
func (*MsgDeleteAirdrop) MarshalToSizedBuffer ¶
func (m *MsgDeleteAirdrop) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteAirdrop) ProtoMessage ¶
func (*MsgDeleteAirdrop) ProtoMessage()
func (*MsgDeleteAirdrop) Reset ¶
func (m *MsgDeleteAirdrop) Reset()
func (*MsgDeleteAirdrop) Route ¶
func (msg *MsgDeleteAirdrop) Route() string
func (*MsgDeleteAirdrop) Size ¶
func (m *MsgDeleteAirdrop) Size() (n int)
func (*MsgDeleteAirdrop) String ¶
func (m *MsgDeleteAirdrop) String() string
func (*MsgDeleteAirdrop) Type ¶
func (msg *MsgDeleteAirdrop) Type() string
func (*MsgDeleteAirdrop) Unmarshal ¶
func (m *MsgDeleteAirdrop) Unmarshal(dAtA []byte) error
func (*MsgDeleteAirdrop) ValidateBasic ¶
func (msg *MsgDeleteAirdrop) ValidateBasic() error
func (*MsgDeleteAirdrop) XXX_DiscardUnknown ¶
func (m *MsgDeleteAirdrop) XXX_DiscardUnknown()
func (*MsgDeleteAirdrop) XXX_Marshal ¶
func (m *MsgDeleteAirdrop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteAirdrop) XXX_Merge ¶
func (m *MsgDeleteAirdrop) XXX_Merge(src proto.Message)
func (*MsgDeleteAirdrop) XXX_Size ¶
func (m *MsgDeleteAirdrop) XXX_Size() int
func (*MsgDeleteAirdrop) XXX_Unmarshal ¶
func (m *MsgDeleteAirdrop) XXX_Unmarshal(b []byte) error
type MsgDeleteAirdropResponse ¶
type MsgDeleteAirdropResponse struct { }
func (*MsgDeleteAirdropResponse) Descriptor ¶
func (*MsgDeleteAirdropResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteAirdropResponse) Marshal ¶
func (m *MsgDeleteAirdropResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteAirdropResponse) MarshalTo ¶
func (m *MsgDeleteAirdropResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteAirdropResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteAirdropResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteAirdropResponse) ProtoMessage ¶
func (*MsgDeleteAirdropResponse) ProtoMessage()
func (*MsgDeleteAirdropResponse) Reset ¶
func (m *MsgDeleteAirdropResponse) Reset()
func (*MsgDeleteAirdropResponse) Size ¶
func (m *MsgDeleteAirdropResponse) Size() (n int)
func (*MsgDeleteAirdropResponse) String ¶
func (m *MsgDeleteAirdropResponse) String() string
func (*MsgDeleteAirdropResponse) Unmarshal ¶
func (m *MsgDeleteAirdropResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteAirdropResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteAirdropResponse) XXX_DiscardUnknown()
func (*MsgDeleteAirdropResponse) XXX_Marshal ¶
func (m *MsgDeleteAirdropResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteAirdropResponse) XXX_Merge ¶
func (m *MsgDeleteAirdropResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteAirdropResponse) XXX_Size ¶
func (m *MsgDeleteAirdropResponse) XXX_Size() int
func (*MsgDeleteAirdropResponse) XXX_Unmarshal ¶
func (m *MsgDeleteAirdropResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { SetAirdropAllocations(context.Context, *MsgSetAirdropAllocations) (*MsgSetAirdropAllocationsResponse, error) ClaimFreeAmount(context.Context, *MsgClaimFreeAmount) (*MsgClaimFreeAmountResponse, error) CreateAirdrop(context.Context, *MsgCreateAirdrop) (*MsgCreateAirdropResponse, error) DeleteAirdrop(context.Context, *MsgDeleteAirdrop) (*MsgDeleteAirdropResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetAirdropAllocations ¶
type MsgSetAirdropAllocations struct { Allocator string `protobuf:"bytes,1,opt,name=allocator,proto3" json:"allocator,omitempty"` AirdropIdentifier string `` /* 138-byte string literal not displayed */ Users []string `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` Weights []github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,rep,name=weights,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weights" yaml:"weights"` }
func (*MsgSetAirdropAllocations) Descriptor ¶
func (*MsgSetAirdropAllocations) Descriptor() ([]byte, []int)
func (*MsgSetAirdropAllocations) GetAirdropIdentifier ¶
func (m *MsgSetAirdropAllocations) GetAirdropIdentifier() string
func (*MsgSetAirdropAllocations) GetAllocator ¶
func (m *MsgSetAirdropAllocations) GetAllocator() string
func (*MsgSetAirdropAllocations) GetSignBytes ¶
func (msg *MsgSetAirdropAllocations) GetSignBytes() []byte
func (*MsgSetAirdropAllocations) GetSigners ¶
func (msg *MsgSetAirdropAllocations) GetSigners() []sdk.AccAddress
func (*MsgSetAirdropAllocations) GetUsers ¶
func (m *MsgSetAirdropAllocations) GetUsers() []string
func (*MsgSetAirdropAllocations) Marshal ¶
func (m *MsgSetAirdropAllocations) Marshal() (dAtA []byte, err error)
func (*MsgSetAirdropAllocations) MarshalTo ¶
func (m *MsgSetAirdropAllocations) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetAirdropAllocations) MarshalToSizedBuffer ¶
func (m *MsgSetAirdropAllocations) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetAirdropAllocations) ProtoMessage ¶
func (*MsgSetAirdropAllocations) ProtoMessage()
func (*MsgSetAirdropAllocations) Reset ¶
func (m *MsgSetAirdropAllocations) Reset()
func (*MsgSetAirdropAllocations) Route ¶
func (msg *MsgSetAirdropAllocations) Route() string
func (*MsgSetAirdropAllocations) Size ¶
func (m *MsgSetAirdropAllocations) Size() (n int)
func (*MsgSetAirdropAllocations) String ¶
func (m *MsgSetAirdropAllocations) String() string
func (*MsgSetAirdropAllocations) Type ¶
func (msg *MsgSetAirdropAllocations) Type() string
func (*MsgSetAirdropAllocations) Unmarshal ¶
func (m *MsgSetAirdropAllocations) Unmarshal(dAtA []byte) error
func (*MsgSetAirdropAllocations) ValidateBasic ¶
func (msg *MsgSetAirdropAllocations) ValidateBasic() error
func (*MsgSetAirdropAllocations) XXX_DiscardUnknown ¶
func (m *MsgSetAirdropAllocations) XXX_DiscardUnknown()
func (*MsgSetAirdropAllocations) XXX_Marshal ¶
func (m *MsgSetAirdropAllocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetAirdropAllocations) XXX_Merge ¶
func (m *MsgSetAirdropAllocations) XXX_Merge(src proto.Message)
func (*MsgSetAirdropAllocations) XXX_Size ¶
func (m *MsgSetAirdropAllocations) XXX_Size() int
func (*MsgSetAirdropAllocations) XXX_Unmarshal ¶
func (m *MsgSetAirdropAllocations) XXX_Unmarshal(b []byte) error
type MsgSetAirdropAllocationsResponse ¶
type MsgSetAirdropAllocationsResponse struct { }
func (*MsgSetAirdropAllocationsResponse) Descriptor ¶
func (*MsgSetAirdropAllocationsResponse) Descriptor() ([]byte, []int)
func (*MsgSetAirdropAllocationsResponse) Marshal ¶
func (m *MsgSetAirdropAllocationsResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetAirdropAllocationsResponse) MarshalTo ¶
func (m *MsgSetAirdropAllocationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetAirdropAllocationsResponse) MarshalToSizedBuffer ¶
func (m *MsgSetAirdropAllocationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetAirdropAllocationsResponse) ProtoMessage ¶
func (*MsgSetAirdropAllocationsResponse) ProtoMessage()
func (*MsgSetAirdropAllocationsResponse) Reset ¶
func (m *MsgSetAirdropAllocationsResponse) Reset()
func (*MsgSetAirdropAllocationsResponse) Size ¶
func (m *MsgSetAirdropAllocationsResponse) Size() (n int)
func (*MsgSetAirdropAllocationsResponse) String ¶
func (m *MsgSetAirdropAllocationsResponse) String() string
func (*MsgSetAirdropAllocationsResponse) Unmarshal ¶
func (m *MsgSetAirdropAllocationsResponse) Unmarshal(dAtA []byte) error
func (*MsgSetAirdropAllocationsResponse) XXX_DiscardUnknown ¶
func (m *MsgSetAirdropAllocationsResponse) XXX_DiscardUnknown()
func (*MsgSetAirdropAllocationsResponse) XXX_Marshal ¶
func (m *MsgSetAirdropAllocationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetAirdropAllocationsResponse) XXX_Merge ¶
func (m *MsgSetAirdropAllocationsResponse) XXX_Merge(src proto.Message)
func (*MsgSetAirdropAllocationsResponse) XXX_Size ¶
func (m *MsgSetAirdropAllocationsResponse) XXX_Size() int
func (*MsgSetAirdropAllocationsResponse) XXX_Unmarshal ¶
func (m *MsgSetAirdropAllocationsResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
Airdrops []*Airdrop `protobuf:"bytes,1,rep,name=airdrops,proto3" json:"airdrops,omitempty"`
}
Params defines the claim module's parameters.
func (*Params) Descriptor ¶
func (*Params) GetAirdrops ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClaimMetadataRequest ¶
type QueryClaimMetadataRequest struct { }
func (*QueryClaimMetadataRequest) Descriptor ¶
func (*QueryClaimMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryClaimMetadataRequest) Marshal ¶
func (m *QueryClaimMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryClaimMetadataRequest) MarshalTo ¶
func (m *QueryClaimMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryClaimMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimMetadataRequest) ProtoMessage ¶
func (*QueryClaimMetadataRequest) ProtoMessage()
func (*QueryClaimMetadataRequest) Reset ¶
func (m *QueryClaimMetadataRequest) Reset()
func (*QueryClaimMetadataRequest) Size ¶
func (m *QueryClaimMetadataRequest) Size() (n int)
func (*QueryClaimMetadataRequest) String ¶
func (m *QueryClaimMetadataRequest) String() string
func (*QueryClaimMetadataRequest) Unmarshal ¶
func (m *QueryClaimMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryClaimMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryClaimMetadataRequest) XXX_DiscardUnknown()
func (*QueryClaimMetadataRequest) XXX_Marshal ¶
func (m *QueryClaimMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimMetadataRequest) XXX_Merge ¶
func (m *QueryClaimMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryClaimMetadataRequest) XXX_Size ¶
func (m *QueryClaimMetadataRequest) XXX_Size() int
func (*QueryClaimMetadataRequest) XXX_Unmarshal ¶
func (m *QueryClaimMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryClaimMetadataResponse ¶
type QueryClaimMetadataResponse struct {
ClaimMetadata []ClaimMetadata `protobuf:"bytes,1,rep,name=claim_metadata,json=claimMetadata,proto3" json:"claim_metadata" yaml:"claim_metadata"`
}
func (*QueryClaimMetadataResponse) Descriptor ¶
func (*QueryClaimMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryClaimMetadataResponse) GetClaimMetadata ¶
func (m *QueryClaimMetadataResponse) GetClaimMetadata() []ClaimMetadata
func (*QueryClaimMetadataResponse) Marshal ¶
func (m *QueryClaimMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryClaimMetadataResponse) MarshalTo ¶
func (m *QueryClaimMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryClaimMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimMetadataResponse) ProtoMessage ¶
func (*QueryClaimMetadataResponse) ProtoMessage()
func (*QueryClaimMetadataResponse) Reset ¶
func (m *QueryClaimMetadataResponse) Reset()
func (*QueryClaimMetadataResponse) Size ¶
func (m *QueryClaimMetadataResponse) Size() (n int)
func (*QueryClaimMetadataResponse) String ¶
func (m *QueryClaimMetadataResponse) String() string
func (*QueryClaimMetadataResponse) Unmarshal ¶
func (m *QueryClaimMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryClaimMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryClaimMetadataResponse) XXX_DiscardUnknown()
func (*QueryClaimMetadataResponse) XXX_Marshal ¶
func (m *QueryClaimMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimMetadataResponse) XXX_Merge ¶
func (m *QueryClaimMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryClaimMetadataResponse) XXX_Size ¶
func (m *QueryClaimMetadataResponse) XXX_Size() int
func (*QueryClaimMetadataResponse) XXX_Unmarshal ¶
func (m *QueryClaimMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryClaimRecordRequest ¶
type QueryClaimRecordRequest struct { AirdropIdentifier string `` /* 138-byte string literal not displayed */ Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` }
func (*QueryClaimRecordRequest) Descriptor ¶
func (*QueryClaimRecordRequest) Descriptor() ([]byte, []int)
func (*QueryClaimRecordRequest) GetAddress ¶
func (m *QueryClaimRecordRequest) GetAddress() string
func (*QueryClaimRecordRequest) GetAirdropIdentifier ¶
func (m *QueryClaimRecordRequest) GetAirdropIdentifier() string
func (*QueryClaimRecordRequest) Marshal ¶
func (m *QueryClaimRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryClaimRecordRequest) MarshalTo ¶
func (m *QueryClaimRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryClaimRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimRecordRequest) ProtoMessage ¶
func (*QueryClaimRecordRequest) ProtoMessage()
func (*QueryClaimRecordRequest) Reset ¶
func (m *QueryClaimRecordRequest) Reset()
func (*QueryClaimRecordRequest) Size ¶
func (m *QueryClaimRecordRequest) Size() (n int)
func (*QueryClaimRecordRequest) String ¶
func (m *QueryClaimRecordRequest) String() string
func (*QueryClaimRecordRequest) Unmarshal ¶
func (m *QueryClaimRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryClaimRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryClaimRecordRequest) XXX_DiscardUnknown()
func (*QueryClaimRecordRequest) XXX_Marshal ¶
func (m *QueryClaimRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimRecordRequest) XXX_Merge ¶
func (m *QueryClaimRecordRequest) XXX_Merge(src proto.Message)
func (*QueryClaimRecordRequest) XXX_Size ¶
func (m *QueryClaimRecordRequest) XXX_Size() int
func (*QueryClaimRecordRequest) XXX_Unmarshal ¶
func (m *QueryClaimRecordRequest) XXX_Unmarshal(b []byte) error
type QueryClaimRecordResponse ¶
type QueryClaimRecordResponse struct {
ClaimRecord ClaimRecord `protobuf:"bytes,1,opt,name=claim_record,json=claimRecord,proto3" json:"claim_record" yaml:"claim_record"`
}
func (*QueryClaimRecordResponse) Descriptor ¶
func (*QueryClaimRecordResponse) Descriptor() ([]byte, []int)
func (*QueryClaimRecordResponse) GetClaimRecord ¶
func (m *QueryClaimRecordResponse) GetClaimRecord() ClaimRecord
func (*QueryClaimRecordResponse) Marshal ¶
func (m *QueryClaimRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryClaimRecordResponse) MarshalTo ¶
func (m *QueryClaimRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryClaimRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimRecordResponse) ProtoMessage ¶
func (*QueryClaimRecordResponse) ProtoMessage()
func (*QueryClaimRecordResponse) Reset ¶
func (m *QueryClaimRecordResponse) Reset()
func (*QueryClaimRecordResponse) Size ¶
func (m *QueryClaimRecordResponse) Size() (n int)
func (*QueryClaimRecordResponse) String ¶
func (m *QueryClaimRecordResponse) String() string
func (*QueryClaimRecordResponse) Unmarshal ¶
func (m *QueryClaimRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryClaimRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryClaimRecordResponse) XXX_DiscardUnknown()
func (*QueryClaimRecordResponse) XXX_Marshal ¶
func (m *QueryClaimRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimRecordResponse) XXX_Merge ¶
func (m *QueryClaimRecordResponse) XXX_Merge(src proto.Message)
func (*QueryClaimRecordResponse) XXX_Size ¶
func (m *QueryClaimRecordResponse) XXX_Size() int
func (*QueryClaimRecordResponse) XXX_Unmarshal ¶
func (m *QueryClaimRecordResponse) XXX_Unmarshal(b []byte) error
type QueryClaimStatusRequest ¶
type QueryClaimStatusRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
}
func (*QueryClaimStatusRequest) Descriptor ¶
func (*QueryClaimStatusRequest) Descriptor() ([]byte, []int)
func (*QueryClaimStatusRequest) GetAddress ¶
func (m *QueryClaimStatusRequest) GetAddress() string
func (*QueryClaimStatusRequest) Marshal ¶
func (m *QueryClaimStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryClaimStatusRequest) MarshalTo ¶
func (m *QueryClaimStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimStatusRequest) MarshalToSizedBuffer ¶
func (m *QueryClaimStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimStatusRequest) ProtoMessage ¶
func (*QueryClaimStatusRequest) ProtoMessage()
func (*QueryClaimStatusRequest) Reset ¶
func (m *QueryClaimStatusRequest) Reset()
func (*QueryClaimStatusRequest) Size ¶
func (m *QueryClaimStatusRequest) Size() (n int)
func (*QueryClaimStatusRequest) String ¶
func (m *QueryClaimStatusRequest) String() string
func (*QueryClaimStatusRequest) Unmarshal ¶
func (m *QueryClaimStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryClaimStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryClaimStatusRequest) XXX_DiscardUnknown()
func (*QueryClaimStatusRequest) XXX_Marshal ¶
func (m *QueryClaimStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimStatusRequest) XXX_Merge ¶
func (m *QueryClaimStatusRequest) XXX_Merge(src proto.Message)
func (*QueryClaimStatusRequest) XXX_Size ¶
func (m *QueryClaimStatusRequest) XXX_Size() int
func (*QueryClaimStatusRequest) XXX_Unmarshal ¶
func (m *QueryClaimStatusRequest) XXX_Unmarshal(b []byte) error
type QueryClaimStatusResponse ¶
type QueryClaimStatusResponse struct {
ClaimStatus []ClaimStatus `protobuf:"bytes,1,rep,name=claim_status,json=claimStatus,proto3" json:"claim_status" yaml:"claim_status"`
}
func (*QueryClaimStatusResponse) Descriptor ¶
func (*QueryClaimStatusResponse) Descriptor() ([]byte, []int)
func (*QueryClaimStatusResponse) GetClaimStatus ¶
func (m *QueryClaimStatusResponse) GetClaimStatus() []ClaimStatus
func (*QueryClaimStatusResponse) Marshal ¶
func (m *QueryClaimStatusResponse) Marshal() (dAtA []byte, err error)
func (*QueryClaimStatusResponse) MarshalTo ¶
func (m *QueryClaimStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimStatusResponse) MarshalToSizedBuffer ¶
func (m *QueryClaimStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimStatusResponse) ProtoMessage ¶
func (*QueryClaimStatusResponse) ProtoMessage()
func (*QueryClaimStatusResponse) Reset ¶
func (m *QueryClaimStatusResponse) Reset()
func (*QueryClaimStatusResponse) Size ¶
func (m *QueryClaimStatusResponse) Size() (n int)
func (*QueryClaimStatusResponse) String ¶
func (m *QueryClaimStatusResponse) String() string
func (*QueryClaimStatusResponse) Unmarshal ¶
func (m *QueryClaimStatusResponse) Unmarshal(dAtA []byte) error
func (*QueryClaimStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryClaimStatusResponse) XXX_DiscardUnknown()
func (*QueryClaimStatusResponse) XXX_Marshal ¶
func (m *QueryClaimStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimStatusResponse) XXX_Merge ¶
func (m *QueryClaimStatusResponse) XXX_Merge(src proto.Message)
func (*QueryClaimStatusResponse) XXX_Size ¶
func (m *QueryClaimStatusResponse) XXX_Size() int
func (*QueryClaimStatusResponse) XXX_Unmarshal ¶
func (m *QueryClaimStatusResponse) XXX_Unmarshal(b []byte) error
type QueryClaimableForActionRequest ¶
type QueryClaimableForActionRequest struct { AirdropIdentifier string `` /* 138-byte string literal not displayed */ Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` Action Action `protobuf:"varint,3,opt,name=action,proto3,enum=stride.claim.Action" json:"action,omitempty" yaml:"action"` }
func (*QueryClaimableForActionRequest) Descriptor ¶
func (*QueryClaimableForActionRequest) Descriptor() ([]byte, []int)
func (*QueryClaimableForActionRequest) GetAction ¶
func (m *QueryClaimableForActionRequest) GetAction() Action
func (*QueryClaimableForActionRequest) GetAddress ¶
func (m *QueryClaimableForActionRequest) GetAddress() string
func (*QueryClaimableForActionRequest) GetAirdropIdentifier ¶
func (m *QueryClaimableForActionRequest) GetAirdropIdentifier() string
func (*QueryClaimableForActionRequest) Marshal ¶
func (m *QueryClaimableForActionRequest) Marshal() (dAtA []byte, err error)
func (*QueryClaimableForActionRequest) MarshalTo ¶
func (m *QueryClaimableForActionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimableForActionRequest) MarshalToSizedBuffer ¶
func (m *QueryClaimableForActionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimableForActionRequest) ProtoMessage ¶
func (*QueryClaimableForActionRequest) ProtoMessage()
func (*QueryClaimableForActionRequest) Reset ¶
func (m *QueryClaimableForActionRequest) Reset()
func (*QueryClaimableForActionRequest) Size ¶
func (m *QueryClaimableForActionRequest) Size() (n int)
func (*QueryClaimableForActionRequest) String ¶
func (m *QueryClaimableForActionRequest) String() string
func (*QueryClaimableForActionRequest) Unmarshal ¶
func (m *QueryClaimableForActionRequest) Unmarshal(dAtA []byte) error
func (*QueryClaimableForActionRequest) XXX_DiscardUnknown ¶
func (m *QueryClaimableForActionRequest) XXX_DiscardUnknown()
func (*QueryClaimableForActionRequest) XXX_Marshal ¶
func (m *QueryClaimableForActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimableForActionRequest) XXX_Merge ¶
func (m *QueryClaimableForActionRequest) XXX_Merge(src proto.Message)
func (*QueryClaimableForActionRequest) XXX_Size ¶
func (m *QueryClaimableForActionRequest) XXX_Size() int
func (*QueryClaimableForActionRequest) XXX_Unmarshal ¶
func (m *QueryClaimableForActionRequest) XXX_Unmarshal(b []byte) error
type QueryClaimableForActionResponse ¶
type QueryClaimableForActionResponse struct {
Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins" yaml:"coins"`
}
func (*QueryClaimableForActionResponse) Descriptor ¶
func (*QueryClaimableForActionResponse) Descriptor() ([]byte, []int)
func (*QueryClaimableForActionResponse) GetCoins ¶
func (m *QueryClaimableForActionResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryClaimableForActionResponse) Marshal ¶
func (m *QueryClaimableForActionResponse) Marshal() (dAtA []byte, err error)
func (*QueryClaimableForActionResponse) MarshalTo ¶
func (m *QueryClaimableForActionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimableForActionResponse) MarshalToSizedBuffer ¶
func (m *QueryClaimableForActionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimableForActionResponse) ProtoMessage ¶
func (*QueryClaimableForActionResponse) ProtoMessage()
func (*QueryClaimableForActionResponse) Reset ¶
func (m *QueryClaimableForActionResponse) Reset()
func (*QueryClaimableForActionResponse) Size ¶
func (m *QueryClaimableForActionResponse) Size() (n int)
func (*QueryClaimableForActionResponse) String ¶
func (m *QueryClaimableForActionResponse) String() string
func (*QueryClaimableForActionResponse) Unmarshal ¶
func (m *QueryClaimableForActionResponse) Unmarshal(dAtA []byte) error
func (*QueryClaimableForActionResponse) XXX_DiscardUnknown ¶
func (m *QueryClaimableForActionResponse) XXX_DiscardUnknown()
func (*QueryClaimableForActionResponse) XXX_Marshal ¶
func (m *QueryClaimableForActionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimableForActionResponse) XXX_Merge ¶
func (m *QueryClaimableForActionResponse) XXX_Merge(src proto.Message)
func (*QueryClaimableForActionResponse) XXX_Size ¶
func (m *QueryClaimableForActionResponse) XXX_Size() int
func (*QueryClaimableForActionResponse) XXX_Unmarshal ¶
func (m *QueryClaimableForActionResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { DistributorAccountBalance(ctx context.Context, in *QueryDistributorAccountBalanceRequest, opts ...grpc.CallOption) (*QueryDistributorAccountBalanceResponse, error) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) ClaimRecord(ctx context.Context, in *QueryClaimRecordRequest, opts ...grpc.CallOption) (*QueryClaimRecordResponse, error) ClaimableForAction(ctx context.Context, in *QueryClaimableForActionRequest, opts ...grpc.CallOption) (*QueryClaimableForActionResponse, error) TotalClaimable(ctx context.Context, in *QueryTotalClaimableRequest, opts ...grpc.CallOption) (*QueryTotalClaimableResponse, error) UserVestings(ctx context.Context, in *QueryUserVestingsRequest, opts ...grpc.CallOption) (*QueryUserVestingsResponse, error) ClaimStatus(ctx context.Context, in *QueryClaimStatusRequest, opts ...grpc.CallOption) (*QueryClaimStatusResponse, error) ClaimMetadata(ctx context.Context, in *QueryClaimMetadataRequest, opts ...grpc.CallOption) (*QueryClaimMetadataResponse, 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 QueryDistributorAccountBalanceRequest ¶
type QueryDistributorAccountBalanceRequest struct {
AirdropIdentifier string `` /* 138-byte string literal not displayed */
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryDistributorAccountBalanceRequest) Descriptor ¶
func (*QueryDistributorAccountBalanceRequest) Descriptor() ([]byte, []int)
func (*QueryDistributorAccountBalanceRequest) GetAirdropIdentifier ¶
func (m *QueryDistributorAccountBalanceRequest) GetAirdropIdentifier() string
func (*QueryDistributorAccountBalanceRequest) Marshal ¶
func (m *QueryDistributorAccountBalanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryDistributorAccountBalanceRequest) MarshalTo ¶
func (m *QueryDistributorAccountBalanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDistributorAccountBalanceRequest) MarshalToSizedBuffer ¶
func (m *QueryDistributorAccountBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDistributorAccountBalanceRequest) ProtoMessage ¶
func (*QueryDistributorAccountBalanceRequest) ProtoMessage()
func (*QueryDistributorAccountBalanceRequest) Reset ¶
func (m *QueryDistributorAccountBalanceRequest) Reset()
func (*QueryDistributorAccountBalanceRequest) Size ¶
func (m *QueryDistributorAccountBalanceRequest) Size() (n int)
func (*QueryDistributorAccountBalanceRequest) String ¶
func (m *QueryDistributorAccountBalanceRequest) String() string
func (*QueryDistributorAccountBalanceRequest) Unmarshal ¶
func (m *QueryDistributorAccountBalanceRequest) Unmarshal(dAtA []byte) error
func (*QueryDistributorAccountBalanceRequest) XXX_DiscardUnknown ¶
func (m *QueryDistributorAccountBalanceRequest) XXX_DiscardUnknown()
func (*QueryDistributorAccountBalanceRequest) XXX_Marshal ¶
func (m *QueryDistributorAccountBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDistributorAccountBalanceRequest) XXX_Merge ¶
func (m *QueryDistributorAccountBalanceRequest) XXX_Merge(src proto.Message)
func (*QueryDistributorAccountBalanceRequest) XXX_Size ¶
func (m *QueryDistributorAccountBalanceRequest) XXX_Size() int
func (*QueryDistributorAccountBalanceRequest) XXX_Unmarshal ¶
func (m *QueryDistributorAccountBalanceRequest) XXX_Unmarshal(b []byte) error
type QueryDistributorAccountBalanceResponse ¶
type QueryDistributorAccountBalanceResponse struct { // params defines the parameters of the module. DistributorAccountBalance github_com_cosmos_cosmos_sdk_types.Coins `` /* 217-byte string literal not displayed */ }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryDistributorAccountBalanceResponse) Descriptor ¶
func (*QueryDistributorAccountBalanceResponse) Descriptor() ([]byte, []int)
func (*QueryDistributorAccountBalanceResponse) GetDistributorAccountBalance ¶
func (m *QueryDistributorAccountBalanceResponse) GetDistributorAccountBalance() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryDistributorAccountBalanceResponse) Marshal ¶
func (m *QueryDistributorAccountBalanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryDistributorAccountBalanceResponse) MarshalTo ¶
func (m *QueryDistributorAccountBalanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDistributorAccountBalanceResponse) MarshalToSizedBuffer ¶
func (m *QueryDistributorAccountBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDistributorAccountBalanceResponse) ProtoMessage ¶
func (*QueryDistributorAccountBalanceResponse) ProtoMessage()
func (*QueryDistributorAccountBalanceResponse) Reset ¶
func (m *QueryDistributorAccountBalanceResponse) Reset()
func (*QueryDistributorAccountBalanceResponse) Size ¶
func (m *QueryDistributorAccountBalanceResponse) Size() (n int)
func (*QueryDistributorAccountBalanceResponse) String ¶
func (m *QueryDistributorAccountBalanceResponse) String() string
func (*QueryDistributorAccountBalanceResponse) Unmarshal ¶
func (m *QueryDistributorAccountBalanceResponse) Unmarshal(dAtA []byte) error
func (*QueryDistributorAccountBalanceResponse) XXX_DiscardUnknown ¶
func (m *QueryDistributorAccountBalanceResponse) XXX_DiscardUnknown()
func (*QueryDistributorAccountBalanceResponse) XXX_Marshal ¶
func (m *QueryDistributorAccountBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDistributorAccountBalanceResponse) XXX_Merge ¶
func (m *QueryDistributorAccountBalanceResponse) XXX_Merge(src proto.Message)
func (*QueryDistributorAccountBalanceResponse) XXX_Size ¶
func (m *QueryDistributorAccountBalanceResponse) XXX_Size() int
func (*QueryDistributorAccountBalanceResponse) XXX_Unmarshal ¶
func (m *QueryDistributorAccountBalanceResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { DistributorAccountBalance(context.Context, *QueryDistributorAccountBalanceRequest) (*QueryDistributorAccountBalanceResponse, error) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) ClaimRecord(context.Context, *QueryClaimRecordRequest) (*QueryClaimRecordResponse, error) ClaimableForAction(context.Context, *QueryClaimableForActionRequest) (*QueryClaimableForActionResponse, error) TotalClaimable(context.Context, *QueryTotalClaimableRequest) (*QueryTotalClaimableResponse, error) UserVestings(context.Context, *QueryUserVestingsRequest) (*QueryUserVestingsResponse, error) ClaimStatus(context.Context, *QueryClaimStatusRequest) (*QueryClaimStatusResponse, error) ClaimMetadata(context.Context, *QueryClaimMetadataRequest) (*QueryClaimMetadataResponse, error) }
QueryServer is the server API for Query service.
type QueryTotalClaimableRequest ¶
type QueryTotalClaimableRequest struct { AirdropIdentifier string `` /* 138-byte string literal not displayed */ Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` IncludeClaimed bool `protobuf:"varint,3,opt,name=include_claimed,json=includeClaimed,proto3" json:"include_claimed,omitempty"` }
func (*QueryTotalClaimableRequest) Descriptor ¶
func (*QueryTotalClaimableRequest) Descriptor() ([]byte, []int)
func (*QueryTotalClaimableRequest) GetAddress ¶
func (m *QueryTotalClaimableRequest) GetAddress() string
func (*QueryTotalClaimableRequest) GetAirdropIdentifier ¶
func (m *QueryTotalClaimableRequest) GetAirdropIdentifier() string
func (*QueryTotalClaimableRequest) GetIncludeClaimed ¶
func (m *QueryTotalClaimableRequest) GetIncludeClaimed() bool
func (*QueryTotalClaimableRequest) Marshal ¶
func (m *QueryTotalClaimableRequest) Marshal() (dAtA []byte, err error)
func (*QueryTotalClaimableRequest) MarshalTo ¶
func (m *QueryTotalClaimableRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalClaimableRequest) MarshalToSizedBuffer ¶
func (m *QueryTotalClaimableRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalClaimableRequest) ProtoMessage ¶
func (*QueryTotalClaimableRequest) ProtoMessage()
func (*QueryTotalClaimableRequest) Reset ¶
func (m *QueryTotalClaimableRequest) Reset()
func (*QueryTotalClaimableRequest) Size ¶
func (m *QueryTotalClaimableRequest) Size() (n int)
func (*QueryTotalClaimableRequest) String ¶
func (m *QueryTotalClaimableRequest) String() string
func (*QueryTotalClaimableRequest) Unmarshal ¶
func (m *QueryTotalClaimableRequest) Unmarshal(dAtA []byte) error
func (*QueryTotalClaimableRequest) XXX_DiscardUnknown ¶
func (m *QueryTotalClaimableRequest) XXX_DiscardUnknown()
func (*QueryTotalClaimableRequest) XXX_Marshal ¶
func (m *QueryTotalClaimableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalClaimableRequest) XXX_Merge ¶
func (m *QueryTotalClaimableRequest) XXX_Merge(src proto.Message)
func (*QueryTotalClaimableRequest) XXX_Size ¶
func (m *QueryTotalClaimableRequest) XXX_Size() int
func (*QueryTotalClaimableRequest) XXX_Unmarshal ¶
func (m *QueryTotalClaimableRequest) XXX_Unmarshal(b []byte) error
type QueryTotalClaimableResponse ¶
type QueryTotalClaimableResponse struct {
Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins" yaml:"coins"`
}
func (*QueryTotalClaimableResponse) Descriptor ¶
func (*QueryTotalClaimableResponse) Descriptor() ([]byte, []int)
func (*QueryTotalClaimableResponse) GetCoins ¶
func (m *QueryTotalClaimableResponse) GetCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryTotalClaimableResponse) Marshal ¶
func (m *QueryTotalClaimableResponse) Marshal() (dAtA []byte, err error)
func (*QueryTotalClaimableResponse) MarshalTo ¶
func (m *QueryTotalClaimableResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryTotalClaimableResponse) MarshalToSizedBuffer ¶
func (m *QueryTotalClaimableResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryTotalClaimableResponse) ProtoMessage ¶
func (*QueryTotalClaimableResponse) ProtoMessage()
func (*QueryTotalClaimableResponse) Reset ¶
func (m *QueryTotalClaimableResponse) Reset()
func (*QueryTotalClaimableResponse) Size ¶
func (m *QueryTotalClaimableResponse) Size() (n int)
func (*QueryTotalClaimableResponse) String ¶
func (m *QueryTotalClaimableResponse) String() string
func (*QueryTotalClaimableResponse) Unmarshal ¶
func (m *QueryTotalClaimableResponse) Unmarshal(dAtA []byte) error
func (*QueryTotalClaimableResponse) XXX_DiscardUnknown ¶
func (m *QueryTotalClaimableResponse) XXX_DiscardUnknown()
func (*QueryTotalClaimableResponse) XXX_Marshal ¶
func (m *QueryTotalClaimableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryTotalClaimableResponse) XXX_Merge ¶
func (m *QueryTotalClaimableResponse) XXX_Merge(src proto.Message)
func (*QueryTotalClaimableResponse) XXX_Size ¶
func (m *QueryTotalClaimableResponse) XXX_Size() int
func (*QueryTotalClaimableResponse) XXX_Unmarshal ¶
func (m *QueryTotalClaimableResponse) XXX_Unmarshal(b []byte) error
type QueryUserVestingsRequest ¶
type QueryUserVestingsRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
}
func (*QueryUserVestingsRequest) Descriptor ¶
func (*QueryUserVestingsRequest) Descriptor() ([]byte, []int)
func (*QueryUserVestingsRequest) GetAddress ¶
func (m *QueryUserVestingsRequest) GetAddress() string
func (*QueryUserVestingsRequest) Marshal ¶
func (m *QueryUserVestingsRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserVestingsRequest) MarshalTo ¶
func (m *QueryUserVestingsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserVestingsRequest) MarshalToSizedBuffer ¶
func (m *QueryUserVestingsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserVestingsRequest) ProtoMessage ¶
func (*QueryUserVestingsRequest) ProtoMessage()
func (*QueryUserVestingsRequest) Reset ¶
func (m *QueryUserVestingsRequest) Reset()
func (*QueryUserVestingsRequest) Size ¶
func (m *QueryUserVestingsRequest) Size() (n int)
func (*QueryUserVestingsRequest) String ¶
func (m *QueryUserVestingsRequest) String() string
func (*QueryUserVestingsRequest) Unmarshal ¶
func (m *QueryUserVestingsRequest) Unmarshal(dAtA []byte) error
func (*QueryUserVestingsRequest) XXX_DiscardUnknown ¶
func (m *QueryUserVestingsRequest) XXX_DiscardUnknown()
func (*QueryUserVestingsRequest) XXX_Marshal ¶
func (m *QueryUserVestingsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserVestingsRequest) XXX_Merge ¶
func (m *QueryUserVestingsRequest) XXX_Merge(src proto.Message)
func (*QueryUserVestingsRequest) XXX_Size ¶
func (m *QueryUserVestingsRequest) XXX_Size() int
func (*QueryUserVestingsRequest) XXX_Unmarshal ¶
func (m *QueryUserVestingsRequest) XXX_Unmarshal(b []byte) error
type QueryUserVestingsResponse ¶
type QueryUserVestingsResponse struct { SpendableCoins github_com_cosmos_cosmos_sdk_types.Coins `` /* 170-byte string literal not displayed */ Periods []types2.Period `protobuf:"bytes,1,rep,name=periods,proto3" json:"periods" yaml:"periods"` }
func (*QueryUserVestingsResponse) Descriptor ¶
func (*QueryUserVestingsResponse) Descriptor() ([]byte, []int)
func (*QueryUserVestingsResponse) GetPeriods ¶
func (m *QueryUserVestingsResponse) GetPeriods() []types2.Period
func (*QueryUserVestingsResponse) GetSpendableCoins ¶
func (m *QueryUserVestingsResponse) GetSpendableCoins() github_com_cosmos_cosmos_sdk_types.Coins
func (*QueryUserVestingsResponse) Marshal ¶
func (m *QueryUserVestingsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserVestingsResponse) MarshalTo ¶
func (m *QueryUserVestingsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserVestingsResponse) MarshalToSizedBuffer ¶
func (m *QueryUserVestingsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserVestingsResponse) ProtoMessage ¶
func (*QueryUserVestingsResponse) ProtoMessage()
func (*QueryUserVestingsResponse) Reset ¶
func (m *QueryUserVestingsResponse) Reset()
func (*QueryUserVestingsResponse) Size ¶
func (m *QueryUserVestingsResponse) Size() (n int)
func (*QueryUserVestingsResponse) String ¶
func (m *QueryUserVestingsResponse) String() string
func (*QueryUserVestingsResponse) Unmarshal ¶
func (m *QueryUserVestingsResponse) Unmarshal(dAtA []byte) error
func (*QueryUserVestingsResponse) XXX_DiscardUnknown ¶
func (m *QueryUserVestingsResponse) XXX_DiscardUnknown()
func (*QueryUserVestingsResponse) XXX_Marshal ¶
func (m *QueryUserVestingsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserVestingsResponse) XXX_Merge ¶
func (m *QueryUserVestingsResponse) XXX_Merge(src proto.Message)
func (*QueryUserVestingsResponse) XXX_Size ¶
func (m *QueryUserVestingsResponse) XXX_Size() int
func (*QueryUserVestingsResponse) XXX_Unmarshal ¶
func (m *QueryUserVestingsResponse) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
type StakingKeeper interface { // BondDenom - Bondable coin denomination BondDenom(sdk.Context) string }
StakingKeeper expected staking keeper (noalias)
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ClaimFreeAmount ¶
func (*UnimplementedMsgServer) ClaimFreeAmount(ctx context.Context, req *MsgClaimFreeAmount) (*MsgClaimFreeAmountResponse, error)
func (*UnimplementedMsgServer) CreateAirdrop ¶
func (*UnimplementedMsgServer) CreateAirdrop(ctx context.Context, req *MsgCreateAirdrop) (*MsgCreateAirdropResponse, error)
func (*UnimplementedMsgServer) DeleteAirdrop ¶
func (*UnimplementedMsgServer) DeleteAirdrop(ctx context.Context, req *MsgDeleteAirdrop) (*MsgDeleteAirdropResponse, error)
func (*UnimplementedMsgServer) SetAirdropAllocations ¶
func (*UnimplementedMsgServer) SetAirdropAllocations(ctx context.Context, req *MsgSetAirdropAllocations) (*MsgSetAirdropAllocationsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ClaimMetadata ¶
func (*UnimplementedQueryServer) ClaimMetadata(ctx context.Context, req *QueryClaimMetadataRequest) (*QueryClaimMetadataResponse, error)
func (*UnimplementedQueryServer) ClaimRecord ¶
func (*UnimplementedQueryServer) ClaimRecord(ctx context.Context, req *QueryClaimRecordRequest) (*QueryClaimRecordResponse, error)
func (*UnimplementedQueryServer) ClaimStatus ¶
func (*UnimplementedQueryServer) ClaimStatus(ctx context.Context, req *QueryClaimStatusRequest) (*QueryClaimStatusResponse, error)
func (*UnimplementedQueryServer) ClaimableForAction ¶
func (*UnimplementedQueryServer) ClaimableForAction(ctx context.Context, req *QueryClaimableForActionRequest) (*QueryClaimableForActionResponse, error)
func (*UnimplementedQueryServer) DistributorAccountBalance ¶
func (*UnimplementedQueryServer) DistributorAccountBalance(ctx context.Context, req *QueryDistributorAccountBalanceRequest) (*QueryDistributorAccountBalanceResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) TotalClaimable ¶
func (*UnimplementedQueryServer) TotalClaimable(ctx context.Context, req *QueryTotalClaimableRequest) (*QueryTotalClaimableResponse, error)
func (*UnimplementedQueryServer) UserVestings ¶
func (*UnimplementedQueryServer) UserVestings(ctx context.Context, req *QueryUserVestingsRequest) (*QueryUserVestingsResponse, error)