Vanilla
  • Welcome to Vanilla
  • Features
    • Process
    • Auction
    • Trade
    • Ticket
    • Stake
    • Boost
    • Reinforce (Amplify)
      • Random table
    • Borrow
      • Interest rate
      • Factors
    • VV2E (Vanilla Virtual To Everything)
      • VV2E - MR (Mixed Reality)
      • VV2E - VR (Virtual Reality)
  • Wallet
  • Tokenomics
  • Media
  • Exchange
  • Partnership
  • Sponsor
  • Development
  • FAQ
  • Contact
Powered by GitBook
On this page
  • Probability table
  • Weight Formula
  1. Features
  2. Reinforce (Amplify)

Random table

Random table will give your NFTs new weight

Probability table

You will get random number by Chainlink's VRF. Then your minimum weight and maximum weight for NFT will be set as below.

Probability
Minimum weight
Maximum weight

0.01%

500

1000

0.09%

50

100

4.9%

1

2

20%

0.2

0.4

75%

0.05

0.1

Weight Formula

When your minimum weight and maximum weight is set, your exact weight will be set as below.

weight=min⁡(maxWeight,minWeight+(randomNumber mod minWeight))weight = \min(maxWeight, minWeight + (randomNumber \bmod minWeight))weight=min(maxWeight,minWeight+(randomNumbermodminWeight))

​

ex) You requested to amplify a NFT. By Chainlink's VRF response, random number of 57896044618658097711785492504343953926634992332820282019728792003956564819968 is given. Then, the probability will be (115792089237316195423570985008687907853269984665640564039457584007913129639935 - 57896044618658097711785492504343953926634992332820282019728792003956564819968 )/115792089237316195423570985008687907853269984665640564039457584007913129639935 = 50%, so your minimum weight will be 0.05, maximum weight will be 0.1. Your exact weight will be 50000000000000000 + 57896044618658097711785492504343953926634992332820282019728792003956564819968 % 68596510000000000 = 0.05 + 0.037856546564819968 = 0.087856546564819968.

PreviousReinforce (Amplify)NextBorrow

Last updated 1 year ago