◆ Purpose

to decrease(burn) lp token

◆ Input & Return value

(address from, uint value) ⇒ none

◆ Example

from: 0xED98485593D5865E892f823e1f66FB99fE64F639(my wallet address)

value: 18265152.653

◆ Code and Explain

v2-core/contracts/UniswapV2ERC20.sol(LP token contracts)

function _burn(address from, uint value) internal {
        balanceOf[from] = balanceOf[from].sub(value); // sub means "-"
        totalSupply = totalSupply.sub(value);
				//address(0) is used to burn token. 
				//It has no private key, so anyone can't withdraw.
        emit Transfer(from, address(0), value); 
    }

◆ Resources

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