arrow-left

All pages
gitbookPowered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

SNOW721TierParams

hashtag
Code

github link

hashtag
Definition

/**
  @member contributionFloor The minimum contribution to qualify for this tier.
  @member lockedUntil The time up to which this tier cannot be removed or paused.
  @member initialQuantity The initial `remainingAllowance` value when the tier was set.
  @member votingUnits The amount of voting significance to give this tier compared to others.
  @memver reservedRate The number of minted tokens needed in the tier to allow for minting another reserved token.
  @member reservedRateBeneficiary The beneificary of the reserved tokens for this tier.
  @member encodedIPFSUri The URI to use for each token within the tier.
  @member allowManualMint A flag indicating if the contract's owner can mint from this tier on demand.
  @member shouldUseBeneficiaryAsDefault A flag indicating if the `reservedTokenBeneficiary` should be stored as the default beneficiary for all tiers.
*/
struct SNOW721TierParams {
  uint256 contributionFloor;
  uint256 lockedUntil;
  uint256 initialQuantity;
  uint256 votingUnits;
  uint256 reservedRate;
  address reservedTokenBeneficiary;
  bytes32 encodedIPFSUri;
  bool allowManualMint;
  bool shouldUseBeneficiaryAsDefault;
}

SNOWBitmapWord

hashtag
Code

Githublink

hashtag
Definition

/**
  @member The information stored at the index.
  @member The index.
*/
struct BitmapWord {
  uint256 currentWord;
  uint256 currentDepth;
}

SNOW721PricingParams

hashtag
Code

link to github

hashtag
Definition

/**
  @member tiers The tiers to set.
  @member currency The currency that the tier contribution floors are denoted in.
  @member decimals The number of decimals included in the tier contribution floor fixed point numbers.
  @member prices A contract that exposes price feeds that can be used to resolved the value of a contributions that are sent in different currencies. Set to the zero address if payments must be made in `currency`.
*/
struct SNOW721PricingParams {
  SNOW721TierParams[] tiers;
  uint256 currency;
  uint256 decimals;
  SNOWPrices prices;
}

SNOWDeployTiered721DelegateData

SNOW721Tier

hashtag
Code

link to github

hashtag
Definition

/**
  @member id The tier's ID.
  @member contributionFloor The minimum contribution to qualify for this tier.
  @member lockedUntil The time up to which this tier cannot be removed or paused.
  @member remainingQuantity Remaining number of tokens in this tier. Together with idCeiling this enables for consecutive, increasing token ids to be issued to contributors.
  @member initialQuantity The initial `remainingAllowance` value when the tier was set.
  @member votingUnits The amount of voting significance to give this tier compared to others.
  @member reservedRate The number of minted tokens needed in the tier to allow for minting another reserved token.
  @member reservedRateBeneficiary The beneificary of the reserved tokens for this tier.
  @member encodedIPFSUri The URI to use for each token within the tier.
  @member allowManualMint A flag indicating if the contract's owner can mint from this tier on demand.
*/
struct SNOW721Tier {
  uint256 id;
  uint256 contributionFloor;
  uint256 lockedUntil;
  uint256 remainingQuantity;
  uint256 initialQuantity;
  uint256 votingUnits;
  uint256 reservedRate;
  address reservedTokenBeneficiary;
  bytes32 encodedIPFSUri;
  bool allowManualMint;
}

Data Structures

Welcome to the Data Structures section of Snowcone documentation. Here you'll find comprehensive details about the different data structures used within Snowcone. We'll go through each of these data structures one by one and discuss how they are used.

hashtag
Contents

  1. SNOW721PricingParams

hashtag
SNOW721PricingParams

This section covers the SNOW721PricingParams data structure, which manages the pricing parameters for Snowcone's NFTs.

hashtag
SNOW721Tier

This section covers the SNOW721Tier data structure, which is used to define the different tiers for Snowcone's NFTs.

hashtag
SNOW721TierParams

Here we discuss the SNOW721TierParams data structure, which is used to set up the parameters for each tier.

hashtag
SNOWBitmapWord

This section covers the SNOWBitmapWord data structure, which is used to handle bitmap-based operations.

hashtag
SNOWDeployTiered721DelegateData

In this section, we explore the SNOWDeployTiered721DelegateData data structure, which sets up the delegate data for the tiered 721 tokens.

hashtag
SNOWDidPayData

This section covers the SNOWDidPayData data structure, which is used to manage payment data in the Snowcone protocol.

We hope this guide helps you understand the various data structures used in the Snowcone protocol. If you have any questions or need further clarification, please reach out to our team.

SNOW721Tier
SNOW721TierParams
SNOWBitmapWord
SNOWDeployTiered721DelegateData
SNOWDidPayData
Read More
Read More
Read More
Read More
Read More
Read More

SNOWDidPayData