types

package
v2.0.0-rc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	UnspecifiedCampaign = CampaignType_CAMPAIGN_TYPE_UNSPECIFIED
	DefaultCampaign     = CampaignType_DEFAULT
	VestingPoolCampaign = CampaignType_VESTING_POOL
)

Campaign types

View Source
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"
)
View Source
const (
	TypeMsgAddClaimRecords   = "add_claim_records"
	TypeMsgDeleteClaimRecord = "delete_claim_record"
)
View Source
const (
	MissionEmpty        = MissionType_MISSION_TYPE_UNSPECIFIED
	MissionInitialClaim = MissionType_INITIAL_CLAIM
	MissionDelegate     = MissionType_DELEGATE
	MissionVote         = MissionType_VOTE
	MissionClaim        = MissionType_CLAIM
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const InitialMissionId = 0
View Source
const TypeMsgAddMission = "add_mission"
View Source
const TypeMsgClaim = "claim"
View Source
const TypeMsgCloseCampaign = "close_campaign"
View Source
const TypeMsgCreateCampaign = "create_campaign"
View Source
const TypeMsgEnableCampaign = "enable_campaign"
View Source
const TypeMsgInitialClaim = "initial_claim"
View Source
const TypeMsgRemoveCampaign = "remove_campaign"

Variables

View Source
var (
	ErrInvalidLengthCampaign        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCampaign          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCampaign = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthClaimRecord        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClaimRecord          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupClaimRecord = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	Amino     = codec.NewLegacyAmino()
	ModuleCdc = codec.NewAminoCodec(Amino)
)
View Source
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")
	ErrMissionCompletion   = errors.Register(ModuleName, 6, "mission completion error")
	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

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	CampaignKeyPrefix      = []byte{0x00}
	CampaignCountKeyPrefix = []byte{0x01}
	MissionKeyPrefix       = []byte{0x02}
	MissionCountKeyPrefix  = []byte{0x03}
	UserEntryKeyPrefix     = []byte{0x04}
)
View Source
var (
	ErrInvalidLengthMission        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMission          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMission = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var CampaignType_name = map[int32]string{
	0: "CAMPAIGN_TYPE_UNSPECIFIED",
	1: "DEFAULT",
	2: "VESTING_POOL",
}
View Source
var CampaignType_value = map[string]int32{
	"CAMPAIGN_TYPE_UNSPECIFIED": 0,
	"DEFAULT":                   1,
	"VESTING_POOL":              2,
}
View Source
var MissionType_name = map[int32]string{
	0: "MISSION_TYPE_UNSPECIFIED",
	1: "INITIAL_CLAIM",
	2: "DELEGATE",
	3: "VOTE",
	4: "CLAIM",
}
View Source
var MissionType_value = map[string]int32{
	"MISSION_TYPE_UNSPECIFIED": 0,
	"INITIAL_CLAIM":            1,
	"DELEGATE":                 2,
	"VOTE":                     3,
	"CLAIM":                    4,
}

Functions

func GetUint64Key

func GetUint64Key(campaignId uint64) []byte

func MissionKey

func MissionKey(campaignId uint64, missionId uint64) []byte

func NormalizeCampaignType

func NormalizeCampaignType(option string) string

NormalizeCampaignType - normalize user specified vote option

func NormalizeMissionType

func NormalizeMissionType(option string) string

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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 ValidateAddMission(owner string, name string, description string, missionType MissionType, weight sdk.Dec) error

func ValidateCampaignTimes

func ValidateCampaignTimes(startTime time.Time, endTime time.Time) error

func ValidateClaimRecordEntries

func ValidateClaimRecordEntries(claimRecordEntries []*ClaimRecordEntry) error

func ValidateCreateCampaignParams

func ValidateCreateCampaignParams(name string, description string, feegrantAmount math.Int,
	initialClaimFreeAmount math.Int, free sdk.Dec, startTime time.Time, endTime time.Time,
	campaignType CampaignType, lockupPeriod time.Duration, vestingPeriod time.Duration, vestingPoolName string) 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 (c *Campaign) DecrementCampaignCurrentAmount(coins sdk.Coins)

func (*Campaign) DecrementCampaignTotalAmount

func (c *Campaign) DecrementCampaignTotalAmount(coins sdk.Coins)

func (*Campaign) Descriptor

func (*Campaign) Descriptor() ([]byte, []int)

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 (m *Campaign) GetDescription() string

func (*Campaign) GetEnabled

func (m *Campaign) GetEnabled() bool

func (*Campaign) GetEndTime

func (m *Campaign) GetEndTime() time.Time

func (*Campaign) GetId

func (m *Campaign) GetId() uint64

func (*Campaign) GetLockupPeriod

func (m *Campaign) GetLockupPeriod() time.Duration

func (*Campaign) GetName

func (m *Campaign) GetName() string

func (*Campaign) GetOwner

func (m *Campaign) GetOwner() string

func (*Campaign) GetRemovableClaimRecords

func (m *Campaign) GetRemovableClaimRecords() bool

func (*Campaign) GetStartTime

func (m *Campaign) GetStartTime() time.Time

func (*Campaign) GetVestingPeriod

func (m *Campaign) GetVestingPeriod() time.Duration

func (*Campaign) GetVestingPoolName

func (m *Campaign) GetVestingPoolName() string

func (*Campaign) IncrementCampaignCurrentAmount

func (c *Campaign) IncrementCampaignCurrentAmount(coins sdk.Coins)

func (*Campaign) IncrementCampaignTotalAmount

func (c *Campaign) IncrementCampaignTotalAmount(coins sdk.Coins)

func (*Campaign) Marshal

func (m *Campaign) Marshal() (dAtA []byte, err error)

func (*Campaign) MarshalTo

func (m *Campaign) MarshalTo(dAtA []byte) (int, error)

func (*Campaign) MarshalToSizedBuffer

func (m *Campaign) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Campaign) ProtoMessage

