ETH Price: $2,064.18 (+0.84%)

Contract

0x3Bbf23404E79352E0F5eC94fa8f8cfcd9A9b157D
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Issue50425692018-02-06 18:29:272974 days ago1517941767IN
0x3Bbf2340...d9A9b157D
0 ETH0.0018899722
Issue50425672018-02-06 18:28:312974 days ago1517941711IN
0x3Bbf2340...d9A9b157D
0 ETH0.0018913822
Issue50425662018-02-06 18:27:462974 days ago1517941666IN
0x3Bbf2340...d9A9b157D
0 ETH0.0018913822
Issue50425642018-02-06 18:26:382974 days ago1517941598IN
0x3Bbf2340...d9A9b157D
0 ETH0.0015613822
Issue50425632018-02-06 18:26:312974 days ago1517941591IN
0x3Bbf2340...d9A9b157D
0 ETH0.0015585622
Issue50417562018-02-06 15:16:352974 days ago1517930195IN
0x3Bbf2340...d9A9b157D
0 ETH0.0022213822

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Issuer

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 500 runs

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

/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */


/**
 * This smart contract code is Copyright 2017 TokenMarket Ltd. For more information see https://tokenmarket.net
 *
 * Licensed under the Apache License, version 2.0: https://github.com/TokenMarketNet/ico/blob/master/LICENSE.txt
 */








/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) constant returns (uint256);
  function transfer(address to, uint256 value) returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}



/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal constant returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal constant returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal constant returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}



/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances. 
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) returns (bool) {
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of. 
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) constant returns (uint256 balance) {
    return balances[_owner];
  }

}






/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) constant returns (uint256);
  function transferFrom(address from, address to, uint256 value) returns (bool);
  function approve(address spender, uint256 value) returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}



/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) allowed;


  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amout of tokens to be transfered
   */
  function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
    // require (_value <= _allowance);

    balances[_to] = balances[_to].add(_value);
    balances[_from] = balances[_from].sub(_value);
    allowed[_from][msg.sender] = _allowance.sub(_value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) returns (bool) {

    // To change the approve amount you first have to reduce the addresses`
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    require((_value == 0) || (allowed[msg.sender][_spender] == 0));

    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifing the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }

}



/**
 * Standard EIP-20 token with an interface marker.
 *
 * @notice Interface marker is used by crowdsale contracts to validate that addresses point a good token contract.
 *
 */
contract StandardTokenExt is StandardToken {

  /* Interface declaration */
  function isToken() public constant returns (bool weAre) {
    return true;
  }
}



/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() {
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner {
    require(newOwner != address(0));      
    owner = newOwner;
  }

}


/**
 * Issuer manages token distribution after the crowdsale.
 *
 * This contract is fed a CSV file with Ethereum addresses and their
 * issued token balances.
 *
 * Issuer act as a gate keeper to ensure there is no double issuance
 * per address, in the case we need to do several issuance batches,
 * there is a race condition or there is a fat finger error.
 *
 * Issuer contract gets allowance from the team multisig to distribute tokens.
 *
 */
contract Issuer is Ownable {

  /** Map addresses whose tokens we have already issued. */
  mapping(address => bool) public issued;

  /** Centrally issued token we are distributing to our contributors */
  StandardTokenExt public token;

  /** Party (team multisig) who is in the control of the token pool. Note that this will be different from the owner address (scripted) that calls this contract. */
  address public allower;

  /** How many addresses have received their tokens. */
  uint public issuedCount;

  function Issuer(address _owner, address _allower, StandardTokenExt _token) {
    owner = _owner;
    allower = _allower;
    token = _token;
  }

  function issue(address benefactor, uint amount) onlyOwner {
    if(issued[benefactor]) throw;
    token.transferFrom(allower, benefactor, amount);
    issued[benefactor] = true;
    issuedCount += amount;
  }

}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"issuedCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"benefactor","type":"address"},{"name":"amount","type":"uint256"}],"name":"issue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"allower","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"issued","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_owner","type":"address"},{"name":"_allower","type":"address"},{"name":"_token","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

