Address Details
contract
token

0x03943C3ef00d92e130185CeBC0bcc435Def2cC94

Token
Follow Me (FM)
Creator
0x5a33b4–a5db87 at 0x914c35–ae1e3a
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
4 Transactions
Transfers
1 Transfers
Gas Used
166,358
Last Balance Update
26547416
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
FMTLOL




Optimization enabled
true
Compiler version
v0.8.4+commit.c7e474f2




Optimization runs
200
EVM Version
istanbul




Verified at
2021-08-28T17:54:24.401498Z

Contract source code

pragma solidity >=0.8.4;

abstract contract ERC20Interface {
    function totalSupply() virtual public view returns (uint);
    function balanceOf(address tokenOwner) virtual public view returns (uint balance);
    function allowance(address tokenOwner, address spender) virtual public view returns (uint remaining);
    function transfer(address to, uint tokens) virtual public returns (bool success);
    function approve(address spender, uint tokens) virtual public returns (bool success);
    function transferFrom(address from, address to, uint tokens) virtual public returns (bool success);

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}

contract SafeMath {
    function safeAdd(uint a, uint b) public pure returns (uint c) {
        c = a + b;
        require(c >= a);
    }
    function safeSub(uint a, uint b) public pure returns (uint c) {
        require(b <= a); c = a - b; } function safeMul(uint a, uint b) public pure returns (uint c) { c = a * b; require(a == 0 || c / a == b); } function safeDiv(uint a, uint b) public pure returns (uint c) { require(b > 0);
        c = a / b;
    }
}


