Sponsored Link:   trade.io - The Future of Crypto Trading - A Better, Faster, Smarter Crypto Exchange - Pre-Register Now!
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 1037 txns
 Latest 25 txns from a total Of 1037 transactions

TxHash Age From To Value [TxFee]
0x31ae3178f2a1f9d4b24784af23b97bcbb274a9000c4b3c9ab010c4e3b757690876 days 12 hrs ago0xbb0584b65ca92927c597359ba7f6c68a71550c53  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000411328
0xb8eeb9bec25f32a16c1f5d45904ddfd74292d0a41b2571fa26e8b0a88fd5336992 days 15 hrs ago0xb6ba6cd511fd6b8aeb0da56e97b6c452f7a6c91c  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000764736
0xbf7d8e1e1bdc9fa38df5f29d6aa096b7320062b6681f990dd8a89a3d486d525592 days 15 hrs ago0xb6ba6cd511fd6b8aeb0da56e97b6c452f7a6c91c  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.00168
0x272f994917c13e3440511242916f52bc604e6e8cf082e478eac7fcceb3a13e9992 days 23 hrs ago0xb6ba6cd511fd6b8aeb0da56e97b6c452f7a6c91c  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000764736
0x6a4a9eb960ce32df45ba22e5b5187859c4d44851225032c7bc165d4a5d75cfc592 days 23 hrs ago0xb6ba6cd511fd6b8aeb0da56e97b6c452f7a6c91c  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000764736
0x5c74813091e6305c14748a392746fefdba64463a4164b0bee4490debaf98fb2392 days 23 hrs ago0xb6ba6cd511fd6b8aeb0da56e97b6c452f7a6c91c  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.001079736
0x4ef2c3ecc156311004ade5175007cefc06e8dffebdeae9fdc198600c538577cf93 days 21 hrs ago0x3a0cca1a832644b60730e5d4c27947c5de609d62  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000047554
0x145df59594e464ee3781c7d39a5a3419e0f604b84208d97658614ee8ee33b52794 days 1 hr ago0x6229cf71deccb5d87767e747f5a5c7738db7e40f  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000102832
0x2301a440c4fa473f74b8614a8fbea8c2e380e1661426dd1af77c5508c3a0698496 days 21 hrs ago0x01f1cb86b7e14c43edebb7575fae12b2f54e0dcc  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.00146176
0xbc8bb642e9ecf52ded801aab4f7ccc398bc8c24b27e402dca89bc2030a60522e99 days 10 hrs ago0x166c319fff446b3ff73542f11650c795d145f5df  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.00149568
0x0b0f1ff3a075d503ddfb8e37d395619e99906beb1f00162254a47836a2679bea100 days 20 hrs ago0x00799bbc833d5b168f0410312d2a8fd9e0e3079c  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000036544
0x5932ff84c6b370d1b36bcf1da5272748f9c212957d9873ab3760b80994532b31100 days 22 hrs ago0xb4c70c0b330450e40bf4fc77e7e0850e4e1f1fab  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.0001824
0x0b3c63b96ee6fb89a4dcdfb925d706678d5be557ee465d296a2f1de7d7fcefee101 days 17 hrs ago0x52bc8a6829aac1107d87160a449ec6532855eb78  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.0023712
0xcd1cd551e6aaefab19bac3e480034ae208cdf8fb44ea05d6f596c8dfed6f7387101 days 18 hrs ago0x52bc8a6829aac1107d87160a449ec6532855eb78  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.00334204
0xc9efcdb2f762d64408ab1b4293d8ab9b0c4354b80d660b2be48e287bb8449871109 days 23 hrs ago0x2c59a1fb51d2bb55413e92a7d676082ed49b6e10  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000767424
0x532c7acb16f75dd3d27d215fbf53939da569ee52cf3afd8656d8f1339325083f123 days 12 hrs ago0xde2f4f080ccaa6b79437ba46e291db60597a60b7  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.001824
0x17ee7247b841c8c5dbad2428756d1ce736a7ea42c5fbbafa8af9692daa0dd8af135 days 20 hrs ago0x15977ff8bcc6f22e1d94c50dcf57096aba6803bc  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000411328
0xc25763f3235b4ff19e1f1e803e86f05c90cacb141fc28618a5322beb887f8d8c136 days 1 hr ago0x37b831337d365089f90147d861ae578a93e81583  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000504
0x92a254dc8f723b93179a703c9308407e26c46dacbb9d48351eef03f42b0c7e7d137 days 11 mins ago0x4c4579f632da0f65560fd87baf5366f8541e973c  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000986688
0x05d2d015c796ade9fc271dea5c2889d1dd84539ed6fc3b100f085fd4e28f8682143 days 9 hrs ago0xaa569b62d106d4d59773c55e230d0373cd82f6a5  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000072832
0x6d800740d79191ff71ce3080ce4abb60827696f69334c28df3be9c106f804c50151 days 8 hrs ago0xaa569b62d106d4d59773c55e230d0373cd82f6a5  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.0000142662
0x44f4ddb3325a03ca1736312082ffcd6a1aaec096bfb169ddba17c0fe506d70b7153 days 4 hrs ago0x3ac876ef8f7a545128aa2b76f632f050a2047c22  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.0007296
0x35270b6a2e7a3334de9843f5d3b26ac87c1cd3713a4c8889c81b3a03d93ad7a9161 days 6 hrs ago0x045b90f5ac7aa867ec2d156a7050d2cac06637e3  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.000036416
0x7f047415b0ca09e2bfcb9561719cf9ddf46f2a1a2c4128fce78e1621e446c42d167 days 6 hrs ago0xe66ed4d68d0f0c2232537c0274e7610a4333d089  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.00076608
0xfce7a7be06791c21e2bfb02c89e57074f83881c75b42b5e6f484cc339c1ff993179 days 17 hrs ago0x41ded9aaabaa0a16e8cbf975b2dafe2aa0304355  IN   0x717f0cc11366818ba350aba9e7c7515ded8f84740 Ether0.00003648
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0xeade092d536669de7b93ae5a407c8cdea6e20a05dd1efd8b0c4428182ad09e414326602292 days 41 mins ago0x9b8eb09a59a180e7798fbe7e099c8c351ac56af0  Contract Creation0 Ether
[ Download CSV Export  ] 
Contract Name: BasicCoin
Compiler Version: v0.4.2+commit.af6afb04
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

