Sponsored Link:   Qravity - the only blockchain entertainment production studio and distributor. Learn more.
Contract Overview | DGDBadge
Balance: 0 Ether
Ether Value: $0
Transactions: 62 txns
 Latest 25 txns from a total Of 62 transactions
View All

TxHash Age From To Value [TxFee]
0x2329ab4112a1875357a71ebc9fdc95c86efc375007775f39204905c4d0822e7162 days 11 hrs ago0x4187228e08d68e8ed9b8d50429437f4d2a575a9c  IN   DGDBadge0 Ether0.00073592
0xd7a88c6d7453663359eaf74305533d56108da565bbda3e0648dae660d2966a9562 days 11 hrs ago0xb8ded1df034979fa808a1f3f903def8bc60e28a9  IN   DGDBadge0 Ether0.000772716
0x62b8717390c26bed0b5f329c58b21ddc640440c042001642ce0bcb8cfd2a18c262 days 11 hrs ago0xf854493702776a8e0256c3797c549b5f2993d0fa  IN   DGDBadge0 Ether0.000772716
0x92657e62d8ac8a4aff7c3505f370fca1855f90070c3ecde599cae0a6c13b243a64 days 13 hrs ago0xf854493702776a8e0256c3797c549b5f2993d0fa  IN   DGDBadge0 Ether0.001087716
0x44234f24bc3ece8d8badfd156e26f869a0317e61f0fc09118613f2eb28409252161 days 21 hrs ago0x45f1e5d98b7c338cd7cdcbcecc47ddef193674b1  IN   DGDBadge0 Ether0.001508636
0xa1f81b786fd49f724fe821df162427fa8e0dd9e65647f485f43ff0be05c6a1eb162 days 11 hrs ago0x67436a2c32f8e72e9de5bcf1b5f6fff8172d4ad2  IN   DGDBadge0 Ether0.002175432
0xb0a30812a86ccb0ae05a1c86c2409925d1b7dd12bf42d41bd3ad97db4b949dd5164 days 8 hrs ago0xf61e8af772c7e6c4ba446a5f5df8c76bba37432b  IN   DGDBadge0 Ether0.002266784
0x2eaf7a168ebf71e0285a2518d28b72ebc3c7c3a7cdb0fb670f9d2987725afbcb164 days 9 hrs ago0xf61e8af772c7e6c4ba446a5f5df8c76bba37432b  IN   DGDBadge0 Ether0.003211352
0x0b5aad4d5e7419aece00d27568e3468f450f54ed71a97d40b39cd52b3ccca51b210 days 5 hrs ago0x198ef1ec325a96cc354c7266a038be8b5c558f67  IN   DGDBadge0 Ether0.000293856
0x77b3b07489074d6e9aec2946e8c178387c8895cc0f0917300feff8b03426af2e275 days 7 hrs ago0x1f14c8687f345f99c99a5d169ffa153af7b89840  IN   DGDBadge0 Ether0.000772716
0x6ff38a6770e1eccd099e2b3e3f526aad45b773d28459eb9ef80d922e7124af6c283 days 1 hr ago0x1f14c8687f345f99c99a5d169ffa153af7b89840  IN   DGDBadge0 Ether0.000155388
0x09ef2d5aa4d575ddefdc2ccfffb1cdd7e1f00bb8c3fad4215065950768689b0a300 days 15 hrs ago0xf6722e3ee85648a737398abe90c35c9fb64e3adc  IN   DGDBadge0 Ether0.000772716
0x8dd117bf73343bdcf30c09f1093d3ab2169a8c9ae6310bf62e24413c65d427b4305 days 1 hr ago0xa6e98ececb3693e51937f68a9619dd3ac3f837ae  IN   DGDBadge0 Ether0.00036796
0x7f8885352168174f603aad4e17ed2d74bf1ccc06b5272399088ddbdf0c52a9b6310 days 48 mins ago0x286635c294b61bf10f416bbb7b579a0035379d33  IN   DGDBadge0 Ether0.000220776
0x89627846eb2527ab3edf4b5a7c4588e94f4c31a4c06ad892c76e9fcd681cbf75310 days 16 hrs ago0x3d15fa61570ef9f1b91a81aa6dd9d8433e6db8cc  IN   DGDBadge0 Ether0.000772716
0x1d6b293272427e7e052cee977969b39d40feeb403029b1bc03bd4fd6ce83ed32383 days 13 hrs ago0x6bacd92b7a52d4b055bf09188a0af2431cd08be7  IN   DGDBadge0 Ether0.000883104
0x97baa9f8b4da123e24e64ce654d03c1da15842eaa0da178b5622fff69858d62c383 days 13 hrs ago0x6bacd92b7a52d4b055bf09188a0af2431cd08be7  IN   DGDBadge0 Ether0.000568848
0x3546bec6e769f5ffdac21db1c89e5897546e67a7f423de2df03f5b340b88ff9c383 days 13 hrs ago0x6bacd92b7a52d4b055bf09188a0af2431cd08be7  IN   DGDBadge0 Ether0.000568848
0xfaddf5f2acf0640c5983ab1bfbf48954eac4106d3819417bc31f25fb7f6f797e384 days 4 hrs ago0x0c3f8d4acc9c086578eb2a75a034d2ac0a7bb0d5  IN   DGDBadge0 Ether0.000808104
0xa81cbaef1252e37a6d055f577cdfba2c235910f0e0485a2f81d66942da4dd2e8384 days 4 hrs ago0x0c3f8d4acc9c086578eb2a75a034d2ac0a7bb0d5  IN   DGDBadge0 Ether0.000520036
0xf54a78ad915ec5c0d7537e5e4646ba4a9ce1776d409c47f769ab0a2af908d0ac414 days 5 hrs ago0x01471e8561631a1c31235e260f289261ed0a3b8a  IN   DGDBadge0 Ether0.00073592
0xcfc33f393597756269c05f5b3ebfded91dba87a79b6279554c47936912decf0c416 days 20 hrs ago0x1728039ce0d18a799c081c5c7fa2090dd365a8d0  IN   DGDBadge0 Ether0.00043592
0x56d9c5d896aa00880ddcfeff4d5b3de51cba73153b4432595c1ec37742248a8e416 days 20 hrs ago0xd504141a26a832013b7173077a331ac44f25e682  IN   DGDBadge0 Ether0.00073592
0x38865ff15573e40594258c897565388c8f6540b01224f7cdc8099c90966c3d1f416 days 20 hrs ago0x738db714c08b8a32a29e0e68af00215079aa9c5c  IN   DGDBadge0 Ether0.00073592
0x4850aeed05bc41f2c0d3a5681fee2b75060fb9629e0815405c54b818a34db1b7426 days 3 hrs ago0x3003208e77edf3b088b122b5de3a6fc8c8ef679d  IN   DGDBadge0 Ether0.001506012
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0xe6a50122e15dd149eabf18e9de8044264d32360b7fea156cb0e63ec3f721120e1409121787 days 9 hrs ago0xe0b7927c4af23765cb51314a0e0521a9645f0e2a  Contract Creation0 Ether
[ Download CSV Export  ] 



  Contract Source Code   Find Similiar Contracts