contract FMTLOL is ERC20Interface, SafeMath {
    string public name;
    string public symbol;
    uint8 public decimals; 
    
    uint256 public _totalSupply;
    
    mapping(address => uint) balances;
    mapping(address => mapping(address => uint)) allowed;
    
    constructor() public {
        name = "Follow Me";
        symbol = "FM";
        decimals = 18;
        _totalSupply = 1000000000000000000000000000;  
        balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);
    }
    
    function allowance(address tokenOwner, address spender) virtual override public view returns (uint remaining) {
        return allowed[tokenOwner][spender];
    }
    
    function approve(address spender, uint tokens) virtual override public returns (bool success) {
        allowed[msg.sender][spender] = tokens;
        emit Approval(msg.sender, spender, tokens);
        return true;
    }
    
    function transfer(address to, uint tokens) virtual override public returns (bool success) {
        balances[msg.sender] = safeSub(balances[msg.sender], tokens);
        balances[to] = safeAdd(balances[to], tokens);
        emit Transfer(msg.sender, to, tokens);
        return true;
    }
    
    function transferFrom(address from, address to, uint tokens) virtual override public returns (bool success) {
        balances[from] = safeSub(balances[from], tokens);
        allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens);
        balances[to] = safeAdd(balances[to], tokens);
        emit Transfer(from, to, tokens);
        return true;
    }

    function totalSupply() virtual override public view returns (uint) {
        return _totalSupply  - balances[address(0)];
    }
    
    function balanceOf(address tokenOwner) virtual override public view returns (uint balance) {
        return balances[tokenOwner];
    }
    

}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"tokenOwner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"tokens","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokens","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"_totalSupply","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"remaining","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"tokenOwner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"success","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"tokens","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"balance","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"tokenOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint256","name":"c","internalType":"uint256"}],"name":"safeAdd","inputs":[{"type":"uint256","name":"a","internalType":"uint256"},{"type":"uint256","name":"b","internalType":"uint256"}]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint256","name":"c","internalType":"uint256"}],"name":"safeDiv","inputs":[{"type":"uint256","name":"a","internalType":"uint256"},{"type":"uint256","name":"b","internalType":"uint256"}]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint256","name":"c","internalType":"uint256"}],"name":"safeMul","inputs":[{"type":"uint256","name":"a","internalType":"uint256"},{"type":"uint256","name":"b","internalType":"uint256"}]},{"type":"function","stateMutability":"pure","outputs":[{"type":"uint256","name":"c","internalType":"uint256"}],"name":"safeSub","inputs":[{"type":"uint256","name":"a","internalType":"uint256"},{"type":"uint256","name":"b","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"success","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokens","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"success","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokens","internalType":"uint256"}]}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b5060408051808201909152600980825268466f6c6c6f77204d6560b81b6020909201918252610041916000916100df565b5060408051808201909152600280825261464d60f01b602090920191825261006b916001916100df565b506002805460ff191660121790556b033b2e3c9fd0803ce800000060038190553360008181526004602052604080822084905551919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916100d29190815260200190565b60405180910390a36101b3565b8280546100eb90610178565b90600052602060002090601f01602090048101928261010d5760008555610153565b82601f1061012657805160ff1916838001178555610153565b82800160010185558215610153579182015b82811115610153578251825591602001919060010190610138565b5061015f929150610163565b5090565b5b8082111561015f5760008155600101610164565b600181811c9082168061018c57607f821691505b602082108114156101ad57634e487b7160e01b600052602260045260246000fd5b50919050565b6107d9806101c26000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806395d89b411161008c578063b5931f7c11610066578063b5931f7c146101d8578063d05c78da146101eb578063dd62ed3e146101fe578063e6cb90131461023757600080fd5b806395d89b41146101aa578063a293d1e8146101b2578063a9059cbb146101c557600080fd5b806323b872dd116100c857806323b872dd14610146578063313ce567146101595780633eaaf86b1461017857806370a082311461018157600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761024a565b6040516101049190610691565b60405180910390f35b61012061011b366004610647565b6102d8565b6040519015158152602001610104565b610138610345565b604051908152602001610104565b61012061015436600461060c565b610383565b6002546101669060ff1681565b60405160ff9091168152602001610104565b61013860035481565b61013861018f3660046105c0565b6001600160a01b031660009081526004602052604090205490565b6100f7610481565b6101386101c0366004610670565b61048e565b6101206101d3366004610647565b6104ae565b6101386101e6366004610670565b610545565b6101386101f9366004610670565b61055d565b61013861020c3660046105da565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b610138610245366004610670565b610589565b6000805461025790610752565b80601f016020809104026020016040519081016040528092919081815260200182805461028390610752565b80156102d05780601f106102a5576101008083540402835291602001916102d0565b820191906000526020600020905b8154815290600101906020018083116102b357829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103339086815260200190565b60405180910390a35060015b92915050565b600080805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec5460035461037e919061073b565b905090565b6001600160a01b0383166000908152600460205260408120546103a6908361048e565b6001600160a01b03851660009081526004602090815260408083209390935560058152828220338352905220546103dd908361048e565b6001600160a01b03808616600090815260056020908152604080832033845282528083209490945591861681526004909152205461041b9083610589565b6001600160a01b0380851660008181526004602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061046f9086815260200190565b60405180910390a35060019392505050565b6001805461025790610752565b60008282111561049d57600080fd5b6104a7828461073b565b9392505050565b336000908152600460205260408120546104c8908361048e565b33600090815260046020526040808220929092556001600160a01b038516815220546104f49083610589565b6001600160a01b0384166000818152600460205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103339086815260200190565b600080821161055357600080fd5b6104a782846106fc565b6000610569828461071c565b905082158061058057508161057e84836106fc565b145b61033f57600080fd5b600061059582846106e4565b90508281101561033f57600080fd5b80356001600160a01b03811681146105bb57600080fd5b919050565b6000602082840312156105d1578081fd5b6104a7826105a4565b600080604083850312156105ec578081fd5b6105f5836105a4565b9150610603602084016105a4565b90509250929050565b600080600060608486031215610620578081fd5b610629846105a4565b9250610637602085016105a4565b9150604084013590509250925092565b60008060408385031215610659578182fd5b610662836105a4565b946020939093013593505050565b60008060408385031215610682578182fd5b50508035926020909101359150565b6000602080835283518082850152825b818110156106bd578581018301518582016040015282016106a1565b818111156106ce5783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156106f7576106f761078d565b500190565b60008261071757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156107365761073661078d565b500290565b60008282101561074d5761074d61078d565b500390565b600181811c9082168061076657607f821691505b6020821081141561078757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212209a0e1069bc55c8c50a10590765adf4c82cfa0a427d33b102b38b0e6b3abd1e7464736f6c63430008040033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806395d89b411161008c578063b5931f7c11610066578063b5931f7c146101d8578063d05c78da146101eb578063dd62ed3e146101fe578063e6cb90131461023757600080fd5b806395d89b41146101aa578063a293d1e8146101b2578063a9059cbb146101c557600080fd5b806323b872dd116100c857806323b872dd14610146578063313ce567146101595780633eaaf86b1461017857806370a082311461018157600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761024a565b6040516101049190610691565b60405180910390f35b61012061011b366004610647565b6102d8565b6040519015158152602001610104565b610138610345565b604051908152602001610104565b61012061015436600461060c565b610383565b6002546101669060ff1681565b60405160ff9091168152602001610104565b61013860035481565b61013861018f3660046105c0565b6001600160a01b031660009081526004602052604090205490565b6100f7610481565b6101386101c0366004610670565b61048e565b6101206101d3366004610647565b6104ae565b6101386101e6366004610670565b610545565b6101386101f9366004610670565b61055d565b61013861020c3660046105da565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b610138610245366004610670565b610589565b6000805461025790610752565b80601f016020809104026020016040519081016040528092919081815260200182805461028390610752565b80156102d05780601f106102a5576101008083540402835291602001916102d0565b820191906000526020600020905b8154815290600101906020018083116102b357829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103339086815260200190565b60405180910390a35060015b92915050565b600080805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec5460035461037e919061073b565b905090565b6001600160a01b0383166000908152600460205260408120546103a6908361048e565b6001600160a01b03851660009081526004602090815260408083209390935560058152828220338352905220546103dd908361048e565b6001600160a01b03808616600090815260056020908152604080832033845282528083209490945591861681526004909152205461041b9083610589565b6001600160a01b0380851660008181526004602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061046f9086815260200190565b60405180910390a35060019392505050565b6001805461025790610752565b60008282111561049d57600080fd5b6104a7828461073b565b9392505050565b336000908152600460205260408120546104c8908361048e565b33600090815260046020526040808220929092556001600160a01b038516815220546104f49083610589565b6001600160a01b0384166000818152600460205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103339086815260200190565b600080821161055357600080fd5b6104a782846106fc565b6000610569828461071c565b905082158061058057508161057e84836106fc565b145b61033f57600080fd5b600061059582846106e4565b90508281101561033f57600080fd5b80356001600160a01b03811681146105bb57600080fd5b919050565b6000602082840312156105d1578081fd5b6104a7826105a4565b600080604083850312156105ec578081fd5b6105f5836105a4565b9150610603602084016105a4565b90509250929050565b600080600060608486031215610620578081fd5b610629846105a4565b9250610637602085016105a4565b9150604084013590509250925092565b60008060408385031215610659578182fd5b610662836105a4565b946020939093013593505050565b60008060408385031215610682578182fd5b50508035926020909101359150565b6000602080835283518082850152825b818110156106bd578581018301518582016040015282016106a1565b818111156106ce5783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156106f7576106f761078d565b500190565b60008261071757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156107365761073661078d565b500290565b60008282101561074d5761074d61078d565b500390565b600181811c9082168061076657607f821691505b6020821081141561078757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea26469706673582212209a0e1069bc55c8c50a10590765adf4c82cfa0a427d33b102b38b0e6b3abd1e7464736f6c63430008040033