Source Code
Latest 25 from a total of 4,838 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474831 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474831 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474831 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00473999 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474831 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474831 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474831 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474831 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 | ||||
| Issue | 4964177 | 2981 days ago | IN | 0 ETH | 0.00474415 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
IssuerWithId
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-01-15
*/
/**
* 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 ID number, 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 IssuerWithId is Ownable {
/** Map IDs whose tokens we have already issued. */
mapping(uint => 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 tokens have been issued. */
uint public issuedCount;
/** Issue event **/
event Issued(address benefactor, uint amount, uint id);
function IssuerWithId(address _owner, address _allower, StandardTokenExt _token) {
require(address(_owner) != address(0));
require(address(_allower) != address(0));
require(address(_token) != address(0));
owner = _owner;
allower = _allower;
token = _token;
}
function issue(address benefactor, uint amount, uint id) onlyOwner {
if(issued[id]) throw;
token.transferFrom(allower, benefactor, amount);
issued[id] = true;
issuedCount += amount;
Issued(benefactor, amount, id);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[],"name":"issuedCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"issued","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"benefactor","type":"address"},{"name":"amount","type":"uint256"},{"name":"id","type":"uint256"}],"name":"issue","outputs":[],"payable":false,"stateMutability":"nonpayable","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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"benefactor","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"id","type":"uint256"}],"name":"Issued","type":"event"}]Contract Creation Code
6060604052341561000f57600080fd5b60405160608061048083398101604052808051919060200180519190602001805160008054600160a060020a03191633600160a060020a039081169190911790915590925084161515905061006357600080fd5b600160a060020a038216151561007857600080fd5b600160a060020a038116151561008d57600080fd5b60008054600160a060020a03948516600160a060020a0319918216179091556003805493851693821693909317909255600280549190931691161790556103a7806100d96000396000f3006060604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630b0f77438114610087578063647dfbed146100ac5780638da5cb5b146100d6578063dd449a8314610105578063dfe5ef4814610118578063f2fde38b1461013f578063fc0c546a1461015e575b600080fd5b341561009257600080fd5b61009a610171565b60405190815260200160405180910390f35b34156100b757600080fd5b6100c2600435610177565b604051901515815260200160405180910390f35b34156100e157600080fd5b6100e961018c565b604051600160a060020a03909116815260200160405180910390f35b341561011057600080fd5b6100e961019b565b341561012357600080fd5b61013d600160a060020a03600435166024356044356101aa565b005b341561014a57600080fd5b61013d600160a060020a036004351661030d565b341561016957600080fd5b6100e961036c565b60045481565b60016020526000908152604090205460ff1681565b600054600160a060020a031681565b600354600160a060020a031681565b60005433600160a060020a039081169116146101c557600080fd5b60008181526001602052604090205460ff16156101e157600080fd5b600254600354600160a060020a03918216916323b872dd911685856000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561026d57600080fd5b6102c65a03f1151561027e57600080fd5b50505060405180515050600081815260016020819052604091829020805460ff1916909117905560048054840190557f8269ee3da431ac4749e945c9753440ce6e9c96a9807c29e4228328cfab27225990849084908490518084600160a060020a0316600160a060020a03168152602001838152602001828152602001935050505060405180910390a1505050565b60005433600160a060020a0390811691161461032857600080fd5b600160a060020a038116151561033d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a0316815600a165627a7a72305820b4e9cd8c274dd72e32cb9cf210fee190a659655df459afc538c1b8f66019471e00290000000000000000000000006efd5665ab4b345a7ebe63c679b651f375dddb7e00000000000000000000000018359735e06cdb531ac895fd41d46dd231d9a147000000000000000000000000e8780b48bdb05f928697a5e8155f672ed91462f7
Deployed Bytecode
0x6060604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630b0f77438114610087578063647dfbed146100ac5780638da5cb5b146100d6578063dd449a8314610105578063dfe5ef4814610118578063f2fde38b1461013f578063fc0c546a1461015e575b600080fd5b341561009257600080fd5b61009a610171565b60405190815260200160405180910390f35b34156100b757600080fd5b6100c2600435610177565b604051901515815260200160405180910390f35b34156100e157600080fd5b6100e961018c565b604051600160a060020a03909116815260200160405180910390f35b341561011057600080fd5b6100e961019b565b341561012357600080fd5b61013d600160a060020a03600435166024356044356101aa565b005b341561014a57600080fd5b61013d600160a060020a036004351661030d565b341561016957600080fd5b6100e961036c565b60045481565b60016020526000908152604090205460ff1681565b600054600160a060020a031681565b600354600160a060020a031681565b60005433600160a060020a039081169116146101c557600080fd5b60008181526001602052604090205460ff16156101e157600080fd5b600254600354600160a060020a03918216916323b872dd911685856000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561026d57600080fd5b6102c65a03f1151561027e57600080fd5b50505060405180515050600081815260016020819052604091829020805460ff1916909117905560048054840190557f8269ee3da431ac4749e945c9753440ce6e9c96a9807c29e4228328cfab27225990849084908490518084600160a060020a0316600160a060020a03168152602001838152602001828152602001935050505060405180910390a1505050565b60005433600160a060020a0390811691161461032857600080fd5b600160a060020a038116151561033d57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a0316815600a165627a7a72305820b4e9cd8c274dd72e32cb9cf210fee190a659655df459afc538c1b8f66019471e0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006efd5665ab4b345a7ebe63c679b651f375dddb7e00000000000000000000000018359735e06cdb531ac895fd41d46dd231d9a147000000000000000000000000e8780b48bdb05f928697a5e8155f672ed91462f7
-----Decoded View---------------
Arg [0] : _owner (address): 0x6efD5665ab4B345A7eBE63c679b651f375DDdB7E
Arg [1] : _allower (address): 0x18359735E06cDB531AC895FD41D46DD231D9A147
Arg [2] : _token (address): 0xe8780B48bdb05F928697A5e8155f672ED91462F7
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000006efd5665ab4b345a7ebe63c679b651f375dddb7e
Arg [1] : 00000000000000000000000018359735e06cdb531ac895fd41d46dd231d9a147
Arg [2] : 000000000000000000000000e8780b48bdb05f928697a5e8155f672ed91462f7
Swarm Source
bzzr://b4e9cd8c274dd72e32cb9cf210fee190a659655df459afc538c1b8f66019471e
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.