ETH Price: $3,343.61 (-1.08%)

Contract

0x12480E24eb5bec1a9D4369CaB6a80caD3c0A377A
 
Transaction Hash
Method
Block
From
To
Transfer211658422024-11-11 17:09:5946 days ago1731344999IN
Substratum: Old Token
0 ETH0.0019170766.27506368
Transfer202617862024-07-08 12:27:35172 days ago1720441655IN
Substratum: Old Token
0 ETH0.000086773
Sell202547542024-07-07 12:52:47173 days ago1720356767IN
Substratum: Old Token
0 ETH0.000051871.41829991
Transfer201705352024-06-25 18:37:47185 days ago1719340667IN
Substratum: Old Token
0 ETH0.000173556
Transfer189090352024-01-01 0:29:11362 days ago1704068951IN
Substratum: Old Token
0 ETH0.0002411510.96144048
Transfer189077222023-12-31 20:04:59362 days ago1704053099IN
Substratum: Old Token
0 ETH0.0003242312.96952526
Transfer177575022023-07-23 18:08:35523 days ago1690135715IN
Substratum: Old Token
0 ETH0.00099734.48174372
Transfer177574872023-07-23 18:05:35523 days ago1690135535IN
Substratum: Old Token
0 ETH0.0010321535.69732379
Transfer176968242023-07-15 5:47:35531 days ago1689400055IN
Substratum: Old Token
0 ETH0.0003902413.49686026
Transfer171712862023-05-02 6:22:23605 days ago1683008543IN
Substratum: Old Token
0 ETH0.0014752251
Transfer171659292023-05-01 12:18:11606 days ago1682943491IN
Substratum: Old Token
0 ETH0.0016487857
Transfer162942822022-12-30 1:24:59729 days ago1672363499IN
Substratum: Old Token
0 ETH0.0004725316.33603055
Transfer162820202022-12-28 8:21:35730 days ago1672215695IN
Substratum: Old Token
0 ETH0.0009256332
Transfer162820152022-12-28 8:20:35730 days ago1672215635IN
Substratum: Old Token
0 ETH0.0003471112
Transfer162820072022-12-28 8:18:59730 days ago1672215539IN
Substratum: Old Token
0 ETH0.0003760313
Transfer162409112022-12-22 14:42:23736 days ago1671720143IN
Substratum: Old Token
0 ETH0.0005785220
Transfer162409052022-12-22 14:41:11736 days ago1671720071IN
Substratum: Old Token
0 ETH0.0005495919
Transfer162408872022-12-22 14:37:35736 days ago1671719855IN
Substratum: Old Token
0 ETH0.0005785220
Transfer162408622022-12-22 14:32:35736 days ago1671719555IN
Substratum: Old Token
0 ETH0.0006652923
Transfer162408562022-12-22 14:31:23736 days ago1671719483IN
Substratum: Old Token
0 ETH0.0009256332
Transfer162408502022-12-22 14:30:11736 days ago1671719411IN
Substratum: Old Token
0 ETH0.0010702637
Transfer162408452022-12-22 14:29:11736 days ago1671719351IN
Substratum: Old Token
0 ETH0.0007520726
Transfer161929112022-12-15 21:54:47743 days ago1671141287IN
Substratum: Old Token
0 ETH0.0005183417.92705765
Transfer161426092022-12-08 21:14:47750 days ago1670534087IN
Substratum: Old Token
0 ETH0.000392913.58891543
Transfer160928412022-12-01 22:08:47757 days ago1669932527IN
Substratum: Old Token
0 ETH0.0007050124.38310352
View all transactions

