Distribution
This contract is Airdrop plan contract applied to the pool. You can target one liquidity pool and one token. The contract is executed by an operator with authority through Treasury.
Code
Github Link: (Will be updated after official launch)
Address
Contract adress after production is deployed (scope link)
Events, Read-Only Functions, and State-Changing Functions
Events
Initialized
Event log of airdrop created
Parameters
token
: KIP7 token addressamountPerBlock
: Amount of airdrop tokens to be distributed per blockdistributableBlock
: Start block Numbertargets
: Array of liquidity pool addresses to distributerates
: Array of liquidity pool distribution to distribute
Deposit
Event log of airdrop tokens deposit
Parameters
amount
: Deposit token amounttotalAmount
: Deposit token total amount
RefixBlockAmount
Event log of distribution token amount changed
RefixDistributionRate
Event log of liquidity pool distribution rate changed
ChangeDistributionRate
Event log of distribution rate changed
Distribute
Event log of user receives an airdrop tokens
Parameters
user
: user addresstarget
: LP addressamount
: token amountcurrentIndex
: indexuserRewardSum
: total token amount
Last updated