V3AirdropOperator
This contract operates each airdrop. LP and token to be airdropped are determined at the time of creation and cannot be modified.
Code
Github Link: (Will be updated after official launch)
Events, Read-Only Functions, and State-Changing Functions
Read-Only Functions
getAirdropStat
function getAirdropStat() external view returns (
uint256 totalAmount,
uint256 blockAmount,
uint256 distributableBlock,
uint256 endBlock,
uint256 distributed,
uint256 remain,
bool created
)
Return Values:
Name
Type
Description
totalAmount
uint256
The total amount of airdrop
blockAmount
uint256
The airdroped amount of token per block
distributableBlock
uint256
The block number of available block
endBlock
uint256
The block number of airdrop ended
distributed
uint256
The amount of current distributed
remain
uint256
The amount of remained
created
bool
intialized
getDistributionId
function getDistributionId() public view returns (bytes32 id)
Return Values:
Name
Type
Description
id
bytes32
The ID of the distribution