6060604052341561000f57600080fd5b6040516060806103ee83398101604052808051919060200180519190602001805160008054600160a060020a03968716338816600160a060020a03199283161782161790915560038054958716958216959095179094556002805495909116949093169390931790915550506103648061008a6000396000f3006060604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630b0f77438114610087578063867904b4146100ac5780638da5cb5b146100d0578063dd449a83146100ff578063f02d7ef014610112578063f2fde38b14610145578063fc0c546a14610164575b600080fd5b341561009257600080fd5b61009a610177565b60405190815260200160405180910390f35b34156100b757600080fd5b6100ce600160a060020a036004351660243561017d565b005b34156100db57600080fd5b6100e3610297565b604051600160a060020a03909116815260200160405180910390f35b341561010a57600080fd5b6100e36102a6565b341561011d57600080fd5b610131600160a060020a03600435166102b5565b604051901515815260200160405180910390f35b341561015057600080fd5b6100ce600160a060020a03600435166102ca565b341561016f57600080fd5b6100e3610329565b60045481565b60005433600160a060020a0390811691161461019857600080fd5b600160a060020a03821660009081526001602052604090205460ff16156101be57600080fd5b600254600354600160a060020a03918216916323b872dd911684846000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561024a57600080fd5b6102c65a03f1151561025b57600080fd5b50505060405180515050600160a060020a039091166000908152600160208190526040909120805460ff19169091179055600480549091019055565b600054600160a060020a031681565b600354600160a060020a031681565b60016020526000908152604090205460ff1681565b60005433600160a060020a039081169116146102e557600080fd5b600160a060020a03811615156102fa57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a0316815600a165627a7a72305820da042e98ae412e978b51b831996038864605a8ece87d7ebf09a62d0629e6c3a400290000000000000000000000006efd5665ab4b345a7ebe63c679b651f375dddb7e00000000000000000000000089c952fbcde403cecdbb13b794dfe374ade40a7f000000000000000000000000ae73b38d1c9a8b274127ec30160a4927c4d71824

Deployed Bytecode

0x6060604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630b0f77438114610087578063867904b4146100ac5780638da5cb5b146100d0578063dd449a83146100ff578063f02d7ef014610112578063f2fde38b14610145578063fc0c546a14610164575b600080fd5b341561009257600080fd5b61009a610177565b60405190815260200160405180910390f35b34156100b757600080fd5b6100ce600160a060020a036004351660243561017d565b005b34156100db57600080fd5b6100e3610297565b604051600160a060020a03909116815260200160405180910390f35b341561010a57600080fd5b6100e36102a6565b341561011d57600080fd5b610131600160a060020a03600435166102b5565b604051901515815260200160405180910390f35b341561015057600080fd5b6100ce600160a060020a03600435166102ca565b341561016f57600080fd5b6100e3610329565b60045481565b60005433600160a060020a0390811691161461019857600080fd5b600160a060020a03821660009081526001602052604090205460ff16156101be57600080fd5b600254600354600160a060020a03918216916323b872dd911684846000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561024a57600080fd5b6102c65a03f1151561025b57600080fd5b50505060405180515050600160a060020a039091166000908152600160208190526040909120805460ff19169091179055600480549091019055565b600054600160a060020a031681565b600354600160a060020a031681565b60016020526000908152604090205460ff1681565b60005433600160a060020a039081169116146102e557600080fd5b600160a060020a03811615156102fa57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a0316815600a165627a7a72305820da042e98ae412e978b51b831996038864605a8ece87d7ebf09a62d0629e6c3a40029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000006efd5665ab4b345a7ebe63c679b651f375dddb7e00000000000000000000000089c952fbcde403cecdbb13b794dfe374ade40a7f000000000000000000000000ae73b38d1c9a8b274127ec30160a4927c4d71824

-----Decoded View---------------
Arg [0] : _owner (address): 0x6efD5665ab4B345A7eBE63c679b651f375DDdB7E
Arg [1] : _allower (address): 0x89C952FbCDe403CEcdbB13B794DFE374AdE40a7f
Arg [2] : _token (address): 0xaE73B38d1c9A8b274127ec30160a4927C4d71824

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000006efd5665ab4b345a7ebe63c679b651f375dddb7e
Arg [1] : 00000000000000000000000089c952fbcde403cecdbb13b794dfe374ade40a7f
Arg [2] : 000000000000000000000000ae73b38d1c9a8b274127ec30160a4927c4d71824


Swarm Source

bzzr://da042e98ae412e978b51b831996038864605a8ece87d7ebf09a62d0629e6c3a4

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.