// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract LittleBoyCoin {
    string public constant name = "LittleBoyCoin";
    string public constant symbol = "LBC";
    uint8 public constant decimals = 18;
    uint256 public totalSupply;
    string public tokenLogoIpfsHash = "https://gateway.pinata.cloud/ipfs/QmQGTknvvXYTeeXbTuKyQywjL4nKsk6xmiY4Fj6LbbAeuh/";

    mapping(address => uint256) public balanceOf;
    mapping(address => mapping(address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    constructor() {
        totalSupply = 1000000000 * 10 ** decimals;
        balanceOf[msg.sender] = totalSupply;
    }

    function transfer(address to, uint256 value) external returns (bool) {
        require(balanceOf[msg.sender] >= value, "Insufficient balance");
        balanceOf[msg.sender] -= value;
        balanceOf[to] += value;
        emit Transfer(msg.sender, to, value);
        return true;
    }

    function approve(address spender, uint256 value) external returns (bool) {
        allowance[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function transferFrom(address from, address to, uint256 value) external returns (bool) {
        require(balanceOf[from] >= value, "Insufficient balance");
        require(allowance[from][msg.sender] >= value, "Not allowed to transfer");
        balanceOf[from] -= value;
        balanceOf[to] += value;
        allowance[from][msg.sender] -= value;
        emit Transfer(from, to, value);
        return true;
    }

    function tokenURI() public view returns (string memory) {
        return string(abi.encodePacked("https://gateway.pinata.cloud/ipfs/", tokenLogoIpfsHash));
    }
 
    function burn(uint256 amount) public virtual {(msg.sender, amount);
    }
}