/// @title DigixDAO Contract Interfaces

contract ConfigInterface {
  address public owner;
  mapping (address => bool) admins;
  mapping (bytes32 => address) addressMap;
  mapping (bytes32 => bool) boolMap;
  mapping (bytes32 => bytes32) bytesMap;
  mapping (bytes32 => uint256) uintMap;

  /// @notice setConfigAddress sets configuration `_key` to `_val` 
  /// @param _key The key name of the configuration.
  /// @param _val The value of the configuration.
  /// @return Whether the configuration setting was successful or not.
  function setConfigAddress(bytes32 _key, address _val) returns (bool success);

  /// @notice setConfigBool sets configuration `_key` to `_val` 
  /// @param _key The key name of the configuration.
  /// @param _val The value of the configuration.
  /// @return Whether the configuration setting was successful or not.
  function setConfigBool(bytes32 _key, bool _val) returns (bool success);

  /// @notice setConfigBytes sets configuration `_key` to `_val`
  /// @param _key The key name of the configuration.
  /// @param _val The value of the configuration.
  /// @return Whether the configuration setting was successful or not.
  function setConfigBytes(bytes32 _key, bytes32 _val) returns (bool success);

  /// @notice setConfigUint `_key` to `_val`
  /// @param _key The key name of the configuration.
  /// @param _val The value of the configuration.
  /// @return Whether the configuration setting was successful or not.
  function setConfigUint(bytes32 _key, uint256 _val) returns (bool success);

  /// @notice getConfigAddress gets configuration `_key`'s value
  /// @param _key The key name of the configuration.
  /// @return The configuration value 
  function getConfigAddress(bytes32 _key) returns (address val);

  /// @notice getConfigBool gets configuration `_key`'s value
  /// @param _key The key name of the configuration.
  /// @return The configuration value 
  function getConfigBool(bytes32 _key) returns (bool val);

  /// @notice getConfigBytes gets configuration `_key`'s value
  /// @param _key The key name of the configuration.
  /// @return The configuration value 
  function getConfigBytes(bytes32 _key) returns (bytes32 val);

  /// @notice getConfigUint gets configuration `_key`'s value
  /// @param _key The key name of the configuration.
  /// @return The configuration value 
  function getConfigUint(bytes32 _key) returns (uint256 val);

  /// @notice addAdmin sets `_admin` as configuration admin
  /// @return Whether the configuration setting was successful or not.  
  function addAdmin(address _admin) returns (bool success);

  /// @notice removeAdmin removes  `_admin`'s rights
  /// @param _admin The key name of the configuration.
  /// @return Whether the configuration setting was successful or not.  
  function removeAdmin(address _admin) returns (bool success);

}

