Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,099,166 ETB
Holders
540
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract contains unverified libraries: SafeMathLib
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
CrowdsaleToken
Compiler Version
v0.4.8+commit.60cc1668
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-04-14 */ /* * ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; function balanceOf(address who) constant returns (uint); function allowance(address owner, address spender) constant returns (uint); function transfer(address to, uint value) returns (bool ok); function transferFrom(address from, address to, uint value) returns (bool ok); function approve(address spender, uint value) returns (bool ok); event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); } /** * Math operations with safety checks */ contract SafeMath { function safeMul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint a, uint b) internal returns (uint) { assert(b > 0); uint c = a / b; assert(a == b * c + a % b); return c; } function safeSub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function safeAdd(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a < b ? a : b; } function assert(bool assertion) internal { if (!assertion) { throw; } } } /** * Standard ERC20 token * * https://github.com/ethereum/EIPs/issues/20 * Based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, SafeMath { mapping(address => uint) balances; mapping (address => mapping (address => uint)) allowed; function transfer(address _to, uint _value) returns (bool success) { balances[msg.sender] = safeSub(balances[msg.sender], _value); balances[_to] = safeAdd(balances[_to], _value); Transfer(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint _value) returns (bool success) { var _allowance = allowed[_from][msg.sender]; // Check is not needed because safeSub(_allowance, _value) will already throw if this condition is not met // if (_value > _allowance) throw; balances[_to] = safeAdd(balances[_to], _value); balances[_from] = safeSub(balances[_from], _value); allowed[_from][msg.sender] = safeSub(_allowance, _value); Transfer(_from, _to, _value); return true; } function balanceOf(address _owner) constant returns (uint balance) { return balances[_owner]; } function approve(address _spender, uint _value) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint remaining) { return allowed[_owner][_spender]; } } /** * Upgrade agent interface inspired by Lunyr. * * Upgrade agent transfers tokens to a new contract. * Upgrade agent itself can be the token contract, or just a middle man contract doing the heavy lifting. */ contract UpgradeAgent { uint public originalSupply; /** Interface marker */ function isUpgradeAgent() public constant returns (bool) { return true; } function upgradeFrom(address _from, uint256 _value) public; } /** * Safe unsigned safe math. * * https://blog.aragon.one/library-driven-development-in-solidity-2bebcaf88736#.750gwtwli * * Originally from https://raw.githubusercontent.com/AragonOne/zeppelin-solidity/master/contracts/SafeMathLib.sol * * Maintained here until merged to mainline zeppelin-solidity. * */ library SafeMathLib { function times(uint a, uint b) returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function minus(uint a, uint b) returns (uint) { assert(b <= a); return a - b; } function plus(uint a, uint b) returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } function assert(bool assertion) private { if (!assertion) throw; } } /** * A token upgrade mechanism where users can opt-in amount of tokens to the next smart contract revision. * * First envisioned by Golem and Lunyr projects. */ contract UpgradeableToken is StandardToken { using SafeMathLib for uint; /** Contract / person who can set the upgrade path. This can be the same as team multisig wallet, as what it is with its default value. */ address public upgradeMaster; /** The next contract where the tokens will be migrated. */ UpgradeAgent public upgradeAgent; /** How many tokens we have upgraded by now. */ uint256 public totalUpgraded; /** * Upgrade states. * * - NotAllowed: The child contract has not reached a condition where the upgrade can bgun * - WaitingForAgent: Token allows upgrade, but we don't have a new agent yet * - ReadyToUpgrade: The agent is set, but not a single token has been upgraded yet * - Upgrading: Upgrade agent is set and the balance holders can upgrade their tokens * */ enum UpgradeState {Unknown, NotAllowed, WaitingForAgent, ReadyToUpgrade, Upgrading} event Upgrade(address indexed _from, address indexed _to, uint256 _value); event UpgradeAgentSet(address agent); /** * Do not allow construction without upgrade master set. */ function UpgradeAgentEnabledToken(address _upgradeMaster) { upgradeMaster = _upgradeMaster; } /** * Allow the token holder to upgrade some of their tokens to a new contract. */ function upgrade(uint256 value) public { UpgradeState state = getUpgradeState(); if(!(state == UpgradeState.ReadyToUpgrade || state == UpgradeState.Upgrading)) { // Called in a bad state throw; } // Validate input value. if (value == 0) throw; balances[msg.sender] = balances[msg.sender].minus(value); // Take tokens out from circulation totalSupply = totalSupply.minus(value); totalUpgraded = totalUpgraded.plus(value); // Upgrade agent reissues the tokens upgradeAgent.upgradeFrom(msg.sender, value); Upgrade(msg.sender, upgradeAgent, value); } /** * Set an upgrade agent that handles */ function setUpgradeAgent(address agent) external { if(!canUpgrade()) { // The token is not yet in a state that we could think upgrading throw; } if (agent == 0x0) throw; // Only a master can designate the next agent if (msg.sender != upgradeMaster) throw; // Upgrade has already begun for an agent if (getUpgradeState() == UpgradeState.Upgrading) throw; upgradeAgent = UpgradeAgent(agent); // Bad interface if(!upgradeAgent.isUpgradeAgent()) throw; // Make sure that token supplies match in source and target if (upgradeAgent.originalSupply() != totalSupply) throw; UpgradeAgentSet(upgradeAgent); } /** * Get the state of the token upgrade. */ function getUpgradeState() public constant returns(UpgradeState) { if(!canUpgrade()) return UpgradeState.NotAllowed; else if(address(upgradeAgent) == 0x00) return UpgradeState.WaitingForAgent; else if(totalUpgraded == 0) return UpgradeState.ReadyToUpgrade; else return UpgradeState.Upgrading; } /** * Change the upgrade master. * * This allows us to set a new owner for the upgrade mechanism. */ function setUpgradeMaster(address master) external { if (master == 0x0) throw; if (msg.sender != upgradeMaster) throw; upgradeMaster = master; } /** * Child contract can enable to provide the condition when the upgrade can begun. */ function canUpgrade() public constant returns(bool) { return true; } } /* * Ownable * * Base contract with an owner. * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner. */ contract Ownable { address public owner; function Ownable() { owner = msg.sender; } modifier onlyOwner() { if (msg.sender != owner) { throw; } _; } function transferOwnership(address newOwner) onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } } /* TransferableToken defines the generic interface and the implementation to limit token transferability for different events. It is intended to be used as a base class for other token contracts. Over-writting transferableTokens(address holder, uint64 time) is the way to provide the specific logic for limitting token transferability for a holder over time. TransferableToken has been designed to allow for different limitting factors, this can be achieved by recursively calling super.transferableTokens() until the base class is hit. For example: function transferableTokens(address holder, uint64 time) constant public returns (uint256) { return min256(unlockedTokens, super.transferableTokens(holder, time)); } A working example is VestedToken.sol: https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/VestedToken.sol */ contract TransferableToken is ERC20 { // Checks whether it can transfer or otherwise throws. modifier canTransfer(address _sender, uint _value) { if (_value > transferableTokens(_sender, uint64(now))) throw; _; } // Checks modifier and allows transfer if tokens are not locked. function transfer(address _to, uint _value) canTransfer(msg.sender, _value) returns (bool success) { return super.transfer(_to, _value); } // Checks modifier and allows transfer if tokens are not locked. function transferFrom(address _from, address _to, uint _value) canTransfer(_from, _value) returns (bool success) { return super.transferFrom(_from, _to, _value); } // Default transferable tokens function returns all tokens for a holder (no limit). function transferableTokens(address holder, uint64 time) constant public returns (uint256) { return balanceOf(holder); } } /** * Define interface for releasing the token transfer after a successful crowdsale. */ contract ReleasableToken is ERC20, Ownable { /* The finalizer contract that allows unlift the transfer limits on this token */ address public releaseAgent; /** A crowdsale contract can release us to the wild if ICO success. If false we are are in transfer lock up period.*/ bool public released = false; /** Map of agents that are allowed to transfer tokens regardless of the lock down period. These are crowdsale contracts and possible the team multisig itself. */ mapping (address => bool) public transferAgents; /** * Limit token transfer until the crowdsale is over. * */ modifier canTransfer(address _sender) { if(!released) { if(!transferAgents[_sender]) { throw; } } _; } /** * Set the contract that can call release and make the token transferable. */ function setReleaseAgent(address addr) onlyOwner inReleaseState(false) public { // Already set if(releaseAgent != 0) { throw; } // We don't do interface check here as we might want to a normal wallet address to act as a release agent releaseAgent = addr; } /** * Owner can allow a particular address (a crowdsale contract) to transfer tokens despite the lock up period. */ function setTransferAgent(address addr, bool state) onlyOwner inReleaseState(false) public { transferAgents[addr] = state; } /** * One way function to release the tokens to the wild. * * Can be called only from the release agent that is the final ICO contract. It is only called if the crowdsale has been success (first milestone reached). */ function releaseTokenTransfer() public onlyReleaseAgent { released = true; } /** The function can be called only before or after the tokens have been releasesd */ modifier inReleaseState(bool releaseState) { if(releaseState != released) { throw; } _; } /** The function can be called only by a whitelisted release agent. */ modifier onlyReleaseAgent() { if(msg.sender != releaseAgent) { throw; } _; } function transfer(address _to, uint _value) canTransfer(msg.sender) returns (bool success) { // Call StandardToken.transfer() return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint _value) canTransfer(_from) returns (bool success) { // Call StandardToken.transferForm() return super.transferFrom(_from, _to, _value); } } /** * A token that can increase its supply by another contract. * * This allows uncapped crowdsale by dynamically increasing the supply when money pours in. * Only mint agents, contracts whitelisted by owner, can mint new tokens. * */ contract MintableToken is StandardToken, Ownable { using SafeMathLib for uint; bool public mintingFinished = false; /** List of agents that are allowed to create new tokens */ mapping (address => bool) public mintAgents; /** * Create new tokens and allocate them to an address.. * * Only callably by a crowdsale contract (mint agent). */ function mint(address receiver, uint amount) onlyMintAgent canMint public { totalSupply = totalSupply.plus(amount); balances[receiver] = balances[receiver].plus(amount); Transfer(0, receiver, amount); } /** * Owner can allow a crowdsale contract to mint new tokens. */ function setMintAgent(address addr, bool state) onlyOwner canMint public { mintAgents[addr] = state; } modifier onlyMintAgent() { // Only crowdsale contracts are allowed to mint new tokens if(!mintAgents[msg.sender]) { throw; } _; } /** Make sure we are not done yet. */ modifier canMint() { if(mintingFinished) throw; _; } } /** * A crowdsaled token. * * An ERC-20 token designed specifically for crowdsales with investor protection and further development path. * * - The token transfer() is disabled until the crowdsale is over * - The token contract gives an opt-in upgrade path to a new contract * - The same token can be part of several crowdsales through approve() mechanism * - The token can be capped (supply set in the constructor) or uncapped (crowdsale contract can mint new tokens) * */ contract CrowdsaleToken is ReleasableToken, MintableToken, UpgradeableToken { string public name; string public symbol; /** We don't want to support decimal places as it's not very well handled by different wallets */ uint public decimals = 0; /** * Construct the token. * * This token must be created through a team multisig wallet, so that it is owned by that wallet. */ function CrowdsaleToken(string _name, string _symbol, uint _initialSupply) { // Create from team multisig owner = msg.sender; // Initially set the upgrade master same as owner upgradeMaster = owner; name = _name; symbol = _symbol; totalSupply = _initialSupply; // Create initially all balance on the team multisig balances[msg.sender] = totalSupply; } /** * When token is released to be transferable, enforce no new tokens can be created. */ function releaseTokenTransfer() public onlyReleaseAgent { mintingFinished = true; super.releaseTokenTransfer(); } /** * Allow upgrade agent functionality kick in only if the crowdsale was success. */ function canUpgrade() public constant returns(bool) { return released; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setTransferAgent","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"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":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"setReleaseAgent","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"mintAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setMintAgent","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"upgrade","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_upgradeMaster","type":"address"}],"name":"UpgradeAgentEnabledToken","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"upgradeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"releaseTokenTransfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"upgradeMaster","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"transferAgents","outputs":[{"name":"","type":"bool"}],"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":true,"inputs":[],"name":"released","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"canUpgrade","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalUpgraded","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"releaseAgent","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"agent","type":"address"}],"name":"setUpgradeAgent","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"master","type":"address"}],"name":"setUpgradeMaster","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_initialSupply","type":"uint256"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"agent","type":"address"}],"name":"UpgradeAgentSet","type":"event"},{"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"}]
Contract Creation Code
60606040526004805460a060020a60ff02191690556006805460ff191690556000600d553462000000576040516200165c3803806200165c83398101604090815281516020830151918301519083019291909101905b5b60038054600160a060020a03191633600160a060020a03161790555b60038054600160a060020a03338116600160a060020a031992831617928390556008805490921692169190911790558251600b8054600082905290916020601f6002600019600186161561010002019094169390930483018190047f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db99081019390918801908390106200011157805160ff191683800117855562000141565b8280016001018555821562000141579182015b828111156200014157825182559160200191906001019062000124565b5b50620001659291505b808211156200016157600081556001016200014b565b5090565b505081600c9080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001b557805160ff1916838001178555620001e5565b82800160010185558215620001e5579182015b82811115620001e5578251825591602001919060010190620001c8565b5b50620002099291505b808211156200016157600081556001016200014b565b5090565b50506000818155600160a060020a03331681526001602052604090208190555b5050505b61141f806200023d6000396000f300606060405236156101645763ffffffff60e060020a60003504166302f652a3811461016957806305d2035b1461018957806306fdde03146101aa578063095ea7b31461023757806318160ddd1461026757806323b872dd1461028657806329ff4f53146102bc578063313ce567146102d757806340c10f19146102f657806342c1867b14610314578063432146751461034157806345977d03146103615780635d302ba1146103735780635de4ccb01461038e5780635f412d4f146103b7578063600440cb146103c657806370a08231146103ef5780638444b3911461041a578063867c2857146104485780638da5cb5b1461047557806395d89b411461049e578063961325211461052b5780639738968c1461054c578063a9059cbb1461056d578063c752ff621461059d578063d1f276d3146105bc578063d7e7088a146105e5578063dd62ed3e14610600578063f2fde38b14610631578063ffeb7d751461064c575b610000565b3461000057610187600160a060020a03600435166024351515610667565b005b34610000576101966106c8565b604080519115158252519081900360200190f35b34610000576101b76106d1565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196600160a060020a036004351660243561075f565b604080519115158252519081900360200190f35b34610000576102746107ca565b60408051918252519081900360200190f35b3461000057610196600160a060020a03600435811690602435166044356107d0565b604080519115158252519081900360200190f35b3461000057610187600160a060020a0360043516610827565b005b3461000057610274610894565b60408051918252519081900360200190f35b3461000057610187600160a060020a036004351660243561089a565b005b3461000057610196600160a060020a0360043516610a21565b604080519115158252519081900360200190f35b3461000057610187600160a060020a03600435166024351515610a36565b005b3461000057610187600435610a8c565b005b3461000057610187600160a060020a0360043516610d0f565b005b346100005761039b610d2e565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187610d3d565b005b346100005761039b610d71565b60408051600160a060020a039092168252519081900360200190f35b3461000057610274600160a060020a0360043516610d80565b60408051918252519081900360200190f35b3461000057610427610d9f565b6040518082600481116100005760ff16815260200191505060405180910390f35b3461000057610196600160a060020a0360043516610dec565b604080519115158252519081900360200190f35b346100005761039b610e01565b60408051600160a060020a039092168252519081900360200190f35b34610000576101b7610e10565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196610e9e565b604080519115158252519081900360200190f35b3461000057610196610eae565b604080519115158252519081900360200190f35b3461000057610196600160a060020a0360043516602435610ebf565b604080519115158252519081900360200190f35b3461000057610274610f14565b60408051918252519081900360200190f35b346100005761039b610f1a565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187600160a060020a0360043516610f29565b005b3461000057610274600160a060020a03600435811690602435166110e1565b60408051918252519081900360200190f35b3461000057610187600160a060020a036004351661110e565b005b3461000057610187600160a060020a0360043516611159565b005b60035433600160a060020a0390811691161461068257610000565b60045460009060a060020a900460ff161561069c57610000565b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60005481565b600454600090849060a060020a900460ff16151561080f57600160a060020a03811660009081526005602052604090205460ff16151561080f57610000565b5b61081b8585856111a8565b91505b5b509392505050565b60035433600160a060020a0390811691161461084257610000565b60045460009060a060020a900460ff161561085c57610000565b600454600160a060020a03161561087257610000565b60048054600160a060020a031916600160a060020a0384161790555b5b505b50565b600d5481565b600160a060020a03331660009081526007602052604090205460ff1615156108c157610000565b60065460ff16156108d157610000565b6000547387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e6366098d4f9091836000604051602001526040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b156100005760325a03f4156100005750506040805180516000908155600160a060020a0386168152600160209081528382205492810191909152825160e060020a6366098d4f02815260048101929092526024820185905291517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e93506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600160a060020a0386166000818152600160209081528582209390935586845293519094507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b5b5b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610a5157610000565b60065460ff1615610a6157610000565b600160a060020a0382166000908152600760205260409020805460ff19168215151790555b5b5b5050565b6000610a96610d9f565b905060038160048111610000571480610ab757506004816004811161000057145b1515610ac257610000565b811515610ace57610000565b600160a060020a0333166000908152600160209081526040808320548151830193909352805160e060020a63f4f3bdc1028152600481019390935260248301859052517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e9263f4f3bdc1926044808301939192829003018186803b156100005760325a03f415610000575050604080518051600160a060020a03331660009081526001602090815284822092909255805492820152825160e060020a63f4f3bdc102815260048101929092526024820186905291517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e935063f4f3bdc192604480840193919291829003018186803b156100005760325a03f4156100005750506040805180516000908155600a54602092830191909152825160e060020a6366098d4f02815260048101919091526024810186905291517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e93506366098d4f926044808201939291829003018186803b156100005760325a03f415610000575050604080518051600a556009547f753e88e5000000000000000000000000000000000000000000000000000000008252600160a060020a0333811660048401526024830187905292519216925063753e88e591604480830192600092919082900301818387803b156100005760325a03f115610000575050600954604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b60088054600160a060020a031916600160a060020a0383161790555b50565b600954600160a060020a031681565b60045433600160a060020a03908116911614610d5857610000565b6006805460ff19166001179055610d6d6112ab565b5b5b565b600854600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b6000610da9610eae565b1515610db757506001610de6565b600954600160a060020a03161515610dd157506002610de6565b600a541515610de257506003610de6565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b60045460a060020a900460ff1681565b60045460a060020a900460ff165b90565b600454600090339060a060020a900460ff161515610efe57600160a060020a03811660009081526005602052604090205460ff161515610efe57610000565b5b610f0984846112ee565b91505b5b5092915050565b600a5481565b600454600160a060020a031681565b610f31610eae565b1515610f3c57610000565b600160a060020a0381161515610f5157610000565b60085433600160a060020a03908116911614610f6c57610000565b6004610f76610d9f565b60048111610000571415610f8957610000565b60098054600160a060020a031916600160a060020a038381169190911791829055604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925194909316936361d3d7a6936004808501948390030190829087803b156100005760325a03f115610000575050604051511515905061101c57610000565b6000805460095460408051602090810185905281517f4b2ba0dd00000000000000000000000000000000000000000000000000000000815291519394600160a060020a0390931693634b2ba0dd936004808501948390030190829087803b156100005760325a03f1156100005750506040515191909114905061109e57610000565b60095460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a0390811691161461112957610000565b600160a060020a038116156108915760038054600160a060020a031916600160a060020a0383161790555b5b5b50565b600160a060020a038116151561116e57610000565b60085433600160a060020a03908116911614610d0f57610000565b60088054600160a060020a031916600160a060020a0383161790555b50565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906111e990846113a2565b600160a060020a03808616600090815260016020526040808220939093559087168152205461121890846113ca565b600160a060020a03861660009081526001602052604090205561123b81846113ca565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60045433600160a060020a039081169116146112c657610000565b6004805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b600160a060020a03331660009081526001602052604081205461131190836113ca565b600160a060020a03338116600090815260016020526040808220939093559085168152205461134090836113a2565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b60008282016113bf8482108015906113ba5750838210155b6113e3565b8091505b5092915050565b60006113d8838311156113e3565b508082035b92915050565b80151561089157610000565b5b505600a165627a7a72305820a8785e459c7eb669323583bedc40603ac66780f2fcf40b5edab7086a9b30a9140029000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007457468626974730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034554420000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x606060405236156101645763ffffffff60e060020a60003504166302f652a3811461016957806305d2035b1461018957806306fdde03146101aa578063095ea7b31461023757806318160ddd1461026757806323b872dd1461028657806329ff4f53146102bc578063313ce567146102d757806340c10f19146102f657806342c1867b14610314578063432146751461034157806345977d03146103615780635d302ba1146103735780635de4ccb01461038e5780635f412d4f146103b7578063600440cb146103c657806370a08231146103ef5780638444b3911461041a578063867c2857146104485780638da5cb5b1461047557806395d89b411461049e578063961325211461052b5780639738968c1461054c578063a9059cbb1461056d578063c752ff621461059d578063d1f276d3146105bc578063d7e7088a146105e5578063dd62ed3e14610600578063f2fde38b14610631578063ffeb7d751461064c575b610000565b3461000057610187600160a060020a03600435166024351515610667565b005b34610000576101966106c8565b604080519115158252519081900360200190f35b34610000576101b76106d1565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196600160a060020a036004351660243561075f565b604080519115158252519081900360200190f35b34610000576102746107ca565b60408051918252519081900360200190f35b3461000057610196600160a060020a03600435811690602435166044356107d0565b604080519115158252519081900360200190f35b3461000057610187600160a060020a0360043516610827565b005b3461000057610274610894565b60408051918252519081900360200190f35b3461000057610187600160a060020a036004351660243561089a565b005b3461000057610196600160a060020a0360043516610a21565b604080519115158252519081900360200190f35b3461000057610187600160a060020a03600435166024351515610a36565b005b3461000057610187600435610a8c565b005b3461000057610187600160a060020a0360043516610d0f565b005b346100005761039b610d2e565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187610d3d565b005b346100005761039b610d71565b60408051600160a060020a039092168252519081900360200190f35b3461000057610274600160a060020a0360043516610d80565b60408051918252519081900360200190f35b3461000057610427610d9f565b6040518082600481116100005760ff16815260200191505060405180910390f35b3461000057610196600160a060020a0360043516610dec565b604080519115158252519081900360200190f35b346100005761039b610e01565b60408051600160a060020a039092168252519081900360200190f35b34610000576101b7610e10565b6040805160208082528351818301528351919283929083019185019080838382156101fd575b8051825260208311156101fd57601f1990920191602091820191016101dd565b505050905090810190601f1680156102295780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3461000057610196610e9e565b604080519115158252519081900360200190f35b3461000057610196610eae565b604080519115158252519081900360200190f35b3461000057610196600160a060020a0360043516602435610ebf565b604080519115158252519081900360200190f35b3461000057610274610f14565b60408051918252519081900360200190f35b346100005761039b610f1a565b60408051600160a060020a039092168252519081900360200190f35b3461000057610187600160a060020a0360043516610f29565b005b3461000057610274600160a060020a03600435811690602435166110e1565b60408051918252519081900360200190f35b3461000057610187600160a060020a036004351661110e565b005b3461000057610187600160a060020a0360043516611159565b005b60035433600160a060020a0390811691161461068257610000565b60045460009060a060020a900460ff161561069c57610000565b600160a060020a0383166000908152600560205260409020805460ff19168315151790555b5b505b5050565b60065460ff1681565b600b805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60005481565b600454600090849060a060020a900460ff16151561080f57600160a060020a03811660009081526005602052604090205460ff16151561080f57610000565b5b61081b8585856111a8565b91505b5b509392505050565b60035433600160a060020a0390811691161461084257610000565b60045460009060a060020a900460ff161561085c57610000565b600454600160a060020a03161561087257610000565b60048054600160a060020a031916600160a060020a0384161790555b5b505b50565b600d5481565b600160a060020a03331660009081526007602052604090205460ff1615156108c157610000565b60065460ff16156108d157610000565b6000547387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e6366098d4f9091836000604051602001526040518363ffffffff1660e060020a028152600401808381526020018281526020019250505060206040518083038186803b156100005760325a03f4156100005750506040805180516000908155600160a060020a0386168152600160209081528382205492810191909152825160e060020a6366098d4f02815260048101929092526024820185905291517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e93506366098d4f92604480840193919291829003018186803b156100005760325a03f415610000575050604080518051600160a060020a0386166000818152600160209081528582209390935586845293519094507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b5b5b5050565b60076020526000908152604090205460ff1681565b60035433600160a060020a03908116911614610a5157610000565b60065460ff1615610a6157610000565b600160a060020a0382166000908152600760205260409020805460ff19168215151790555b5b5b5050565b6000610a96610d9f565b905060038160048111610000571480610ab757506004816004811161000057145b1515610ac257610000565b811515610ace57610000565b600160a060020a0333166000908152600160209081526040808320548151830193909352805160e060020a63f4f3bdc1028152600481019390935260248301859052517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e9263f4f3bdc1926044808301939192829003018186803b156100005760325a03f415610000575050604080518051600160a060020a03331660009081526001602090815284822092909255805492820152825160e060020a63f4f3bdc102815260048101929092526024820186905291517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e935063f4f3bdc192604480840193919291829003018186803b156100005760325a03f4156100005750506040805180516000908155600a54602092830191909152825160e060020a6366098d4f02815260048101919091526024810186905291517387e3d3e8b6f444ddfc8fa7241c412b5c878ce18e93506366098d4f926044808201939291829003018186803b156100005760325a03f415610000575050604080518051600a556009547f753e88e5000000000000000000000000000000000000000000000000000000008252600160a060020a0333811660048401526024830187905292519216925063753e88e591604480830192600092919082900301818387803b156100005760325a03f115610000575050600954604080518581529051600160a060020a03928316935033909216917f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac9181900360200190a35b5050565b60088054600160a060020a031916600160a060020a0383161790555b50565b600954600160a060020a031681565b60045433600160a060020a03908116911614610d5857610000565b6006805460ff19166001179055610d6d6112ab565b5b5b565b600854600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b6000610da9610eae565b1515610db757506001610de6565b600954600160a060020a03161515610dd157506002610de6565b600a541515610de257506003610de6565b5060045b5b5b5b90565b60056020526000908152604090205460ff1681565b600354600160a060020a031681565b600c805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107575780601f1061072c57610100808354040283529160200191610757565b820191906000526020600020905b81548152906001019060200180831161073a57829003601f168201915b505050505081565b60045460a060020a900460ff1681565b60045460a060020a900460ff165b90565b600454600090339060a060020a900460ff161515610efe57600160a060020a03811660009081526005602052604090205460ff161515610efe57610000565b5b610f0984846112ee565b91505b5b5092915050565b600a5481565b600454600160a060020a031681565b610f31610eae565b1515610f3c57610000565b600160a060020a0381161515610f5157610000565b60085433600160a060020a03908116911614610f6c57610000565b6004610f76610d9f565b60048111610000571415610f8957610000565b60098054600160a060020a031916600160a060020a038381169190911791829055604080516000602091820181905282517f61d3d7a6000000000000000000000000000000000000000000000000000000008152925194909316936361d3d7a6936004808501948390030190829087803b156100005760325a03f115610000575050604051511515905061101c57610000565b6000805460095460408051602090810185905281517f4b2ba0dd00000000000000000000000000000000000000000000000000000000815291519394600160a060020a0390931693634b2ba0dd936004808501948390030190829087803b156100005760325a03f1156100005750506040515191909114905061109e57610000565b60095460408051600160a060020a039092168252517f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc9181900360200190a15b50565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60035433600160a060020a0390811691161461112957610000565b600160a060020a038116156108915760038054600160a060020a031916600160a060020a0383161790555b5b5b50565b600160a060020a038116151561116e57610000565b60085433600160a060020a03908116911614610d0f57610000565b60088054600160a060020a031916600160a060020a0383161790555b50565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906111e990846113a2565b600160a060020a03808616600090815260016020526040808220939093559087168152205461121890846113ca565b600160a060020a03861660009081526001602052604090205561123b81846113ca565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60045433600160a060020a039081169116146112c657610000565b6004805474ff0000000000000000000000000000000000000000191660a060020a1790555b5b565b600160a060020a03331660009081526001602052604081205461131190836113ca565b600160a060020a03338116600090815260016020526040808220939093559085168152205461134090836113a2565b600160a060020a038085166000818152600160209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b60008282016113bf8482108015906113ba5750838210155b6113e3565b8091505b5092915050565b60006113d8838311156113e3565b508082035b92915050565b80151561089157610000565b5b505600a165627a7a72305820a8785e459c7eb669323583bedc40603ac66780f2fcf40b5edab7086a9b30a9140029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007457468626974730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034554420000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Ethbits
Arg [1] : _symbol (string): ETB
Arg [2] : _initialSupply (uint256): 0
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 4574686269747300000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4554420000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://a8785e459c7eb669323583bedc40603ac66780f2fcf40b5edab7086a9b30a914
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.