Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetUint64Key(campaignId uint64) []byte
- func MissionKey(campaignId uint64, missionId uint64) []byte
- func NormalizeCampaignType(option string) string
- func NormalizeMissionType(option string) string
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateAddMission(owner string, name string, missionType MissionType, weight sdk.Dec) error
- func ValidateCampaignTimes(startTime time.Time, endTime time.Time) error
- func ValidateClaimRecordEntries(claimRecordEntries []*ClaimRecordEntry) error
- func ValidateCreateCampaignParams(name string, feegrantAmount math.Int, initialClaimFreeAmount math.Int, ...) error
- func ValidateMissionType(missionType MissionType) error
- func ValidateMissionWeight(weight sdk.Dec, missionType MissionType) error
- func ValidateVestingPoolCampaignClaimRecordEntries(claimRecordEntries []*ClaimRecordEntry, vestingDenom string) error
- type AccountKeeper
- type BankKeeper
- type Campaign
- func (c *Campaign) DecrementCampaignCurrentAmount(coins sdk.Coins)
- func (c *Campaign) DecrementCampaignTotalAmount(coins sdk.Coins)
- func (*Campaign) Descriptor() ([]byte, []int)
- func (m *Campaign) GetCampaignCurrentAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Campaign) GetCampaignTotalAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Campaign) GetCampaignType() CampaignType
- func (m *Campaign) GetDescription() string
- func (m *Campaign) GetEnabled() bool
- func (m *Campaign) GetEndTime() time.Time
- func (m *Campaign) GetId() uint64
- func (m *Campaign) GetLockupPeriod() time.Duration
- func (m *Campaign) GetName() string
- func (m *Campaign) GetOwner() string
- func (m *Campaign) GetRemovableClaimRecords() bool
- func (m *Campaign) GetStartTime() time.Time
- func (m *Campaign) GetVestingPeriod() time.Duration
- func (m *Campaign) GetVestingPoolName() string
- func (c *Campaign) IncrementCampaignCurrentAmount(coins sdk.Coins)
- func (c *Campaign) IncrementCampaignTotalAmount(coins sdk.Coins)
- func (m *Campaign) Marshal() (dAtA []byte, err error)
- func (m *Campaign) MarshalTo(dAtA []byte) (int, error)
- func (m *Campaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Campaign) ProtoMessage()
- func (m *Campaign) Reset()
- func (m *Campaign) Size() (n int)
- func (m *Campaign) String() string
- func (m *Campaign) Unmarshal(dAtA []byte) error
- func (c *Campaign) ValidateCloseCampaignParams(owner string) error
- func (c *Campaign) ValidateEnableCampaignParams(owner string) error
- func (c *Campaign) ValidateEndTimeAfterBlockTime(blockTime time.Time) error
- func (c *Campaign) ValidateEnded(blockTime time.Time) error
- func (c *Campaign) ValidateIsActive(blockTime time.Time) error
- func (c *Campaign) ValidateIsEnabled() error
- func (c *Campaign) ValidateNotEnabled() error
- func (c *Campaign) ValidateNotEnded(blockTime time.Time) error
- func (c *Campaign) ValidateOwner(owner string) error
- func (c *Campaign) ValidateRemovableClaimRecords() error
- func (c *Campaign) ValidateRemoveCampaignParams(owner string) error
- func (m *Campaign) XXX_DiscardUnknown()
- func (m *Campaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Campaign) XXX_Merge(src proto.Message)
- func (m *Campaign) XXX_Size() int
- func (m *Campaign) XXX_Unmarshal(b []byte) error
- type CampaignType
- type CfeVestingKeeper
- type ClaimRecord
- func (m *ClaimRecord) CalculateInitialClaimClaimableAmount(weightSum sdk.Dec) sdk.Coins
- func (m *ClaimRecord) ClaimMission(campaignId uint64, missionId uint64) error
- func (m ClaimRecord) ClaimableFromMission(mission *Mission) (sdk.Coins, error)
- func (m *ClaimRecord) CompleteMission(campaignId uint64, missionId uint64) error
- func (*ClaimRecord) Descriptor() ([]byte, []int)
- func (m *ClaimRecord) GetAddress() string
- func (m *ClaimRecord) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *ClaimRecord) GetCampaignId() uint64
- func (m *ClaimRecord) GetClaimedMissions() []uint64
- func (m *ClaimRecord) GetCompletedMissions() []uint64
- func (m *ClaimRecord) IsInitialMissionClaimed() bool
- func (m *ClaimRecord) IsMissionClaimed(missionId uint64) bool
- func (m *ClaimRecord) IsMissionCompleted(missionId uint64) bool
- 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 (claimRecord *ClaimRecord) Validate() 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 ClaimRecordEntry
- func (*ClaimRecordEntry) Descriptor() ([]byte, []int)
- func (m *ClaimRecordEntry) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *ClaimRecordEntry) GetCampaignId() uint64
- func (m *ClaimRecordEntry) GetUserEntryAddress() string
- func (m *ClaimRecordEntry) Marshal() (dAtA []byte, err error)
- func (m *ClaimRecordEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *ClaimRecordEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClaimRecordEntry) ProtoMessage()
- func (m *ClaimRecordEntry) Reset()
- func (m *ClaimRecordEntry) Size() (n int)
- func (m *ClaimRecordEntry) String() string
- func (m *ClaimRecordEntry) Unmarshal(dAtA []byte) error
- func (claimRecordEntry *ClaimRecordEntry) Validate() error
- func (m *ClaimRecordEntry) XXX_DiscardUnknown()
- func (m *ClaimRecordEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClaimRecordEntry) XXX_Merge(src proto.Message)
- func (m *ClaimRecordEntry) XXX_Size() int
- func (m *ClaimRecordEntry) XXX_Unmarshal(b []byte) error
- type EventAddClaimRecords
- func (*EventAddClaimRecords) Descriptor() ([]byte, []int)
- func (m *EventAddClaimRecords) GetCampaignId() uint64
- func (m *EventAddClaimRecords) GetClaimRecordsNumber() int64
- func (m *EventAddClaimRecords) GetClaimRecordsTotalAmount() string
- func (m *EventAddClaimRecords) GetOwner() string
- func (m *EventAddClaimRecords) Marshal() (dAtA []byte, err error)
- func (m *EventAddClaimRecords) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAddClaimRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAddClaimRecords) ProtoMessage()
- func (m *EventAddClaimRecords) Reset()
- func (m *EventAddClaimRecords) Size() (n int)
- func (m *EventAddClaimRecords) String() string
- func (m *EventAddClaimRecords) Unmarshal(dAtA []byte) error
- func (m *EventAddClaimRecords) XXX_DiscardUnknown()
- func (m *EventAddClaimRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAddClaimRecords) XXX_Merge(src proto.Message)
- func (m *EventAddClaimRecords) XXX_Size() int
- func (m *EventAddClaimRecords) XXX_Unmarshal(b []byte) error
- type EventAddMission
- func (*EventAddMission) Descriptor() ([]byte, []int)
- func (m *EventAddMission) GetCampaignId() uint64
- func (m *EventAddMission) GetClaimStartDate() *time.Time
- func (m *EventAddMission) GetDescription() string
- func (m *EventAddMission) GetId() uint64
- func (m *EventAddMission) GetMissionType() MissionType
- func (m *EventAddMission) GetName() string
- func (m *EventAddMission) GetOwner() string
- func (m *EventAddMission) Marshal() (dAtA []byte, err error)
- func (m *EventAddMission) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAddMission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAddMission) ProtoMessage()
- func (m *EventAddMission) Reset()
- func (m *EventAddMission) Size() (n int)
- func (m *EventAddMission) String() string
- func (m *EventAddMission) Unmarshal(dAtA []byte) error
- func (m *EventAddMission) XXX_DiscardUnknown()
- func (m *EventAddMission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAddMission) XXX_Merge(src proto.Message)
- func (m *EventAddMission) XXX_Size() int
- func (m *EventAddMission) XXX_Unmarshal(b []byte) error
- type EventClaim
- func (*EventClaim) Descriptor() ([]byte, []int)
- func (m *EventClaim) GetAmount() string
- func (m *EventClaim) GetCampaignId() uint64
- func (m *EventClaim) GetClaimer() string
- func (m *EventClaim) GetMissionId() uint64
- func (m *EventClaim) Marshal() (dAtA []byte, err error)
- func (m *EventClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *EventClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventClaim) ProtoMessage()
- func (m *EventClaim) Reset()
- func (m *EventClaim) Size() (n int)
- func (m *EventClaim) String() string
- func (m *EventClaim) Unmarshal(dAtA []byte) error
- func (m *EventClaim) XXX_DiscardUnknown()
- func (m *EventClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventClaim) XXX_Merge(src proto.Message)
- func (m *EventClaim) XXX_Size() int
- func (m *EventClaim) XXX_Unmarshal(b []byte) error
- type EventCloseCampaign
- func (*EventCloseCampaign) Descriptor() ([]byte, []int)
- func (m *EventCloseCampaign) GetCampaignCloseAction() string
- func (m *EventCloseCampaign) GetCampaignId() uint64
- func (m *EventCloseCampaign) GetOwner() string
- func (m *EventCloseCampaign) Marshal() (dAtA []byte, err error)
- func (m *EventCloseCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCloseCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCloseCampaign) ProtoMessage()
- func (m *EventCloseCampaign) Reset()
- func (m *EventCloseCampaign) Size() (n int)
- func (m *EventCloseCampaign) String() string
- func (m *EventCloseCampaign) Unmarshal(dAtA []byte) error
- func (m *EventCloseCampaign) XXX_DiscardUnknown()
- func (m *EventCloseCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCloseCampaign) XXX_Merge(src proto.Message)
- func (m *EventCloseCampaign) XXX_Size() int
- func (m *EventCloseCampaign) XXX_Unmarshal(b []byte) error
- type EventCompleteMission
- func (*EventCompleteMission) Descriptor() ([]byte, []int)
- func (m *EventCompleteMission) GetCampaignId() uint64
- func (m *EventCompleteMission) GetMissionId() uint64
- func (m *EventCompleteMission) GetUserAddress() string
- func (m *EventCompleteMission) Marshal() (dAtA []byte, err error)
- func (m *EventCompleteMission) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCompleteMission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCompleteMission) ProtoMessage()
- func (m *EventCompleteMission) Reset()
- func (m *EventCompleteMission) Size() (n int)
- func (m *EventCompleteMission) String() string
- func (m *EventCompleteMission) Unmarshal(dAtA []byte) error
- func (m *EventCompleteMission) XXX_DiscardUnknown()
- func (m *EventCompleteMission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCompleteMission) XXX_Merge(src proto.Message)
- func (m *EventCompleteMission) XXX_Size() int
- func (m *EventCompleteMission) XXX_Unmarshal(b []byte) error
- type EventDeleteClaimRecord
- func (*EventDeleteClaimRecord) Descriptor() ([]byte, []int)
- func (m *EventDeleteClaimRecord) GetCampaignId() uint64
- func (m *EventDeleteClaimRecord) GetClaimRecordAmount() string
- func (m *EventDeleteClaimRecord) GetOwner() string
- func (m *EventDeleteClaimRecord) GetUserAddress() string
- func (m *EventDeleteClaimRecord) Marshal() (dAtA []byte, err error)
- func (m *EventDeleteClaimRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDeleteClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDeleteClaimRecord) ProtoMessage()
- func (m *EventDeleteClaimRecord) Reset()
- func (m *EventDeleteClaimRecord) Size() (n int)
- func (m *EventDeleteClaimRecord) String() string
- func (m *EventDeleteClaimRecord) Unmarshal(dAtA []byte) error
- func (m *EventDeleteClaimRecord) XXX_DiscardUnknown()
- func (m *EventDeleteClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDeleteClaimRecord) XXX_Merge(src proto.Message)
- func (m *EventDeleteClaimRecord) XXX_Size() int
- func (m *EventDeleteClaimRecord) XXX_Unmarshal(b []byte) error
- type EventEnableCampaign
- func (*EventEnableCampaign) Descriptor() ([]byte, []int)
- func (m *EventEnableCampaign) GetCampaignId() uint64
- func (m *EventEnableCampaign) GetOwner() string
- func (m *EventEnableCampaign) Marshal() (dAtA []byte, err error)
- func (m *EventEnableCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *EventEnableCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventEnableCampaign) ProtoMessage()
- func (m *EventEnableCampaign) Reset()
- func (m *EventEnableCampaign) Size() (n int)
- func (m *EventEnableCampaign) String() string
- func (m *EventEnableCampaign) Unmarshal(dAtA []byte) error
- func (m *EventEnableCampaign) XXX_DiscardUnknown()
- func (m *EventEnableCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventEnableCampaign) XXX_Merge(src proto.Message)
- func (m *EventEnableCampaign) XXX_Size() int
- func (m *EventEnableCampaign) XXX_Unmarshal(b []byte) error
- type EventInitialClaim
- func (*EventInitialClaim) Descriptor() ([]byte, []int)
- func (m *EventInitialClaim) GetAddressToClaim() string
- func (m *EventInitialClaim) GetAmount() string
- func (m *EventInitialClaim) GetCampaignId() uint64
- func (m *EventInitialClaim) GetClaimer() string
- func (m *EventInitialClaim) Marshal() (dAtA []byte, err error)
- func (m *EventInitialClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *EventInitialClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventInitialClaim) ProtoMessage()
- func (m *EventInitialClaim) Reset()
- func (m *EventInitialClaim) Size() (n int)
- func (m *EventInitialClaim) String() string
- func (m *EventInitialClaim) Unmarshal(dAtA []byte) error
- func (m *EventInitialClaim) XXX_DiscardUnknown()
- func (m *EventInitialClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventInitialClaim) XXX_Merge(src proto.Message)
- func (m *EventInitialClaim) XXX_Size() int
- func (m *EventInitialClaim) XXX_Unmarshal(b []byte) error
- type EventNewCampaign
- func (*EventNewCampaign) Descriptor() ([]byte, []int)
- func (m *EventNewCampaign) GetCampaignType() CampaignType
- func (m *EventNewCampaign) GetDescription() string
- func (m *EventNewCampaign) GetEnabled() bool
- func (m *EventNewCampaign) GetEndTime() time.Time
- func (m *EventNewCampaign) GetId() uint64
- func (m *EventNewCampaign) GetLockupPeriod() time.Duration
- func (m *EventNewCampaign) GetName() string
- func (m *EventNewCampaign) GetOwner() string
- func (m *EventNewCampaign) GetRemovableClaimRecords() bool
- func (m *EventNewCampaign) GetStartTime() time.Time
- func (m *EventNewCampaign) GetVestingPeriod() time.Duration
- func (m *EventNewCampaign) GetVestingPoolName() string
- func (m *EventNewCampaign) Marshal() (dAtA []byte, err error)
- func (m *EventNewCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *EventNewCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventNewCampaign) ProtoMessage()
- func (m *EventNewCampaign) Reset()
- func (m *EventNewCampaign) Size() (n int)
- func (m *EventNewCampaign) String() string
- func (m *EventNewCampaign) Unmarshal(dAtA []byte) error
- func (m *EventNewCampaign) XXX_DiscardUnknown()
- func (m *EventNewCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventNewCampaign) XXX_Merge(src proto.Message)
- func (m *EventNewCampaign) XXX_Size() int
- func (m *EventNewCampaign) XXX_Unmarshal(b []byte) error
- type EventRemoveCampaign
- func (*EventRemoveCampaign) Descriptor() ([]byte, []int)
- func (m *EventRemoveCampaign) GetCampaignId() uint64
- func (m *EventRemoveCampaign) GetOwner() string
- func (m *EventRemoveCampaign) Marshal() (dAtA []byte, err error)
- func (m *EventRemoveCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRemoveCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRemoveCampaign) ProtoMessage()
- func (m *EventRemoveCampaign) Reset()
- func (m *EventRemoveCampaign) Size() (n int)
- func (m *EventRemoveCampaign) String() string
- func (m *EventRemoveCampaign) Unmarshal(dAtA []byte) error
- func (m *EventRemoveCampaign) XXX_DiscardUnknown()
- func (m *EventRemoveCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRemoveCampaign) XXX_Merge(src proto.Message)
- func (m *EventRemoveCampaign) XXX_Size() int
- func (m *EventRemoveCampaign) XXX_Unmarshal(b []byte) error
- type FeeGrantKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCampaignCount() uint64
- func (m *GenesisState) GetCampaigns() []Campaign
- func (m *GenesisState) GetMissionCounts() []*MissionCount
- func (m *GenesisState) GetMissions() []Mission
- func (m *GenesisState) GetUsersEntries() []UserEntry
- 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 Mission
- func (*Mission) Descriptor() ([]byte, []int)
- func (m *Mission) GetCampaignId() uint64
- func (m *Mission) GetClaimStartDate() *time.Time
- func (m *Mission) GetDescription() string
- func (m *Mission) GetId() uint64
- func (m *Mission) GetMissionType() MissionType
- func (m *Mission) GetName() string
- func (c *Mission) IsEnabled(blockTime time.Time) error
- func (m *Mission) Marshal() (dAtA []byte, err error)
- func (m *Mission) MarshalTo(dAtA []byte) (int, error)
- func (m *Mission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Mission) ProtoMessage()
- func (m *Mission) Reset()
- func (m *Mission) Size() (n int)
- func (m *Mission) String() string
- func (m *Mission) Unmarshal(dAtA []byte) error
- func (m *Mission) XXX_DiscardUnknown()
- func (m *Mission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Mission) XXX_Merge(src proto.Message)
- func (m *Mission) XXX_Size() int
- func (m *Mission) XXX_Unmarshal(b []byte) error
- type MissionCount
- func (*MissionCount) Descriptor() ([]byte, []int)
- func (m *MissionCount) GetCampaignId() uint64
- func (m *MissionCount) GetCount() uint64
- func (m *MissionCount) Marshal() (dAtA []byte, err error)
- func (m *MissionCount) MarshalTo(dAtA []byte) (int, error)
- func (m *MissionCount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MissionCount) ProtoMessage()
- func (m *MissionCount) Reset()
- func (m *MissionCount) Size() (n int)
- func (m *MissionCount) String() string
- func (m *MissionCount) Unmarshal(dAtA []byte) error
- func (m *MissionCount) XXX_DiscardUnknown()
- func (m *MissionCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MissionCount) XXX_Merge(src proto.Message)
- func (m *MissionCount) XXX_Size() int
- func (m *MissionCount) XXX_Unmarshal(b []byte) error
- type MissionType
- type MsgAddClaimRecords
- func (*MsgAddClaimRecords) Descriptor() ([]byte, []int)
- func (m *MsgAddClaimRecords) GetCampaignId() uint64
- func (m *MsgAddClaimRecords) GetClaimRecordEntries() []*ClaimRecordEntry
- func (m *MsgAddClaimRecords) GetOwner() string
- func (msg *MsgAddClaimRecords) GetSignBytes() []byte
- func (msg *MsgAddClaimRecords) GetSigners() []sdk.AccAddress
- func (m *MsgAddClaimRecords) Marshal() (dAtA []byte, err error)
- func (m *MsgAddClaimRecords) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddClaimRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddClaimRecords) ProtoMessage()
- func (m *MsgAddClaimRecords) Reset()
- func (msg *MsgAddClaimRecords) Route() string
- func (m *MsgAddClaimRecords) Size() (n int)
- func (m *MsgAddClaimRecords) String() string
- func (msg *MsgAddClaimRecords) Type() string
- func (m *MsgAddClaimRecords) Unmarshal(dAtA []byte) error
- func (msg *MsgAddClaimRecords) ValidateBasic() error
- func (m *MsgAddClaimRecords) XXX_DiscardUnknown()
- func (m *MsgAddClaimRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddClaimRecords) XXX_Merge(src proto.Message)
- func (m *MsgAddClaimRecords) XXX_Size() int
- func (m *MsgAddClaimRecords) XXX_Unmarshal(b []byte) error
- type MsgAddClaimRecordsResponse
- func (*MsgAddClaimRecordsResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddClaimRecordsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddClaimRecordsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddClaimRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddClaimRecordsResponse) ProtoMessage()
- func (m *MsgAddClaimRecordsResponse) Reset()
- func (m *MsgAddClaimRecordsResponse) Size() (n int)
- func (m *MsgAddClaimRecordsResponse) String() string
- func (m *MsgAddClaimRecordsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddClaimRecordsResponse) XXX_DiscardUnknown()
- func (m *MsgAddClaimRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddClaimRecordsResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddClaimRecordsResponse) XXX_Size() int
- func (m *MsgAddClaimRecordsResponse) XXX_Unmarshal(b []byte) error
- type MsgAddMission
- func (*MsgAddMission) Descriptor() ([]byte, []int)
- func (m *MsgAddMission) GetCampaignId() uint64
- func (m *MsgAddMission) GetClaimStartDate() *time.Time
- func (m *MsgAddMission) GetDescription() string
- func (m *MsgAddMission) GetMissionType() MissionType
- func (m *MsgAddMission) GetName() string
- func (m *MsgAddMission) GetOwner() string
- func (msg *MsgAddMission) GetSignBytes() []byte
- func (msg *MsgAddMission) GetSigners() []sdk.AccAddress
- func (m *MsgAddMission) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMission) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMission) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMission) ProtoMessage()
- func (m *MsgAddMission) Reset()
- func (msg *MsgAddMission) Route() string
- func (m *MsgAddMission) Size() (n int)
- func (m *MsgAddMission) String() string
- func (msg *MsgAddMission) Type() string
- func (m *MsgAddMission) Unmarshal(dAtA []byte) error
- func (msg *MsgAddMission) ValidateBasic() error
- func (m *MsgAddMission) XXX_DiscardUnknown()
- func (m *MsgAddMission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMission) XXX_Merge(src proto.Message)
- func (m *MsgAddMission) XXX_Size() int
- func (m *MsgAddMission) XXX_Unmarshal(b []byte) error
- type MsgAddMissionResponse
- func (*MsgAddMissionResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddMissionResponse) GetMissionId() uint64
- func (m *MsgAddMissionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMissionResponse) ProtoMessage()
- func (m *MsgAddMissionResponse) Reset()
- func (m *MsgAddMissionResponse) Size() (n int)
- func (m *MsgAddMissionResponse) String() string
- func (m *MsgAddMissionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddMissionResponse) XXX_DiscardUnknown()
- func (m *MsgAddMissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMissionResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddMissionResponse) XXX_Size() int
- func (m *MsgAddMissionResponse) XXX_Unmarshal(b []byte) error
- type MsgClaim
- func (*MsgClaim) Descriptor() ([]byte, []int)
- func (m *MsgClaim) GetCampaignId() uint64
- func (m *MsgClaim) GetClaimer() string
- func (m *MsgClaim) GetMissionId() uint64
- func (msg *MsgClaim) GetSignBytes() []byte
- func (msg *MsgClaim) GetSigners() []sdk.AccAddress
- func (m *MsgClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaim) ProtoMessage()
- func (m *MsgClaim) Reset()
- func (msg *MsgClaim) Route() string
- func (m *MsgClaim) Size() (n int)
- func (m *MsgClaim) String() string
- func (msg *MsgClaim) Type() string
- func (m *MsgClaim) Unmarshal(dAtA []byte) error
- func (msg *MsgClaim) ValidateBasic() error
- func (m *MsgClaim) XXX_DiscardUnknown()
- func (m *MsgClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaim) XXX_Merge(src proto.Message)
- func (m *MsgClaim) XXX_Size() int
- func (m *MsgClaim) XXX_Unmarshal(b []byte) error
- type MsgClaimResponse
- func (*MsgClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimResponse) ProtoMessage()
- func (m *MsgClaimResponse) Reset()
- func (m *MsgClaimResponse) Size() (n int)
- func (m *MsgClaimResponse) String() string
- func (m *MsgClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimResponse) XXX_DiscardUnknown()
- func (m *MsgClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimResponse) XXX_Size() int
- func (m *MsgClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCloseCampaign
- func (*MsgCloseCampaign) Descriptor() ([]byte, []int)
- func (m *MsgCloseCampaign) GetCampaignId() uint64
- func (m *MsgCloseCampaign) GetOwner() string
- func (msg *MsgCloseCampaign) GetSignBytes() []byte
- func (msg *MsgCloseCampaign) GetSigners() []sdk.AccAddress
- func (m *MsgCloseCampaign) Marshal() (dAtA []byte, err error)
- func (m *MsgCloseCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCloseCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCloseCampaign) ProtoMessage()
- func (m *MsgCloseCampaign) Reset()
- func (msg *MsgCloseCampaign) Route() string
- func (m *MsgCloseCampaign) Size() (n int)
- func (m *MsgCloseCampaign) String() string
- func (msg *MsgCloseCampaign) Type() string
- func (m *MsgCloseCampaign) Unmarshal(dAtA []byte) error
- func (msg *MsgCloseCampaign) ValidateBasic() error
- func (m *MsgCloseCampaign) XXX_DiscardUnknown()
- func (m *MsgCloseCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCloseCampaign) XXX_Merge(src proto.Message)
- func (m *MsgCloseCampaign) XXX_Size() int
- func (m *MsgCloseCampaign) XXX_Unmarshal(b []byte) error
- type MsgCloseCampaignResponse
- func (*MsgCloseCampaignResponse) Descriptor() ([]byte, []int)
- func (m *MsgCloseCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCloseCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCloseCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCloseCampaignResponse) ProtoMessage()
- func (m *MsgCloseCampaignResponse) Reset()
- func (m *MsgCloseCampaignResponse) Size() (n int)
- func (m *MsgCloseCampaignResponse) String() string
- func (m *MsgCloseCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCloseCampaignResponse) XXX_DiscardUnknown()
- func (m *MsgCloseCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCloseCampaignResponse) XXX_Merge(src proto.Message)
- func (m *MsgCloseCampaignResponse) XXX_Size() int
- func (m *MsgCloseCampaignResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateCampaign
- func (*MsgCreateCampaign) Descriptor() ([]byte, []int)
- func (m *MsgCreateCampaign) GetCampaignType() CampaignType
- func (m *MsgCreateCampaign) GetDescription() string
- func (m *MsgCreateCampaign) GetEndTime() *time.Time
- func (m *MsgCreateCampaign) GetLockupPeriod() *time.Duration
- func (m *MsgCreateCampaign) GetName() string
- func (m *MsgCreateCampaign) GetOwner() string
- func (m *MsgCreateCampaign) GetRemovableClaimRecords() bool
- func (msg *MsgCreateCampaign) GetSignBytes() []byte
- func (msg *MsgCreateCampaign) GetSigners() []sdk.AccAddress
- func (m *MsgCreateCampaign) GetStartTime() *time.Time
- func (m *MsgCreateCampaign) GetVestingPeriod() *time.Duration
- func (m *MsgCreateCampaign) GetVestingPoolName() string
- func (m *MsgCreateCampaign) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCampaign) ProtoMessage()
- func (m *MsgCreateCampaign) Reset()
- func (msg *MsgCreateCampaign) Route() string
- func (m *MsgCreateCampaign) Size() (n int)
- func (m *MsgCreateCampaign) String() string
- func (msg *MsgCreateCampaign) Type() string
- func (m *MsgCreateCampaign) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateCampaign) ValidateBasic() error
- func (m *MsgCreateCampaign) XXX_DiscardUnknown()
- func (m *MsgCreateCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCampaign) XXX_Merge(src proto.Message)
- func (m *MsgCreateCampaign) XXX_Size() int
- func (m *MsgCreateCampaign) XXX_Unmarshal(b []byte) error
- type MsgCreateCampaignResponse
- func (*MsgCreateCampaignResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateCampaignResponse) GetCampaignId() uint64
- func (m *MsgCreateCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateCampaignResponse) ProtoMessage()
- func (m *MsgCreateCampaignResponse) Reset()
- func (m *MsgCreateCampaignResponse) Size() (n int)
- func (m *MsgCreateCampaignResponse) String() string
- func (m *MsgCreateCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateCampaignResponse) XXX_DiscardUnknown()
- func (m *MsgCreateCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateCampaignResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateCampaignResponse) XXX_Size() int
- func (m *MsgCreateCampaignResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteClaimRecord
- func (*MsgDeleteClaimRecord) Descriptor() ([]byte, []int)
- func (m *MsgDeleteClaimRecord) GetCampaignId() uint64
- func (m *MsgDeleteClaimRecord) GetOwner() string
- func (msg *MsgDeleteClaimRecord) GetSignBytes() []byte
- func (msg *MsgDeleteClaimRecord) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteClaimRecord) GetUserAddress() string
- func (m *MsgDeleteClaimRecord) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteClaimRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteClaimRecord) ProtoMessage()
- func (m *MsgDeleteClaimRecord) Reset()
- func (msg *MsgDeleteClaimRecord) Route() string
- func (m *MsgDeleteClaimRecord) Size() (n int)
- func (m *MsgDeleteClaimRecord) String() string
- func (msg *MsgDeleteClaimRecord) Type() string
- func (m *MsgDeleteClaimRecord) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteClaimRecord) ValidateBasic() error
- func (m *MsgDeleteClaimRecord) XXX_DiscardUnknown()
- func (m *MsgDeleteClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteClaimRecord) XXX_Merge(src proto.Message)
- func (m *MsgDeleteClaimRecord) XXX_Size() int
- func (m *MsgDeleteClaimRecord) XXX_Unmarshal(b []byte) error
- type MsgDeleteClaimRecordResponse
- func (*MsgDeleteClaimRecordResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteClaimRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteClaimRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteClaimRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteClaimRecordResponse) ProtoMessage()
- func (m *MsgDeleteClaimRecordResponse) Reset()
- func (m *MsgDeleteClaimRecordResponse) Size() (n int)
- func (m *MsgDeleteClaimRecordResponse) String() string
- func (m *MsgDeleteClaimRecordResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteClaimRecordResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteClaimRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteClaimRecordResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteClaimRecordResponse) XXX_Size() int
- func (m *MsgDeleteClaimRecordResponse) XXX_Unmarshal(b []byte) error
- type MsgEnableCampaign
- func (*MsgEnableCampaign) Descriptor() ([]byte, []int)
- func (m *MsgEnableCampaign) GetCampaignId() uint64
- func (m *MsgEnableCampaign) GetEndTime() *time.Time
- func (m *MsgEnableCampaign) GetOwner() string
- func (msg *MsgEnableCampaign) GetSignBytes() []byte
- func (msg *MsgEnableCampaign) GetSigners() []sdk.AccAddress
- func (m *MsgEnableCampaign) GetStartTime() *time.Time
- func (m *MsgEnableCampaign) Marshal() (dAtA []byte, err error)
- func (m *MsgEnableCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEnableCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEnableCampaign) ProtoMessage()
- func (m *MsgEnableCampaign) Reset()
- func (msg *MsgEnableCampaign) Route() string
- func (m *MsgEnableCampaign) Size() (n int)
- func (m *MsgEnableCampaign) String() string
- func (msg *MsgEnableCampaign) Type() string
- func (m *MsgEnableCampaign) Unmarshal(dAtA []byte) error
- func (msg *MsgEnableCampaign) ValidateBasic() error
- func (m *MsgEnableCampaign) XXX_DiscardUnknown()
- func (m *MsgEnableCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEnableCampaign) XXX_Merge(src proto.Message)
- func (m *MsgEnableCampaign) XXX_Size() int
- func (m *MsgEnableCampaign) XXX_Unmarshal(b []byte) error
- type MsgEnableCampaignResponse
- func (*MsgEnableCampaignResponse) Descriptor() ([]byte, []int)
- func (m *MsgEnableCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEnableCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEnableCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEnableCampaignResponse) ProtoMessage()
- func (m *MsgEnableCampaignResponse) Reset()
- func (m *MsgEnableCampaignResponse) Size() (n int)
- func (m *MsgEnableCampaignResponse) String() string
- func (m *MsgEnableCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEnableCampaignResponse) XXX_DiscardUnknown()
- func (m *MsgEnableCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEnableCampaignResponse) XXX_Merge(src proto.Message)
- func (m *MsgEnableCampaignResponse) XXX_Size() int
- func (m *MsgEnableCampaignResponse) XXX_Unmarshal(b []byte) error
- type MsgInitialClaim
- func (*MsgInitialClaim) Descriptor() ([]byte, []int)
- func (m *MsgInitialClaim) GetCampaignId() uint64
- func (m *MsgInitialClaim) GetClaimer() string
- func (m *MsgInitialClaim) GetDestinationAddress() string
- func (msg *MsgInitialClaim) GetSignBytes() []byte
- func (msg *MsgInitialClaim) GetSigners() []sdk.AccAddress
- func (m *MsgInitialClaim) Marshal() (dAtA []byte, err error)
- func (m *MsgInitialClaim) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitialClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitialClaim) ProtoMessage()
- func (m *MsgInitialClaim) Reset()
- func (msg *MsgInitialClaim) Route() string
- func (m *MsgInitialClaim) Size() (n int)
- func (m *MsgInitialClaim) String() string
- func (msg *MsgInitialClaim) Type() string
- func (m *MsgInitialClaim) Unmarshal(dAtA []byte) error
- func (msg *MsgInitialClaim) ValidateBasic() error
- func (m *MsgInitialClaim) XXX_DiscardUnknown()
- func (m *MsgInitialClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitialClaim) XXX_Merge(src proto.Message)
- func (m *MsgInitialClaim) XXX_Size() int
- func (m *MsgInitialClaim) XXX_Unmarshal(b []byte) error
- type MsgInitialClaimResponse
- func (*MsgInitialClaimResponse) Descriptor() ([]byte, []int)
- func (m *MsgInitialClaimResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgInitialClaimResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInitialClaimResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInitialClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInitialClaimResponse) ProtoMessage()
- func (m *MsgInitialClaimResponse) Reset()
- func (m *MsgInitialClaimResponse) Size() (n int)
- func (m *MsgInitialClaimResponse) String() string
- func (m *MsgInitialClaimResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInitialClaimResponse) XXX_DiscardUnknown()
- func (m *MsgInitialClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInitialClaimResponse) XXX_Merge(src proto.Message)
- func (m *MsgInitialClaimResponse) XXX_Size() int
- func (m *MsgInitialClaimResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveCampaign
- func (*MsgRemoveCampaign) Descriptor() ([]byte, []int)
- func (m *MsgRemoveCampaign) GetCampaignId() uint64
- func (m *MsgRemoveCampaign) GetOwner() string
- func (msg *MsgRemoveCampaign) GetSignBytes() []byte
- func (msg *MsgRemoveCampaign) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveCampaign) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveCampaign) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveCampaign) ProtoMessage()
- func (m *MsgRemoveCampaign) Reset()
- func (msg *MsgRemoveCampaign) Route() string
- func (m *MsgRemoveCampaign) Size() (n int)
- func (m *MsgRemoveCampaign) String() string
- func (msg *MsgRemoveCampaign) Type() string
- func (m *MsgRemoveCampaign) Unmarshal(dAtA []byte) error
- func (msg *MsgRemoveCampaign) ValidateBasic() error
- func (m *MsgRemoveCampaign) XXX_DiscardUnknown()
- func (m *MsgRemoveCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveCampaign) XXX_Merge(src proto.Message)
- func (m *MsgRemoveCampaign) XXX_Size() int
- func (m *MsgRemoveCampaign) XXX_Unmarshal(b []byte) error
- type MsgRemoveCampaignResponse
- func (*MsgRemoveCampaignResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveCampaignResponse) ProtoMessage()
- func (m *MsgRemoveCampaignResponse) Reset()
- func (m *MsgRemoveCampaignResponse) Size() (n int)
- func (m *MsgRemoveCampaignResponse) String() string
- func (m *MsgRemoveCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveCampaignResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveCampaignResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveCampaignResponse) XXX_Size() int
- func (m *MsgRemoveCampaignResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type QueryCampaignMissionsRequest
- func (*QueryCampaignMissionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCampaignMissionsRequest) GetCampaignId() uint64
- func (m *QueryCampaignMissionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCampaignMissionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCampaignMissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCampaignMissionsRequest) ProtoMessage()
- func (m *QueryCampaignMissionsRequest) Reset()
- func (m *QueryCampaignMissionsRequest) Size() (n int)
- func (m *QueryCampaignMissionsRequest) String() string
- func (m *QueryCampaignMissionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCampaignMissionsRequest) XXX_DiscardUnknown()
- func (m *QueryCampaignMissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCampaignMissionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCampaignMissionsRequest) XXX_Size() int
- func (m *QueryCampaignMissionsRequest) XXX_Unmarshal(b []byte) error
- type QueryCampaignMissionsResponse
- func (*QueryCampaignMissionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCampaignMissionsResponse) GetMissions() []Mission
- func (m *QueryCampaignMissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCampaignMissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCampaignMissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCampaignMissionsResponse) ProtoMessage()
- func (m *QueryCampaignMissionsResponse) Reset()
- func (m *QueryCampaignMissionsResponse) Size() (n int)
- func (m *QueryCampaignMissionsResponse) String() string
- func (m *QueryCampaignMissionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCampaignMissionsResponse) XXX_DiscardUnknown()
- func (m *QueryCampaignMissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCampaignMissionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCampaignMissionsResponse) XXX_Size() int
- func (m *QueryCampaignMissionsResponse) XXX_Unmarshal(b []byte) error
- type QueryCampaignRequest
- func (*QueryCampaignRequest) Descriptor() ([]byte, []int)
- func (m *QueryCampaignRequest) GetCampaignId() uint64
- func (m *QueryCampaignRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCampaignRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCampaignRequest) ProtoMessage()
- func (m *QueryCampaignRequest) Reset()
- func (m *QueryCampaignRequest) Size() (n int)
- func (m *QueryCampaignRequest) String() string
- func (m *QueryCampaignRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCampaignRequest) XXX_DiscardUnknown()
- func (m *QueryCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCampaignRequest) XXX_Merge(src proto.Message)
- func (m *QueryCampaignRequest) XXX_Size() int
- func (m *QueryCampaignRequest) XXX_Unmarshal(b []byte) error
- type QueryCampaignResponse
- func (*QueryCampaignResponse) Descriptor() ([]byte, []int)
- func (m *QueryCampaignResponse) GetCampaign() Campaign
- func (m *QueryCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCampaignResponse) ProtoMessage()
- func (m *QueryCampaignResponse) Reset()
- func (m *QueryCampaignResponse) Size() (n int)
- func (m *QueryCampaignResponse) String() string
- func (m *QueryCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCampaignResponse) XXX_DiscardUnknown()
- func (m *QueryCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCampaignResponse) XXX_Merge(src proto.Message)
- func (m *QueryCampaignResponse) XXX_Size() int
- func (m *QueryCampaignResponse) XXX_Unmarshal(b []byte) error
- type QueryCampaignsRequest
- func (*QueryCampaignsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCampaignsRequest) GetPagination() *query.PageRequest
- func (m *QueryCampaignsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCampaignsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCampaignsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCampaignsRequest) ProtoMessage()
- func (m *QueryCampaignsRequest) Reset()
- func (m *QueryCampaignsRequest) Size() (n int)
- func (m *QueryCampaignsRequest) String() string
- func (m *QueryCampaignsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCampaignsRequest) XXX_DiscardUnknown()
- func (m *QueryCampaignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCampaignsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCampaignsRequest) XXX_Size() int
- func (m *QueryCampaignsRequest) XXX_Unmarshal(b []byte) error
- type QueryCampaignsResponse
- func (*QueryCampaignsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCampaignsResponse) GetCampaigns() []Campaign
- func (m *QueryCampaignsResponse) GetPagination() *query.PageResponse
- func (m *QueryCampaignsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCampaignsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCampaignsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCampaignsResponse) ProtoMessage()
- func (m *QueryCampaignsResponse) Reset()
- func (m *QueryCampaignsResponse) Size() (n int)
- func (m *QueryCampaignsResponse) String() string
- func (m *QueryCampaignsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCampaignsResponse) XXX_DiscardUnknown()
- func (m *QueryCampaignsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCampaignsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCampaignsResponse) XXX_Size() int
- func (m *QueryCampaignsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryMissionRequest
- func (*QueryMissionRequest) Descriptor() ([]byte, []int)
- func (m *QueryMissionRequest) GetCampaignId() uint64
- func (m *QueryMissionRequest) GetMissionId() uint64
- func (m *QueryMissionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMissionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissionRequest) ProtoMessage()
- func (m *QueryMissionRequest) Reset()
- func (m *QueryMissionRequest) Size() (n int)
- func (m *QueryMissionRequest) String() string
- func (m *QueryMissionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMissionRequest) XXX_DiscardUnknown()
- func (m *QueryMissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissionRequest) XXX_Merge(src proto.Message)
- func (m *QueryMissionRequest) XXX_Size() int
- func (m *QueryMissionRequest) XXX_Unmarshal(b []byte) error
- type QueryMissionResponse
- func (*QueryMissionResponse) Descriptor() ([]byte, []int)
- func (m *QueryMissionResponse) GetMission() Mission
- func (m *QueryMissionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMissionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissionResponse) ProtoMessage()
- func (m *QueryMissionResponse) Reset()
- func (m *QueryMissionResponse) Size() (n int)
- func (m *QueryMissionResponse) String() string
- func (m *QueryMissionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMissionResponse) XXX_DiscardUnknown()
- func (m *QueryMissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissionResponse) XXX_Merge(src proto.Message)
- func (m *QueryMissionResponse) XXX_Size() int
- func (m *QueryMissionResponse) XXX_Unmarshal(b []byte) error
- type QueryMissionsRequest
- func (*QueryMissionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryMissionsRequest) GetPagination() *query.PageRequest
- func (m *QueryMissionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMissionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissionsRequest) ProtoMessage()
- func (m *QueryMissionsRequest) Reset()
- func (m *QueryMissionsRequest) Size() (n int)
- func (m *QueryMissionsRequest) String() string
- func (m *QueryMissionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMissionsRequest) XXX_DiscardUnknown()
- func (m *QueryMissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryMissionsRequest) XXX_Size() int
- func (m *QueryMissionsRequest) XXX_Unmarshal(b []byte) error
- type QueryMissionsResponse
- func (*QueryMissionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryMissionsResponse) GetMissions() []Mission
- func (m *QueryMissionsResponse) GetPagination() *query.PageResponse
- func (m *QueryMissionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMissionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMissionsResponse) ProtoMessage()
- func (m *QueryMissionsResponse) Reset()
- func (m *QueryMissionsResponse) Size() (n int)
- func (m *QueryMissionsResponse) String() string
- func (m *QueryMissionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMissionsResponse) XXX_DiscardUnknown()
- func (m *QueryMissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMissionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryMissionsResponse) XXX_Size() int
- func (m *QueryMissionsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryUserEntryRequest
- func (*QueryUserEntryRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserEntryRequest) GetAddress() string
- func (m *QueryUserEntryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserEntryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserEntryRequest) ProtoMessage()
- func (m *QueryUserEntryRequest) Reset()
- func (m *QueryUserEntryRequest) Size() (n int)
- func (m *QueryUserEntryRequest) String() string
- func (m *QueryUserEntryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserEntryRequest) XXX_DiscardUnknown()
- func (m *QueryUserEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserEntryRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserEntryRequest) XXX_Size() int
- func (m *QueryUserEntryRequest) XXX_Unmarshal(b []byte) error
- type QueryUserEntryResponse
- func (*QueryUserEntryResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserEntryResponse) GetUserEntry() UserEntry
- func (m *QueryUserEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserEntryResponse) ProtoMessage()
- func (m *QueryUserEntryResponse) Reset()
- func (m *QueryUserEntryResponse) Size() (n int)
- func (m *QueryUserEntryResponse) String() string
- func (m *QueryUserEntryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserEntryResponse) XXX_DiscardUnknown()
- func (m *QueryUserEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserEntryResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserEntryResponse) XXX_Size() int
- func (m *QueryUserEntryResponse) XXX_Unmarshal(b []byte) error
- type QueryUsersEntriesRequest
- func (*QueryUsersEntriesRequest) Descriptor() ([]byte, []int)
- func (m *QueryUsersEntriesRequest) GetPagination() *query.PageRequest
- func (m *QueryUsersEntriesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUsersEntriesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUsersEntriesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUsersEntriesRequest) ProtoMessage()
- func (m *QueryUsersEntriesRequest) Reset()
- func (m *QueryUsersEntriesRequest) Size() (n int)
- func (m *QueryUsersEntriesRequest) String() string
- func (m *QueryUsersEntriesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUsersEntriesRequest) XXX_DiscardUnknown()
- func (m *QueryUsersEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUsersEntriesRequest) XXX_Merge(src proto.Message)
- func (m *QueryUsersEntriesRequest) XXX_Size() int
- func (m *QueryUsersEntriesRequest) XXX_Unmarshal(b []byte) error
- type QueryUsersEntriesResponse
- func (*QueryUsersEntriesResponse) Descriptor() ([]byte, []int)
- func (m *QueryUsersEntriesResponse) GetPagination() *query.PageResponse
- func (m *QueryUsersEntriesResponse) GetUsersEntries() []UserEntry
- func (m *QueryUsersEntriesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUsersEntriesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUsersEntriesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUsersEntriesResponse) ProtoMessage()
- func (m *QueryUsersEntriesResponse) Reset()
- func (m *QueryUsersEntriesResponse) Size() (n int)
- func (m *QueryUsersEntriesResponse) String() string
- func (m *QueryUsersEntriesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUsersEntriesResponse) XXX_DiscardUnknown()
- func (m *QueryUsersEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUsersEntriesResponse) XXX_Merge(src proto.Message)
- func (m *QueryUsersEntriesResponse) XXX_Size() int
- func (m *QueryUsersEntriesResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddClaimRecords(ctx context.Context, req *MsgAddClaimRecords) (*MsgAddClaimRecordsResponse, error)
- func (*UnimplementedMsgServer) AddMission(ctx context.Context, req *MsgAddMission) (*MsgAddMissionResponse, error)
- func (*UnimplementedMsgServer) Claim(ctx context.Context, req *MsgClaim) (*MsgClaimResponse, error)
- func (*UnimplementedMsgServer) CloseCampaign(ctx context.Context, req *MsgCloseCampaign) (*MsgCloseCampaignResponse, error)
- func (*UnimplementedMsgServer) CreateCampaign(ctx context.Context, req *MsgCreateCampaign) (*MsgCreateCampaignResponse, error)
- func (*UnimplementedMsgServer) DeleteClaimRecord(ctx context.Context, req *MsgDeleteClaimRecord) (*MsgDeleteClaimRecordResponse, error)
- func (*UnimplementedMsgServer) EnableCampaign(ctx context.Context, req *MsgEnableCampaign) (*MsgEnableCampaignResponse, error)
- func (*UnimplementedMsgServer) InitialClaim(ctx context.Context, req *MsgInitialClaim) (*MsgInitialClaimResponse, error)
- func (*UnimplementedMsgServer) RemoveCampaign(ctx context.Context, req *MsgRemoveCampaign) (*MsgRemoveCampaignResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Campaign(ctx context.Context, req *QueryCampaignRequest) (*QueryCampaignResponse, error)
- func (*UnimplementedQueryServer) CampaignMissions(ctx context.Context, req *QueryCampaignMissionsRequest) (*QueryCampaignMissionsResponse, error)
- func (*UnimplementedQueryServer) Campaigns(ctx context.Context, req *QueryCampaignsRequest) (*QueryCampaignsResponse, error)
- func (*UnimplementedQueryServer) Mission(ctx context.Context, req *QueryMissionRequest) (*QueryMissionResponse, error)
- func (*UnimplementedQueryServer) Missions(ctx context.Context, req *QueryMissionsRequest) (*QueryMissionsResponse, error)
- func (*UnimplementedQueryServer) UserEntry(ctx context.Context, req *QueryUserEntryRequest) (*QueryUserEntryResponse, error)
- func (*UnimplementedQueryServer) UsersEntries(ctx context.Context, req *QueryUsersEntriesRequest) (*QueryUsersEntriesResponse, error)
- type UserEntry
- func (cr *UserEntry) DeleteClaimRecord(campaignId uint64)
- func (*UserEntry) Descriptor() ([]byte, []int)
- func (m *UserEntry) GetAddress() string
- func (cr *UserEntry) GetClaimRecord(campaignId uint64) *ClaimRecord
- func (m *UserEntry) GetClaimRecords() []*ClaimRecord
- func (m *UserEntry) HasCampaign(campaignId uint64) bool
- func (m *UserEntry) Marshal() (dAtA []byte, err error)
- func (m *UserEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *UserEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (cr *UserEntry) MustGetClaimRecord(camapaignId uint64) (*ClaimRecord, error)
- func (*UserEntry) ProtoMessage()
- func (m *UserEntry) Reset()
- func (m *UserEntry) Size() (n int)
- func (m *UserEntry) String() string
- func (m *UserEntry) Unmarshal(dAtA []byte) error
- func (m *UserEntry) Validate() error
- func (m *UserEntry) XXX_DiscardUnknown()
- func (m *UserEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserEntry) XXX_Merge(src proto.Message)
- func (m *UserEntry) XXX_Size() int
- func (m *UserEntry) XXX_Unmarshal(b []byte) error
Constants ¶
const ( UnspecifiedCampaign = CampaignType_CAMPAIGN_TYPE_UNSPECIFIED DefaultCampaign = CampaignType_DEFAULT VestingPoolCampaign = CampaignType_VESTING_POOL )
Campaign types
const ( // ModuleName defines the module name ModuleName = "cfeclaim" // 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 // MemStoreKey defines the in-memory store key MemStoreKey = "mem_cfeclaim" )
const ( TypeMsgAddClaimRecords = "add_claim_records" TypeMsgDeleteClaimRecord = "delete_claim_record" )
const ( MissionEmpty = MissionType_MISSION_TYPE_UNSPECIFIED MissionInitialClaim = MissionType_INITIAL_CLAIM MissionDelegate = MissionType_DELEGATE MissionVote = MissionType_VOTE MissionClaim = MissionType_CLAIM MissionToDefine = MissionType_TO_DEFINE )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const InitialMissionId = 0
const TypeMsgAddMission = "add_mission"
const TypeMsgClaim = "claim"
const TypeMsgCloseCampaign = "close_campaign"
const TypeMsgCreateCampaign = "create_campaign"
const TypeMsgEnableCampaign = "enable_campaign"
const TypeMsgInitialClaim = "initial_claim"
const TypeMsgRemoveCampaign = "remove_campaign"
Variables ¶
var ( ErrInvalidLengthCampaign = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCampaign = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCampaign = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthClaimRecord = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClaimRecord = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClaimRecord = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrCampaignDisabled = errors.Register(ModuleName, 2, "campaign is disabled") ErrMissionCompleted = errors.Register(ModuleName, 3, "mission already completed") ErrMissionClaimed = errors.Register(ModuleName, 4, "mission already claimed") ErrMissionNotCompleted = errors.Register(ModuleName, 5, "mission not completed yet") ErrMissionClaiming = errors.Register(ModuleName, 7, "mission claiming error") ErrMissionDisabled = errors.Register(ModuleName, 8, "mission is disabled") ErrCampaignEnabled = errors.Register(ModuleName, 9, "campaign is enabled") )
x/cfeclaim module sentinel errors
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( CampaignKeyPrefix = []byte{0x00} CampaignCountKeyPrefix = []byte{0x01} MissionKeyPrefix = []byte{0x02} MissionCountKeyPrefix = []byte{0x03} UserEntryKeyPrefix = []byte{0x04} )
var ( ErrInvalidLengthMission = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMission = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMission = 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 CampaignType_name = map[int32]string{
0: "CAMPAIGN_TYPE_UNSPECIFIED",
1: "DEFAULT",
2: "VESTING_POOL",
}
var CampaignType_value = map[string]int32{
"CAMPAIGN_TYPE_UNSPECIFIED": 0,
"DEFAULT": 1,
"VESTING_POOL": 2,
}
var MissionType_name = map[int32]string{
0: "MISSION_TYPE_UNSPECIFIED",
1: "INITIAL_CLAIM",
2: "DELEGATE",
3: "VOTE",
4: "CLAIM",
5: "TO_DEFINE",
}
var MissionType_value = map[string]int32{
"MISSION_TYPE_UNSPECIFIED": 0,
"INITIAL_CLAIM": 1,
"DELEGATE": 2,
"VOTE": 3,
"CLAIM": 4,
"TO_DEFINE": 5,
}
Functions ¶
func GetUint64Key ¶
func MissionKey ¶
func NormalizeCampaignType ¶
NormalizeCampaignType - normalize user specified vote option
func NormalizeMissionType ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func ValidateAddMission ¶
func ValidateCampaignTimes ¶
func ValidateClaimRecordEntries ¶
func ValidateClaimRecordEntries(claimRecordEntries []*ClaimRecordEntry) error
func ValidateMissionType ¶
func ValidateMissionType(missionType MissionType) error
func ValidateMissionWeight ¶
func ValidateMissionWeight(weight sdk.Dec, missionType MissionType) error
func ValidateVestingPoolCampaignClaimRecordEntries ¶
func ValidateVestingPoolCampaignClaimRecordEntries(claimRecordEntries []*ClaimRecordEntry, vestingDenom string) error
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI SetModuleAccount(ctx sdk.Context, macc authtypes.ModuleAccountI) NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI SetAccount(ctx sdk.Context, acc authtypes.AccountI) NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI }
AccountKeeper defines the expected account keeper interface
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins BlockedAddr(addr sdk.AccAddress) bool SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected interface needed to retrieve account balances.
type Campaign ¶
type Campaign struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` CampaignType CampaignType `` /* 127-byte string literal not displayed */ RemovableClaimRecords bool `` /* 127-byte string literal not displayed */ FeegrantAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ InitialClaimFreeAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ Free github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=free,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"free"` Enabled bool `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"` StartTime time.Time `protobuf:"bytes,11,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` EndTime time.Time `protobuf:"bytes,12,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` // period of locked coins from claim LockupPeriod time.Duration `protobuf:"bytes,13,opt,name=lockup_period,json=lockupPeriod,proto3,stdduration" json:"lockup_period"` // period of vesting coins after lockup period VestingPeriod time.Duration `protobuf:"bytes,14,opt,name=vesting_period,json=vestingPeriod,proto3,stdduration" json:"vesting_period"` VestingPoolName string `protobuf:"bytes,15,opt,name=vestingPoolName,proto3" json:"vestingPoolName,omitempty"` CampaignTotalAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 165-byte string literal not displayed */ CampaignCurrentAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 171-byte string literal not displayed */ }
func (*Campaign) DecrementCampaignCurrentAmount ¶
func (*Campaign) DecrementCampaignTotalAmount ¶
func (*Campaign) Descriptor ¶
func (*Campaign) GetCampaignCurrentAmount ¶
func (m *Campaign) GetCampaignCurrentAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Campaign) GetCampaignTotalAmount ¶
func (m *Campaign) GetCampaignTotalAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Campaign) GetCampaignType ¶
func (m *Campaign) GetCampaignType() CampaignType
func (*Campaign) GetDescription ¶
func (*Campaign) GetEnabled ¶
func (*Campaign) GetEndTime ¶
func (*Campaign) GetLockupPeriod ¶
func (*Campaign) GetRemovableClaimRecords ¶
func (*Campaign) GetStartTime ¶
func (*Campaign) GetVestingPeriod ¶
func (*Campaign) GetVestingPoolName ¶
func (*Campaign) IncrementCampaignCurrentAmount ¶
func (*Campaign) IncrementCampaignTotalAmount ¶
func (*Campaign) MarshalToSizedBuffer ¶
func (*Campaign) ProtoMessage ¶
func (*Campaign) ProtoMessage()
func (*Campaign) ValidateCloseCampaignParams ¶
func (*Campaign) ValidateEnableCampaignParams ¶
func (*Campaign) ValidateEndTimeAfterBlockTime ¶
func (*Campaign) ValidateIsEnabled ¶
func (*Campaign) ValidateNotEnabled ¶
func (*Campaign) ValidateOwner ¶
func (*Campaign) ValidateRemovableClaimRecords ¶
func (*Campaign) ValidateRemoveCampaignParams ¶
func (*Campaign) XXX_DiscardUnknown ¶
func (m *Campaign) XXX_DiscardUnknown()
func (*Campaign) XXX_Marshal ¶
func (*Campaign) XXX_Unmarshal ¶
type CampaignType ¶
type CampaignType int32
const ( CampaignType_CAMPAIGN_TYPE_UNSPECIFIED CampaignType = 0 CampaignType_DEFAULT CampaignType = 1 CampaignType_VESTING_POOL CampaignType = 2 )
func CampaignTypeFromString ¶
func CampaignTypeFromString(str string) (CampaignType, error)
func (CampaignType) EnumDescriptor ¶
func (CampaignType) EnumDescriptor() ([]byte, []int)
func (CampaignType) String ¶
func (x CampaignType) String() string
type CfeVestingKeeper ¶
type CfeVestingKeeper interface { Denom(ctx sdk.Context) (res string) AddVestingPoolReservation(ctx sdk.Context, owner string, vestingPoolName string, reservationId uint64, amout math.Int) error RemoveVestingPoolReservation(ctx sdk.Context, owner string, vestingPoolName string, reservationId uint64, amout math.Int) error SendReservedToNewVestingAccount(ctx sdk.Context, owner string, toAddr string, vestingPoolName string, amount math.Int, reservationId uint64, free sdk.Dec, lockupPeriod time.Duration, vestingPeriod time.Duration) error SendToPeriodicContinuousVestingAccountFromModule(ctx sdk.Context, moduleName string, userAddress string, amount sdk.Coins, free sdk.Dec, startTime int64, endTime int64) (periodId uint64, periodExists bool, err error) MustGetVestingPoolReservation(ctx sdk.Context, owner string, vestingPoolName string, reservationId uint64) (*cfevestingtypes.VestingPoolReservation, error) MustGetVestingTypeForVestingPool(ctx sdk.Context, address string, vestingPoolName string) (*cfevestingtypes.VestingType, error) }
VestingKeeper defines the expected feegrant keeper interface
type ClaimRecord ¶
type ClaimRecord struct { CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` CompletedMissions []uint64 `protobuf:"varint,4,rep,packed,name=completed_missions,json=completedMissions,proto3" json:"completed_missions,omitempty"` ClaimedMissions []uint64 `protobuf:"varint,5,rep,packed,name=claimed_missions,json=claimedMissions,proto3" json:"claimed_missions,omitempty"` }
func (*ClaimRecord) CalculateInitialClaimClaimableAmount ¶
func (m *ClaimRecord) CalculateInitialClaimClaimableAmount(weightSum sdk.Dec) sdk.Coins
CalculateInitialClaimClaimableAmount calculates the initial claimable amount for the claim record
func (*ClaimRecord) ClaimMission ¶
func (m *ClaimRecord) ClaimMission(campaignId uint64, missionId uint64) error
ClaimMission claims the specified mission ID for the claim record
func (ClaimRecord) ClaimableFromMission ¶
func (m ClaimRecord) ClaimableFromMission(mission *Mission) (sdk.Coins, error)
ClaimableFromMission returns the amount claimable for this claim record from the provided mission completion
func (*ClaimRecord) CompleteMission ¶
func (m *ClaimRecord) CompleteMission(campaignId uint64, missionId uint64) error
CompleteMission checks if the specified mission ID is completed for the claim record
func (*ClaimRecord) Descriptor ¶
func (*ClaimRecord) Descriptor() ([]byte, []int)
func (*ClaimRecord) GetAddress ¶
func (m *ClaimRecord) GetAddress() string
func (*ClaimRecord) GetAmount ¶
func (m *ClaimRecord) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*ClaimRecord) GetCampaignId ¶
func (m *ClaimRecord) GetCampaignId() uint64
func (*ClaimRecord) GetClaimedMissions ¶
func (m *ClaimRecord) GetClaimedMissions() []uint64
func (*ClaimRecord) GetCompletedMissions ¶
func (m *ClaimRecord) GetCompletedMissions() []uint64
func (*ClaimRecord) IsInitialMissionClaimed ¶
func (m *ClaimRecord) IsInitialMissionClaimed() bool
func (*ClaimRecord) IsMissionClaimed ¶
func (m *ClaimRecord) IsMissionClaimed(missionId uint64) bool
func (*ClaimRecord) IsMissionCompleted ¶
func (m *ClaimRecord) IsMissionCompleted(missionId uint64) bool
IsMissionCompleted checks if the specified mission ID is completed for the claim record
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) Validate ¶
func (claimRecord *ClaimRecord) Validate() 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 ClaimRecordEntry ¶
type ClaimRecordEntry struct { CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` UserEntryAddress string `protobuf:"bytes,2,opt,name=user_entry_address,json=userEntryAddress,proto3" json:"user_entry_address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func (*ClaimRecordEntry) Descriptor ¶
func (*ClaimRecordEntry) Descriptor() ([]byte, []int)
func (*ClaimRecordEntry) GetAmount ¶
func (m *ClaimRecordEntry) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*ClaimRecordEntry) GetCampaignId ¶
func (m *ClaimRecordEntry) GetCampaignId() uint64
func (*ClaimRecordEntry) GetUserEntryAddress ¶
func (m *ClaimRecordEntry) GetUserEntryAddress() string
func (*ClaimRecordEntry) Marshal ¶
func (m *ClaimRecordEntry) Marshal() (dAtA []byte, err error)
func (*ClaimRecordEntry) MarshalToSizedBuffer ¶
func (m *ClaimRecordEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClaimRecordEntry) ProtoMessage ¶
func (*ClaimRecordEntry) ProtoMessage()
func (*ClaimRecordEntry) Reset ¶
func (m *ClaimRecordEntry) Reset()
func (*ClaimRecordEntry) Size ¶
func (m *ClaimRecordEntry) Size() (n int)
func (*ClaimRecordEntry) String ¶
func (m *ClaimRecordEntry) String() string
func (*ClaimRecordEntry) Unmarshal ¶
func (m *ClaimRecordEntry) Unmarshal(dAtA []byte) error
func (*ClaimRecordEntry) Validate ¶
func (claimRecordEntry *ClaimRecordEntry) Validate() error
func (*ClaimRecordEntry) XXX_DiscardUnknown ¶
func (m *ClaimRecordEntry) XXX_DiscardUnknown()
func (*ClaimRecordEntry) XXX_Marshal ¶
func (m *ClaimRecordEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClaimRecordEntry) XXX_Merge ¶
func (m *ClaimRecordEntry) XXX_Merge(src proto.Message)
func (*ClaimRecordEntry) XXX_Size ¶
func (m *ClaimRecordEntry) XXX_Size() int
func (*ClaimRecordEntry) XXX_Unmarshal ¶
func (m *ClaimRecordEntry) XXX_Unmarshal(b []byte) error
type EventAddClaimRecords ¶
type EventAddClaimRecords struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` ClaimRecordsTotalAmount string `` /* 134-byte string literal not displayed */ ClaimRecordsNumber int64 `protobuf:"varint,4,opt,name=claim_records_number,json=claimRecordsNumber,proto3" json:"claim_records_number,omitempty"` }
func (*EventAddClaimRecords) Descriptor ¶
func (*EventAddClaimRecords) Descriptor() ([]byte, []int)
func (*EventAddClaimRecords) GetCampaignId ¶
func (m *EventAddClaimRecords) GetCampaignId() uint64
func (*EventAddClaimRecords) GetClaimRecordsNumber ¶
func (m *EventAddClaimRecords) GetClaimRecordsNumber() int64
func (*EventAddClaimRecords) GetClaimRecordsTotalAmount ¶
func (m *EventAddClaimRecords) GetClaimRecordsTotalAmount() string
func (*EventAddClaimRecords) GetOwner ¶
func (m *EventAddClaimRecords) GetOwner() string
func (*EventAddClaimRecords) Marshal ¶
func (m *EventAddClaimRecords) Marshal() (dAtA []byte, err error)
func (*EventAddClaimRecords) MarshalTo ¶
func (m *EventAddClaimRecords) MarshalTo(dAtA []byte) (int, error)
func (*EventAddClaimRecords) MarshalToSizedBuffer ¶
func (m *EventAddClaimRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAddClaimRecords) ProtoMessage ¶
func (*EventAddClaimRecords) ProtoMessage()
func (*EventAddClaimRecords) Reset ¶
func (m *EventAddClaimRecords) Reset()
func (*EventAddClaimRecords) Size ¶
func (m *EventAddClaimRecords) Size() (n int)
func (*EventAddClaimRecords) String ¶
func (m *EventAddClaimRecords) String() string
func (*EventAddClaimRecords) Unmarshal ¶
func (m *EventAddClaimRecords) Unmarshal(dAtA []byte) error
func (*EventAddClaimRecords) XXX_DiscardUnknown ¶
func (m *EventAddClaimRecords) XXX_DiscardUnknown()
func (*EventAddClaimRecords) XXX_Marshal ¶
func (m *EventAddClaimRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAddClaimRecords) XXX_Merge ¶
func (m *EventAddClaimRecords) XXX_Merge(src proto.Message)
func (*EventAddClaimRecords) XXX_Size ¶
func (m *EventAddClaimRecords) XXX_Size() int
func (*EventAddClaimRecords) XXX_Unmarshal ¶
func (m *EventAddClaimRecords) XXX_Unmarshal(b []byte) error
type EventAddMission ¶
type EventAddMission struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,3,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` MissionType MissionType `` /* 143-byte string literal not displayed */ Weight github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weight"` ClaimStartDate *time.Time `protobuf:"bytes,8,opt,name=claim_start_date,json=claimStartDate,proto3,stdtime" json:"claim_start_date,omitempty"` }
func (*EventAddMission) Descriptor ¶
func (*EventAddMission) Descriptor() ([]byte, []int)
func (*EventAddMission) GetCampaignId ¶
func (m *EventAddMission) GetCampaignId() uint64
func (*EventAddMission) GetClaimStartDate ¶
func (m *EventAddMission) GetClaimStartDate() *time.Time
func (*EventAddMission) GetDescription ¶
func (m *EventAddMission) GetDescription() string
func (*EventAddMission) GetId ¶
func (m *EventAddMission) GetId() uint64
func (*EventAddMission) GetMissionType ¶
func (m *EventAddMission) GetMissionType() MissionType
func (*EventAddMission) GetName ¶
func (m *EventAddMission) GetName() string
func (*EventAddMission) GetOwner ¶
func (m *EventAddMission) GetOwner() string
func (*EventAddMission) Marshal ¶
func (m *EventAddMission) Marshal() (dAtA []byte, err error)
func (*EventAddMission) MarshalToSizedBuffer ¶
func (m *EventAddMission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAddMission) ProtoMessage ¶
func (*EventAddMission) ProtoMessage()
func (*EventAddMission) Reset ¶
func (m *EventAddMission) Reset()
func (*EventAddMission) Size ¶
func (m *EventAddMission) Size() (n int)
func (*EventAddMission) String ¶
func (m *EventAddMission) String() string
func (*EventAddMission) Unmarshal ¶
func (m *EventAddMission) Unmarshal(dAtA []byte) error
func (*EventAddMission) XXX_DiscardUnknown ¶
func (m *EventAddMission) XXX_DiscardUnknown()
func (*EventAddMission) XXX_Marshal ¶
func (m *EventAddMission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAddMission) XXX_Merge ¶
func (m *EventAddMission) XXX_Merge(src proto.Message)
func (*EventAddMission) XXX_Size ¶
func (m *EventAddMission) XXX_Size() int
func (*EventAddMission) XXX_Unmarshal ¶
func (m *EventAddMission) XXX_Unmarshal(b []byte) error
type EventClaim ¶
type EventClaim struct { Claimer string `protobuf:"bytes,1,opt,name=claimer,proto3" json:"claimer,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` MissionId uint64 `protobuf:"varint,3,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*EventClaim) Descriptor ¶
func (*EventClaim) Descriptor() ([]byte, []int)
func (*EventClaim) GetAmount ¶
func (m *EventClaim) GetAmount() string
func (*EventClaim) GetCampaignId ¶
func (m *EventClaim) GetCampaignId() uint64
func (*EventClaim) GetClaimer ¶
func (m *EventClaim) GetClaimer() string
func (*EventClaim) GetMissionId ¶
func (m *EventClaim) GetMissionId() uint64
func (*EventClaim) Marshal ¶
func (m *EventClaim) Marshal() (dAtA []byte, err error)
func (*EventClaim) MarshalToSizedBuffer ¶
func (m *EventClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventClaim) ProtoMessage ¶
func (*EventClaim) ProtoMessage()
func (*EventClaim) Reset ¶
func (m *EventClaim) Reset()
func (*EventClaim) Size ¶
func (m *EventClaim) Size() (n int)
func (*EventClaim) String ¶
func (m *EventClaim) String() string
func (*EventClaim) Unmarshal ¶
func (m *EventClaim) Unmarshal(dAtA []byte) error
func (*EventClaim) XXX_DiscardUnknown ¶
func (m *EventClaim) XXX_DiscardUnknown()
func (*EventClaim) XXX_Marshal ¶
func (m *EventClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventClaim) XXX_Merge ¶
func (m *EventClaim) XXX_Merge(src proto.Message)
func (*EventClaim) XXX_Size ¶
func (m *EventClaim) XXX_Size() int
func (*EventClaim) XXX_Unmarshal ¶
func (m *EventClaim) XXX_Unmarshal(b []byte) error
type EventCloseCampaign ¶
type EventCloseCampaign struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` CampaignCloseAction string `protobuf:"bytes,3,opt,name=campaign_close_action,json=campaignCloseAction,proto3" json:"campaign_close_action,omitempty"` }
func (*EventCloseCampaign) Descriptor ¶
func (*EventCloseCampaign) Descriptor() ([]byte, []int)
func (*EventCloseCampaign) GetCampaignCloseAction ¶
func (m *EventCloseCampaign) GetCampaignCloseAction() string
func (*EventCloseCampaign) GetCampaignId ¶
func (m *EventCloseCampaign) GetCampaignId() uint64
func (*EventCloseCampaign) GetOwner ¶
func (m *EventCloseCampaign) GetOwner() string
func (*EventCloseCampaign) Marshal ¶
func (m *EventCloseCampaign) Marshal() (dAtA []byte, err error)
func (*EventCloseCampaign) MarshalTo ¶
func (m *EventCloseCampaign) MarshalTo(dAtA []byte) (int, error)
func (*EventCloseCampaign) MarshalToSizedBuffer ¶
func (m *EventCloseCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCloseCampaign) ProtoMessage ¶
func (*EventCloseCampaign) ProtoMessage()
func (*EventCloseCampaign) Reset ¶
func (m *EventCloseCampaign) Reset()
func (*EventCloseCampaign) Size ¶
func (m *EventCloseCampaign) Size() (n int)
func (*EventCloseCampaign) String ¶
func (m *EventCloseCampaign) String() string
func (*EventCloseCampaign) Unmarshal ¶
func (m *EventCloseCampaign) Unmarshal(dAtA []byte) error
func (*EventCloseCampaign) XXX_DiscardUnknown ¶
func (m *EventCloseCampaign) XXX_DiscardUnknown()
func (*EventCloseCampaign) XXX_Marshal ¶
func (m *EventCloseCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCloseCampaign) XXX_Merge ¶
func (m *EventCloseCampaign) XXX_Merge(src proto.Message)
func (*EventCloseCampaign) XXX_Size ¶
func (m *EventCloseCampaign) XXX_Size() int
func (*EventCloseCampaign) XXX_Unmarshal ¶
func (m *EventCloseCampaign) XXX_Unmarshal(b []byte) error
type EventCompleteMission ¶
type EventCompleteMission struct { CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` MissionId uint64 `protobuf:"varint,2,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` UserAddress string `protobuf:"bytes,3,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"` }
func (*EventCompleteMission) Descriptor ¶
func (*EventCompleteMission) Descriptor() ([]byte, []int)
func (*EventCompleteMission) GetCampaignId ¶
func (m *EventCompleteMission) GetCampaignId() uint64
func (*EventCompleteMission) GetMissionId ¶
func (m *EventCompleteMission) GetMissionId() uint64
func (*EventCompleteMission) GetUserAddress ¶
func (m *EventCompleteMission) GetUserAddress() string
func (*EventCompleteMission) Marshal ¶
func (m *EventCompleteMission) Marshal() (dAtA []byte, err error)
func (*EventCompleteMission) MarshalTo ¶
func (m *EventCompleteMission) MarshalTo(dAtA []byte) (int, error)
func (*EventCompleteMission) MarshalToSizedBuffer ¶
func (m *EventCompleteMission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCompleteMission) ProtoMessage ¶
func (*EventCompleteMission) ProtoMessage()
func (*EventCompleteMission) Reset ¶
func (m *EventCompleteMission) Reset()
func (*EventCompleteMission) Size ¶
func (m *EventCompleteMission) Size() (n int)
func (*EventCompleteMission) String ¶
func (m *EventCompleteMission) String() string
func (*EventCompleteMission) Unmarshal ¶
func (m *EventCompleteMission) Unmarshal(dAtA []byte) error
func (*EventCompleteMission) XXX_DiscardUnknown ¶
func (m *EventCompleteMission) XXX_DiscardUnknown()
func (*EventCompleteMission) XXX_Marshal ¶
func (m *EventCompleteMission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCompleteMission) XXX_Merge ¶
func (m *EventCompleteMission) XXX_Merge(src proto.Message)
func (*EventCompleteMission) XXX_Size ¶
func (m *EventCompleteMission) XXX_Size() int
func (*EventCompleteMission) XXX_Unmarshal ¶
func (m *EventCompleteMission) XXX_Unmarshal(b []byte) error
type EventDeleteClaimRecord ¶
type EventDeleteClaimRecord struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` UserAddress string `protobuf:"bytes,3,opt,name=userAddress,proto3" json:"userAddress,omitempty"` ClaimRecordAmount string `protobuf:"bytes,4,opt,name=claim_record_amount,json=claimRecordAmount,proto3" json:"claim_record_amount,omitempty"` }
func (*EventDeleteClaimRecord) Descriptor ¶
func (*EventDeleteClaimRecord) Descriptor() ([]byte, []int)
func (*EventDeleteClaimRecord) GetCampaignId ¶
func (m *EventDeleteClaimRecord) GetCampaignId() uint64
func (*EventDeleteClaimRecord) GetClaimRecordAmount ¶
func (m *EventDeleteClaimRecord) GetClaimRecordAmount() string
func (*EventDeleteClaimRecord) GetOwner ¶
func (m *EventDeleteClaimRecord) GetOwner() string
func (*EventDeleteClaimRecord) GetUserAddress ¶
func (m *EventDeleteClaimRecord) GetUserAddress() string
func (*EventDeleteClaimRecord) Marshal ¶
func (m *EventDeleteClaimRecord) Marshal() (dAtA []byte, err error)
func (*EventDeleteClaimRecord) MarshalTo ¶
func (m *EventDeleteClaimRecord) MarshalTo(dAtA []byte) (int, error)
func (*EventDeleteClaimRecord) MarshalToSizedBuffer ¶
func (m *EventDeleteClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventDeleteClaimRecord) ProtoMessage ¶
func (*EventDeleteClaimRecord) ProtoMessage()
func (*EventDeleteClaimRecord) Reset ¶
func (m *EventDeleteClaimRecord) Reset()
func (*EventDeleteClaimRecord) Size ¶
func (m *EventDeleteClaimRecord) Size() (n int)
func (*EventDeleteClaimRecord) String ¶
func (m *EventDeleteClaimRecord) String() string
func (*EventDeleteClaimRecord) Unmarshal ¶
func (m *EventDeleteClaimRecord) Unmarshal(dAtA []byte) error
func (*EventDeleteClaimRecord) XXX_DiscardUnknown ¶
func (m *EventDeleteClaimRecord) XXX_DiscardUnknown()
func (*EventDeleteClaimRecord) XXX_Marshal ¶
func (m *EventDeleteClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventDeleteClaimRecord) XXX_Merge ¶
func (m *EventDeleteClaimRecord) XXX_Merge(src proto.Message)
func (*EventDeleteClaimRecord) XXX_Size ¶
func (m *EventDeleteClaimRecord) XXX_Size() int
func (*EventDeleteClaimRecord) XXX_Unmarshal ¶
func (m *EventDeleteClaimRecord) XXX_Unmarshal(b []byte) error
type EventEnableCampaign ¶
type EventEnableCampaign struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` }
func (*EventEnableCampaign) Descriptor ¶
func (*EventEnableCampaign) Descriptor() ([]byte, []int)
func (*EventEnableCampaign) GetCampaignId ¶
func (m *EventEnableCampaign) GetCampaignId() uint64
func (*EventEnableCampaign) GetOwner ¶
func (m *EventEnableCampaign) GetOwner() string
func (*EventEnableCampaign) Marshal ¶
func (m *EventEnableCampaign) Marshal() (dAtA []byte, err error)
func (*EventEnableCampaign) MarshalTo ¶
func (m *EventEnableCampaign) MarshalTo(dAtA []byte) (int, error)
func (*EventEnableCampaign) MarshalToSizedBuffer ¶
func (m *EventEnableCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventEnableCampaign) ProtoMessage ¶
func (*EventEnableCampaign) ProtoMessage()
func (*EventEnableCampaign) Reset ¶
func (m *EventEnableCampaign) Reset()
func (*EventEnableCampaign) Size ¶
func (m *EventEnableCampaign) Size() (n int)
func (*EventEnableCampaign) String ¶
func (m *EventEnableCampaign) String() string
func (*EventEnableCampaign) Unmarshal ¶
func (m *EventEnableCampaign) Unmarshal(dAtA []byte) error
func (*EventEnableCampaign) XXX_DiscardUnknown ¶
func (m *EventEnableCampaign) XXX_DiscardUnknown()
func (*EventEnableCampaign) XXX_Marshal ¶
func (m *EventEnableCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventEnableCampaign) XXX_Merge ¶
func (m *EventEnableCampaign) XXX_Merge(src proto.Message)
func (*EventEnableCampaign) XXX_Size ¶
func (m *EventEnableCampaign) XXX_Size() int
func (*EventEnableCampaign) XXX_Unmarshal ¶
func (m *EventEnableCampaign) XXX_Unmarshal(b []byte) error
type EventInitialClaim ¶
type EventInitialClaim struct { Claimer string `protobuf:"bytes,1,opt,name=claimer,proto3" json:"claimer,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` AddressToClaim string `protobuf:"bytes,3,opt,name=address_to_claim,json=addressToClaim,proto3" json:"address_to_claim,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*EventInitialClaim) Descriptor ¶
func (*EventInitialClaim) Descriptor() ([]byte, []int)
func (*EventInitialClaim) GetAddressToClaim ¶
func (m *EventInitialClaim) GetAddressToClaim() string
func (*EventInitialClaim) GetAmount ¶
func (m *EventInitialClaim) GetAmount() string
func (*EventInitialClaim) GetCampaignId ¶
func (m *EventInitialClaim) GetCampaignId() uint64
func (*EventInitialClaim) GetClaimer ¶
func (m *EventInitialClaim) GetClaimer() string
func (*EventInitialClaim) Marshal ¶
func (m *EventInitialClaim) Marshal() (dAtA []byte, err error)
func (*EventInitialClaim) MarshalTo ¶
func (m *EventInitialClaim) MarshalTo(dAtA []byte) (int, error)
func (*EventInitialClaim) MarshalToSizedBuffer ¶
func (m *EventInitialClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventInitialClaim) ProtoMessage ¶
func (*EventInitialClaim) ProtoMessage()
func (*EventInitialClaim) Reset ¶
func (m *EventInitialClaim) Reset()
func (*EventInitialClaim) Size ¶
func (m *EventInitialClaim) Size() (n int)
func (*EventInitialClaim) String ¶
func (m *EventInitialClaim) String() string
func (*EventInitialClaim) Unmarshal ¶
func (m *EventInitialClaim) Unmarshal(dAtA []byte) error
func (*EventInitialClaim) XXX_DiscardUnknown ¶
func (m *EventInitialClaim) XXX_DiscardUnknown()
func (*EventInitialClaim) XXX_Marshal ¶
func (m *EventInitialClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventInitialClaim) XXX_Merge ¶
func (m *EventInitialClaim) XXX_Merge(src proto.Message)
func (*EventInitialClaim) XXX_Size ¶
func (m *EventInitialClaim) XXX_Size() int
func (*EventInitialClaim) XXX_Unmarshal ¶
func (m *EventInitialClaim) XXX_Unmarshal(b []byte) error
type EventNewCampaign ¶
type EventNewCampaign struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` CampaignType CampaignType `` /* 147-byte string literal not displayed */ RemovableClaimRecords bool `` /* 127-byte string literal not displayed */ FeegrantAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 143-byte string literal not displayed */ InitialClaimFreeAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 171-byte string literal not displayed */ Free github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=free,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"free"` Enabled bool `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"` StartTime time.Time `protobuf:"bytes,11,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` EndTime time.Time `protobuf:"bytes,12,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time"` LockupPeriod time.Duration `protobuf:"bytes,13,opt,name=lockup_period,json=lockupPeriod,proto3,stdduration" json:"lockup_period"` VestingPeriod time.Duration `protobuf:"bytes,14,opt,name=vesting_period,json=vestingPeriod,proto3,stdduration" json:"vesting_period"` VestingPoolName string `protobuf:"bytes,15,opt,name=vesting_poolName,json=vestingPoolName,proto3" json:"vesting_poolName,omitempty"` }
func (*EventNewCampaign) Descriptor ¶
func (*EventNewCampaign) Descriptor() ([]byte, []int)
func (*EventNewCampaign) GetCampaignType ¶
func (m *EventNewCampaign) GetCampaignType() CampaignType
func (*EventNewCampaign) GetDescription ¶
func (m *EventNewCampaign) GetDescription() string
func (*EventNewCampaign) GetEnabled ¶
func (m *EventNewCampaign) GetEnabled() bool
func (*EventNewCampaign) GetEndTime ¶
func (m *EventNewCampaign) GetEndTime() time.Time
func (*EventNewCampaign) GetId ¶
func (m *EventNewCampaign) GetId() uint64
func (*EventNewCampaign) GetLockupPeriod ¶
func (m *EventNewCampaign) GetLockupPeriod() time.Duration
func (*EventNewCampaign) GetName ¶
func (m *EventNewCampaign) GetName() string
func (*EventNewCampaign) GetOwner ¶
func (m *EventNewCampaign) GetOwner() string
func (*EventNewCampaign) GetRemovableClaimRecords ¶
func (m *EventNewCampaign) GetRemovableClaimRecords() bool
func (*EventNewCampaign) GetStartTime ¶
func (m *EventNewCampaign) GetStartTime() time.Time
func (*EventNewCampaign) GetVestingPeriod ¶
func (m *EventNewCampaign) GetVestingPeriod() time.Duration
func (*EventNewCampaign) GetVestingPoolName ¶
func (m *EventNewCampaign) GetVestingPoolName() string
func (*EventNewCampaign) Marshal ¶
func (m *EventNewCampaign) Marshal() (dAtA []byte, err error)
func (*EventNewCampaign) MarshalToSizedBuffer ¶
func (m *EventNewCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventNewCampaign) ProtoMessage ¶
func (*EventNewCampaign) ProtoMessage()
func (*EventNewCampaign) Reset ¶
func (m *EventNewCampaign) Reset()
func (*EventNewCampaign) Size ¶
func (m *EventNewCampaign) Size() (n int)
func (*EventNewCampaign) String ¶
func (m *EventNewCampaign) String() string
func (*EventNewCampaign) Unmarshal ¶
func (m *EventNewCampaign) Unmarshal(dAtA []byte) error
func (*EventNewCampaign) XXX_DiscardUnknown ¶
func (m *EventNewCampaign) XXX_DiscardUnknown()
func (*EventNewCampaign) XXX_Marshal ¶
func (m *EventNewCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventNewCampaign) XXX_Merge ¶
func (m *EventNewCampaign) XXX_Merge(src proto.Message)
func (*EventNewCampaign) XXX_Size ¶
func (m *EventNewCampaign) XXX_Size() int
func (*EventNewCampaign) XXX_Unmarshal ¶
func (m *EventNewCampaign) XXX_Unmarshal(b []byte) error
type EventRemoveCampaign ¶
type EventRemoveCampaign struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` }
func (*EventRemoveCampaign) Descriptor ¶
func (*EventRemoveCampaign) Descriptor() ([]byte, []int)
func (*EventRemoveCampaign) GetCampaignId ¶
func (m *EventRemoveCampaign) GetCampaignId() uint64
func (*EventRemoveCampaign) GetOwner ¶
func (m *EventRemoveCampaign) GetOwner() string
func (*EventRemoveCampaign) Marshal ¶
func (m *EventRemoveCampaign) Marshal() (dAtA []byte, err error)
func (*EventRemoveCampaign) MarshalTo ¶
func (m *EventRemoveCampaign) MarshalTo(dAtA []byte) (int, error)
func (*EventRemoveCampaign) MarshalToSizedBuffer ¶
func (m *EventRemoveCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRemoveCampaign) ProtoMessage ¶
func (*EventRemoveCampaign) ProtoMessage()
func (*EventRemoveCampaign) Reset ¶
func (m *EventRemoveCampaign) Reset()
func (*EventRemoveCampaign) Size ¶
func (m *EventRemoveCampaign) Size() (n int)
func (*EventRemoveCampaign) String ¶
func (m *EventRemoveCampaign) String() string
func (*EventRemoveCampaign) Unmarshal ¶
func (m *EventRemoveCampaign) Unmarshal(dAtA []byte) error
func (*EventRemoveCampaign) XXX_DiscardUnknown ¶
func (m *EventRemoveCampaign) XXX_DiscardUnknown()
func (*EventRemoveCampaign) XXX_Marshal ¶
func (m *EventRemoveCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRemoveCampaign) XXX_Merge ¶
func (m *EventRemoveCampaign) XXX_Merge(src proto.Message)
func (*EventRemoveCampaign) XXX_Size ¶
func (m *EventRemoveCampaign) XXX_Size() int
func (*EventRemoveCampaign) XXX_Unmarshal ¶
func (m *EventRemoveCampaign) XXX_Unmarshal(b []byte) error
type FeeGrantKeeper ¶
type FeeGrantKeeper interface { GrantAllowance(ctx sdk.Context, granter, grantee sdk.AccAddress, feeAllowance feegrant.FeeAllowanceI) error GetAllowance(ctx sdk.Context, granter, grantee sdk.AccAddress) (feegrant.FeeAllowanceI, error) }
FeeGrantKeeper defines the expected feegrant keeper interface
type GenesisState ¶
type GenesisState struct { Campaigns []Campaign `protobuf:"bytes,1,rep,name=campaigns,proto3" json:"campaigns"` CampaignCount uint64 `protobuf:"varint,2,opt,name=campaign_count,json=campaignCount,proto3" json:"campaign_count,omitempty"` UsersEntries []UserEntry `protobuf:"bytes,3,rep,name=users_entries,json=usersEntries,proto3" json:"users_entries"` Missions []Mission `protobuf:"bytes,4,rep,name=missions,proto3" json:"missions"` MissionCounts []*MissionCount `protobuf:"bytes,5,rep,name=mission_counts,json=missionCounts,proto3" json:"mission_counts,omitempty"` }
GenesisState defines the cfeclaim module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCampaignCount ¶
func (m *GenesisState) GetCampaignCount() uint64
func (*GenesisState) GetCampaigns ¶
func (m *GenesisState) GetCampaigns() []Campaign
func (*GenesisState) GetMissionCounts ¶
func (m *GenesisState) GetMissionCounts() []*MissionCount
func (*GenesisState) GetMissions ¶
func (m *GenesisState) GetMissions() []Mission
func (*GenesisState) GetUsersEntries ¶
func (m *GenesisState) GetUsersEntries() []UserEntry
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 Mission ¶
type Mission struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` MissionType MissionType `protobuf:"varint,5,opt,name=missionType,proto3,enum=chain4energy.c4echain.cfeclaim.MissionType" json:"missionType,omitempty"` Weight github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weight"` ClaimStartDate *time.Time `protobuf:"bytes,7,opt,name=claim_start_date,json=claimStartDate,proto3,stdtime" json:"claim_start_date,omitempty"` }
func NewInitialMission ¶
func (*Mission) Descriptor ¶
func (*Mission) GetCampaignId ¶
func (*Mission) GetClaimStartDate ¶
func (*Mission) GetDescription ¶
func (*Mission) GetMissionType ¶
func (m *Mission) GetMissionType() MissionType
func (*Mission) MarshalToSizedBuffer ¶
func (*Mission) ProtoMessage ¶
func (*Mission) ProtoMessage()
func (*Mission) XXX_DiscardUnknown ¶
func (m *Mission) XXX_DiscardUnknown()
func (*Mission) XXX_Marshal ¶
func (*Mission) XXX_Unmarshal ¶
type MissionCount ¶
type MissionCount struct { CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` }
func (*MissionCount) Descriptor ¶
func (*MissionCount) Descriptor() ([]byte, []int)
func (*MissionCount) GetCampaignId ¶
func (m *MissionCount) GetCampaignId() uint64
func (*MissionCount) GetCount ¶
func (m *MissionCount) GetCount() uint64
func (*MissionCount) Marshal ¶
func (m *MissionCount) Marshal() (dAtA []byte, err error)
func (*MissionCount) MarshalToSizedBuffer ¶
func (m *MissionCount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MissionCount) ProtoMessage ¶
func (*MissionCount) ProtoMessage()
func (*MissionCount) Reset ¶
func (m *MissionCount) Reset()
func (*MissionCount) Size ¶
func (m *MissionCount) Size() (n int)
func (*MissionCount) String ¶
func (m *MissionCount) String() string
func (*MissionCount) Unmarshal ¶
func (m *MissionCount) Unmarshal(dAtA []byte) error
func (*MissionCount) XXX_DiscardUnknown ¶
func (m *MissionCount) XXX_DiscardUnknown()
func (*MissionCount) XXX_Marshal ¶
func (m *MissionCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MissionCount) XXX_Merge ¶
func (m *MissionCount) XXX_Merge(src proto.Message)
func (*MissionCount) XXX_Size ¶
func (m *MissionCount) XXX_Size() int
func (*MissionCount) XXX_Unmarshal ¶
func (m *MissionCount) XXX_Unmarshal(b []byte) error
type MissionType ¶
type MissionType int32
const ( MissionType_MISSION_TYPE_UNSPECIFIED MissionType = 0 MissionType_INITIAL_CLAIM MissionType = 1 MissionType_DELEGATE MissionType = 2 MissionType_VOTE MissionType = 3 MissionType_CLAIM MissionType = 4 MissionType_TO_DEFINE MissionType = 5 )
func MissionTypeFromString ¶
func MissionTypeFromString(str string) (MissionType, error)
func (MissionType) EnumDescriptor ¶
func (MissionType) EnumDescriptor() ([]byte, []int)
func (MissionType) String ¶
func (x MissionType) String() string
type MsgAddClaimRecords ¶
type MsgAddClaimRecords struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` ClaimRecordEntries []*ClaimRecordEntry `protobuf:"bytes,3,rep,name=claim_record_entries,json=claimRecordEntries,proto3" json:"claim_record_entries,omitempty"` }
func NewMsgAddClaimRecords ¶
func NewMsgAddClaimRecords(onwer string, campaignId uint64, claimRecordEntries []*ClaimRecordEntry) *MsgAddClaimRecords
func (*MsgAddClaimRecords) Descriptor ¶
func (*MsgAddClaimRecords) Descriptor() ([]byte, []int)
func (*MsgAddClaimRecords) GetCampaignId ¶
func (m *MsgAddClaimRecords) GetCampaignId() uint64
func (*MsgAddClaimRecords) GetClaimRecordEntries ¶
func (m *MsgAddClaimRecords) GetClaimRecordEntries() []*ClaimRecordEntry
func (*MsgAddClaimRecords) GetOwner ¶
func (m *MsgAddClaimRecords) GetOwner() string
func (*MsgAddClaimRecords) GetSignBytes ¶
func (msg *MsgAddClaimRecords) GetSignBytes() []byte
func (*MsgAddClaimRecords) GetSigners ¶
func (msg *MsgAddClaimRecords) GetSigners() []sdk.AccAddress
func (*MsgAddClaimRecords) Marshal ¶
func (m *MsgAddClaimRecords) Marshal() (dAtA []byte, err error)
func (*MsgAddClaimRecords) MarshalTo ¶
func (m *MsgAddClaimRecords) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddClaimRecords) MarshalToSizedBuffer ¶
func (m *MsgAddClaimRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddClaimRecords) ProtoMessage ¶
func (*MsgAddClaimRecords) ProtoMessage()
func (*MsgAddClaimRecords) Reset ¶
func (m *MsgAddClaimRecords) Reset()
func (*MsgAddClaimRecords) Route ¶
func (msg *MsgAddClaimRecords) Route() string
func (*MsgAddClaimRecords) Size ¶
func (m *MsgAddClaimRecords) Size() (n int)
func (*MsgAddClaimRecords) String ¶
func (m *MsgAddClaimRecords) String() string
func (*MsgAddClaimRecords) Type ¶
func (msg *MsgAddClaimRecords) Type() string
func (*MsgAddClaimRecords) Unmarshal ¶
func (m *MsgAddClaimRecords) Unmarshal(dAtA []byte) error
func (*MsgAddClaimRecords) ValidateBasic ¶
func (msg *MsgAddClaimRecords) ValidateBasic() error
func (*MsgAddClaimRecords) XXX_DiscardUnknown ¶
func (m *MsgAddClaimRecords) XXX_DiscardUnknown()
func (*MsgAddClaimRecords) XXX_Marshal ¶
func (m *MsgAddClaimRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddClaimRecords) XXX_Merge ¶
func (m *MsgAddClaimRecords) XXX_Merge(src proto.Message)
func (*MsgAddClaimRecords) XXX_Size ¶
func (m *MsgAddClaimRecords) XXX_Size() int
func (*MsgAddClaimRecords) XXX_Unmarshal ¶
func (m *MsgAddClaimRecords) XXX_Unmarshal(b []byte) error
type MsgAddClaimRecordsResponse ¶
type MsgAddClaimRecordsResponse struct { }
func (*MsgAddClaimRecordsResponse) Descriptor ¶
func (*MsgAddClaimRecordsResponse) Descriptor() ([]byte, []int)
func (*MsgAddClaimRecordsResponse) Marshal ¶
func (m *MsgAddClaimRecordsResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddClaimRecordsResponse) MarshalTo ¶
func (m *MsgAddClaimRecordsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddClaimRecordsResponse) MarshalToSizedBuffer ¶
func (m *MsgAddClaimRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddClaimRecordsResponse) ProtoMessage ¶
func (*MsgAddClaimRecordsResponse) ProtoMessage()
func (*MsgAddClaimRecordsResponse) Reset ¶
func (m *MsgAddClaimRecordsResponse) Reset()
func (*MsgAddClaimRecordsResponse) Size ¶
func (m *MsgAddClaimRecordsResponse) Size() (n int)
func (*MsgAddClaimRecordsResponse) String ¶
func (m *MsgAddClaimRecordsResponse) String() string
func (*MsgAddClaimRecordsResponse) Unmarshal ¶
func (m *MsgAddClaimRecordsResponse) Unmarshal(dAtA []byte) error
func (*MsgAddClaimRecordsResponse) XXX_DiscardUnknown ¶
func (m *MsgAddClaimRecordsResponse) XXX_DiscardUnknown()
func (*MsgAddClaimRecordsResponse) XXX_Marshal ¶
func (m *MsgAddClaimRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddClaimRecordsResponse) XXX_Merge ¶
func (m *MsgAddClaimRecordsResponse) XXX_Merge(src proto.Message)
func (*MsgAddClaimRecordsResponse) XXX_Size ¶
func (m *MsgAddClaimRecordsResponse) XXX_Size() int
func (*MsgAddClaimRecordsResponse) XXX_Unmarshal ¶
func (m *MsgAddClaimRecordsResponse) XXX_Unmarshal(b []byte) error
type MsgAddMission ¶
type MsgAddMission struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` MissionType MissionType `` /* 143-byte string literal not displayed */ Weight *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=weight,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"weight,omitempty"` ClaimStartDate *time.Time `protobuf:"bytes,7,opt,name=claim_start_date,json=claimStartDate,proto3,stdtime" json:"claim_start_date,omitempty"` }
func NewMsgAddMission ¶
func NewMsgAddMission(owner string, campaignId uint64, name string, description string, missionType MissionType, weight *sdk.Dec, claimStartDate *time.Time) *MsgAddMission
func (*MsgAddMission) Descriptor ¶
func (*MsgAddMission) Descriptor() ([]byte, []int)
func (*MsgAddMission) GetCampaignId ¶
func (m *MsgAddMission) GetCampaignId() uint64
func (*MsgAddMission) GetClaimStartDate ¶
func (m *MsgAddMission) GetClaimStartDate() *time.Time
func (*MsgAddMission) GetDescription ¶
func (m *MsgAddMission) GetDescription() string
func (*MsgAddMission) GetMissionType ¶
func (m *MsgAddMission) GetMissionType() MissionType
func (*MsgAddMission) GetName ¶
func (m *MsgAddMission) GetName() string
func (*MsgAddMission) GetOwner ¶
func (m *MsgAddMission) GetOwner() string
func (*MsgAddMission) GetSignBytes ¶
func (msg *MsgAddMission) GetSignBytes() []byte
func (*MsgAddMission) GetSigners ¶
func (msg *MsgAddMission) GetSigners() []sdk.AccAddress
func (*MsgAddMission) Marshal ¶
func (m *MsgAddMission) Marshal() (dAtA []byte, err error)
func (*MsgAddMission) MarshalToSizedBuffer ¶
func (m *MsgAddMission) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMission) ProtoMessage ¶
func (*MsgAddMission) ProtoMessage()
func (*MsgAddMission) Reset ¶
func (m *MsgAddMission) Reset()
func (*MsgAddMission) Route ¶
func (msg *MsgAddMission) Route() string
func (*MsgAddMission) Size ¶
func (m *MsgAddMission) Size() (n int)
func (*MsgAddMission) String ¶
func (m *MsgAddMission) String() string
func (*MsgAddMission) Type ¶
func (msg *MsgAddMission) Type() string
func (*MsgAddMission) Unmarshal ¶
func (m *MsgAddMission) Unmarshal(dAtA []byte) error
func (*MsgAddMission) ValidateBasic ¶
func (msg *MsgAddMission) ValidateBasic() error
func (*MsgAddMission) XXX_DiscardUnknown ¶
func (m *MsgAddMission) XXX_DiscardUnknown()
func (*MsgAddMission) XXX_Marshal ¶
func (m *MsgAddMission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMission) XXX_Merge ¶
func (m *MsgAddMission) XXX_Merge(src proto.Message)
func (*MsgAddMission) XXX_Size ¶
func (m *MsgAddMission) XXX_Size() int
func (*MsgAddMission) XXX_Unmarshal ¶
func (m *MsgAddMission) XXX_Unmarshal(b []byte) error
type MsgAddMissionResponse ¶
type MsgAddMissionResponse struct {
MissionId uint64 `protobuf:"varint,1,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"`
}
func (*MsgAddMissionResponse) Descriptor ¶
func (*MsgAddMissionResponse) Descriptor() ([]byte, []int)
func (*MsgAddMissionResponse) GetMissionId ¶
func (m *MsgAddMissionResponse) GetMissionId() uint64
func (*MsgAddMissionResponse) Marshal ¶
func (m *MsgAddMissionResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddMissionResponse) MarshalTo ¶
func (m *MsgAddMissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMissionResponse) MarshalToSizedBuffer ¶
func (m *MsgAddMissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMissionResponse) ProtoMessage ¶
func (*MsgAddMissionResponse) ProtoMessage()
func (*MsgAddMissionResponse) Reset ¶
func (m *MsgAddMissionResponse) Reset()
func (*MsgAddMissionResponse) Size ¶
func (m *MsgAddMissionResponse) Size() (n int)
func (*MsgAddMissionResponse) String ¶
func (m *MsgAddMissionResponse) String() string
func (*MsgAddMissionResponse) Unmarshal ¶
func (m *MsgAddMissionResponse) Unmarshal(dAtA []byte) error
func (*MsgAddMissionResponse) XXX_DiscardUnknown ¶
func (m *MsgAddMissionResponse) XXX_DiscardUnknown()
func (*MsgAddMissionResponse) XXX_Marshal ¶
func (m *MsgAddMissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMissionResponse) XXX_Merge ¶
func (m *MsgAddMissionResponse) XXX_Merge(src proto.Message)
func (*MsgAddMissionResponse) XXX_Size ¶
func (m *MsgAddMissionResponse) XXX_Size() int
func (*MsgAddMissionResponse) XXX_Unmarshal ¶
func (m *MsgAddMissionResponse) XXX_Unmarshal(b []byte) error
type MsgClaim ¶
type MsgClaim struct { Claimer string `protobuf:"bytes,1,opt,name=claimer,proto3" json:"claimer,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` MissionId uint64 `protobuf:"varint,3,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` }
func (*MsgClaim) Descriptor ¶
func (*MsgClaim) GetCampaignId ¶
func (*MsgClaim) GetClaimer ¶
func (*MsgClaim) GetMissionId ¶
func (*MsgClaim) GetSignBytes ¶
func (*MsgClaim) GetSigners ¶
func (msg *MsgClaim) GetSigners() []sdk.AccAddress
func (*MsgClaim) MarshalToSizedBuffer ¶
func (*MsgClaim) ProtoMessage ¶
func (*MsgClaim) ProtoMessage()
func (*MsgClaim) ValidateBasic ¶
func (*MsgClaim) XXX_DiscardUnknown ¶
func (m *MsgClaim) XXX_DiscardUnknown()
func (*MsgClaim) XXX_Marshal ¶
func (*MsgClaim) XXX_Unmarshal ¶
type MsgClaimResponse ¶
type MsgClaimResponse struct {
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
func (*MsgClaimResponse) Descriptor ¶
func (*MsgClaimResponse) Descriptor() ([]byte, []int)
func (*MsgClaimResponse) GetAmount ¶
func (m *MsgClaimResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgClaimResponse) Marshal ¶
func (m *MsgClaimResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimResponse) ProtoMessage ¶
func (*MsgClaimResponse) ProtoMessage()
func (*MsgClaimResponse) Reset ¶
func (m *MsgClaimResponse) Reset()
func (*MsgClaimResponse) Size ¶
func (m *MsgClaimResponse) Size() (n int)
func (*MsgClaimResponse) String ¶
func (m *MsgClaimResponse) String() string
func (*MsgClaimResponse) Unmarshal ¶
func (m *MsgClaimResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimResponse) XXX_DiscardUnknown()
func (*MsgClaimResponse) XXX_Marshal ¶
func (m *MsgClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimResponse) XXX_Merge ¶
func (m *MsgClaimResponse) XXX_Merge(src proto.Message)
func (*MsgClaimResponse) XXX_Size ¶
func (m *MsgClaimResponse) XXX_Size() int
func (*MsgClaimResponse) XXX_Unmarshal ¶
func (m *MsgClaimResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { Claim(ctx context.Context, in *MsgClaim, opts ...grpc.CallOption) (*MsgClaimResponse, error) InitialClaim(ctx context.Context, in *MsgInitialClaim, opts ...grpc.CallOption) (*MsgInitialClaimResponse, error) CreateCampaign(ctx context.Context, in *MsgCreateCampaign, opts ...grpc.CallOption) (*MsgCreateCampaignResponse, error) AddMission(ctx context.Context, in *MsgAddMission, opts ...grpc.CallOption) (*MsgAddMissionResponse, error) AddClaimRecords(ctx context.Context, in *MsgAddClaimRecords, opts ...grpc.CallOption) (*MsgAddClaimRecordsResponse, error) DeleteClaimRecord(ctx context.Context, in *MsgDeleteClaimRecord, opts ...grpc.CallOption) (*MsgDeleteClaimRecordResponse, error) CloseCampaign(ctx context.Context, in *MsgCloseCampaign, opts ...grpc.CallOption) (*MsgCloseCampaignResponse, error) EnableCampaign(ctx context.Context, in *MsgEnableCampaign, opts ...grpc.CallOption) (*MsgEnableCampaignResponse, error) RemoveCampaign(ctx context.Context, in *MsgRemoveCampaign, opts ...grpc.CallOption) (*MsgRemoveCampaignResponse, 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 MsgCloseCampaign ¶
type MsgCloseCampaign struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` }
func NewMsgCloseCampaign ¶
func NewMsgCloseCampaign(owner string, campaignId uint64) *MsgCloseCampaign
func (*MsgCloseCampaign) Descriptor ¶
func (*MsgCloseCampaign) Descriptor() ([]byte, []int)
func (*MsgCloseCampaign) GetCampaignId ¶
func (m *MsgCloseCampaign) GetCampaignId() uint64
func (*MsgCloseCampaign) GetOwner ¶
func (m *MsgCloseCampaign) GetOwner() string
func (*MsgCloseCampaign) GetSignBytes ¶
func (msg *MsgCloseCampaign) GetSignBytes() []byte
func (*MsgCloseCampaign) GetSigners ¶
func (msg *MsgCloseCampaign) GetSigners() []sdk.AccAddress
func (*MsgCloseCampaign) Marshal ¶
func (m *MsgCloseCampaign) Marshal() (dAtA []byte, err error)
func (*MsgCloseCampaign) MarshalToSizedBuffer ¶
func (m *MsgCloseCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCloseCampaign) ProtoMessage ¶
func (*MsgCloseCampaign) ProtoMessage()
func (*MsgCloseCampaign) Reset ¶
func (m *MsgCloseCampaign) Reset()
func (*MsgCloseCampaign) Route ¶
func (msg *MsgCloseCampaign) Route() string
func (*MsgCloseCampaign) Size ¶
func (m *MsgCloseCampaign) Size() (n int)
func (*MsgCloseCampaign) String ¶
func (m *MsgCloseCampaign) String() string
func (*MsgCloseCampaign) Type ¶
func (msg *MsgCloseCampaign) Type() string
func (*MsgCloseCampaign) Unmarshal ¶
func (m *MsgCloseCampaign) Unmarshal(dAtA []byte) error
func (*MsgCloseCampaign) ValidateBasic ¶
func (msg *MsgCloseCampaign) ValidateBasic() error
func (*MsgCloseCampaign) XXX_DiscardUnknown ¶
func (m *MsgCloseCampaign) XXX_DiscardUnknown()
func (*MsgCloseCampaign) XXX_Marshal ¶
func (m *MsgCloseCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCloseCampaign) XXX_Merge ¶
func (m *MsgCloseCampaign) XXX_Merge(src proto.Message)
func (*MsgCloseCampaign) XXX_Size ¶
func (m *MsgCloseCampaign) XXX_Size() int
func (*MsgCloseCampaign) XXX_Unmarshal ¶
func (m *MsgCloseCampaign) XXX_Unmarshal(b []byte) error
type MsgCloseCampaignResponse ¶
type MsgCloseCampaignResponse struct { }
func (*MsgCloseCampaignResponse) Descriptor ¶
func (*MsgCloseCampaignResponse) Descriptor() ([]byte, []int)
func (*MsgCloseCampaignResponse) Marshal ¶
func (m *MsgCloseCampaignResponse) Marshal() (dAtA []byte, err error)
func (*MsgCloseCampaignResponse) MarshalTo ¶
func (m *MsgCloseCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCloseCampaignResponse) MarshalToSizedBuffer ¶
func (m *MsgCloseCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCloseCampaignResponse) ProtoMessage ¶
func (*MsgCloseCampaignResponse) ProtoMessage()
func (*MsgCloseCampaignResponse) Reset ¶
func (m *MsgCloseCampaignResponse) Reset()
func (*MsgCloseCampaignResponse) Size ¶
func (m *MsgCloseCampaignResponse) Size() (n int)
func (*MsgCloseCampaignResponse) String ¶
func (m *MsgCloseCampaignResponse) String() string
func (*MsgCloseCampaignResponse) Unmarshal ¶
func (m *MsgCloseCampaignResponse) Unmarshal(dAtA []byte) error
func (*MsgCloseCampaignResponse) XXX_DiscardUnknown ¶
func (m *MsgCloseCampaignResponse) XXX_DiscardUnknown()
func (*MsgCloseCampaignResponse) XXX_Marshal ¶
func (m *MsgCloseCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCloseCampaignResponse) XXX_Merge ¶
func (m *MsgCloseCampaignResponse) XXX_Merge(src proto.Message)
func (*MsgCloseCampaignResponse) XXX_Size ¶
func (m *MsgCloseCampaignResponse) XXX_Size() int
func (*MsgCloseCampaignResponse) XXX_Unmarshal ¶
func (m *MsgCloseCampaignResponse) XXX_Unmarshal(b []byte) error
type MsgCreateCampaign ¶
type MsgCreateCampaign struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CampaignType CampaignType `` /* 147-byte string literal not displayed */ RemovableClaimRecords bool `` /* 127-byte string literal not displayed */ FeegrantAmount *github_com_cosmos_cosmos_sdk_types.Int `` /* 153-byte string literal not displayed */ InitialClaimFreeAmount *github_com_cosmos_cosmos_sdk_types.Int `` /* 181-byte string literal not displayed */ Free *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=free,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"free,omitempty"` StartTime *time.Time `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"` EndTime *time.Time `protobuf:"bytes,10,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time,omitempty"` LockupPeriod *time.Duration `protobuf:"bytes,11,opt,name=lockup_period,json=lockupPeriod,proto3,stdduration" json:"lockup_period,omitempty"` VestingPeriod *time.Duration `protobuf:"bytes,12,opt,name=vesting_period,json=vestingPeriod,proto3,stdduration" json:"vesting_period,omitempty"` VestingPoolName string `protobuf:"bytes,13,opt,name=vesting_pool_name,json=vestingPoolName,proto3" json:"vesting_pool_name,omitempty"` }
func NewMsgCreateCampaign ¶
func NewMsgCreateCampaign(owner string, name string, description string, campaignType CampaignType, removableClaimRecords bool, argFeegrantAmount *math.Int, initialClaimFreeAmount *math.Int, free *sdk.Dec, startTime *time.Time, endTime *time.Time, lockupPeriod *time.Duration, vestingPeriod *time.Duration, vestingPoolName string) *MsgCreateCampaign
func (*MsgCreateCampaign) Descriptor ¶
func (*MsgCreateCampaign) Descriptor() ([]byte, []int)
func (*MsgCreateCampaign) GetCampaignType ¶
func (m *MsgCreateCampaign) GetCampaignType() CampaignType
func (*MsgCreateCampaign) GetDescription ¶
func (m *MsgCreateCampaign) GetDescription() string
func (*MsgCreateCampaign) GetEndTime ¶
func (m *MsgCreateCampaign) GetEndTime() *time.Time
func (*MsgCreateCampaign) GetLockupPeriod ¶
func (m *MsgCreateCampaign) GetLockupPeriod() *time.Duration
func (*MsgCreateCampaign) GetName ¶
func (m *MsgCreateCampaign) GetName() string
func (*MsgCreateCampaign) GetOwner ¶
func (m *MsgCreateCampaign) GetOwner() string
func (*MsgCreateCampaign) GetRemovableClaimRecords ¶
func (m *MsgCreateCampaign) GetRemovableClaimRecords() bool
func (*MsgCreateCampaign) GetSignBytes ¶
func (msg *MsgCreateCampaign) GetSignBytes() []byte
func (*MsgCreateCampaign) GetSigners ¶
func (msg *MsgCreateCampaign) GetSigners() []sdk.AccAddress
func (*MsgCreateCampaign) GetStartTime ¶
func (m *MsgCreateCampaign) GetStartTime() *time.Time
func (*MsgCreateCampaign) GetVestingPeriod ¶
func (m *MsgCreateCampaign) GetVestingPeriod() *time.Duration
func (*MsgCreateCampaign) GetVestingPoolName ¶
func (m *MsgCreateCampaign) GetVestingPoolName() string
func (*MsgCreateCampaign) Marshal ¶
func (m *MsgCreateCampaign) Marshal() (dAtA []byte, err error)
func (*MsgCreateCampaign) MarshalTo ¶
func (m *MsgCreateCampaign) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateCampaign) MarshalToSizedBuffer ¶
func (m *MsgCreateCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCampaign) ProtoMessage ¶
func (*MsgCreateCampaign) ProtoMessage()
func (*MsgCreateCampaign) Reset ¶
func (m *MsgCreateCampaign) Reset()
func (*MsgCreateCampaign) Route ¶
func (msg *MsgCreateCampaign) Route() string
func (*MsgCreateCampaign) Size ¶
func (m *MsgCreateCampaign) Size() (n int)
func (*MsgCreateCampaign) String ¶
func (m *MsgCreateCampaign) String() string
func (*MsgCreateCampaign) Type ¶
func (msg *MsgCreateCampaign) Type() string
func (*MsgCreateCampaign) Unmarshal ¶
func (m *MsgCreateCampaign) Unmarshal(dAtA []byte) error
func (*MsgCreateCampaign) ValidateBasic ¶
func (msg *MsgCreateCampaign) ValidateBasic() error
func (*MsgCreateCampaign) XXX_DiscardUnknown ¶
func (m *MsgCreateCampaign) XXX_DiscardUnknown()
func (*MsgCreateCampaign) XXX_Marshal ¶
func (m *MsgCreateCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCampaign) XXX_Merge ¶
func (m *MsgCreateCampaign) XXX_Merge(src proto.Message)
func (*MsgCreateCampaign) XXX_Size ¶
func (m *MsgCreateCampaign) XXX_Size() int
func (*MsgCreateCampaign) XXX_Unmarshal ¶
func (m *MsgCreateCampaign) XXX_Unmarshal(b []byte) error
type MsgCreateCampaignResponse ¶
type MsgCreateCampaignResponse struct {
CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"`
}
func (*MsgCreateCampaignResponse) Descriptor ¶
func (*MsgCreateCampaignResponse) Descriptor() ([]byte, []int)
func (*MsgCreateCampaignResponse) GetCampaignId ¶
func (m *MsgCreateCampaignResponse) GetCampaignId() uint64
func (*MsgCreateCampaignResponse) Marshal ¶
func (m *MsgCreateCampaignResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateCampaignResponse) MarshalTo ¶
func (m *MsgCreateCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateCampaignResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateCampaignResponse) ProtoMessage ¶
func (*MsgCreateCampaignResponse) ProtoMessage()
func (*MsgCreateCampaignResponse) Reset ¶
func (m *MsgCreateCampaignResponse) Reset()
func (*MsgCreateCampaignResponse) Size ¶
func (m *MsgCreateCampaignResponse) Size() (n int)
func (*MsgCreateCampaignResponse) String ¶
func (m *MsgCreateCampaignResponse) String() string
func (*MsgCreateCampaignResponse) Unmarshal ¶
func (m *MsgCreateCampaignResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateCampaignResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateCampaignResponse) XXX_DiscardUnknown()
func (*MsgCreateCampaignResponse) XXX_Marshal ¶
func (m *MsgCreateCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateCampaignResponse) XXX_Merge ¶
func (m *MsgCreateCampaignResponse) XXX_Merge(src proto.Message)
func (*MsgCreateCampaignResponse) XXX_Size ¶
func (m *MsgCreateCampaignResponse) XXX_Size() int
func (*MsgCreateCampaignResponse) XXX_Unmarshal ¶
func (m *MsgCreateCampaignResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteClaimRecord ¶
type MsgDeleteClaimRecord struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` UserAddress string `protobuf:"bytes,3,opt,name=user_address,json=userAddress,proto3" json:"user_address,omitempty"` }
func NewMsgDeleteClaimRecord ¶
func NewMsgDeleteClaimRecord(onwer string, campaignId uint64, userAddress string) *MsgDeleteClaimRecord
func (*MsgDeleteClaimRecord) Descriptor ¶
func (*MsgDeleteClaimRecord) Descriptor() ([]byte, []int)
func (*MsgDeleteClaimRecord) GetCampaignId ¶
func (m *MsgDeleteClaimRecord) GetCampaignId() uint64
func (*MsgDeleteClaimRecord) GetOwner ¶
func (m *MsgDeleteClaimRecord) GetOwner() string
func (*MsgDeleteClaimRecord) GetSignBytes ¶
func (msg *MsgDeleteClaimRecord) GetSignBytes() []byte
func (*MsgDeleteClaimRecord) GetSigners ¶
func (msg *MsgDeleteClaimRecord) GetSigners() []sdk.AccAddress
func (*MsgDeleteClaimRecord) GetUserAddress ¶
func (m *MsgDeleteClaimRecord) GetUserAddress() string
func (*MsgDeleteClaimRecord) Marshal ¶
func (m *MsgDeleteClaimRecord) Marshal() (dAtA []byte, err error)
func (*MsgDeleteClaimRecord) MarshalTo ¶
func (m *MsgDeleteClaimRecord) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteClaimRecord) MarshalToSizedBuffer ¶
func (m *MsgDeleteClaimRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteClaimRecord) ProtoMessage ¶
func (*MsgDeleteClaimRecord) ProtoMessage()
func (*MsgDeleteClaimRecord) Reset ¶
func (m *MsgDeleteClaimRecord) Reset()
func (*MsgDeleteClaimRecord) Route ¶
func (msg *MsgDeleteClaimRecord) Route() string
func (*MsgDeleteClaimRecord) Size ¶
func (m *MsgDeleteClaimRecord) Size() (n int)
func (*MsgDeleteClaimRecord) String ¶
func (m *MsgDeleteClaimRecord) String() string
func (*MsgDeleteClaimRecord) Type ¶
func (msg *MsgDeleteClaimRecord) Type() string
func (*MsgDeleteClaimRecord) Unmarshal ¶
func (m *MsgDeleteClaimRecord) Unmarshal(dAtA []byte) error
func (*MsgDeleteClaimRecord) ValidateBasic ¶
func (msg *MsgDeleteClaimRecord) ValidateBasic() error
func (*MsgDeleteClaimRecord) XXX_DiscardUnknown ¶
func (m *MsgDeleteClaimRecord) XXX_DiscardUnknown()
func (*MsgDeleteClaimRecord) XXX_Marshal ¶
func (m *MsgDeleteClaimRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteClaimRecord) XXX_Merge ¶
func (m *MsgDeleteClaimRecord) XXX_Merge(src proto.Message)
func (*MsgDeleteClaimRecord) XXX_Size ¶
func (m *MsgDeleteClaimRecord) XXX_Size() int
func (*MsgDeleteClaimRecord) XXX_Unmarshal ¶
func (m *MsgDeleteClaimRecord) XXX_Unmarshal(b []byte) error
type MsgDeleteClaimRecordResponse ¶
type MsgDeleteClaimRecordResponse struct { }
func (*MsgDeleteClaimRecordResponse) Descriptor ¶
func (*MsgDeleteClaimRecordResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteClaimRecordResponse) Marshal ¶
func (m *MsgDeleteClaimRecordResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteClaimRecordResponse) MarshalTo ¶
func (m *MsgDeleteClaimRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteClaimRecordResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteClaimRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteClaimRecordResponse) ProtoMessage ¶
func (*MsgDeleteClaimRecordResponse) ProtoMessage()
func (*MsgDeleteClaimRecordResponse) Reset ¶
func (m *MsgDeleteClaimRecordResponse) Reset()
func (*MsgDeleteClaimRecordResponse) Size ¶
func (m *MsgDeleteClaimRecordResponse) Size() (n int)
func (*MsgDeleteClaimRecordResponse) String ¶
func (m *MsgDeleteClaimRecordResponse) String() string
func (*MsgDeleteClaimRecordResponse) Unmarshal ¶
func (m *MsgDeleteClaimRecordResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteClaimRecordResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteClaimRecordResponse) XXX_DiscardUnknown()
func (*MsgDeleteClaimRecordResponse) XXX_Marshal ¶
func (m *MsgDeleteClaimRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteClaimRecordResponse) XXX_Merge ¶
func (m *MsgDeleteClaimRecordResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteClaimRecordResponse) XXX_Size ¶
func (m *MsgDeleteClaimRecordResponse) XXX_Size() int
func (*MsgDeleteClaimRecordResponse) XXX_Unmarshal ¶
func (m *MsgDeleteClaimRecordResponse) XXX_Unmarshal(b []byte) error
type MsgEnableCampaign ¶
type MsgEnableCampaign struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` StartTime *time.Time `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time,omitempty"` EndTime *time.Time `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time,omitempty"` }
func NewMsgEnableCampaign ¶
func (*MsgEnableCampaign) Descriptor ¶
func (*MsgEnableCampaign) Descriptor() ([]byte, []int)
func (*MsgEnableCampaign) GetCampaignId ¶
func (m *MsgEnableCampaign) GetCampaignId() uint64
func (*MsgEnableCampaign) GetEndTime ¶
func (m *MsgEnableCampaign) GetEndTime() *time.Time
func (*MsgEnableCampaign) GetOwner ¶
func (m *MsgEnableCampaign) GetOwner() string
func (*MsgEnableCampaign) GetSignBytes ¶
func (msg *MsgEnableCampaign) GetSignBytes() []byte
func (*MsgEnableCampaign) GetSigners ¶
func (msg *MsgEnableCampaign) GetSigners() []sdk.AccAddress
func (*MsgEnableCampaign) GetStartTime ¶
func (m *MsgEnableCampaign) GetStartTime() *time.Time
func (*MsgEnableCampaign) Marshal ¶
func (m *MsgEnableCampaign) Marshal() (dAtA []byte, err error)
func (*MsgEnableCampaign) MarshalTo ¶
func (m *MsgEnableCampaign) MarshalTo(dAtA []byte) (int, error)
func (*MsgEnableCampaign) MarshalToSizedBuffer ¶
func (m *MsgEnableCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEnableCampaign) ProtoMessage ¶
func (*MsgEnableCampaign) ProtoMessage()
func (*MsgEnableCampaign) Reset ¶
func (m *MsgEnableCampaign) Reset()
func (*MsgEnableCampaign) Route ¶
func (msg *MsgEnableCampaign) Route() string
func (*MsgEnableCampaign) Size ¶
func (m *MsgEnableCampaign) Size() (n int)
func (*MsgEnableCampaign) String ¶
func (m *MsgEnableCampaign) String() string
func (*MsgEnableCampaign) Type ¶
func (msg *MsgEnableCampaign) Type() string
func (*MsgEnableCampaign) Unmarshal ¶
func (m *MsgEnableCampaign) Unmarshal(dAtA []byte) error
func (*MsgEnableCampaign) ValidateBasic ¶
func (msg *MsgEnableCampaign) ValidateBasic() error
func (*MsgEnableCampaign) XXX_DiscardUnknown ¶
func (m *MsgEnableCampaign) XXX_DiscardUnknown()
func (*MsgEnableCampaign) XXX_Marshal ¶
func (m *MsgEnableCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEnableCampaign) XXX_Merge ¶
func (m *MsgEnableCampaign) XXX_Merge(src proto.Message)
func (*MsgEnableCampaign) XXX_Size ¶
func (m *MsgEnableCampaign) XXX_Size() int
func (*MsgEnableCampaign) XXX_Unmarshal ¶
func (m *MsgEnableCampaign) XXX_Unmarshal(b []byte) error
type MsgEnableCampaignResponse ¶
type MsgEnableCampaignResponse struct { }
func (*MsgEnableCampaignResponse) Descriptor ¶
func (*MsgEnableCampaignResponse) Descriptor() ([]byte, []int)
func (*MsgEnableCampaignResponse) Marshal ¶
func (m *MsgEnableCampaignResponse) Marshal() (dAtA []byte, err error)
func (*MsgEnableCampaignResponse) MarshalTo ¶
func (m *MsgEnableCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEnableCampaignResponse) MarshalToSizedBuffer ¶
func (m *MsgEnableCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEnableCampaignResponse) ProtoMessage ¶
func (*MsgEnableCampaignResponse) ProtoMessage()
func (*MsgEnableCampaignResponse) Reset ¶
func (m *MsgEnableCampaignResponse) Reset()
func (*MsgEnableCampaignResponse) Size ¶
func (m *MsgEnableCampaignResponse) Size() (n int)
func (*MsgEnableCampaignResponse) String ¶
func (m *MsgEnableCampaignResponse) String() string
func (*MsgEnableCampaignResponse) Unmarshal ¶
func (m *MsgEnableCampaignResponse) Unmarshal(dAtA []byte) error
func (*MsgEnableCampaignResponse) XXX_DiscardUnknown ¶
func (m *MsgEnableCampaignResponse) XXX_DiscardUnknown()
func (*MsgEnableCampaignResponse) XXX_Marshal ¶
func (m *MsgEnableCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEnableCampaignResponse) XXX_Merge ¶
func (m *MsgEnableCampaignResponse) XXX_Merge(src proto.Message)
func (*MsgEnableCampaignResponse) XXX_Size ¶
func (m *MsgEnableCampaignResponse) XXX_Size() int
func (*MsgEnableCampaignResponse) XXX_Unmarshal ¶
func (m *MsgEnableCampaignResponse) XXX_Unmarshal(b []byte) error
type MsgInitialClaim ¶
type MsgInitialClaim struct { Claimer string `protobuf:"bytes,1,opt,name=claimer,proto3" json:"claimer,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` DestinationAddress string `protobuf:"bytes,3,opt,name=destination_address,json=destinationAddress,proto3" json:"destination_address,omitempty"` }
func NewMsgInitialClaim ¶
func NewMsgInitialClaim(claimer string, campaignId uint64, destinationAddress string) *MsgInitialClaim
func (*MsgInitialClaim) Descriptor ¶
func (*MsgInitialClaim) Descriptor() ([]byte, []int)
func (*MsgInitialClaim) GetCampaignId ¶
func (m *MsgInitialClaim) GetCampaignId() uint64
func (*MsgInitialClaim) GetClaimer ¶
func (m *MsgInitialClaim) GetClaimer() string
func (*MsgInitialClaim) GetDestinationAddress ¶
func (m *MsgInitialClaim) GetDestinationAddress() string
func (*MsgInitialClaim) GetSignBytes ¶
func (msg *MsgInitialClaim) GetSignBytes() []byte
func (*MsgInitialClaim) GetSigners ¶
func (msg *MsgInitialClaim) GetSigners() []sdk.AccAddress
func (*MsgInitialClaim) Marshal ¶
func (m *MsgInitialClaim) Marshal() (dAtA []byte, err error)
func (*MsgInitialClaim) MarshalToSizedBuffer ¶
func (m *MsgInitialClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitialClaim) ProtoMessage ¶
func (*MsgInitialClaim) ProtoMessage()
func (*MsgInitialClaim) Reset ¶
func (m *MsgInitialClaim) Reset()
func (*MsgInitialClaim) Route ¶
func (msg *MsgInitialClaim) Route() string
func (*MsgInitialClaim) Size ¶
func (m *MsgInitialClaim) Size() (n int)
func (*MsgInitialClaim) String ¶
func (m *MsgInitialClaim) String() string
func (*MsgInitialClaim) Type ¶
func (msg *MsgInitialClaim) Type() string
func (*MsgInitialClaim) Unmarshal ¶
func (m *MsgInitialClaim) Unmarshal(dAtA []byte) error
func (*MsgInitialClaim) ValidateBasic ¶
func (msg *MsgInitialClaim) ValidateBasic() error
func (*MsgInitialClaim) XXX_DiscardUnknown ¶
func (m *MsgInitialClaim) XXX_DiscardUnknown()
func (*MsgInitialClaim) XXX_Marshal ¶
func (m *MsgInitialClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitialClaim) XXX_Merge ¶
func (m *MsgInitialClaim) XXX_Merge(src proto.Message)
func (*MsgInitialClaim) XXX_Size ¶
func (m *MsgInitialClaim) XXX_Size() int
func (*MsgInitialClaim) XXX_Unmarshal ¶
func (m *MsgInitialClaim) XXX_Unmarshal(b []byte) error
type MsgInitialClaimResponse ¶
type MsgInitialClaimResponse struct {
Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}
func (*MsgInitialClaimResponse) Descriptor ¶
func (*MsgInitialClaimResponse) Descriptor() ([]byte, []int)
func (*MsgInitialClaimResponse) GetAmount ¶
func (m *MsgInitialClaimResponse) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgInitialClaimResponse) Marshal ¶
func (m *MsgInitialClaimResponse) Marshal() (dAtA []byte, err error)
func (*MsgInitialClaimResponse) MarshalTo ¶
func (m *MsgInitialClaimResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInitialClaimResponse) MarshalToSizedBuffer ¶
func (m *MsgInitialClaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInitialClaimResponse) ProtoMessage ¶
func (*MsgInitialClaimResponse) ProtoMessage()
func (*MsgInitialClaimResponse) Reset ¶
func (m *MsgInitialClaimResponse) Reset()
func (*MsgInitialClaimResponse) Size ¶
func (m *MsgInitialClaimResponse) Size() (n int)
func (*MsgInitialClaimResponse) String ¶
func (m *MsgInitialClaimResponse) String() string
func (*MsgInitialClaimResponse) Unmarshal ¶
func (m *MsgInitialClaimResponse) Unmarshal(dAtA []byte) error
func (*MsgInitialClaimResponse) XXX_DiscardUnknown ¶
func (m *MsgInitialClaimResponse) XXX_DiscardUnknown()
func (*MsgInitialClaimResponse) XXX_Marshal ¶
func (m *MsgInitialClaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgInitialClaimResponse) XXX_Merge ¶
func (m *MsgInitialClaimResponse) XXX_Merge(src proto.Message)
func (*MsgInitialClaimResponse) XXX_Size ¶
func (m *MsgInitialClaimResponse) XXX_Size() int
func (*MsgInitialClaimResponse) XXX_Unmarshal ¶
func (m *MsgInitialClaimResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveCampaign ¶
type MsgRemoveCampaign struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` CampaignId uint64 `protobuf:"varint,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` }
func NewMsgRemoveCampaign ¶
func NewMsgRemoveCampaign(owner string, campaignId uint64) *MsgRemoveCampaign
func (*MsgRemoveCampaign) Descriptor ¶
func (*MsgRemoveCampaign) Descriptor() ([]byte, []int)
func (*MsgRemoveCampaign) GetCampaignId ¶
func (m *MsgRemoveCampaign) GetCampaignId() uint64
func (*MsgRemoveCampaign) GetOwner ¶
func (m *MsgRemoveCampaign) GetOwner() string
func (*MsgRemoveCampaign) GetSignBytes ¶
func (msg *MsgRemoveCampaign) GetSignBytes() []byte
func (*MsgRemoveCampaign) GetSigners ¶
func (msg *MsgRemoveCampaign) GetSigners() []sdk.AccAddress
func (*MsgRemoveCampaign) Marshal ¶
func (m *MsgRemoveCampaign) Marshal() (dAtA []byte, err error)
func (*MsgRemoveCampaign) MarshalTo ¶
func (m *MsgRemoveCampaign) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveCampaign) MarshalToSizedBuffer ¶
func (m *MsgRemoveCampaign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveCampaign) ProtoMessage ¶
func (*MsgRemoveCampaign) ProtoMessage()
func (*MsgRemoveCampaign) Reset ¶
func (m *MsgRemoveCampaign) Reset()
func (*MsgRemoveCampaign) Route ¶
func (msg *MsgRemoveCampaign) Route() string
func (*MsgRemoveCampaign) Size ¶
func (m *MsgRemoveCampaign) Size() (n int)
func (*MsgRemoveCampaign) String ¶
func (m *MsgRemoveCampaign) String() string
func (*MsgRemoveCampaign) Type ¶
func (msg *MsgRemoveCampaign) Type() string
func (*MsgRemoveCampaign) Unmarshal ¶
func (m *MsgRemoveCampaign) Unmarshal(dAtA []byte) error
func (*MsgRemoveCampaign) ValidateBasic ¶
func (msg *MsgRemoveCampaign) ValidateBasic() error
func (*MsgRemoveCampaign) XXX_DiscardUnknown ¶
func (m *MsgRemoveCampaign) XXX_DiscardUnknown()
func (*MsgRemoveCampaign) XXX_Marshal ¶
func (m *MsgRemoveCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveCampaign) XXX_Merge ¶
func (m *MsgRemoveCampaign) XXX_Merge(src proto.Message)
func (*MsgRemoveCampaign) XXX_Size ¶
func (m *MsgRemoveCampaign) XXX_Size() int
func (*MsgRemoveCampaign) XXX_Unmarshal ¶
func (m *MsgRemoveCampaign) XXX_Unmarshal(b []byte) error
type MsgRemoveCampaignResponse ¶
type MsgRemoveCampaignResponse struct { }
func (*MsgRemoveCampaignResponse) Descriptor ¶
func (*MsgRemoveCampaignResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveCampaignResponse) Marshal ¶
func (m *MsgRemoveCampaignResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveCampaignResponse) MarshalTo ¶
func (m *MsgRemoveCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveCampaignResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveCampaignResponse) ProtoMessage ¶
func (*MsgRemoveCampaignResponse) ProtoMessage()
func (*MsgRemoveCampaignResponse) Reset ¶
func (m *MsgRemoveCampaignResponse) Reset()
func (*MsgRemoveCampaignResponse) Size ¶
func (m *MsgRemoveCampaignResponse) Size() (n int)
func (*MsgRemoveCampaignResponse) String ¶
func (m *MsgRemoveCampaignResponse) String() string
func (*MsgRemoveCampaignResponse) Unmarshal ¶
func (m *MsgRemoveCampaignResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveCampaignResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveCampaignResponse) XXX_DiscardUnknown()
func (*MsgRemoveCampaignResponse) XXX_Marshal ¶
func (m *MsgRemoveCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveCampaignResponse) XXX_Merge ¶
func (m *MsgRemoveCampaignResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveCampaignResponse) XXX_Size ¶
func (m *MsgRemoveCampaignResponse) XXX_Size() int
func (*MsgRemoveCampaignResponse) XXX_Unmarshal ¶
func (m *MsgRemoveCampaignResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { Claim(context.Context, *MsgClaim) (*MsgClaimResponse, error) InitialClaim(context.Context, *MsgInitialClaim) (*MsgInitialClaimResponse, error) CreateCampaign(context.Context, *MsgCreateCampaign) (*MsgCreateCampaignResponse, error) AddMission(context.Context, *MsgAddMission) (*MsgAddMissionResponse, error) AddClaimRecords(context.Context, *MsgAddClaimRecords) (*MsgAddClaimRecordsResponse, error) DeleteClaimRecord(context.Context, *MsgDeleteClaimRecord) (*MsgDeleteClaimRecordResponse, error) CloseCampaign(context.Context, *MsgCloseCampaign) (*MsgCloseCampaignResponse, error) EnableCampaign(context.Context, *MsgEnableCampaign) (*MsgEnableCampaignResponse, error) RemoveCampaign(context.Context, *MsgRemoveCampaign) (*MsgRemoveCampaignResponse, error) }
MsgServer is the server API for Msg service.
type QueryCampaignMissionsRequest ¶
type QueryCampaignMissionsRequest struct {
CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"`
}
func (*QueryCampaignMissionsRequest) Descriptor ¶
func (*QueryCampaignMissionsRequest) Descriptor() ([]byte, []int)
func (*QueryCampaignMissionsRequest) GetCampaignId ¶
func (m *QueryCampaignMissionsRequest) GetCampaignId() uint64
func (*QueryCampaignMissionsRequest) Marshal ¶
func (m *QueryCampaignMissionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCampaignMissionsRequest) MarshalTo ¶
func (m *QueryCampaignMissionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCampaignMissionsRequest) MarshalToSizedBuffer ¶
func (m *QueryCampaignMissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCampaignMissionsRequest) ProtoMessage ¶
func (*QueryCampaignMissionsRequest) ProtoMessage()
func (*QueryCampaignMissionsRequest) Reset ¶
func (m *QueryCampaignMissionsRequest) Reset()
func (*QueryCampaignMissionsRequest) Size ¶
func (m *QueryCampaignMissionsRequest) Size() (n int)
func (*QueryCampaignMissionsRequest) String ¶
func (m *QueryCampaignMissionsRequest) String() string
func (*QueryCampaignMissionsRequest) Unmarshal ¶
func (m *QueryCampaignMissionsRequest) Unmarshal(dAtA []byte) error
func (*QueryCampaignMissionsRequest) XXX_DiscardUnknown ¶
func (m *QueryCampaignMissionsRequest) XXX_DiscardUnknown()
func (*QueryCampaignMissionsRequest) XXX_Marshal ¶
func (m *QueryCampaignMissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCampaignMissionsRequest) XXX_Merge ¶
func (m *QueryCampaignMissionsRequest) XXX_Merge(src proto.Message)
func (*QueryCampaignMissionsRequest) XXX_Size ¶
func (m *QueryCampaignMissionsRequest) XXX_Size() int
func (*QueryCampaignMissionsRequest) XXX_Unmarshal ¶
func (m *QueryCampaignMissionsRequest) XXX_Unmarshal(b []byte) error
type QueryCampaignMissionsResponse ¶
type QueryCampaignMissionsResponse struct {
Missions []Mission `protobuf:"bytes,1,rep,name=missions,proto3" json:"missions"`
}
func (*QueryCampaignMissionsResponse) Descriptor ¶
func (*QueryCampaignMissionsResponse) Descriptor() ([]byte, []int)
func (*QueryCampaignMissionsResponse) GetMissions ¶
func (m *QueryCampaignMissionsResponse) GetMissions() []Mission
func (*QueryCampaignMissionsResponse) Marshal ¶
func (m *QueryCampaignMissionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCampaignMissionsResponse) MarshalTo ¶
func (m *QueryCampaignMissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCampaignMissionsResponse) MarshalToSizedBuffer ¶
func (m *QueryCampaignMissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCampaignMissionsResponse) ProtoMessage ¶
func (*QueryCampaignMissionsResponse) ProtoMessage()
func (*QueryCampaignMissionsResponse) Reset ¶
func (m *QueryCampaignMissionsResponse) Reset()
func (*QueryCampaignMissionsResponse) Size ¶
func (m *QueryCampaignMissionsResponse) Size() (n int)
func (*QueryCampaignMissionsResponse) String ¶
func (m *QueryCampaignMissionsResponse) String() string
func (*QueryCampaignMissionsResponse) Unmarshal ¶
func (m *QueryCampaignMissionsResponse) Unmarshal(dAtA []byte) error
func (*QueryCampaignMissionsResponse) XXX_DiscardUnknown ¶
func (m *QueryCampaignMissionsResponse) XXX_DiscardUnknown()
func (*QueryCampaignMissionsResponse) XXX_Marshal ¶
func (m *QueryCampaignMissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCampaignMissionsResponse) XXX_Merge ¶
func (m *QueryCampaignMissionsResponse) XXX_Merge(src proto.Message)
func (*QueryCampaignMissionsResponse) XXX_Size ¶
func (m *QueryCampaignMissionsResponse) XXX_Size() int
func (*QueryCampaignMissionsResponse) XXX_Unmarshal ¶
func (m *QueryCampaignMissionsResponse) XXX_Unmarshal(b []byte) error
type QueryCampaignRequest ¶
type QueryCampaignRequest struct {
CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"`
}
func (*QueryCampaignRequest) Descriptor ¶
func (*QueryCampaignRequest) Descriptor() ([]byte, []int)
func (*QueryCampaignRequest) GetCampaignId ¶
func (m *QueryCampaignRequest) GetCampaignId() uint64
func (*QueryCampaignRequest) Marshal ¶
func (m *QueryCampaignRequest) Marshal() (dAtA []byte, err error)
func (*QueryCampaignRequest) MarshalTo ¶
func (m *QueryCampaignRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCampaignRequest) MarshalToSizedBuffer ¶
func (m *QueryCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCampaignRequest) ProtoMessage ¶
func (*QueryCampaignRequest) ProtoMessage()
func (*QueryCampaignRequest) Reset ¶
func (m *QueryCampaignRequest) Reset()
func (*QueryCampaignRequest) Size ¶
func (m *QueryCampaignRequest) Size() (n int)
func (*QueryCampaignRequest) String ¶
func (m *QueryCampaignRequest) String() string
func (*QueryCampaignRequest) Unmarshal ¶
func (m *QueryCampaignRequest) Unmarshal(dAtA []byte) error
func (*QueryCampaignRequest) XXX_DiscardUnknown ¶
func (m *QueryCampaignRequest) XXX_DiscardUnknown()
func (*QueryCampaignRequest) XXX_Marshal ¶
func (m *QueryCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCampaignRequest) XXX_Merge ¶
func (m *QueryCampaignRequest) XXX_Merge(src proto.Message)
func (*QueryCampaignRequest) XXX_Size ¶
func (m *QueryCampaignRequest) XXX_Size() int
func (*QueryCampaignRequest) XXX_Unmarshal ¶
func (m *QueryCampaignRequest) XXX_Unmarshal(b []byte) error
type QueryCampaignResponse ¶
type QueryCampaignResponse struct {
Campaign Campaign `protobuf:"bytes,1,opt,name=campaign,proto3" json:"campaign"`
}
func (*QueryCampaignResponse) Descriptor ¶
func (*QueryCampaignResponse) Descriptor() ([]byte, []int)
func (*QueryCampaignResponse) GetCampaign ¶
func (m *QueryCampaignResponse) GetCampaign() Campaign
func (*QueryCampaignResponse) Marshal ¶
func (m *QueryCampaignResponse) Marshal() (dAtA []byte, err error)
func (*QueryCampaignResponse) MarshalTo ¶
func (m *QueryCampaignResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCampaignResponse) MarshalToSizedBuffer ¶
func (m *QueryCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCampaignResponse) ProtoMessage ¶
func (*QueryCampaignResponse) ProtoMessage()
func (*QueryCampaignResponse) Reset ¶
func (m *QueryCampaignResponse) Reset()
func (*QueryCampaignResponse) Size ¶
func (m *QueryCampaignResponse) Size() (n int)
func (*QueryCampaignResponse) String ¶
func (m *QueryCampaignResponse) String() string
func (*QueryCampaignResponse) Unmarshal ¶
func (m *QueryCampaignResponse) Unmarshal(dAtA []byte) error
func (*QueryCampaignResponse) XXX_DiscardUnknown ¶
func (m *QueryCampaignResponse) XXX_DiscardUnknown()
func (*QueryCampaignResponse) XXX_Marshal ¶
func (m *QueryCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCampaignResponse) XXX_Merge ¶
func (m *QueryCampaignResponse) XXX_Merge(src proto.Message)
func (*QueryCampaignResponse) XXX_Size ¶
func (m *QueryCampaignResponse) XXX_Size() int
func (*QueryCampaignResponse) XXX_Unmarshal ¶
func (m *QueryCampaignResponse) XXX_Unmarshal(b []byte) error
type QueryCampaignsRequest ¶
type QueryCampaignsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryCampaignsRequest) Descriptor ¶
func (*QueryCampaignsRequest) Descriptor() ([]byte, []int)
func (*QueryCampaignsRequest) GetPagination ¶
func (m *QueryCampaignsRequest) GetPagination() *query.PageRequest
func (*QueryCampaignsRequest) Marshal ¶
func (m *QueryCampaignsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCampaignsRequest) MarshalTo ¶
func (m *QueryCampaignsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCampaignsRequest) MarshalToSizedBuffer ¶
func (m *QueryCampaignsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCampaignsRequest) ProtoMessage ¶
func (*QueryCampaignsRequest) ProtoMessage()
func (*QueryCampaignsRequest) Reset ¶
func (m *QueryCampaignsRequest) Reset()
func (*QueryCampaignsRequest) Size ¶
func (m *QueryCampaignsRequest) Size() (n int)
func (*QueryCampaignsRequest) String ¶
func (m *QueryCampaignsRequest) String() string
func (*QueryCampaignsRequest) Unmarshal ¶
func (m *QueryCampaignsRequest) Unmarshal(dAtA []byte) error
func (*QueryCampaignsRequest) XXX_DiscardUnknown ¶
func (m *QueryCampaignsRequest) XXX_DiscardUnknown()
func (*QueryCampaignsRequest) XXX_Marshal ¶
func (m *QueryCampaignsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCampaignsRequest) XXX_Merge ¶
func (m *QueryCampaignsRequest) XXX_Merge(src proto.Message)
func (*QueryCampaignsRequest) XXX_Size ¶
func (m *QueryCampaignsRequest) XXX_Size() int
func (*QueryCampaignsRequest) XXX_Unmarshal ¶
func (m *QueryCampaignsRequest) XXX_Unmarshal(b []byte) error
type QueryCampaignsResponse ¶
type QueryCampaignsResponse struct { Campaigns []Campaign `protobuf:"bytes,1,rep,name=campaigns,proto3" json:"campaigns"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryCampaignsResponse) Descriptor ¶
func (*QueryCampaignsResponse) Descriptor() ([]byte, []int)
func (*QueryCampaignsResponse) GetCampaigns ¶
func (m *QueryCampaignsResponse) GetCampaigns() []Campaign
func (*QueryCampaignsResponse) GetPagination ¶
func (m *QueryCampaignsResponse) GetPagination() *query.PageResponse
func (*QueryCampaignsResponse) Marshal ¶
func (m *QueryCampaignsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCampaignsResponse) MarshalTo ¶
func (m *QueryCampaignsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCampaignsResponse) MarshalToSizedBuffer ¶
func (m *QueryCampaignsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCampaignsResponse) ProtoMessage ¶
func (*QueryCampaignsResponse) ProtoMessage()
func (*QueryCampaignsResponse) Reset ¶
func (m *QueryCampaignsResponse) Reset()
func (*QueryCampaignsResponse) Size ¶
func (m *QueryCampaignsResponse) Size() (n int)
func (*QueryCampaignsResponse) String ¶
func (m *QueryCampaignsResponse) String() string
func (*QueryCampaignsResponse) Unmarshal ¶
func (m *QueryCampaignsResponse) Unmarshal(dAtA []byte) error
func (*QueryCampaignsResponse) XXX_DiscardUnknown ¶
func (m *QueryCampaignsResponse) XXX_DiscardUnknown()
func (*QueryCampaignsResponse) XXX_Marshal ¶
func (m *QueryCampaignsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCampaignsResponse) XXX_Merge ¶
func (m *QueryCampaignsResponse) XXX_Merge(src proto.Message)
func (*QueryCampaignsResponse) XXX_Size ¶
func (m *QueryCampaignsResponse) XXX_Size() int
func (*QueryCampaignsResponse) XXX_Unmarshal ¶
func (m *QueryCampaignsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Queries a UserEntry by index. UserEntry(ctx context.Context, in *QueryUserEntryRequest, opts ...grpc.CallOption) (*QueryUserEntryResponse, error) // Queries a list of all UserEntry items. UsersEntries(ctx context.Context, in *QueryUsersEntriesRequest, opts ...grpc.CallOption) (*QueryUsersEntriesResponse, error) // Queries a Mission by campaign id and mission id. Mission(ctx context.Context, in *QueryMissionRequest, opts ...grpc.CallOption) (*QueryMissionResponse, error) // Queries a list of Mission items for a given campaign. CampaignMissions(ctx context.Context, in *QueryCampaignMissionsRequest, opts ...grpc.CallOption) (*QueryCampaignMissionsResponse, error) // Queries a list of all Missions items. Missions(ctx context.Context, in *QueryMissionsRequest, opts ...grpc.CallOption) (*QueryMissionsResponse, error) // Queries a Campaign by id. Campaign(ctx context.Context, in *QueryCampaignRequest, opts ...grpc.CallOption) (*QueryCampaignResponse, error) // Queries a list of all Campaigns items. Campaigns(ctx context.Context, in *QueryCampaignsRequest, opts ...grpc.CallOption) (*QueryCampaignsResponse, 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 QueryMissionRequest ¶
type QueryMissionRequest struct { CampaignId uint64 `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` MissionId uint64 `protobuf:"varint,2,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"` }
func (*QueryMissionRequest) Descriptor ¶
func (*QueryMissionRequest) Descriptor() ([]byte, []int)
func (*QueryMissionRequest) GetCampaignId ¶
func (m *QueryMissionRequest) GetCampaignId() uint64
func (*QueryMissionRequest) GetMissionId ¶
func (m *QueryMissionRequest) GetMissionId() uint64
func (*QueryMissionRequest) Marshal ¶
func (m *QueryMissionRequest) Marshal() (dAtA []byte, err error)
func (*QueryMissionRequest) MarshalTo ¶
func (m *QueryMissionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMissionRequest) MarshalToSizedBuffer ¶
func (m *QueryMissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMissionRequest) ProtoMessage ¶
func (*QueryMissionRequest) ProtoMessage()
func (*QueryMissionRequest) Reset ¶
func (m *QueryMissionRequest) Reset()
func (*QueryMissionRequest) Size ¶
func (m *QueryMissionRequest) Size() (n int)
func (*QueryMissionRequest) String ¶
func (m *QueryMissionRequest) String() string
func (*QueryMissionRequest) Unmarshal ¶
func (m *QueryMissionRequest) Unmarshal(dAtA []byte) error
func (*QueryMissionRequest) XXX_DiscardUnknown ¶
func (m *QueryMissionRequest) XXX_DiscardUnknown()
func (*QueryMissionRequest) XXX_Marshal ¶
func (m *QueryMissionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMissionRequest) XXX_Merge ¶
func (m *QueryMissionRequest) XXX_Merge(src proto.Message)
func (*QueryMissionRequest) XXX_Size ¶
func (m *QueryMissionRequest) XXX_Size() int
func (*QueryMissionRequest) XXX_Unmarshal ¶
func (m *QueryMissionRequest) XXX_Unmarshal(b []byte) error
type QueryMissionResponse ¶
type QueryMissionResponse struct {
Mission Mission `protobuf:"bytes,1,opt,name=mission,proto3" json:"mission"`
}
func (*QueryMissionResponse) Descriptor ¶
func (*QueryMissionResponse) Descriptor() ([]byte, []int)
func (*QueryMissionResponse) GetMission ¶
func (m *QueryMissionResponse) GetMission() Mission
func (*QueryMissionResponse) Marshal ¶
func (m *QueryMissionResponse) Marshal() (dAtA []byte, err error)
func (*QueryMissionResponse) MarshalTo ¶
func (m *QueryMissionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMissionResponse) MarshalToSizedBuffer ¶
func (m *QueryMissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMissionResponse) ProtoMessage ¶
func (*QueryMissionResponse) ProtoMessage()
func (*QueryMissionResponse) Reset ¶
func (m *QueryMissionResponse) Reset()
func (*QueryMissionResponse) Size ¶
func (m *QueryMissionResponse) Size() (n int)
func (*QueryMissionResponse) String ¶
func (m *QueryMissionResponse) String() string
func (*QueryMissionResponse) Unmarshal ¶
func (m *QueryMissionResponse) Unmarshal(dAtA []byte) error
func (*QueryMissionResponse) XXX_DiscardUnknown ¶
func (m *QueryMissionResponse) XXX_DiscardUnknown()
func (*QueryMissionResponse) XXX_Marshal ¶
func (m *QueryMissionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMissionResponse) XXX_Merge ¶
func (m *QueryMissionResponse) XXX_Merge(src proto.Message)
func (*QueryMissionResponse) XXX_Size ¶
func (m *QueryMissionResponse) XXX_Size() int
func (*QueryMissionResponse) XXX_Unmarshal ¶
func (m *QueryMissionResponse) XXX_Unmarshal(b []byte) error
type QueryMissionsRequest ¶
type QueryMissionsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryMissionsRequest) Descriptor ¶
func (*QueryMissionsRequest) Descriptor() ([]byte, []int)
func (*QueryMissionsRequest) GetPagination ¶
func (m *QueryMissionsRequest) GetPagination() *query.PageRequest
func (*QueryMissionsRequest) Marshal ¶
func (m *QueryMissionsRequest) Marshal() (dAtA []byte, err error)
func (*QueryMissionsRequest) MarshalTo ¶
func (m *QueryMissionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMissionsRequest) MarshalToSizedBuffer ¶
func (m *QueryMissionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMissionsRequest) ProtoMessage ¶
func (*QueryMissionsRequest) ProtoMessage()
func (*QueryMissionsRequest) Reset ¶
func (m *QueryMissionsRequest) Reset()
func (*QueryMissionsRequest) Size ¶
func (m *QueryMissionsRequest) Size() (n int)
func (*QueryMissionsRequest) String ¶
func (m *QueryMissionsRequest) String() string
func (*QueryMissionsRequest) Unmarshal ¶
func (m *QueryMissionsRequest) Unmarshal(dAtA []byte) error
func (*QueryMissionsRequest) XXX_DiscardUnknown ¶
func (m *QueryMissionsRequest) XXX_DiscardUnknown()
func (*QueryMissionsRequest) XXX_Marshal ¶
func (m *QueryMissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMissionsRequest) XXX_Merge ¶
func (m *QueryMissionsRequest) XXX_Merge(src proto.Message)
func (*QueryMissionsRequest) XXX_Size ¶
func (m *QueryMissionsRequest) XXX_Size() int
func (*QueryMissionsRequest) XXX_Unmarshal ¶
func (m *QueryMissionsRequest) XXX_Unmarshal(b []byte) error
type QueryMissionsResponse ¶
type QueryMissionsResponse struct { Missions []Mission `protobuf:"bytes,1,rep,name=missions,proto3" json:"missions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryMissionsResponse) Descriptor ¶
func (*QueryMissionsResponse) Descriptor() ([]byte, []int)
func (*QueryMissionsResponse) GetMissions ¶
func (m *QueryMissionsResponse) GetMissions() []Mission
func (*QueryMissionsResponse) GetPagination ¶
func (m *QueryMissionsResponse) GetPagination() *query.PageResponse
func (*QueryMissionsResponse) Marshal ¶
func (m *QueryMissionsResponse) Marshal() (dAtA []byte, err error)
func (*QueryMissionsResponse) MarshalTo ¶
func (m *QueryMissionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMissionsResponse) MarshalToSizedBuffer ¶
func (m *QueryMissionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMissionsResponse) ProtoMessage ¶
func (*QueryMissionsResponse) ProtoMessage()
func (*QueryMissionsResponse) Reset ¶
func (m *QueryMissionsResponse) Reset()
func (*QueryMissionsResponse) Size ¶
func (m *QueryMissionsResponse) Size() (n int)
func (*QueryMissionsResponse) String ¶
func (m *QueryMissionsResponse) String() string
func (*QueryMissionsResponse) Unmarshal ¶
func (m *QueryMissionsResponse) Unmarshal(dAtA []byte) error
func (*QueryMissionsResponse) XXX_DiscardUnknown ¶
func (m *QueryMissionsResponse) XXX_DiscardUnknown()
func (*QueryMissionsResponse) XXX_Marshal ¶
func (m *QueryMissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMissionsResponse) XXX_Merge ¶
func (m *QueryMissionsResponse) XXX_Merge(src proto.Message)
func (*QueryMissionsResponse) XXX_Size ¶
func (m *QueryMissionsResponse) XXX_Size() int
func (*QueryMissionsResponse) XXX_Unmarshal ¶
func (m *QueryMissionsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Queries a UserEntry by index. UserEntry(context.Context, *QueryUserEntryRequest) (*QueryUserEntryResponse, error) // Queries a list of all UserEntry items. UsersEntries(context.Context, *QueryUsersEntriesRequest) (*QueryUsersEntriesResponse, error) // Queries a Mission by campaign id and mission id. Mission(context.Context, *QueryMissionRequest) (*QueryMissionResponse, error) // Queries a list of Mission items for a given campaign. CampaignMissions(context.Context, *QueryCampaignMissionsRequest) (*QueryCampaignMissionsResponse, error) // Queries a list of all Missions items. Missions(context.Context, *QueryMissionsRequest) (*QueryMissionsResponse, error) // Queries a Campaign by id. Campaign(context.Context, *QueryCampaignRequest) (*QueryCampaignResponse, error) // Queries a list of all Campaigns items. Campaigns(context.Context, *QueryCampaignsRequest) (*QueryCampaignsResponse, error) }
QueryServer is the server API for Query service.
type QueryUserEntryRequest ¶
type QueryUserEntryRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*QueryUserEntryRequest) Descriptor ¶
func (*QueryUserEntryRequest) Descriptor() ([]byte, []int)
func (*QueryUserEntryRequest) GetAddress ¶
func (m *QueryUserEntryRequest) GetAddress() string
func (*QueryUserEntryRequest) Marshal ¶
func (m *QueryUserEntryRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserEntryRequest) MarshalTo ¶
func (m *QueryUserEntryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserEntryRequest) MarshalToSizedBuffer ¶
func (m *QueryUserEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserEntryRequest) ProtoMessage ¶
func (*QueryUserEntryRequest) ProtoMessage()
func (*QueryUserEntryRequest) Reset ¶
func (m *QueryUserEntryRequest) Reset()
func (*QueryUserEntryRequest) Size ¶
func (m *QueryUserEntryRequest) Size() (n int)
func (*QueryUserEntryRequest) String ¶
func (m *QueryUserEntryRequest) String() string
func (*QueryUserEntryRequest) Unmarshal ¶
func (m *QueryUserEntryRequest) Unmarshal(dAtA []byte) error
func (*QueryUserEntryRequest) XXX_DiscardUnknown ¶
func (m *QueryUserEntryRequest) XXX_DiscardUnknown()
func (*QueryUserEntryRequest) XXX_Marshal ¶
func (m *QueryUserEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserEntryRequest) XXX_Merge ¶
func (m *QueryUserEntryRequest) XXX_Merge(src proto.Message)
func (*QueryUserEntryRequest) XXX_Size ¶
func (m *QueryUserEntryRequest) XXX_Size() int
func (*QueryUserEntryRequest) XXX_Unmarshal ¶
func (m *QueryUserEntryRequest) XXX_Unmarshal(b []byte) error
type QueryUserEntryResponse ¶
type QueryUserEntryResponse struct {
UserEntry UserEntry `protobuf:"bytes,1,opt,name=user_entry,json=userEntry,proto3" json:"user_entry"`
}
func (*QueryUserEntryResponse) Descriptor ¶
func (*QueryUserEntryResponse) Descriptor() ([]byte, []int)
func (*QueryUserEntryResponse) GetUserEntry ¶
func (m *QueryUserEntryResponse) GetUserEntry() UserEntry
func (*QueryUserEntryResponse) Marshal ¶
func (m *QueryUserEntryResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserEntryResponse) MarshalTo ¶
func (m *QueryUserEntryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserEntryResponse) MarshalToSizedBuffer ¶
func (m *QueryUserEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserEntryResponse) ProtoMessage ¶
func (*QueryUserEntryResponse) ProtoMessage()
func (*QueryUserEntryResponse) Reset ¶
func (m *QueryUserEntryResponse) Reset()
func (*QueryUserEntryResponse) Size ¶
func (m *QueryUserEntryResponse) Size() (n int)
func (*QueryUserEntryResponse) String ¶
func (m *QueryUserEntryResponse) String() string
func (*QueryUserEntryResponse) Unmarshal ¶
func (m *QueryUserEntryResponse) Unmarshal(dAtA []byte) error
func (*QueryUserEntryResponse) XXX_DiscardUnknown ¶
func (m *QueryUserEntryResponse) XXX_DiscardUnknown()
func (*QueryUserEntryResponse) XXX_Marshal ¶
func (m *QueryUserEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserEntryResponse) XXX_Merge ¶
func (m *QueryUserEntryResponse) XXX_Merge(src proto.Message)
func (*QueryUserEntryResponse) XXX_Size ¶
func (m *QueryUserEntryResponse) XXX_Size() int
func (*QueryUserEntryResponse) XXX_Unmarshal ¶
func (m *QueryUserEntryResponse) XXX_Unmarshal(b []byte) error
type QueryUsersEntriesRequest ¶
type QueryUsersEntriesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryUsersEntriesRequest) Descriptor ¶
func (*QueryUsersEntriesRequest) Descriptor() ([]byte, []int)
func (*QueryUsersEntriesRequest) GetPagination ¶
func (m *QueryUsersEntriesRequest) GetPagination() *query.PageRequest
func (*QueryUsersEntriesRequest) Marshal ¶
func (m *QueryUsersEntriesRequest) Marshal() (dAtA []byte, err error)
func (*QueryUsersEntriesRequest) MarshalTo ¶
func (m *QueryUsersEntriesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUsersEntriesRequest) MarshalToSizedBuffer ¶
func (m *QueryUsersEntriesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUsersEntriesRequest) ProtoMessage ¶
func (*QueryUsersEntriesRequest) ProtoMessage()
func (*QueryUsersEntriesRequest) Reset ¶
func (m *QueryUsersEntriesRequest) Reset()
func (*QueryUsersEntriesRequest) Size ¶
func (m *QueryUsersEntriesRequest) Size() (n int)
func (*QueryUsersEntriesRequest) String ¶
func (m *QueryUsersEntriesRequest) String() string
func (*QueryUsersEntriesRequest) Unmarshal ¶
func (m *QueryUsersEntriesRequest) Unmarshal(dAtA []byte) error
func (*QueryUsersEntriesRequest) XXX_DiscardUnknown ¶
func (m *QueryUsersEntriesRequest) XXX_DiscardUnknown()
func (*QueryUsersEntriesRequest) XXX_Marshal ¶
func (m *QueryUsersEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUsersEntriesRequest) XXX_Merge ¶
func (m *QueryUsersEntriesRequest) XXX_Merge(src proto.Message)
func (*QueryUsersEntriesRequest) XXX_Size ¶
func (m *QueryUsersEntriesRequest) XXX_Size() int
func (*QueryUsersEntriesRequest) XXX_Unmarshal ¶
func (m *QueryUsersEntriesRequest) XXX_Unmarshal(b []byte) error
type QueryUsersEntriesResponse ¶
type QueryUsersEntriesResponse struct { UsersEntries []UserEntry `protobuf:"bytes,1,rep,name=users_entries,json=usersEntries,proto3" json:"users_entries"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryUsersEntriesResponse) Descriptor ¶
func (*QueryUsersEntriesResponse) Descriptor() ([]byte, []int)
func (*QueryUsersEntriesResponse) GetPagination ¶
func (m *QueryUsersEntriesResponse) GetPagination() *query.PageResponse
func (*QueryUsersEntriesResponse) GetUsersEntries ¶
func (m *QueryUsersEntriesResponse) GetUsersEntries() []UserEntry
func (*QueryUsersEntriesResponse) Marshal ¶
func (m *QueryUsersEntriesResponse) Marshal() (dAtA []byte, err error)
func (*QueryUsersEntriesResponse) MarshalTo ¶
func (m *QueryUsersEntriesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUsersEntriesResponse) MarshalToSizedBuffer ¶
func (m *QueryUsersEntriesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUsersEntriesResponse) ProtoMessage ¶
func (*QueryUsersEntriesResponse) ProtoMessage()
func (*QueryUsersEntriesResponse) Reset ¶
func (m *QueryUsersEntriesResponse) Reset()
func (*QueryUsersEntriesResponse) Size ¶
func (m *QueryUsersEntriesResponse) Size() (n int)
func (*QueryUsersEntriesResponse) String ¶
func (m *QueryUsersEntriesResponse) String() string
func (*QueryUsersEntriesResponse) Unmarshal ¶
func (m *QueryUsersEntriesResponse) Unmarshal(dAtA []byte) error
func (*QueryUsersEntriesResponse) XXX_DiscardUnknown ¶
func (m *QueryUsersEntriesResponse) XXX_DiscardUnknown()
func (*QueryUsersEntriesResponse) XXX_Marshal ¶
func (m *QueryUsersEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUsersEntriesResponse) XXX_Merge ¶
func (m *QueryUsersEntriesResponse) XXX_Merge(src proto.Message)
func (*QueryUsersEntriesResponse) XXX_Size ¶
func (m *QueryUsersEntriesResponse) XXX_Size() int
func (*QueryUsersEntriesResponse) XXX_Unmarshal ¶
func (m *QueryUsersEntriesResponse) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
StakingKeeper defines the expected feegrant keeper interface
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddClaimRecords ¶
func (*UnimplementedMsgServer) AddClaimRecords(ctx context.Context, req *MsgAddClaimRecords) (*MsgAddClaimRecordsResponse, error)
func (*UnimplementedMsgServer) AddMission ¶
func (*UnimplementedMsgServer) AddMission(ctx context.Context, req *MsgAddMission) (*MsgAddMissionResponse, error)
func (*UnimplementedMsgServer) Claim ¶
func (*UnimplementedMsgServer) Claim(ctx context.Context, req *MsgClaim) (*MsgClaimResponse, error)
func (*UnimplementedMsgServer) CloseCampaign ¶
func (*UnimplementedMsgServer) CloseCampaign(ctx context.Context, req *MsgCloseCampaign) (*MsgCloseCampaignResponse, error)
func (*UnimplementedMsgServer) CreateCampaign ¶
func (*UnimplementedMsgServer) CreateCampaign(ctx context.Context, req *MsgCreateCampaign) (*MsgCreateCampaignResponse, error)
func (*UnimplementedMsgServer) DeleteClaimRecord ¶
func (*UnimplementedMsgServer) DeleteClaimRecord(ctx context.Context, req *MsgDeleteClaimRecord) (*MsgDeleteClaimRecordResponse, error)
func (*UnimplementedMsgServer) EnableCampaign ¶
func (*UnimplementedMsgServer) EnableCampaign(ctx context.Context, req *MsgEnableCampaign) (*MsgEnableCampaignResponse, error)
func (*UnimplementedMsgServer) InitialClaim ¶
func (*UnimplementedMsgServer) InitialClaim(ctx context.Context, req *MsgInitialClaim) (*MsgInitialClaimResponse, error)
func (*UnimplementedMsgServer) RemoveCampaign ¶
func (*UnimplementedMsgServer) RemoveCampaign(ctx context.Context, req *MsgRemoveCampaign) (*MsgRemoveCampaignResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Campaign ¶
func (*UnimplementedQueryServer) Campaign(ctx context.Context, req *QueryCampaignRequest) (*QueryCampaignResponse, error)
func (*UnimplementedQueryServer) CampaignMissions ¶
func (*UnimplementedQueryServer) CampaignMissions(ctx context.Context, req *QueryCampaignMissionsRequest) (*QueryCampaignMissionsResponse, error)
func (*UnimplementedQueryServer) Campaigns ¶
func (*UnimplementedQueryServer) Campaigns(ctx context.Context, req *QueryCampaignsRequest) (*QueryCampaignsResponse, error)
func (*UnimplementedQueryServer) Mission ¶
func (*UnimplementedQueryServer) Mission(ctx context.Context, req *QueryMissionRequest) (*QueryMissionResponse, error)
func (*UnimplementedQueryServer) Missions ¶
func (*UnimplementedQueryServer) Missions(ctx context.Context, req *QueryMissionsRequest) (*QueryMissionsResponse, error)
func (*UnimplementedQueryServer) UserEntry ¶
func (*UnimplementedQueryServer) UserEntry(ctx context.Context, req *QueryUserEntryRequest) (*QueryUserEntryResponse, error)
func (*UnimplementedQueryServer) UsersEntries ¶
func (*UnimplementedQueryServer) UsersEntries(ctx context.Context, req *QueryUsersEntriesRequest) (*QueryUsersEntriesResponse, error)
type UserEntry ¶
type UserEntry struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` ClaimRecords []*ClaimRecord `protobuf:"bytes,3,rep,name=claim_records,json=claimRecords,proto3" json:"claim_records,omitempty"` }
func (*UserEntry) DeleteClaimRecord ¶
DeleteClaimRecord deletes the claim record for the specified campaign ID
func (*UserEntry) Descriptor ¶
func (*UserEntry) GetAddress ¶
func (*UserEntry) GetClaimRecord ¶
func (cr *UserEntry) GetClaimRecord(campaignId uint64) *ClaimRecord
func (*UserEntry) GetClaimRecords ¶
func (m *UserEntry) GetClaimRecords() []*ClaimRecord
func (*UserEntry) HasCampaign ¶
HasCampaign checks if the specified reccord for campignId ID exists
func (*UserEntry) MarshalToSizedBuffer ¶
func (*UserEntry) MustGetClaimRecord ¶
func (cr *UserEntry) MustGetClaimRecord(camapaignId uint64) (*ClaimRecord, error)
func (*UserEntry) ProtoMessage ¶
func (*UserEntry) ProtoMessage()
func (*UserEntry) XXX_DiscardUnknown ¶
func (m *UserEntry) XXX_DiscardUnknown()
func (*UserEntry) XXX_Marshal ¶
func (*UserEntry) XXX_Unmarshal ¶
Source Files ¶
- campaign.go
- campaign.pb.go
- claim_record.pb.go
- codec.go
- errors.go
- event.pb.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_add_mission_to_campaign.go
- message_claim.go
- message_close_campaign.go
- message_create_campaign.go
- message_enable_campaign.go
- message_initial_claim.go
- message_remove_campaign.go
- messages_claim_record.go
- mission.go
- mission.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- user_entry.go