contract TokenInterface {

  mapping (address => uint256) balances;
  mapping (address => mapping (address => uint256)) allowed;
  mapping (address => bool) seller;

  address config;
  address owner;
  address dao;
  address public badgeLedger;
  bool locked;

  /// @return total amount of tokens
  uint256 public totalSupply;

  /// @param _owner The address from which the balance will be retrieved
  /// @return The balance
  function balanceOf(address _owner) constant returns (uint256 balance);

  /// @notice send `_value` tokens to `_to` from `msg.sender`
  /// @param _to The address of the recipient
  /// @param _value The amount of tokens to be transfered
  /// @return Whether the transfer was successful or not
  function transfer(address _to, uint256 _value) returns (bool success);

  /// @notice send `_value` tokens to `_to` from `_from` on the condition it is approved by `_from`
  /// @param _from The address of the sender
  /// @param _to The address of the recipient
  /// @param _value The amount of tokens to be transfered
  /// @return Whether the transfer was successful or not
  function transferFrom(address _from, address _to, uint256 _value) returns (bool success);

  /// @notice `msg.sender` approves `_spender` to spend `_value` tokens on its behalf
  /// @param _spender The address of the account able to transfer the tokens
  /// @param _value The amount of tokens to be approved for transfer
  /// @return Whether the approval was successful or not
  function approve(address _spender, uint256 _value) returns (bool success);

  /// @param _owner The address of the account owning tokens
  /// @param _spender The address of the account able to transfer the tokens
  /// @return Amount of remaining tokens of _owner that _spender is allowed to spend
  function allowance(address _owner, address _spender) constant returns (uint256 remaining);

  /// @notice mint `_amount` of tokens to `_owner`
  /// @param _owner The address of the account receiving the tokens
  /// @param _amount The amount of tokens to mint
  /// @return Whether or not minting was successful
  function mint(address _owner, uint256 _amount) returns (bool success);

  /// @notice mintBadge Mint `_amount` badges to `_owner`
  /// @param _owner The address of the account receiving the tokens
  /// @param _amount The amount of tokens to mint
  /// @return Whether or not minting was successful
  function mintBadge(address _owner, uint256 _amount) returns (bool success);

  function registerDao(address _dao) returns (bool success);
  function registerSeller(address _tokensales) returns (bool success);

  event Transfer(address indexed _from, address indexed _to, uint256 indexed _value);
  event Mint(address indexed _recipient, uint256 indexed _amount);
  event Approval(address indexed _owner, address indexed _spender, uint256 indexed _value);
}