Latest 21 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
67854412018-11-28 1:30:392222 days ago1543368639
Substratum: Old Token
0.11 ETH
66669602018-11-08 15:19:102241 days ago1541690350
Substratum: Old Token
0.02 ETH
66122872018-10-30 15:46:562250 days ago1540914416
Substratum: Old Token
0.0496 ETH
66122782018-10-30 15:45:152250 days ago1540914315
Substratum: Old Token
0.0004 ETH
62293952018-08-28 14:57:502313 days ago1535468270
Substratum: Old Token
0.1 ETH
61756472018-08-19 13:11:582322 days ago1534684318
Substratum: Old Token
0.04 ETH
60736332018-08-02 7:11:262339 days ago1533193886
Substratum: Old Token
0.005 ETH
59342882018-07-09 17:25:222363 days ago1531157122
Substratum: Old Token
0.51 ETH
58411182018-06-23 16:47:052379 days ago1529772425
Substratum: Old Token
0.001 ETH
57900712018-06-14 23:30:502388 days ago1529019050
Substratum: Old Token
0.02 ETH
57771832018-06-12 17:51:402390 days ago1528825900
Substratum: Old Token
0.042 ETH
57724862018-06-11 21:56:232391 days ago1528754183
Substratum: Old Token
0.1 ETH
57719292018-06-11 19:33:432391 days ago1528745623
Substratum: Old Token
0.01 ETH
57719052018-06-11 19:28:182391 days ago1528745298
Substratum: Old Token
0.002 ETH
57718772018-06-11 19:23:022391 days ago1528744982
Substratum: Old Token
0.022 ETH
57711432018-06-11 16:25:292391 days ago1528734329
Substratum: Old Token
0.02 ETH
57710662018-06-11 16:04:402391 days ago1528733080
Substratum: Old Token
0.02 ETH
57710562018-06-11 16:03:072391 days ago1528732987
Substratum: Old Token
0.0002 ETH
57695712018-06-11 9:49:232391 days ago1528710563
Substratum: Old Token
0.01 ETH
57695422018-06-11 9:41:342391 days ago1528710094
Substratum: Old Token
0.01 ETH
57583252018-06-09 9:55:202393 days ago1528538120
Substratum: Old Token
0.01 ETH
Loading...
Loading

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

Contract Name:
MyAdvancedToken

Compiler Version
v0.4.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.2;
contract owned {
    address public owner;

    function owned() {
        owner = msg.sender;
    }

    modifier onlyOwner {
        if (msg.sender != owner) throw;
        _;
    }

    function transferOwnership(address newOwner) onlyOwner {
        owner = newOwner;
    }
}

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

contract token {
    /* Public variables of the token */
    string public standard = 'Token 0.1';
    string public name;
    string public symbol;
    uint8 public decimals;
    uint256 public totalSupply;

    /* This creates an array with all balances */
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    /* This generates a public event on the blockchain that will notify clients */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /* Initializes contract with initial supply tokens to the creator of the contract */
    function token(
        uint256 initialSupply,
        string tokenName,
        uint8 decimalUnits,
        string tokenSymbol
        ) {
        balanceOf[msg.sender] = initialSupply;              // Give the creator all initial tokens
        totalSupply = initialSupply;                        // Update total supply
        name = tokenName;                                   // Set the name for display purposes
        symbol = tokenSymbol;                               // Set the symbol for display purposes
        decimals = decimalUnits;                            // Amount of decimals for display purposes
    }

    /* Send coins */
    function transfer(address _to, uint256 _value) {
        if (balanceOf[msg.sender] < _value) throw;           // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) throw; // Check for overflows
        balanceOf[msg.sender] -= _value;                     // Subtract from the sender
        balanceOf[_to] += _value;                            // Add the same to the recipient
        Transfer(msg.sender, _to, _value);                   // Notify anyone listening that this transfer took place
    }

    /* Allow another contract to spend some tokens in your behalf */
    function approve(address _spender, uint256 _value)
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    /* Approve and then communicate the approved contract in a single tx */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData)
        returns (bool success) {    
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    /* A contract attempts to get the coins */
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        if (balanceOf[_from] < _value) throw;                 // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) throw;  // Check for overflows
        if (_value > allowance[_from][msg.sender]) throw;   // Check allowance
        balanceOf[_from] -= _value;                          // Subtract from the sender
        balanceOf[_to] += _value;                            // Add the same to the recipient
        allowance[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }

    /* This unnamed function is called whenever someone tries to send ether to it */
    function () {
        throw;     // Prevents accidental sending of ether
    }
}