//! BasicCoin ECR20-compliant token contract
//! By Parity Team (Ethcore), 2016.
//! Released under the Apache Licence 2.

pragma solidity ^0.4.1;

// ECR20 standard token interface
contract Token {
  event Transfer(address indexed from, address indexed to, uint256 value);
  event Approval(address indexed owner, address indexed spender, uint256 value);

  function balanceOf(address _owner) constant returns (uint256 balance);
  function transfer(address _to, uint256 _value) returns (bool success);
  function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
  function approve(address _spender, uint256 _value) returns (bool success);
  function allowance(address _owner, address _spender) constant returns (uint256 remaining);
}

// Owner-specific contract interface
contract Owned {
  event NewOwner(address indexed old, address indexed current);

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

  address public owner = msg.sender;

  function setOwner(address _new) only_owner {
    NewOwner(owner, _new);
    owner = _new;
  }
}

// TokenReg interface
contract TokenReg {
  function register(address _addr, string _tla, uint _base, string _name) payable returns (bool);
  function registerAs(address _addr, string _tla, uint _base, string _name, address _owner) payable returns (bool);
  function unregister(uint _id);
  function setFee(uint _fee);
  function tokenCount() constant returns (uint);
  function token(uint _id) constant returns (address addr, string tla, uint base, string name, address owner);
  function fromAddress(address _addr) constant returns (uint id, string tla, uint base, string name, address owner);
  function fromTLA(string _tla) constant returns (uint id, address addr, uint base, string name, address owner);
  function meta(uint _id, bytes32 _key) constant returns (bytes32);
  function setMeta(uint _id, bytes32 _key, bytes32 _value);
  function transferTLA(string _tla, address _to) returns (bool success);
  function drain();
  uint public fee;
}