contract TokenSalesInterface {

  struct SaleProxy {
    address payout;
    bool isProxy;
  }

  struct SaleStatus {
    bool founderClaim;
    uint256 releasedTokens;
    uint256 releasedBadges;
    uint256 claimers;
  }

  struct Info {
    uint256 totalWei;
    uint256 totalCents;
    uint256 realCents;
    uint256 amount;
  }

  struct SaleConfig {
    uint256 startDate;
    uint256 periodTwo;
    uint256 periodThree;
    uint256 endDate;
    uint256 goal;
    uint256 cap;
    uint256 badgeCost;
    uint256 founderAmount;
    address founderWallet;
  }

  struct Buyer {
    uint256 centsTotal;
    uint256 weiTotal;
    bool claimed;
  }

  Info saleInfo;
  SaleConfig saleConfig;
  SaleStatus saleStatus;

  address config;
  address owner;
  bool locked;

  uint256 public ethToCents;

  mapping (address => Buyer) buyers;
  mapping (address => SaleProxy) proxies;

  /// @notice Calculates the parts per billion 1⁄1,000,000,000 of `_a` to `_b`
  /// @param _a The antecedent
  /// @param _c The consequent
  /// @return Part per billion value
  function ppb(uint256 _a, uint256 _c) public constant returns (uint256 b);


  /// @notice Calculates the share from `_total` based on `_contrib` 
  /// @param _contrib The contributed amount in USD
  /// @param _total The total amount raised in USD
  /// @return Total number of shares
  function calcShare(uint256 _contrib, uint256 _total) public constant returns (uint256 share);

  /// @notice Calculates the current USD cents value of `_wei` 
  /// @param _wei the amount of wei
  /// @return The USD cents value
  function weiToCents(uint256 _wei) public constant returns (uint256 centsvalue);

  function proxyPurchase(address _user) returns (bool success);

  /// @notice Send msg.value purchase for _user.  
  /// @param _user The account to be credited
  /// @return Success if purchase was accepted
  function purchase(address _user, uint256 _amount) private returns (bool success);

  /// @notice Get crowdsale information for `_user`
  /// @param _user The account to be queried
  /// @return `centstotal` the total amount of USD cents contributed
  /// @return `weitotal` the total amount in wei contributed
  /// @return `share` the current token shares earned
  /// @return `badges` the number of proposer badges earned
  /// @return `claimed` is true if the tokens and badges have been claimed
  function userInfo(address _user) public constant returns (uint256 centstotal, uint256 weitotal, uint256 share, uint badges, bool claimed); 

  /// @notice Get the crowdsale information from msg.sender (see userInfo)
  function myInfo() public constant returns (uint256 centstotal, uint256 weitotal, uint256 share, uint badges, bool claimed); 

  /// @notice get the total amount of wei raised for the crowdsale
  /// @return The amount of wei raised
  function totalWei() public constant returns (uint);

  /// @notice get the total USD value in cents raised for the crowdsale
  /// @return the amount USD cents
  function totalCents() public constant returns (uint);

  /// @notice get the current crowdsale information
  /// @return `startsale` The unix timestamp for the start of the crowdsale and the first period modifier
  /// @return `two` The unix timestamp for the start of the second period modifier
  /// @return `three` The unix timestamp for the start of the third period modifier
  /// @return `endsale` The unix timestamp of the end of crowdsale
  /// @return `totalwei` The total amount of wei raised
  /// @return `totalcents` The total number of USD cents raised
  /// @return `amount` The amount of DGD tokens available for the crowdsale
  /// @return `goal` The USD value goal for the crowdsale
  /// @return `famount` Founders endowment
  /// @return `faddress` Founder wallet address
  /*function getSaleInfo() public constant returns (uint256 startsale, uint256 two, uint256 three, uint256 endsale, uint256 totalwei, uint256 totalcents, uint256 amount, uint256 goal, uint256 famount, address faddress);*/

  function claimFor(address _user) returns (bool success); 

  /// @notice Allows msg.sender to claim the DGD tokens and badges if the goal is reached or refunds the ETH contributed if goal is not reached at the end of the crowdsale
  function claim() returns (bool success);

  function claimFounders() returns (bool success);

  /// @notice See if the crowdsale goal has been reached
  function goalReached() public constant returns (bool reached);

  /// @notice Get the current sale period
  /// @return `saleperiod` 0 = Outside of the crowdsale period, 1 = First reward period, 2 = Second reward period, 3 = Final crowdsale period.
  function getPeriod() public constant returns (uint saleperiod);

  /// @notice Get the date for the start of the crowdsale
  /// @return `date` The unix timestamp for the start
  function startDate() public constant returns (uint date);
  
  /// @notice Get the date for the second reward period of the crowdsale
  /// @return `date` The unix timestamp for the second period
  function periodTwo() public constant returns (uint date);

  /// @notice Get the date for the final period of the crowdsale
  /// @return `date` The unix timestamp for the final period
  function periodThree() public constant returns (uint date);

  /// @notice Get the date for the end of the crowdsale
  /// @return `date` The unix timestamp for the end of the crowdsale
  function endDate() public constant returns (uint date);

  /// @notice Check if crowdsale has ended
  /// @return `ended` If the crowdsale has ended
  
  function isEnded() public constant returns (bool ended);

  /// @notice Send raised funds from the crowdsale to the DAO
  /// @return `success` if the send succeeded
  function sendFunds() public returns (bool success);

  //function regProxy(address _payment, address _payout) returns (bool success);
  function regProxy(address _payout) returns (bool success);

  function getProxy(address _payout) public returns (address proxy);
  
  function getPayout(address _proxy) public returns (address payout, bool isproxy);

  function unlock() public returns (bool success);

  function getSaleStatus() public constant returns (bool fclaim, uint256 reltokens, uint256 relbadges, uint256 claimers);

  function getSaleInfo() public constant returns (uint256 weiamount, uint256 cents, uint256 realcents, uint256 amount);

  function getSaleConfig() public constant returns (uint256 start, uint256 two, uint256 three, uint256 end, uint256 goal, uint256 cap, uint256 badgecost, uint256 famount, address fwallet);
  
  event Purchase(uint256 indexed _exchange, uint256 indexed _rate, uint256 indexed _cents);
  event Claim(address indexed _user, uint256 indexed _amount, uint256 indexed _badges);

}


