Comment on page
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.
Events
Read-Only Functions
State-Changing Functions
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
- Meshswap Protocol
- MESH
- 18
- Amount of MESH distributed so far
- Max Supply = 126144000 + 1500000 - Burn MESH
- The amount of MESH held in each address
- Status of approval to spender for each address
- Governance Contract Address
- The total mining amount
- This cannot be changed after a contract is deployed
- The block unit that proceeds with halving
- This cannot be changed after a contract is deployed
- The block number that starts mining
- The ratio of the mined amount given to the developement team.
- The address to which the development team can claim their reward
- The team reward amount that has already been claimed
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
function transfer(address _to, uint _value) public returns (bool)
- ERC-20 Standard
- Method to transfer MESH tokens
function transferFrom(address _from, address _to, uint _value) public returns (bool)
- ERC-20 Standard
- Method to transfer tokens on behalf of the approved wallet
function approve(address _spender, uint _value) public returns (bool)
- ERC-20 Standard
- Method to approve a transfer as much as value to spender
Last modified 10mo ago