// BasicCoin, ECR20 tokens that all belong to the owner for sending around
contract BasicCoin is Owned, Token {
  // this is as basic as can be, only the associated balance & allowances
  struct Account {
    uint balance;
    mapping (address => uint) allowanceOf;
  }

  // the balance should be available
  modifier when_owns(address _owner, uint _amount) {
    if (accounts[_owner].balance < _amount) throw;
    _;
  }

  // an allowance should be available
  modifier when_has_allowance(address _owner, address _spender, uint _amount) {
    if (accounts[_owner].allowanceOf[_spender] < _amount) throw;
    _;
  }

  // no ETH should be sent with the transaction
  modifier when_no_eth {
    if (msg.value > 0) throw;
    _;
  }

  // a value should be > 0
  modifier when_non_zero(uint _value) {
    if (_value == 0) throw;
    _;
  }

  // the base, tokens denoted in micros
  uint constant public base = 1000000;

  // available token supply
  uint public totalSupply;

  // storage and mapping of all balances & allowances
  mapping (address => Account) accounts;

  // constructor sets the parameters of execution, _totalSupply is all units
  function BasicCoin(uint _totalSupply, address _owner) when_no_eth when_non_zero(_totalSupply) {
    totalSupply = _totalSupply;
    owner = _owner;
    accounts[_owner].balance = totalSupply;
  }

  // balance of a specific address
  function balanceOf(address _who) constant returns (uint256) {
    return accounts[_who].balance;
  }

  // transfer
  function transfer(address _to, uint256 _value) when_no_eth when_owns(msg.sender, _value) returns (bool) {
    Transfer(msg.sender, _to, _value);
    accounts[msg.sender].balance -= _value;
    accounts[_to].balance += _value;

    return true;
  }

  // transfer via allowance
  function transferFrom(address _from, address _to, uint256 _value) when_no_eth when_owns(_from, _value) when_has_allowance(_from, msg.sender, _value) returns (bool) {
    Transfer(_from, _to, _value);
    accounts[_from].allowanceOf[msg.sender] -= _value;
    accounts[_from].balance -= _value;
    accounts[_to].balance += _value;

    return true;
  }

  // approve allowances
  function approve(address _spender, uint256 _value) when_no_eth returns (bool) {
    Approval(msg.sender, _spender, _value);
    accounts[msg.sender].allowanceOf[_spender] += _value;

    return true;
  }

  // available allowance
  function allowance(address _owner, address _spender) constant returns (uint256) {
    return accounts[_owner].allowanceOf[_spender];
  }

  // no default function, simple contract only, entry-level users
  function() {
    throw;
  }
}