contract Badge  {
  mapping (address => uint256) balances;
  mapping (address => mapping (address => uint256)) allowed;

  address public owner;
  bool public locked;

  /// @return total amount of tokens
  uint256 public totalSupply;

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


  event Transfer(address indexed _from, address indexed _to, uint256 _value);
  event Mint(address indexed _recipient, uint256 indexed _amount);
  event Approval(address indexed _owner, address indexed _spender, uint256  _value);

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

  function safeToAdd(uint a, uint b) returns (bool) {
    return (a + b >= a);
  }

  function addSafely(uint a, uint b) returns (uint result) {
    if (!safeToAdd(a, b)) {
      throw;
    } else {
      result = a + b;
      return result;
    }
  }

  function safeToSubtract(uint a, uint b) returns (bool) {
    return (b <= a);
  }

  function subtractSafely(uint a, uint b) returns (uint) {
    if (!safeToSubtract(a, b)) throw;
    return a - b;
  }

  function balanceOf(address _owner) constant returns (uint256 balance) {
    return balances[_owner];
  }

  function transfer(address _to, uint256 _value) returns (bool success) {
    if (balances[msg.sender] >= _value && _value > 0) {
      balances[msg.sender] = subtractSafely(balances[msg.sender], _value);
      balances[_to] = addSafely(_value, balances[_to]);
      Transfer(msg.sender, _to, _value);
      success = true;
    } else {
      success = false;
    }
    return success;
  }

  function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
    if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
      balances[_to] = addSafely(balances[_to], _value);
      balances[_from] = subtractSafely(balances[_from], _value);
      allowed[_from][msg.sender] = subtractSafely(allowed[_from][msg.sender], _value);
      Transfer(_from, _to, _value);
      return true;
    } else {
      return false;
    }
  }

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

  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
    remaining = allowed[_owner][_spender];
    return remaining;
  }

  function mint(address _owner, uint256 _amount) ifOwner returns (bool success) {
    totalSupply = addSafely(totalSupply, _amount);
    balances[_owner] = addSafely(balances[_owner], _amount);
    Mint(_owner, _amount);
    return true;
  }

  function setOwner(address _owner) ifOwner returns (bool success) {
    owner = _owner;
    return true;
  }

}

