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: |

Public channels are public to the internet, regardless of whether or not they are subscribed. A public channel is displayed in search results and has a short address (link). As the broader market downturn continues, yelling online has become the crypto trader’s latest coping mechanism after the rise of Goblintown Ethereum NFTs at the end of May and beginning of June, where holders made incoherent groaning sounds and role-played as urine-loving goblin creatures in late-night Twitter Spaces. Some Telegram Channels content management tips A Hong Kong protester with a petrol bomb. File photo: Dylan Hollingsworth/HKFP. best-secure-messaging-apps-shutterstock-1892950018.jpg
from us


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