func (*Campaign) ProtoMessage()

func (*Campaign) Reset

func (m *Campaign) Reset()

func (*Campaign) Size

func (m *Campaign) Size() (n int)

func (*Campaign) String

func (m *Campaign) String() string

func (*Campaign) Unmarshal

func (m *Campaign) Unmarshal(dAtA []byte) error

func (*Campaign) ValidateCloseCampaignParams

func (c *Campaign) ValidateCloseCampaignParams(owner string) error

func (*Campaign) ValidateEnableCampaignParams

func (c *Campaign) ValidateEnableCampaignParams(owner string) error

func (*Campaign) ValidateEndTimeAfterBlockTime

func (c *Campaign) ValidateEndTimeAfterBlockTime(blockTime time.Time) error

func (*Campaign) ValidateEnded

func (c *Campaign) ValidateEnded(blockTime time.Time) error

func (*Campaign) ValidateIsActive

func (c *Campaign) ValidateIsActive(blockTime time.Time) error

func (*Campaign) ValidateIsEnabled

func (c *Campaign) ValidateIsEnabled() error

func (*Campaign) ValidateMissionClaimStartDate

func (c *Campaign) ValidateMissionClaimStartDate(claimStartDate *time.Time) error

func (*Campaign) ValidateNotEnabled

func (c *Campaign) ValidateNotEnabled() error

func (*Campaign) ValidateNotEnded

func (c *Campaign) ValidateNotEnded(blockTime time.Time) error

func (*Campaign) ValidateOwner

func (c *Campaign) ValidateOwner(owner string) error

func (*Campaign) ValidateRemovableClaimRecords

func (c *Campaign) ValidateRemovableClaimRecords() error

func (*Campaign) ValidateRemoveCampaignParams

func (c *Campaign) ValidateRemoveCampaignParams(owner string) error

func (*Campaign) XXX_DiscardUnknown

func (m *Campaign) XXX_DiscardUnknown()

func (*Campaign) XXX_Marshal

func (m *Campaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Campaign) XXX_Merge

func (m *Campaign) XXX_Merge(src proto.Message)

func (*Campaign) XXX_Size

func (m *Campaign) XXX_Size() int

func (*Campaign) XXX_Unmarshal