contract Token {

  address public owner;
  address public config;
  bool public locked;
  address public dao;
  address public badgeLedger;
  uint256 public totalSupply;

  mapping (address => uint256) balances;
  mapping (address => mapping (address => uint256)) allowed;
  mapping (address => bool) seller;

  /// @return total amount of tokens

  modifier ifSales() {
    if (!seller[msg.sender]) throw; 
    _ 
  }

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

  modifier ifDao() {
    if (msg.sender != dao) throw;
    _
  }

  event Transfer(address indexed _from, address indexed _to, uint256 _value);
  event Mint(address indexed _recipient, uint256  _amount);
  event Approval(address indexed _owner, address indexed _spender, uint256  _value);

  function Token(address _config) {
    config = _config;
    owner = msg.sender;
    address _initseller = ConfigInterface(_config).getConfigAddress("sale1:address");
    seller[_initseller] = true; 
    badgeLedger = new Badge();
    locked = false;
  }

  function safeToAdd(uint a, uint b) returns (bool) {
    return (a + b >= a);
  }

  function addSafely(uint a, uint b) returns (uint result) {
    if (!safeToAdd(a, b)) {
      throw;
    } else {
      result = a + b;
      return result;
    }
  }

  function safeToSubtract(uint a, uint b) returns (bool) {
    return (b <= a);
  }

  function subtractSafely(uint a, uint b) returns (uint) {
    if (!safeToSubtract(a, b)) throw;
    return a - b;
  }

  function balanceOf(address _owner) constant returns (uint256 balance) {
    return balances[_owner];
  }

  function transfer(address _to, uint256 _value) returns (bool success) {
    if (balances[msg.sender] >= _value && _value > 0) {
      balances[msg.sender] = subtractSafely(balances[msg.sender], _value);
      balances[_to] = addSafely(balances[_to], _value);
      Transfer(msg.sender, _to, _value);
      success = true;
    } else {
      success = false;
    }
    return success;
  }

  function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
    if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
      balances[_to] = addSafely(balances[_to], _value);
      balances[_from] = subtractSafely(balances[_from], _value);
      allowed[_from][msg.sender] = subtractSafely(allowed[_from][msg.sender], _value);
      Transfer(_from, _to, _value);
      return true;
    } else {
      return false;
    }
  }

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

  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
    remaining = allowed[_owner][_spender];
    return remaining;
  }
  function mint(address _owner, uint256 _amount) ifSales returns (bool success) {
    totalSupply = addSafely(_amount, totalSupply);
    balances[_owner] = addSafely(balances[_owner], _amount);
    return true;
  }

  function mintBadge(address _owner, uint256 _amount) ifSales returns (bool success) {
    if (!Badge(badgeLedger).mint(_owner, _amount)) return false;
    return true;
  }

  function registerDao(address _dao) ifOwner returns (bool success) {
    if (locked == true) return false;
    dao = _dao;
    locked = true;
    return true;
  }

  function setDao(address _newdao) ifDao returns (bool success) {
    dao = _newdao;
    return true;
  }

  function isSeller(address _query) returns (bool isseller) {
    return seller[_query];
  }

  function registerSeller(address _tokensales) ifDao returns (bool success) {
    seller[_tokensales] = true;
    return true;
  }

  function unregisterSeller(address _tokensales) ifDao returns (bool success) {
    seller[_tokensales] = false;
    return true;
  }

  function setOwner(address _newowner) ifDao returns (bool success) {
    if(Badge(badgeLedger).setOwner(_newowner)) {
      owner = _newowner;
      success = true;
    } else {
      success = false;
    }
    return success;
  }

}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"subtractSafely","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeToAdd","outputs":[{"name":"","type":"bool"}],"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"type":"function"},{"constant":false,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"addSafely","outputs":[{"name":"result","type":"uint256"}],"type":"function"},{"constant":true,"inputs":[],"name":"locked","outputs":[{"name":"","type":"bool"}],"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"type":"function"},{"constant":false,"inputs":[{"name":"a","type":"uint256"},{"name":"b","type":"uint256"}],"name":"safeToSubtract","outputs":[{"name":"","type":"bool"}],"type":"function"},{"inputs":[],"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_recipient","type":"address"},{"indexed":true,"name":"_amount","type":"uint256"}],"name":"Mint","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"}]

  Contract Creation Code Switch To Opcodes View