// Manages BasicCoin instances, including the deployment & registration
contract BasicCoinManager is Owned {
  // a structure wrapping a deployed BasicCoin
  struct Coin {
    address coin;
    address owner;
    address tokenreg;
  }

  // a new BasicCoin has been deployed
  event Created(address indexed owner, address indexed tokenreg, address indexed coin);

  // a list of all the deployed BasicCoins
  Coin[] coins;

  // all BasicCoins for a specific owner
  mapping (address => uint[]) ownedCoins;

  // the base, tokens denoted in micros (matches up with BasicCoin interface above)
  uint constant public base = 1000000;

  // return the number of deployed
  function count() constant returns (uint) {
    return coins.length;
  }

  // get a specific deployment
  function get(uint _index) constant returns (address coin, address owner, address tokenreg) {
    Coin c = coins[_index];

    coin = c.coin;
    owner = c.owner;
    tokenreg = c.tokenreg;
  }

  // returns the number of coins for a specific owner
  function countByOwner(address _owner) constant returns (uint) {
    return ownedCoins[_owner].length;
  }

  // returns a specific index by owner
  function getByOwner(address _owner, uint _index) constant returns (address coin, address owner, address tokenreg) {
    return get(ownedCoins[_owner][_index]);
  }

  // deploy a new BasicCoin on the blockchain
  function deploy(uint _totalSupply, string _tla, string _name, address _tokenreg) payable returns (bool) {
    TokenReg tokenreg = TokenReg(_tokenreg);
    BasicCoin coin = new BasicCoin(_totalSupply, msg.sender);

    uint ownerCount = countByOwner(msg.sender);
    uint fee = tokenreg.fee();

    ownedCoins[msg.sender].length = ownerCount + 1;
    ownedCoins[msg.sender][ownerCount] = coins.length;
    coins.push(Coin(coin, msg.sender, tokenreg));
    tokenreg.registerAs.value(fee)(coin, _tla, base, _name, msg.sender);

    Created(msg.sender, tokenreg, coin);

    return true;
  }

  // owner can withdraw all collected funds
  function drain() only_owner {
    if (!msg.sender.send(this.balance)) {
      throw;
    }
  }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_new","type":"address"}],"name":"setOwner","outputs":[],"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":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"base","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"_totalSupply","type":"uint256"},{"name":"_owner","type":"address"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"old","type":"address"},{"indexed":true,"name":"current","type":"address"}],"name":"NewOwner","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604081815260008054600160a060020a0319163317905580610523833960a09052516080516000341115609d576002565b8260016000508190555081600060006101000a815481600160a060020a03021916908302179055506001600050546002600050600084600160a060020a0316815260200190815260200160002060005060000160005081905550505050610479806100aa6000396000f35b818060001415603257600256606060405236156100775760e060020a6000350463095ea7b3811461008457806313af4035146100a257806318160ddd146100c957806323b872dd146100d75780635001f3b5146100f857806370a08231146101075780638da5cb5b1461013a578063a9059cbb14610151578063dd62ed3e1461016f575b34610002576101ae610002565b34610002576101b0600435602435600060003411156101e157610002565b34610002576101ae600435600054600160a060020a03908116339091161461026457610002565b346100025761012860015481565b34610002576101b0600435602435604435600060003411156102bf57610002565b3461000257610128620f424081565b3461000257600160a060020a03600435166000908152600260205260409020545b60408051918252519081900360200190f35b34610002576101c4600054600160a060020a031681565b34610002576101b0600435602435600060003411156103cb57610002565b3461000257610128600435602435600160a060020a03828116600090815260026020908152604080832093851683526001909301905220545b92915050565b005b604080519115158252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b82600160a060020a031633600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a35033600160a060020a0390811660009081526002602090815260408083209386168352600193840190915290208054830190556101a8565b60008054604051600160a060020a03848116939216917f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b236491a36000805473ffffffffffffffffffffffffffffffffffffffff19168217905550565b600160a060020a03841660009081526002602052604090205484908390819010156102e957610002565b600160a060020a03868116600090815260026020908152604080832033948516845260010190915290205487919086908190101561032657610002565b87600160a060020a031689600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef896040518082815260200191505060405180910390a3600160a060020a03898116600090815260026020818152604080842033861685526001818101845282862080548f900390559390925281548c9003909155928b168252919020805489019055955050505050509392505050565b33600160a060020a0381166000908152600260205260409020548390819010156103f457610002565b84600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef866040518082815260200191505060405180910390a333600160a060020a039081166000908152600260205260408082208054889003905591871681522080548501905560019250505092915050560000000000000000000000000000000000000000000000000000b5e620f4800000000000000000000000000000438a827b29e346879dc81404e296182d9b2b20

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.