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.

ProbabilityMinimum weightMaximum 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+(randomNumbermodminWeight))weight = \min(maxWeight, minWeight + (randomNumber \bmod minWeight))

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.

Last updated