contract MyAdvancedToken is owned, token {

    uint256 public sellPrice;
    uint256 public buyPrice;

    mapping (address => bool) public frozenAccount;

    /* This generates a public event on the blockchain that will notify clients */
    event FrozenFunds(address target, bool frozen);

    /* Initializes contract with initial supply tokens to the creator of the contract */
    function MyAdvancedToken(
        uint256 initialSupply,
        string tokenName,
        uint8 decimalUnits,
        string tokenSymbol
    ) token (initialSupply, tokenName, decimalUnits, tokenSymbol) {}

    /* Send coins */
    function transfer(address _to, uint256 _value) {
        if (balanceOf[msg.sender] < _value) throw;           // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) throw; // Check for overflows
        if (frozenAccount[msg.sender]) throw;                // Check if frozen
        balanceOf[msg.sender] -= _value;                     // Subtract from the sender
        balanceOf[_to] += _value;                            // Add the same to the recipient
        Transfer(msg.sender, _to, _value);                   // Notify anyone listening that this transfer took place
    }


    /* A contract attempts to get the coins */
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
        if (frozenAccount[_from]) throw;                        // Check if frozen            
        if (balanceOf[_from] < _value) throw;                 // Check if the sender has enough
        if (balanceOf[_to] + _value < balanceOf[_to]) throw;  // Check for overflows
        if (_value > allowance[_from][msg.sender]) throw;   // Check allowance
        balanceOf[_from] -= _value;                          // Subtract from the sender
        balanceOf[_to] += _value;                            // Add the same to the recipient
        allowance[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }

    function mintToken(address target, uint256 mintedAmount) onlyOwner {
        balanceOf[target] += mintedAmount;
        totalSupply += mintedAmount;
        Transfer(0, this, mintedAmount);
        Transfer(this, target, mintedAmount);
    }

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

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

    function buy() payable {
        uint amount = msg.value / buyPrice;                // calculates the amount
        if (balanceOf[this] < amount) throw;               // checks if it has enough to sell
        balanceOf[msg.sender] += amount;                   // adds the amount to buyer's balance
        balanceOf[this] -= amount;                         // subtracts amount from seller's balance
        Transfer(this, msg.sender, amount);                // execute an event reflecting the change
    }

    function sell(uint256 amount) {
        if (balanceOf[msg.sender] < amount ) throw;        // checks if the sender has enough to sell
        balanceOf[this] += amount;                         // adds the amount to owner's balance
        balanceOf[msg.sender] -= amount;                   // subtracts the amount from seller's balance
        if (!msg.sender.send(amount * sellPrice)) {        // sends ether to the seller. It's important
            throw;                                         // to do this last to avoid recursion attacks
        } else {
            Transfer(msg.sender, this, amount);            // executes an event reflecting on the change
        }               
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"newSellPrice","type":"uint256"},{"name":"newBuyPrice","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"decimalUnits","type":"uint8"},{"name":"tokenSymbol","type":"string"}],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"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"}]

Deployed Bytecode

0x6060604052361561011a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461013057806306fdde0314610148578063095ea7b3146101d857806318160ddd1461020b57806323b872dd1461022d578063313ce567146102665780634b7503341461028c5780635a3b7e42146102ae57806370a082311461033e57806379c650681461036c5780638620410b1461038d5780638da5cb5b146103af57806395d89b41146103db578063a6f2ae3a1461046b578063a9059cbb14610475578063b414d4b614610496578063cae9ca51146104c6578063dd62ed3e1461053d578063e4849b3214610571578063e724529c14610586578063f2fde38b146105a9575b341561012257fe5b61012e5b60006000fd5b565b005b341561013857fe5b61012e6004356024356105c7565b005b341561015057fe5b6101586105f3565b60408051602080825283518183015283519192839290830191850190808383821561019e575b80518252602083111561019e57601f19909201916020918201910161017e565b505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e057fe5b6101f7600160a060020a036004351660243561067e565b604080519115158252519081900360200190f35b341561021357fe5b61021b6106af565b60408051918252519081900360200190f35b341561023557fe5b6101f7600160a060020a03600435811690602435166044356106b5565b604080519115158252519081900360200190f35b341561026e57fe5b6102766107d9565b6040805160ff9092168252519081900360200190f35b341561029457fe5b61021b6107e2565b60408051918252519081900360200190f35b34156102b657fe5b6101586107e8565b60408051602080825283518183015283519192839290830191850190808383821561019e575b80518252602083111561019e57601f19909201916020918201910161017e565b505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561034657fe5b61021b600160a060020a0360043516610875565b60408051918252519081900360200190f35b341561037457fe5b61012e600160a060020a0360043516602435610887565b005b341561039557fe5b61021b610931565b60408051918252519081900360200190f35b34156103b757fe5b6103bf610937565b60408051600160a060020a039092168252519081900360200190f35b34156103e357fe5b610158610946565b60408051602080825283518183015283519192839290830191850190808383821561019e575b80518252602083111561019e57601f19909201916020918201910161017e565b505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61012e6109d4565b005b341561047d57fe5b61012e600160a060020a0360043516602435610a6a565b005b341561049e57fe5b6101f7600160a060020a0360043516610b3a565b604080519115158252519081900360200190f35b34156104ce57fe5b604080516020600460443581810135601f81018490048402850184019095528484526101f7948235600160a060020a0316946024803595606494929391909201918190840183828082843750949650610b4f95505050505050565b604080519115158252519081900360200190f35b341561054557fe5b61021b600160a060020a0360043581169060243516610c89565b60408051918252519081900360200190f35b341561057957fe5b61012e600435610ca6565b005b341561058e57fe5b61012e600160a060020a03600435166024351515610d67565b005b34156105b157fe5b61012e600160a060020a0360043516610de9565b005b60005433600160a060020a039081169116146105e35760006000fd5b600882905560098190555b5b5050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156106765780601f1061064b57610100808354040283529160200191610676565b820191906000526020600020905b81548152906001019060200180831161065957829003601f168201915b505050505081565b600160a060020a03338116600090815260076020908152604080832093861683529290522081905560015b92915050565b60055481565b600160a060020a0383166000908152600a602052604081205460ff16156106dc5760006000fd5b600160a060020a038416600090815260066020526040902054829010156107035760006000fd5b600160a060020a038316600090815260066020526040902054828101101561072b5760006000fd5b600160a060020a038085166000908152600760209081526040808320339094168352929052205482111561075f5760006000fd5b600160a060020a0380851660008181526006602090815260408083208054889003905587851680845281842080548901905584845260078352818420339096168452948252918290208054879003905581518681529151600080516020610e338339815191529281900390910190a35060015b9392505050565b60045460ff1681565b60085481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106765780601f1061064b57610100808354040283529160200191610676565b820191906000526020600020905b81548152906001019060200180831161065957829003601f168201915b505050505081565b60066020526000908152604090205481565b60005433600160a060020a039081169116146108a35760006000fd5b600160a060020a0380831660009081526006602090815260408083208054860190556005805486019055805185815290513090941693600080516020610e33833981519152929181900390910190a381600160a060020a031630600160a060020a0316600080516020610e33833981519152836040518082815260200191505060405180910390a35b5b5050565b60095481565b600054600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106765780601f1061064b57610100808354040283529160200191610676565b820191906000526020600020905b81548152906001019060200180831161065957829003601f168201915b505050505081565b6000600954348115156109e357fe5b600160a060020a033016600090815260066020526040902054919004915081901015610a0f5760006000fd5b600160a060020a0333811660008181526006602090815260408083208054870190553090941680835291849020805486900390558351858152935192939192600080516020610e338339815191529281900390910190a35b50565b600160a060020a03331660009081526006602052604090205481901015610a915760006000fd5b600160a060020a0382166000908152600660205260409020548181011015610ab95760006000fd5b600160a060020a0333166000908152600a602052604090205460ff1615610ae05760006000fd5b600160a060020a0333811660008181526006602090815260408083208054879003905593861680835291849020805486019055835185815293519193600080516020610e33833981519152929081900390910190a35b5050565b600a6020526000908152604090205460ff1681565b600083610b5c818561067e565b15610c805780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360008314610c20575b805182526020831115610c2057601f199092019160209182019101610c00565b505050905090810190601f168015610c4c5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515610c6a57fe5b6102c65a03f11515610c7857fe5b505050600191505b5b509392505050565b600760209081526000928352604080842090915290825290205481565b600160a060020a03331660009081526006602052604090205481901015610ccd5760006000fd5b600160a060020a03308116600090815260066020526040808220805485019055339092168082528282208054859003905560085492519092840280156108fc0292909190818181858888f193505050501515610d295760006000fd5b30600160a060020a031633600160a060020a0316600080516020610e33833981519152836040518082815260200191505060405180910390a35b5b50565b60005433600160a060020a03908116911614610d835760006000fd5b600160a060020a0382166000818152600a6020908152604091829020805460ff191685151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a15b5b5050565b60005433600160a060020a03908116911614610e055760006000fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820e9e8ae87264b0e619f9cf5779f5293f7cb369db1bc8402f3ec6aec15298a32650029

Swarm Source

bzzr://e9e8ae87264b0e619f9cf5779f5293f7cb369db1bc8402f3ec6aec15298a3265

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  ]
[ 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.