Kultists
ERC-721 Tokens of 1,000 Loyal KUTHULU Followers that ear massive rewards
Table of Contents
getWhaleSizes
Description
This function retrieves the list of whale sizes (token amounts owned by addresses) within the contract.
Input and Return Variables
(return)
uint256[]
List of token amounts that are owned by an address
Example
getWhales
Description
This function retrieves the list of addresses that own a specific amount of tokens, specified by the level
parameter.
Input and Return Variables
level
uint256
The amount of tokens owned by a single address
(return)
address[]
List of addresses that own that many tokens
Example
getReRollCount
Description
This function retrieves the number of re-rolls that a wallet has when minting a Kultist, specified by the user
parameter.
Input and Return Variables
user
address
The wallet address of the user to lookup
(return)
uint256
The number of re-rolls a wallet has
Example
getTokenDetails
Description
This function retrieves details of a token with the given tokenID, including its summoning and reveal status and re-roll count.
Input and Return Variables
tokenID
uint256
The ID of the token to lookup
(return)
uint256[]
Will return the details of the token
Example
tokenURI
Description
This function retrieves the token metadata URI for the given _tokenID
, which could be different based on the revealed or summoned status of the token.
Input and Return Variables
_tokenID
uint256
The unique Group ID
(return)
string
The unique ID of the group
Example
Last updated