Meshswap
  • Introduction
  • What is MESH?
    • MESH Allocation
    • MESH Tokenomics
    • MESH Redistribution Policy
  • Get started
    • Create a Wallet
    • Add Polygon Network & Tokens
    • How to move your assets to wallet
      • Transferring MATIC
        • [Binance, Kucoin, Gate.io] How to move MATIC from CEX to Wallet 1
        • [Coinbase, OKX, Upbit, Bithumb, Coinone] How to move MATIC to Wallet 2
        • [Polygon Bridge] How to move MATIC to Wallet 3
      • How to get WETH, MATIC, USDC, USDT, DAI
      • How to get oETH, oMATIC, oUSDC, oUSDT, oDAI
      • XRP: The Quickest and easiest way to transfer your asset
      • How to get oXRP in your KuCoin wallet and deposit in Meshswap
      • How to transfer BUSD from Binance to the Polygon network
      • Transferring TON
        • Create Wallets supporting TON network
        • How to transfer TON from wallet to Meshswap
        • How to transfer TON from Huobi to the Polygon network
  • More
    • Risk & Security
    • Privacy Policy
    • Contract & Audit
    • Contact & Team
    • Events
      • Early-bird MESH Airdrop Events(End)
      • Meshswap x Kucoin Partnership Giveaway Event(End)
  • PRODUCTS
    • Swaps
    • Lend
      • How to deposit your assets on Lending pools
      • The Detailed Policy of Lending Pool Deposit
    • Yield Farm
      • How to deposit your assets on Yield Farming pools
    • Leveraged Yield Farm
      • How to deposit your assets on Leveraged Yield Farming pools
      • Detailed Policy of Leverage Farm
    • Long/Short Margin Trading
      • Open and Close Long/Short Positions
        • Open Long Positions
        • Open Short Positions
        • Close Long Positions
        • Close Short Positions
      • Long/Short Margin Trading Details Policy
    • Interest rate
    • Stake
      • How to stake MESH
      • Staking Policy
    • Pool Voting
      • How to participate in Pool Voting with vMESH
    • Ecopot
    • Drops
    • Pool Airdrop
    • Governance
      • Governance Voting Policy
  • DEVELOPERS
    • Contract
      • MESH
      • MESHswapRouter
      • MESHSwapView
      • Factory
      • Exchange
      • PoolVoting
      • VotingMESH
      • Treasury
      • Distribution
      • Governor
      • SinglePool
      • SinglePool Factory
      • PlusPool
      • PlusPool Factory
      • EcoPotVoting
      • EcoPot
    • Airdrop
      • Set Airdrop Operator
      • Start Airdop
    • EcoPot
      • Set EcoPot
      • Start EcoPot
  • Meshswap Protocol
  • Orbit Bridge
Powered by GitBook
On this page
  • Airdrop Fee
  • Airdrop create
  • Airdrop Token deposit
  • Airdrop refix
  • Airdrop token withdraw
  1. DEVELOPERS
  2. Airdrop

Start Airdop

Airdrop Fee

  • Airdrop creation may require a certain amount of MESH.

  • If there is a MESH fee, the necessary MESH must be transmitted to the operator before creation.

Airdrop create

Execute the createDistribution function of AirdropOperator Contract.

  • You must proceed after obtaining Valid Operator privileges.

  • The amount of tokens required and the fee should be transferred to the contract rather than deposited.

  • Request Parameters

    • totalAmount : Total number of tokens to be distributed by airdrop

    • blockAmount : Token quantity to be distributed per block

    • startBlock : Airdrop start block number

function createDistribution(
    uint totalAmount,
    uint blockAmount,
    uint startBlock,
) public

Airdrop Token deposit

If there is an issue of token exhaustion or extension during the airdrop process, tokens can be recharged using the AirdropOperator Contract's Deposit function.

  • When executing the function, transfer more than the amount of tokens entered into the wallet.

  • The token specified when creating the operator is charged.

  • When recharging due to exhaustion, it will be applied from the block after recharging.

function deposit(uint amount) public

Airdrop refix

  • Modify the amount of tokens distributed per block

  • It is applied from the block after the transaction is executed.

function refixBlockAmount(uint blockAmount) public

Airdrop token withdraw

  • The remaining tokens can be withdrawn after the Airdrop plan is in progress.

  • Withdrawal will be made to the owner's account.

function withdraw(address tokenAddr) public
PreviousSet Airdrop OperatorNextEcoPot

Last updated 2 years ago