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
  • Address
  • Events, Read-Only Functions, and State-Changing Functions
  1. DEVELOPERS
  2. Contract

MESH

The MESH smart contract is MESHswap's MESH governance token that complies with the ERC20 standard, and a smart contract that implements all functions related to MESH mining.

PreviousContractNextMESHswapRouter

Last updated 2 years ago

Address

  • Polygon Mainnet :

Events, Read-Only Functions, and State-Changing Functions

Events

Transfer

event Transfer(address indexed from, address indexed to, uint amount);
  • Event for the movement and burning of MESH tokens

  • A ERC-20 Standard Event

Approval

event Approval(address indexed holder, address indexed spender, uint amount);
  • Event for MESH token approval

  • A ERC-20 Standard Event

RefixMining

event RefixMining(uint blockNumber, uint newBlockAmount, uint newHalfLife);
  • Event for MESH mining option change

  • Events that can occur depending on the block creation time of the polygon network

Read-Only Functions

name

  • Meshswap Protocol

symbol

  • MESH

decimals

  • 18

totalSupply

  • Amount of MESH distributed so far

  • Max Supply = 126144000 + 1500000 - Burn MESH

balanceOf

  • The amount of MESH held in each address

allowance

  • Status of approval to spender for each address

owner

  • Governance Contract Address

miningAmount

  • The total mining amount

  • This cannot be changed after a contract is deployed

halfLife

  • The block unit that proceeds with halving

  • This cannot be changed after a contract is deployed

minableBlock

  • The block number that starts mining

teamRatio

  • The ratio of the mined amount given to the developement team.

teamWallet

  • The address to which the development team can claim their reward

teamAward

  • The team reward amount that has already been claimed

mined

function mined() public view returns (uint) 
  • Returns the MESH amount mined so far

  • This amount includes the quantity already claimed and the quantity to be claimed

  • The teamAward quantity is exempted from this amount

transfer

function transfer(address _to, uint _value) public returns (bool)
  • ERC-20 Standard

  • Method to transfer MESH tokens

transferFrom

function transferFrom(address _from, address _to, uint _value) public returns (bool)
  • ERC-20 Standard

  • Method to transfer tokens on behalf of the approved wallet

approve

function approve(address _spender, uint _value) public returns (bool)
  • ERC-20 Standard

  • Method to approve a transfer as much as value to spender

0x82362ec182db3cf7829014bc61e9be8a2e82868a