ETH Price: $3,162.03 (+3.35%)

Token

Feitebi ERC20 TOKEN (FTB)
 

Overview

Max Total Supply

150,000,000 FTB

Holders

959

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
20 FTB

Value
$0.00
0xda8be99f28842ffd7ca1e750755f5b6e372eb3c1
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:
FTBTokenERC20

Compiler Version
v0.4.16+commit.d7661dd9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-10-15
*/

pragma solidity ^0.4.16;

contract FTBTokenERC20 {

    // Public variables of the token
    string public name = 'Feitebi ERC20 TOKEN';
    string public symbol = 'FTB';
    uint8 public decimals = 18;
    // 18 decimals is the strongly suggested default, avoid changing it
    uint256 public totalSupply;
    uint256 public initSupply = 150000000;

    // This creates an array with all balances
    mapping (address => uint256) public balanceOf;
   
    // This generates a public event on the blockchain that will notify clients
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * Constructor function
     *
     * Initializes contract with initial supply tokens to the creator of the contract
     */
    function FTBTokenERC20() public {
        
        totalSupply = initSupply * 10 ** uint256(decimals);  // Update total supply with the decimal amount
        balanceOf[msg.sender] = totalSupply;                // Give the creator all initial tokens
    }

    /**
     * Internal transfer, only can be called by this contract
     */
    function _transfer(address _from, address _to, uint _value) internal {
        // Prevent transfer to 0x0 address. Use burn() instead
        require(_to != 0x0);
        // Check if the sender has enough
        require(balanceOf[_from] >= _value);
        // Check for overflows
        require(balanceOf[_to] + _value > balanceOf[_to]);
        // Save this for an assertion in the future
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        // Subtract from the sender
        balanceOf[_from] -= _value;
        // Add the same to the recipient
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        // Asserts are used to use static analysis to find bugs in your code. They should never fail
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    /**
     * Transfer tokens
     *
     * Send `_value` tokens to `_to` from your account
     *
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    /**
     * Transfer tokens from other address
     *
     * Send `_value` tokens to `_to` in behalf of `_from`
     *
     * @param _from The address of the sender
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        _transfer(_from, _to, _value);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[],"name":"initSupply","outputs":[{"name":"","type":"uint256"}],"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"},{"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"}]

606060405260408051908101604052601381527f4665697465626920455243323020544f4b454e000000000000000000000000006020820152600090805161004b9291602001906100e8565b5060408051908101604052600381527f4654420000000000000000000000000000000000000000000000000000000000602082015260019080516100939291602001906100e8565b506002805460ff191660121790556308f0d18060045534156100b457600080fd5b5b60025460045460ff909116600a0a026003819055600160a060020a0333166000908152600560205260409020555b610188565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061012957805160ff1916838001178555610156565b82800160010185558215610156579182015b8281111561015657825182559160200191906001019061013b565b5b50610163929150610167565b5090565b61018591905b80821115610163576000815560010161016d565b5090565b90565b610568806101976000396000f3006060604052361561008b5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009057806318160ddd1461011b57806323b872dd14610140578063313ce5671461017c57806370a08231146101a557806395d89b41146101d657806397d63f9314610261578063a9059cbb14610286575b600080fd5b341561009b57600080fd5b6100a36102aa565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012657600080fd5b61012e610348565b60405190815260200160405180910390f35b341561014b57600080fd5b610168600160a060020a036004358116906024351660443561034e565b604051901515815260200160405180910390f35b341561018757600080fd5b61018f610366565b60405160ff909116815260200160405180910390f35b34156101b057600080fd5b61012e600160a060020a036004351661036f565b60405190815260200160405180910390f35b34156101e157600080fd5b6100a3610381565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026c57600080fd5b61012e61041f565b60405190815260200160405180910390f35b341561029157600080fd5b6102a8600160a060020a0360043516602435610425565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103405780601f1061031557610100808354040283529160200191610340565b820191906000526020600020905b81548152906001019060200180831161032357829003601f168201915b505050505081565b60035481565b600061035b848484610435565b5060015b9392505050565b60025460ff1681565b60056020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103405780601f1061031557610100808354040283529160200191610340565b820191906000526020600020905b81548152906001019060200180831161032357829003601f168201915b505050505081565b60045481565b610430338383610435565b5b5050565b6000600160a060020a038316151561044c57600080fd5b600160a060020a0384166000908152600560205260409020548290101561047257600080fd5b600160a060020a0383166000908152600560205260409020548281011161049857600080fd5b50600160a060020a0380831660008181526005602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a0380841660009081526005602052604080822054928716825290205401811461053557fe5b5b505050505600a165627a7a7230582000ed81ce1fb2ed867c4805700fa6072884d565f5003422a0655bb91ab59500220029

Deployed Bytecode

0x6060604052361561008b5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009057806318160ddd1461011b57806323b872dd14610140578063313ce5671461017c57806370a08231146101a557806395d89b41146101d657806397d63f9314610261578063a9059cbb14610286575b600080fd5b341561009b57600080fd5b6100a36102aa565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012657600080fd5b61012e610348565b60405190815260200160405180910390f35b341561014b57600080fd5b610168600160a060020a036004358116906024351660443561034e565b604051901515815260200160405180910390f35b341561018757600080fd5b61018f610366565b60405160ff909116815260200160405180910390f35b34156101b057600080fd5b61012e600160a060020a036004351661036f565b60405190815260200160405180910390f35b34156101e157600080fd5b6100a3610381565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561026c57600080fd5b61012e61041f565b60405190815260200160405180910390f35b341561029157600080fd5b6102a8600160a060020a0360043516602435610425565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103405780601f1061031557610100808354040283529160200191610340565b820191906000526020600020905b81548152906001019060200180831161032357829003601f168201915b505050505081565b60035481565b600061035b848484610435565b5060015b9392505050565b60025460ff1681565b60056020526000908152604090205481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103405780601f1061031557610100808354040283529160200191610340565b820191906000526020600020905b81548152906001019060200180831161032357829003601f168201915b505050505081565b60045481565b610430338383610435565b5b5050565b6000600160a060020a038316151561044c57600080fd5b600160a060020a0384166000908152600560205260409020548290101561047257600080fd5b600160a060020a0383166000908152600560205260409020548281011161049857600080fd5b50600160a060020a0380831660008181526005602052604080822080549488168084528284208054888103909155938590528154870190915591909301927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3600160a060020a0380841660009081526005602052604080822054928716825290205401811461053557fe5b5b505050505600a165627a7a7230582000ed81ce1fb2ed867c4805700fa6072884d565f5003422a0655bb91ab59500220029

Swarm Source

bzzr://00ed81ce1fb2ed867c4805700fa6072884d565f5003422a0655bb91ab5950022
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.