PYTHON_WEB3 Telegram 99
Linea checker

Я не буду писать софт, вы можете посчитать свою аллокацию сами:

  function calculateAllocation(address _account) public view returns (uint256 tokenAllocation) {
if (address(PRIMARY_FACTOR_ADDRESS) != address(0)) {
tokenAllocation = (PRIMARY_FACTOR_ADDRESS.balanceOf(_account) * PRIMARY_CONDITIONAL_MULTIPLIER_ADDRESS.balanceOf(_account)) / DENOMINATOR;
}

if (address(SECONDARY_FACTOR_ADDRESS) != address(0)) {
tokenAllocation += SECONDARY_FACTOR_ADDRESS.balanceOf(_account);
}
}


Переводя на человеческий:
allocation = LAM * LXP * 1_000_000_000 + LXPL



Так же я сделал форк одной дюны, просто поправил формулу на актуальную. Поэтому чекнуть можете ещё и здесь:

https://dune.com/queries/5718373

Антидрейн | Канал
👍127



tgoop.com/python_web3/99
Create:
Last Update:

Linea checker

Я не буду писать софт, вы можете посчитать свою аллокацию сами:

  function calculateAllocation(address _account) public view returns (uint256 tokenAllocation) {
if (address(PRIMARY_FACTOR_ADDRESS) != address(0)) {
tokenAllocation = (PRIMARY_FACTOR_ADDRESS.balanceOf(_account) * PRIMARY_CONDITIONAL_MULTIPLIER_ADDRESS.balanceOf(_account)) / DENOMINATOR;
}

if (address(SECONDARY_FACTOR_ADDRESS) != address(0)) {
tokenAllocation += SECONDARY_FACTOR_ADDRESS.balanceOf(_account);
}
}


Переводя на человеческий:
allocation = LAM * LXP * 1_000_000_000 + LXPL



Так же я сделал форк одной дюны, просто поправил формулу на актуальную. Поэтому чекнуть можете ещё и здесь:

https://dune.com/queries/5718373

Антидрейн | Канал

BY Прогаю крипту


Share with your friend now:
tgoop.com/python_web3/99

View MORE
Open in Telegram


Telegram News

Date: |

ZDNET RECOMMENDS Healing through screaming therapy Informative Write your hashtags in the language of your target audience. Hui said the messages, which included urging the disruption of airport operations, were attempts to incite followers to make use of poisonous, corrosive or flammable substances to vandalize police vehicles, and also called on others to make weapons to harm police.
from us


Telegram Прогаю крипту
FROM American