ETH Price: $3,231.27 (-0.34%)
Gas: 1.95 Gwei

Token

FakeToken (FTKN)
 

Overview

Max Total Supply

0 FTKN

Holders

2

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Filtered by Token Holder
k06a.eth
Balance
946 FTKN

Value
$0.00
0x083fc10cE7e97CaFBaE0fE332a9c4384c5f54E45
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FakeToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-09-29
*/

pragma solidity ^0.4.24;

contract FakeToken {
    string constant public name = "FakeToken";
    string constant public symbol = "FTKN";
    uint8 constant public decimals = 0;
    
    mapping (address => uint256) public balanceOf;
    
    event Transfer(address indexed from, address indexed to, uint256 value);
    
    constructor() public {
        balanceOf[msg.sender] = 1000;
    }
    
    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }
    
    // WTF method!!!
    function claim(address _from, uint256 _value) public {
        _transfer(_from, msg.sender, _value);
    }
    
    function _transfer(address _from, address _to, uint256 _value) internal {
        require(balanceOf[_from] >= _value, "Not enought balance");
        require(balanceOf[_to] + _value >= _value, "Overflow protection");
        
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        emit Transfer(_from, _to, _value);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

608060405234801561001057600080fd5b503360009081526020819052604090206103e89055610452806100346000396000f3006080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461007c578063313ce5671461010657806370a082311461013157806395d89b4114610171578063a9059cbb14610186578063aad3ec96146101b9575b600080fd5b34801561008857600080fd5b506100916101ea565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100cb5781810151838201526020016100b3565b50505050905090810190601f1680156100f85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011257600080fd5b5061011b610221565b6040805160ff9092168252519081900360200190f35b34801561013d57600080fd5b5061015f73ffffffffffffffffffffffffffffffffffffffff60043516610226565b60408051918252519081900360200190f35b34801561017d57600080fd5b50610091610238565b34801561019257600080fd5b506101b773ffffffffffffffffffffffffffffffffffffffff6004351660243561026f565b005b3480156101c557600080fd5b506101b773ffffffffffffffffffffffffffffffffffffffff6004351660243561027e565b60408051808201909152600981527f46616b65546f6b656e0000000000000000000000000000000000000000000000602082015281565b600081565b60006020819052908152604090205481565b60408051808201909152600481527f46544b4e00000000000000000000000000000000000000000000000000000000602082015281565b61027a338383610285565b5050565b61027a8233835b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481111561031957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420656e6f756768742062616c616e636500000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481018111156103af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4f766572666c6f772070726f74656374696f6e00000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff80841660008181526020818152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050505600a165627a7a723058201add73a1357fe00e16ea2d789a48a86f52eceeea8386e5d6fac81f99cc5748ce0029

Deployed Bytecode

0x6080604052600436106100775763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461007c578063313ce5671461010657806370a082311461013157806395d89b4114610171578063a9059cbb14610186578063aad3ec96146101b9575b600080fd5b34801561008857600080fd5b506100916101ea565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100cb5781810151838201526020016100b3565b50505050905090810190601f1680156100f85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011257600080fd5b5061011b610221565b6040805160ff9092168252519081900360200190f35b34801561013d57600080fd5b5061015f73ffffffffffffffffffffffffffffffffffffffff60043516610226565b60408051918252519081900360200190f35b34801561017d57600080fd5b50610091610238565b34801561019257600080fd5b506101b773ffffffffffffffffffffffffffffffffffffffff6004351660243561026f565b005b3480156101c557600080fd5b506101b773ffffffffffffffffffffffffffffffffffffffff6004351660243561027e565b60408051808201909152600981527f46616b65546f6b656e0000000000000000000000000000000000000000000000602082015281565b600081565b60006020819052908152604090205481565b60408051808201909152600481527f46544b4e00000000000000000000000000000000000000000000000000000000602082015281565b61027a338383610285565b5050565b61027a8233835b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481111561031957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4e6f7420656e6f756768742062616c616e636500000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481018111156103af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4f766572666c6f772070726f74656374696f6e00000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff80841660008181526020818152604080832080548790039055938616808352918490208054860190558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050505600a165627a7a723058201add73a1357fe00e16ea2d789a48a86f52eceeea8386e5d6fac81f99cc5748ce0029

Swarm Source

bzzr://1add73a1357fe00e16ea2d789a48a86f52eceeea8386e5d6fac81f99cc5748ce
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.