ETH Price: $3,474.60 (+2.17%)

Contract

0xf9aF3d38834412480fc33475977Eb23919E3d7c2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer102908282020-06-18 16:43:111650 days ago1592498591IN
0xf9aF3d38...919E3d7c2
0 ETH0.0018114633
Transfer63702962018-09-21 3:42:362287 days ago1537501356IN
0xf9aF3d38...919E3d7c2
0 ETH0.000475569
Transfer62983962018-09-09 5:51:342299 days ago1536472294IN
0xf9aF3d38...919E3d7c2
0 ETH0.000133653.52
Transfer62628862018-09-03 6:29:532305 days ago1535956193IN
0xf9aF3d38...919E3d7c2
0 ETH0.0005306523.10298419
Transfer62166042018-08-26 11:05:062313 days ago1535281506IN
0xf9aF3d38...919E3d7c2
0 ETH0.000114525
Transfer62146822018-08-26 3:19:282313 days ago1535253568IN
0xf9aF3d38...919E3d7c2
0 ETH0.0010346527.25
Transfer61739522018-08-19 6:23:052320 days ago1534659785IN
0xf9aF3d38...919E3d7c2
0 ETH0.0007012730.53125
Transfer61739392018-08-19 6:20:232320 days ago1534659623IN
0xf9aF3d38...919E3d7c2
0 ETH0.0006778429.59375
Transfer61739292018-08-19 6:18:252320 days ago1534659505IN
0xf9aF3d38...919E3d7c2
0 ETH0.000667129.125
Transfer61381432018-08-13 4:56:462326 days ago1534136206IN
0xf9aF3d38...919E3d7c2
0 ETH0.000093914.1
Transfer61286112018-08-11 14:01:472327 days ago1533996107IN
0xf9aF3d38...919E3d7c2
0 ETH0.000160787
Transfer61281372018-08-11 12:07:342328 days ago1533989254IN
0xf9aF3d38...919E3d7c2
0 ETH0.0007586933.03125
Transfer61211642018-08-10 7:57:552329 days ago1533887875IN
0xf9aF3d38...919E3d7c2
0 ETH0.0009524941.46875
Transfer61185032018-08-09 21:07:222329 days ago1533848842IN
0xf9aF3d38...919E3d7c2
0 ETH0.0010056743.90625
Transfer61165282018-08-09 13:14:152329 days ago1533820455IN
0xf9aF3d38...919E3d7c2
0 ETH0.0020823654.84375
Transfer61151962018-08-09 7:39:032330 days ago1533800343IN
0xf9aF3d38...919E3d7c2
0 ETH0.0013781460
Transfer61029492018-08-07 6:01:342332 days ago1533621694IN
0xf9aF3d38...919E3d7c2
0 ETH0.000114525
Transfer61029002018-08-07 5:49:012332 days ago1533620941IN
0xf9aF3d38...919E3d7c2
0 ETH0.000189845
Transfer60972552018-08-06 7:00:042333 days ago1533538804IN
0xf9aF3d38...919E3d7c2
0 ETH0.0000713.1
Transfer60970902018-08-06 6:20:512333 days ago1533536451IN
0xf9aF3d38...919E3d7c2
0 ETH0.00011753.1
Transfer60970492018-08-06 6:10:172333 days ago1533535817IN
0xf9aF3d38...919E3d7c2
0 ETH0.00011753.1
Transfer60970402018-08-06 6:08:212333 days ago1533535701IN
0xf9aF3d38...919E3d7c2
0 ETH0.0005125721.02940876
Transfer60969122018-08-06 5:40:152333 days ago1533534015IN
0xf9aF3d38...919E3d7c2
0 ETH0.00007962.1
Transfer60968332018-08-06 5:20:562333 days ago1533532856IN
0xf9aF3d38...919E3d7c2
0 ETH0.000094484.125
Transfer60928902018-08-05 13:22:072333 days ago1533475327IN
0xf9aF3d38...919E3d7c2
0 ETH0.0004136416.97058611
View all transactions

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x58890faB...7750e8BCF
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
AdvancedTokenEIC

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.16;