func (m *Campaign) XXX_Unmarshal(b []byte) error

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=completedMissions,proto3" json:"completedMissions,omitempty"`
	ClaimedMissions   []uint64                                 `protobuf:"varint,5,rep,packed,name=claimedMissions,proto3" json:"claimedMissions,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 (*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) MarshalTo

func (m *ClaimRecord) MarshalTo(dAtA []byte) (int, 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 (*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) MarshalTo

func (m *ClaimRecordEntry) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *EventAddMission) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *EventClaim) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *EventNewCampaign) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 NewInitialMission(campaignId uint64) *Mission

func (*Mission) Descriptor

func (*Mission) Descriptor() ([]byte, []int)

func (*Mission) GetCampaignId

func (m *Mission) GetCampaignId() uint64

func (*Mission) GetClaimStartDate

func (m *Mission) GetClaimStartDate() *time.Time

func (*Mission) GetDescription

func (m *Mission) GetDescription() string

func (*Mission) GetId

func (m *Mission) GetId() uint64

func (*Mission) GetMissionType

func (m *Mission) GetMissionType() MissionType

func (*Mission) GetName

func (m *Mission) GetName() string

func (*Mission) IsEnabled

func (c *Mission) IsEnabled(blockTime time.Time) error

func (*Mission) Marshal

func (m *Mission) Marshal() (dAtA []byte, err error)

func (*Mission) MarshalTo

func (m *Mission) MarshalTo(dAtA []byte) (int, error)

func (*Mission) MarshalToSizedBuffer

func (m *Mission) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Mission) ProtoMessage

func (*Mission) ProtoMessage()

func (*Mission) Reset

func (m *Mission) Reset()

func (*Mission) Size

func (m *Mission) Size() (n int)

func (*Mission) String

func (m *Mission) String() string

func (*Mission) Unmarshal

func (m *Mission) Unmarshal(dAtA []byte) error

func (*Mission) XXX_DiscardUnknown

func (m *Mission) XXX_DiscardUnknown()

func (*Mission) XXX_Marshal

func (m *Mission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mission) XXX_Merge

func (m *Mission) XXX_Merge(src proto.Message)

func (*Mission) XXX_Size

func (m *Mission) XXX_Size() int

func (*Mission) XXX_Unmarshal

func (m *Mission) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *MissionCount) MarshalTo(dAtA []byte) (int, 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
)

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=campaignId,proto3" json:"campaignId,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,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) MarshalTo

func (m *MsgAddMission) MarshalTo(dAtA []byte) (int, 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 NewMsgClaim

func NewMsgClaim(claimer string, campaignId uint64, missionId uint64) *MsgClaim

func (*MsgClaim) Descriptor

func (*MsgClaim) Descriptor() ([]byte, []int)

func (*MsgClaim) GetCampaignId

func (m *MsgClaim) GetCampaignId() uint64

func (*MsgClaim) GetClaimer

func (m *MsgClaim) GetClaimer() string

func (*MsgClaim) GetMissionId

func (m *MsgClaim) GetMissionId() uint64

func (*MsgClaim) GetSignBytes

func (msg *MsgClaim) GetSignBytes() []byte

func (*MsgClaim) GetSigners

func (msg *MsgClaim) GetSigners() []sdk.AccAddress

func (*MsgClaim) Marshal

func (m *MsgClaim) Marshal() (dAtA []byte, err error)

func (*MsgClaim) MarshalTo

func (m *MsgClaim) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaim) MarshalToSizedBuffer

func (m *MsgClaim) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaim) ProtoMessage

func (*MsgClaim) ProtoMessage()

func (*MsgClaim) Reset

func (m *MsgClaim) Reset()

func (*MsgClaim) Route

func (msg *MsgClaim) Route() string

func (*MsgClaim) Size

func (m *MsgClaim) Size() (n int)

func (*MsgClaim) String

func (m *MsgClaim) String() string

func (*MsgClaim) Type

func (msg *MsgClaim) Type() string

func (*MsgClaim) Unmarshal

func (m *MsgClaim) Unmarshal(dAtA []byte) error

func (*MsgClaim) ValidateBasic

func (msg *MsgClaim) ValidateBasic() error

func (*MsgClaim) XXX_DiscardUnknown

func (m *MsgClaim) XXX_DiscardUnknown()

func (*MsgClaim) XXX_Marshal

func (m *MsgClaim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaim) XXX_Merge

func (m *MsgClaim) XXX_Merge(src proto.Message)

func (*MsgClaim) XXX_Size

func (m *MsgClaim) XXX_Size() int

func (*MsgClaim) XXX_Unmarshal

func (m *MsgClaim) XXX_Unmarshal(b []byte) error

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 (*MsgClaimResponse) Marshal

func (m *MsgClaimResponse) Marshal() (dAtA []byte, err error)

func (*MsgClaimResponse) MarshalTo

func (m *MsgClaimResponse) MarshalTo(dAtA []byte) (int, 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

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) MarshalTo

func (m *MsgCloseCampaign) MarshalTo(dAtA []byte) (int, 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                            `` /* 127-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=vestingPoolName,proto3" json:"vestingPoolName,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=campaignId,proto3" json:"campaignId,omitempty"`
	UserAddress string `protobuf:"bytes,3,opt,name=userAddress,proto3" json:"userAddress,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 (*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=campaignId,proto3" json:"campaignId,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 NewMsgEnableCampaign(owner string, campaignId uint64, startTime *time.Time, endTime *time.Time) *MsgEnableCampaign

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=destinationAddress,proto3" json:"destinationAddress,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) MarshalTo

func (m *MsgInitialClaim) MarshalTo(dAtA []byte) (int, 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 (*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=campaignId,proto3" json:"campaignId,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 QueryCampaignMissionsRequest

type QueryCampaignMissionsRequest struct {
	CampaignId uint64             `protobuf:"varint,1,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryCampaignMissionsRequest) Descriptor

