exported

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CampaignI

type CampaignI interface {
	GetId() uint64
	GetName() string
	GetDescription() string
	GetStartTime() time.Time
	GetEndTime() time.Time
	GetNftDenomId() string
	GetMaxAllowedClaims() uint64
	GetClaimType() string
	GetInteraction() string
	GetCreator() sdk.AccAddress
	GetTokensPerClaim() sdk.Coin
	GetTotalTokens() sdk.Coin
	GetAvailableTokens() sdk.Coin
	GetReceivedNftIds() []string
	GetNftMintDetails() interface{}
	GetDistribution() interface{}
}

type ClaimI

type ClaimI interface {
	GetCampaignId() uint64
	GetAddress() sdk.AccAddress
	GetNftId() string
	GetInteractionType() string
}

type ParamSet

type ParamSet = paramtypes.ParamSet

type Subspace

type Subspace interface {
	GetParamSet(ctx sdk.Context, ps ParamSet)
}

Subspace defines an interface that implements the legacy x/params Subspace type.

NOTE: This is used solely for migration of x/params managed parameters.

Jump to

Keyboard shortcuts

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