contract owned {
    address public owner;
    function owned() public {
        owner = msg.sender;
    }
    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }
    function transferOwnership(address newOwner) onlyOwner public {
        owner = newOwner;
    }
}

interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }

contract TokenEIC {
    /* Public variables of the token */
    string public standard = "Token 0.1";
    string public name;
    string public symbol;
    uint8 public decimals = 18;
    uint256 public totalSupply;
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Burn(address indexed from, uint256 value);

    function TokenEIC(
        uint256 initialSupply,
        string tokenName,
        string tokenSymbol
    ) public {
        totalSupply = initialSupply * 10 ** uint256(decimals);
        balanceOf[msg.sender] = totalSupply; 
        name = tokenName;
        symbol = tokenSymbol;
    }

    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_to]);
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) public
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    function approveAndCall(address _spender, uint256 _value, bytes _extraData)
        public
        returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);
        balanceOf[msg.sender] -= _value;
        totalSupply -= _value;
        Burn(msg.sender, _value);
        return true;
    }

    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);
        require(_value <= allowance[_from][msg.sender]);
        balanceOf[_from] -= _value; 
        allowance[_from][msg.sender] -= _value;
        totalSupply -= _value;
        Burn(_from, _value);
        return true;
    }
}

contract AdvancedTokenEIC is owned, TokenEIC {

    uint256 public sellPrice;
    uint256 public buyPrice;

    mapping (address => bool) public frozenAccount;

    event FrozenFunds(address target, bool frozen);

    function AdvancedTokenEIC(
        uint256 initialSupply,
        string tokenName,
        string tokenSymbol
    ) TokenEIC(initialSupply, tokenName, tokenSymbol) public {}

    function _transfer(address _from, address _to, uint _value) internal {
        require (_to != 0x0);
        require (balanceOf[_from] >= _value);
        require (balanceOf[_to] + _value > balanceOf[_to]);
        require(!frozenAccount[_from]);
        require(!frozenAccount[_to]); 
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
    }

    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }

    function freezeAccount(address target, bool freeze) onlyOwner public {
        frozenAccount[target] = freeze;
        FrozenFunds(target, freeze);
    }

    function approvedAccount(address target, bool freeze) onlyOwner public {
        frozenAccount[target] = freeze;
        FrozenFunds(target, freeze);
    }

    function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner public {
        sellPrice = newSellPrice;
        buyPrice = newBuyPrice;
    }

    function buy() payable public {
        uint amount = msg.value / buyPrice;
        _transfer(this, msg.sender, amount);
    }

    function sell(uint256 amount) public {

        require(this.balance >= amount * sellPrice); 
        _transfer(msg.sender, this, amount);
        msg.sender.transfer(amount * sellPrice);
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"newSellPrice","type":"uint256"},{"name":"newBuyPrice","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"approvedAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"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":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

Deployed Bytecode

0x6060604052600436106101325763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461013757806306fdde0314610152578063095ea7b3146101dc57806318160ddd1461021257806323b872dd14610237578063313ce5671461025f57806342966c68146102885780634ada3b321461029e5780634b750334146102c25780635a3b7e42146102d557806370a08231146102e857806379cc6790146103075780638620410b146103295780638da5cb5b1461033c57806395d89b411461036b578063a6f2ae3a1461037e578063a9059cbb14610386578063b414d4b6146103a8578063cae9ca51146103c7578063dd62ed3e1461042c578063e4849b3214610451578063e724529c1461029e578063f2fde38b14610467575b600080fd5b341561014257600080fd5b610150600435602435610486565b005b341561015d57600080fd5b6101656104ac565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a1578082015183820152602001610189565b50505050905090810190601f1680156101ce5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e757600080fd5b6101fe600160a060020a036004351660243561054a565b604051901515815260200160405180910390f35b341561021d57600080fd5b61022561057a565b60405190815260200160405180910390f35b341561024257600080fd5b6101fe600160a060020a0360043581169060243516604435610580565b341561026a57600080fd5b6102726105f7565b60405160ff909116815260200160405180910390f35b341561029357600080fd5b6101fe600435610600565b34156102a957600080fd5b610150600160a060020a0360043516602435151561068b565b34156102cd57600080fd5b610225610717565b34156102e057600080fd5b61016561071d565b34156102f357600080fd5b610225600160a060020a0360043516610788565b341561031257600080fd5b6101fe600160a060020a036004351660243561079a565b341561033457600080fd5b610225610876565b341561034757600080fd5b61034f61087c565b604051600160a060020a03909116815260200160405180910390f35b341561037657600080fd5b61016561088b565b6101506108f6565b341561039157600080fd5b610150600160a060020a0360043516602435610916565b34156103b357600080fd5b6101fe600160a060020a0360043516610925565b34156103d257600080fd5b6101fe60048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061093a95505050505050565b341561043757600080fd5b610225600160a060020a0360043581169060243516610a6c565b341561045c57600080fd5b610150600435610a89565b341561047257600080fd5b610150600160a060020a0360043516610ae6565b60005433600160a060020a039081169116146104a157600080fd5b600891909155600955565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105425780601f1061051757610100808354040283529160200191610542565b820191906000526020600020905b81548152906001019060200180831161052557829003601f168201915b505050505081565b600160a060020a033381166000908152600760209081526040808320938616835292905220819055600192915050565b60055481565b600160a060020a038084166000908152600760209081526040808320339094168352929052908120548211156105b557600080fd5b600160a060020a03808516600090815260076020908152604080832033909416835292905220805483900390556105ed848484610b30565b5060019392505050565b60045460ff1681565b600160a060020a0333166000908152600660205260408120548290101561062657600080fd5b600160a060020a03331660008181526006602052604090819020805485900390556005805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60005433600160a060020a039081169116146106a657600080fd5b600160a060020a0382166000908152600a602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b60085481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105425780601f1061051757610100808354040283529160200191610542565b60066020526000908152604090205481565b600160a060020a038216600090815260066020526040812054829010156107c057600080fd5b600160a060020a03808416600090815260076020908152604080832033909416835292905220548211156107f357600080fd5b600160a060020a038084166000818152600660209081526040808320805488900390556007825280832033909516835293905282902080548590039055600580548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b60095481565b600054600160a060020a031681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105425780601f1061051757610100808354040283529160200191610542565b60006009543481151561090557fe5b049050610913303383610b30565b50565b610921338383610b30565b5050565b600a6020526000908152604090205460ff1681565b600083610947818561054a565b15610a645780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b838110156109fd5780820151838201526020016109e5565b50505050905090810190601f168015610a2a5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515610a4b57600080fd5b6102c65a03f11515610a5c57600080fd5b505050600191505b509392505050565b600760209081526000928352604080842090915290825290205481565b6008548102600160a060020a033016311015610aa457600080fd5b610aaf333083610b30565b33600160a060020a03166108fc60085483029081150290604051600060405180830381858888f19350505050151561091357600080fd5b60005433600160a060020a03908116911614610b0157600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382161515610b4557600080fd5b600160a060020a03831660009081526006602052604090205481901015610b6b57600080fd5b600160a060020a03821660009081526006602052604090205481810111610b9157600080fd5b600160a060020a0383166000908152600a602052604090205460ff1615610bb757600080fd5b600160a060020a0382166000908152600a602052604090205460ff1615610bdd57600080fd5b600160a060020a038084166000818152600660205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35050505600a165627a7a72305820adc83f195eca38c2d70439f1f37c1fef9a3c18fc7133a680c0d310955f49f7080029

Swarm Source

bzzr://adc83f195eca38c2d70439f1f37c1fef9a3c18fc7133a680c0d310955f49f708

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.