func (*QueryCampaignMissionsRequest) Descriptor() ([]byte, []int)

func (*QueryCampaignMissionsRequest) GetCampaignId

func (m *QueryCampaignMissionsRequest) GetCampaignId() uint64

func (*QueryCampaignMissionsRequest) GetPagination

func (m *QueryCampaignMissionsRequest) GetPagination() *query.PageRequest

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 (*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"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryCampaignMissionsResponse) Descriptor

func (*QueryCampaignMissionsResponse) Descriptor() ([]byte, []int)

func (*QueryCampaignMissionsResponse) GetMissions

func (m *QueryCampaignMissionsResponse) GetMissions() []Mission

func (*QueryCampaignMissionsResponse) GetPagination

func (m *QueryCampaignMissionsResponse) GetPagination() *query.PageResponse

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 (*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

type StakingKeeper interface {
	BondDenom(ctx sdk.Context) (res string)
}

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) AddMission

func (*UnimplementedMsgServer) Claim

func (*UnimplementedMsgServer) CloseCampaign

func (*UnimplementedMsgServer) CreateCampaign

func (*UnimplementedMsgServer) DeleteClaimRecord

func (*UnimplementedMsgServer) EnableCampaign

func (*UnimplementedMsgServer) InitialClaim

func (*UnimplementedMsgServer) RemoveCampaign

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Campaign

func (*UnimplementedQueryServer) CampaignMissions

func (*UnimplementedQueryServer) Campaigns

func (*UnimplementedQueryServer) Mission

func (*UnimplementedQueryServer) Missions

func (*UnimplementedQueryServer) UserEntry

func (*UnimplementedQueryServer) UsersEntries

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

func (cr *UserEntry) DeleteClaimRecord(campaignId uint64)

DeleteClaimRecord deletes the claim record for the specified campaign ID

func (*UserEntry) Descriptor

func (*UserEntry) Descriptor() ([]byte, []int)

func (*UserEntry) GetAddress

func (m *UserEntry) GetAddress() string

func (*UserEntry) GetClaimRecord

func (cr *UserEntry) GetClaimRecord(campaignId uint64) *ClaimRecord

func (*UserEntry) GetClaimRecords

func (m *UserEntry) GetClaimRecords() []*ClaimRecord

func (*UserEntry) HasCampaign

func (m *UserEntry) HasCampaign(campaignId uint64) bool

HasCampaign checks if the specified reccord for campignId ID exists

func (*UserEntry) Marshal

func (m *UserEntry) Marshal() (dAtA []byte, err error)

func (*UserEntry) MarshalTo

func (m *UserEntry) MarshalTo(dAtA []byte) (int, error)

func (*UserEntry) MarshalToSizedBuffer

func (m *UserEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserEntry) MustGetClaimRecord

func (cr *UserEntry) MustGetClaimRecord(camapaignId uint64) (*ClaimRecord, error)

func (*UserEntry) ProtoMessage

func (*UserEntry) ProtoMessage()

func (*UserEntry) Reset

func (m *UserEntry) Reset()

func (*UserEntry) Size

func (m *UserEntry) Size() (n int)

func (*UserEntry) String

func (m *UserEntry) String() string

func (*UserEntry) Unmarshal

func (m *UserEntry) Unmarshal(dAtA []byte) error

func (*UserEntry) Validate

func (m *UserEntry) Validate() error

Validate checks the userEntry is valid

func (*UserEntry) XXX_DiscardUnknown

func (m *UserEntry) XXX_DiscardUnknown()

func (*UserEntry) XXX_Marshal

func (m *UserEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserEntry) XXX_Merge

func (m *UserEntry) XXX_Merge(src proto.Message)

func (*UserEntry) XXX_Size

func (m *UserEntry) XXX_Size() int

func (*UserEntry) XXX_Unmarshal

func (m *UserEntry) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL