Contract Overview
ETH Balance: 0 Ether
Mined:  0
No Of Transactions: 15 txns
  Latest 15 txns

TxHash Block Age From To Value [TxFee]
0xfa1cfa86dcb8fecac207080d56acd08d4fd5bed04acefaed1b7b7507b8b8dd3032163314 days 9 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00223154
0x766bec53df45f25a6af3b2431ac2b61cdf0b33340c7a10ebca53191b3340c1b432163274 days 9 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00160154
0xeaccbf3c7064f943581d97ad3cc3957cd4791eb259abbda10446843ef088035d317466511 days 6 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0x7b1a349f5e8566ed8801c385fc3cf0ab875e70c2030d4f6fa418ebee47aa5da7317465511 days 6 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0x0bd279b1f559c6afb1aaad2a337241dd7abcc832e65b0d7bcbff9993960e826d313731017 days 11 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0xe55e92811122703d37aabd67a0bdb75f94dcb60fb12bf02cf03d39f3d3ae584d313730417 days 11 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00160154
0xd3498b83cf9131b4f64ef5e7ade53cca76c62a24f670ebb9e62bf9546f8348bc308990425 days 7 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0x344e02473741206dbdf1e7c591a16125dbac54ec60448a29c50690494cc2450a308989925 days 7 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0x237221da553c881087bd83f0065fb873a670a2e59796ac008bb49853a6998f7d304194233 days 6 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0xc78ffecdf31f7f7412911905419c04eb363cbbeb38134d288aaba49c0109b654304191533 days 6 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0xb5d6999d00cc3d4e653912db7046135c6fc5e979741cf0c75bad1946491e8ad3299345241 days 6 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00156341
0x93876e3b9b8fd0a90e3be3952b6e36f4353cc76bbf87a1ff706645b2340140b0298074643 days 8 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00217841
0x439b74e91729eb425c3c431fcb57bb5f74ed12d7c578450ded38e76e13824bbf298072343 days 8 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00150228
0x50ffcf303a1d898debb7c87fdbcd21e96d7fa2a4ede9f5f6a980c09dfe89fa44298067443 days 9 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN   0xb20bb2780a6ae9e399e805ce4f60321245f7a0db0 Ether0.00211728
0xc4c876b9da69276896a142547b6ffa67a1c80bbe11f529704dfb6affdd15cb42298065543 days 9 hrs ago0x8a89e3f0a525c8b3b82f81c25c0655c8a6895aa4  IN    Contract Creation0 Ether0.0389304
 Internal Transactions as a result of Contract Execution

ParentTxHash Block Age From To Value
Contract Source Code Verified
Contract Name: MyToken
Compiler Version: v0.4.7+commit.822622cf
Optimization Enabled: No
Online Solidity Editor:  Click To View



  Contract Source Code   Find Similiar Contracts
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 MyToken is owned {
    /* This creates an array with all balances */
    mapping (address => uint256) public balanceOf;

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

    /* Initializes contract with initial supply tokens to the creator of the contract */
    function MyToken() {
        uint256 initialSupply = 10;
        balanceOf[msg.sender] = initialSupply;
        totalSupply = initialSupply;
    }

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

    /* 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
    }

    /* Mint coins */
    function mintToken(address target, uint256 mintedAmount) onlyOwner {
        balanceOf[target] += mintedAmount;
        totalSupply += mintedAmount;
        Transfer(0, owner, mintedAmount);
        Transfer(owner, target, mintedAmount);
    }

    function () {
        //if ether is sent to this address, send it back.
        throw;
    }
}

  Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"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":"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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"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"}]

  Contract Creation Code Switch To Opcodes View
6060604052604060405190810160405280600981526020017f546f6b656e20302e31000000000000000000000000000000000000000000000081525060029080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200008857805160ff1916838001178555620000b9565b82800160010185558215620000b9579182015b82811115620000b85782518255916020019190600101906200009b565b5b509050620000e191905b80821115620000dd576000816000905550600101620000c3565b5090565b5050604060405190810160405280600981526020017f5472656b4d696c6573000000000000000000000000000000000000000000000081525060039080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016757805160ff191683800117855562000198565b8280016001018555821562000198579182015b82811115620001975782518255916020019190600101906200017a565b5b509050620001c091905b80821115620001bc576000816000905550600101620001a2565b5090565b5050604060405190810160405280600381526020017f544d43000000000000000000000000000000000000000000000000000000000081525060049080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024657805160ff191683800117855562000277565b8280016001018555821562000277579182015b828111156200027657825182559160200191906001019062000259565b5b5090506200029f91905b808211156200029b57600081600090555060010162000281565b5090565b50506000600560006101000a81548160ff021916908360ff1602179055503462000000575b60005b33600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b600a905080600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806006819055505b505b610a97806200036b6000396000f300606060405236156100a2576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146100b457806318160ddd1461014a578063313ce5671461016d5780635a3b7e421461019657806370a082311461022c57806379c65068146102735780638da5cb5b146102af57806395d89b41146102fe578063a9059cbb14610394578063f2fde38b146103d0575b34610000576100b25b610000565b565b005b34610000576100c1610403565b6040518080602001828103825283818151815260200191508051906020019080838360008314610110575b805182526020831115610110576020820191506020810190506020830392506100ec565b505050905090810190601f16801561013c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576101576104a1565b6040518082815260200191505060405180910390f35b346100005761017a6104a7565b604051808260ff1660ff16815260200191505060405180910390f35b34610000576101a36104ba565b60405180806020018281038252838181518152602001915080519060200190808383600083146101f2575b8051825260208311156101f2576020820191506020810190506020830392506101ce565b505050905090810190601f16801561021e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b346100005761025d600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610558565b6040518082815260200191505060405180910390f35b34610000576102ad600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610570565b005b34610000576102bc610728565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b346100005761030b61074e565b604051808060200182810382528381815181526020019150805190602001908083836000831461035a575b80518252602083111561035a57602082019150602081019050602083039250610336565b505050905090810190601f1680156103865780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34610000576103ce600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506107ec565b005b3461000057610401600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109c9565b005b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104995780601f1061046e57610100808354040283529160200191610499565b820191906000526020600020905b81548152906001019060200180831161047c57829003601f168201915b505050505081565b60065481565b600560009054906101000a900460ff1681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105505780601f1061052557610100808354040283529160200191610550565b820191906000526020600020905b81548152906001019060200180831161053357829003601f168201915b505050505081565b60016020528060005260406000206000915090505481565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105cc57610000565b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080600660008282540192505081905550600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a38173ffffffffffffffffffffffffffffffffffffffff16600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35b5b5050565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107e45780601f106107b9576101008083540402835291602001916107e4565b820191906000526020600020905b8154815290600101906020018083116107c757829003601f168201915b505050505081565b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561083857610000565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540110156108c557610000565b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35b5050565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610a2557610000565b80600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b505600a165627a7a723058202aad963328dfc017c4627452eaf1344203c93427e3d79615e04020a053478b0e0029

   Swarm Source:
bzzr://2aad963328dfc017c4627452eaf1344203c93427e3d79615e04020a053478b0e
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward