Skip to content

Conversation

@ETeissonniere
Copy link
Member

  • change meta
  • introduce notion of levels and different token URIs
  • move to a soulbound token
  • remove unused batch
  • holder limitation still allows for level ups
  • integrate levels
  • update deploy script

- `N_TOKENS_URI`: URI of NFT metadata.
- `N_MAX_HOLDERS`: maximum number of participants
- `N_TOKENS_URI_ROOT`: URI of NFT metadata folder where each level metadata is later presented
- `N_LEVELS`: number of levels to set
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these levels?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically depending on how many tokens you bridge you get better looking NFTs. Idea from products.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So perhaps it's better to be called N_AMOUNT_REUQIRED_FOR_RANK_0 or N_AMOUNTS_REQUIRED_FOR_RANKS

Comment on lines +127 to +130
N_LEVELS=3 \
N_LEVELS_0=100 \
N_LEVELS_1=200 \
N_LEVELS_2=300 \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems not very hard to have them as
N_LEVELS=100,200,300
then read it through vm.envString and parse it to an array. Just a nice to have suggestion.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree but as far as I know this not quite doable without implementing string manipulation functions or using a library. Let me know if you can think of a straightforward way to do it

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also think you would need to manipulate the string which is (processing wise) not bad for a deployment script

Co-authored-by: Alex Sedighi <alex@nodle.com>
@ETeissonniere ETeissonniere merged commit 1ed5f31 into main Jun 19, 2024
@ETeissonniere ETeissonniere deleted the feat/multi-reward-nfts branch June 19, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants