Documentation
¶
Index ¶
Constants ¶
View Source
const VERSION = "v1.0.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AxieCollection ¶
type AxieCollection string
const ( MysticAxie AxieCollection = "mystic" XmasAxie AxieCollection = "xmas" JapaneseAxie AxieCollection = "japanese" ShinyAxie AxieCollection = "shiny" SummerAxie AxieCollection = "summer" OriginAxie AxieCollection = "origin" )
type AxieSummary ¶
type AxieSummary map[AxieCollection]int
type LandCollection ¶
type LandCollection string
const ( SavannahLand LandCollection = "savannah" ForestLand LandCollection = "forest" ArcticLand LandCollection = "arctic" MysticLand LandCollection = "mystic" GenesisLand LandCollection = "genesis" )
type LandSummary ¶
type LandSummary map[LandCollection]int
type StakingType ¶
type StakingType string
const ( RONStaking StakingType = "ron" AXSStaking StakingType = "axs" LANDStaking StakingType = "land" )
type TokenGateClient ¶
type TokenGateClient interface { HasAxieFromCollection(wallet common.Address, collection AxieCollection) (bool, error) HasLandFromCollection(wallet common.Address, collection LandCollection) (bool, error) GetAxieSummary(wallet common.Address) (AxieSummary, error) GetLandSummary(wallet common.Address) (LandSummary, error) }
func New ¶
func New() TokenGateClient
Click to show internal directories.
Click to hide internal directories.