606060405260028054600160a060020a031916331790556105b6806100246000396000f3606060405236156100ae5760e060020a6000350463095ea7b381146100b057806313af40351461012557806318160ddd1461014a57806323b872dd146101535780633416f9d4146101da57806340c10f19146101f05780634e30a66c1461021857806370a082311461022e5780638da5cb5b14610253578063a9059cbb14610265578063c74c251f146102bf578063cf309012146102d5578063dd62ed3e146102fa578063e74b9d111461032e575b005b61034160043560243533600160a060020a03908116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b610341600435600254600090600160a060020a03908116339091161461058f57610002565b61034160035481565b610341600435602435604435600160a060020a0383166000908152602081905260408120548290108015906101a6575060016020908152604080832033600160a060020a03168452909152812054829010155b80156101b25750600082115b1561043057600160a060020a03831660009081526020819052604090205461043b90836102c9565b6103416004356024355b60006103848383610338565b610341600435602435600254600090600160a060020a03908116339091161461051057610002565b6103416004356024355b8181018290101561011f565b610341600435600160a060020a0381166000908152602081905260409020545b919050565b610353600254600160a060020a031681565b61034160043560243533600160a060020a03166000908152602081905260408120548290108015906102975750600082115b156103985733600160a060020a03166000908152602081905260409020546103a190836101e4565b6103416004356024355b60006103708383610222565b61034160025460ff740100000000000000000000000000000000000000009091041681565b610341600435602435600160a060020a0382811660009081526001602090815260408083209385168352929052205461011f565b6103416004356024355b8181111561011f565b60408051918252519081900360200190f35b60408051600160a060020a03929092168252519081900360200190f35b151561037b57610002565b5081810161011f565b151561038f57610002565b5080820361011f565b5060005b61011f565b33600160a060020a0390811660009081526020819052604080822093909355908516815220546103d29083906102c9565b600160a060020a03848116600081815260208181526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600161039c565b5060005b9392505050565b600160a060020a03848116600090815260208190526040808220939093559086168152205461046a90836101e4565b600160a060020a0385811660009081526020818152604080832094909455600181528382203390931682529190915220546104a590836101e4565b600160a060020a038581166000818152600160209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001610434565b60035461051d90836102c9565b600355600160a060020a03831660009081526020819052604090205461054390836102c9565b600160a060020a03841660008181526020819052604080822093909355915184927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688591a350600161011f565b506002805473ffffffffffffffffffffffffffffffffffffffff191682179055600161024e56

 

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.