◆ Purpose

to add LP token and adding total supply of lp token

◆ Input & Return value

(address to, uint value) ⇒ none

◆ Example

to: 0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc(USDC/ETH LP token)

value: 1000

◆ Code and Explain

function _mint(address to, uint value) internal {
        totalSupply = totalSupply.add(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(address(0), to, value);
    }

◆ Resources

https://github.com/Uniswap/v2-core/blob/master/contracts/UniswapV2ERC20.sol#L40

https://etherscan.io/token/0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc