Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Exchange
Overview
Max Total Supply
6,000,000,000 CDEX
Holders
6,228 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ICOToken
Compiler Version
v0.5.2+commit.1df8f40c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-01-21 */ pragma solidity ^0.5.0; /* * 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; constructor() public { owner = msg.sender; } modifier onlyOwner() { if (msg.sender != owner) { revert(); } _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } } /* * ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; function balanceOf(address who) public view returns (uint); function allowance(address owner, address spender) public view returns (uint); function transfer(address to, uint value) public returns (bool ok); function transferFrom(address from, address to, uint value) public returns (bool ok); function approve(address spender, uint value) public 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 pure returns (uint) { uint c = a * b; assertThat(a == 0 || c / a == b); return c; } function safeDiv(uint a, uint b) internal pure returns (uint) { assertThat(b > 0); uint c = a / b; assertThat(a == b * c + a % b); return c; } function safeSub(uint a, uint b) internal pure returns (uint) { assertThat(b <= a); return a - b; } function safeAdd(uint a, uint b) internal pure returns (uint) { uint c = a + b; assertThat(c >= a && c >= b); return c; } function max64(uint64 a, uint64 b) internal pure returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal pure returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function assertThat(bool assertion) internal pure { if (!assertion) { revert(); } } } /** * Standard ERC20 token with Short Hand Attack and approve() race condition mitigation. * * Based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, SafeMath { string public name; string public symbol; uint public decimals; /* Actual balances of token holders */ mapping(address => uint) balances; /* approve() allowances */ mapping(address => mapping(address => uint)) allowed; /** * * Fix for the ERC20 short address attack * * http://vessenes.com/the-erc20-short-address-attack-explained/ */ modifier onlyPayloadSize(uint size) { if (msg.data.length < size + 4) { revert(); } _; } function transfer(address _to, uint _value) onlyPayloadSize(2 * 32) public returns (bool success) { balances[msg.sender] = safeSub(balances[msg.sender], _value); balances[_to] = safeAdd(balances[_to], _value); emit Transfer(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint _value) public returns (bool success) { uint _allowance = allowed[_from][msg.sender]; balances[_to] = safeAdd(balances[_to], _value); balances[_from] = safeSub(balances[_from], _value); allowed[_from][msg.sender] = safeSub(_allowance, _value); emit Transfer(_from, _to, _value); return true; } function balanceOf(address _owner) public view returns (uint balance) { return balances[_owner]; } function approve(address _spender, uint _value) public returns (bool success) { // 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 if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) revert(); allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public view returns (uint remaining) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = safeAdd(allowed[msg.sender][_spender], _addedValue); emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = safeSub(oldValue, _subtractedValue); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { paused = true; emit Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; emit Unpause(); } } /** * @title Pausable token * @dev StandardToken modified with pausable transfers. **/ contract PausableToken is StandardToken, Pausable { function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) { return super.approve(_spender, _value); } function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } } /** * @title Freezable * @dev Base contract which allows children to freeze the operations from a certain address in case of an emergency. */ contract Freezable is Ownable { mapping(address => bool) internal frozenAddresses; modifier ifNotFrozen() { require(frozenAddresses[msg.sender] == false); _; } function freezeAddress(address addr) public onlyOwner { frozenAddresses[addr] = true; } function unfreezeAddress(address addr) public onlyOwner { frozenAddresses[addr] = false; } } /** * @title Freezable token * @dev StandardToken modified with freezable transfers. **/ contract FreezableToken is StandardToken, Freezable { function transfer(address _to, uint256 _value) public ifNotFrozen returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public ifNotFrozen returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public ifNotFrozen returns (bool) { return super.approve(_spender, _value); } function increaseApproval(address _spender, uint _addedValue) public ifNotFrozen returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval(address _spender, uint _subtractedValue) public ifNotFrozen returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } } /** * A a standard token with an anti-theft mechanism. * Is able to restore stolen funds to a new address where the corresponding private key is safe. * */ contract AntiTheftToken is FreezableToken { function restoreFunds(address from, address to, uint amount) public onlyOwner { //can only restore stolen funds from a frozen address require(frozenAddresses[from] == true); require(to != address(0)); require(amount <= balances[from]); balances[from] = safeSub(balances[from], amount); balances[to] = safeAdd(balances[to], amount); emit Transfer(from, to, amount); } } contract BurnableToken is StandardToken { /** How many tokens we burned */ event Burned(address burner, uint burnedAmount); /** * Burn extra tokens from a balance. * */ function burn(uint burnAmount) public { address burner = msg.sender; balances[burner] = safeSub(balances[burner], burnAmount); totalSupply = safeSub(totalSupply, burnAmount); emit Burned(burner, burnAmount); } } contract LockableToken is StandardToken, Ownable { mapping(address => uint) lockedUntil; bool lockingActive = true; function lockAddressFor1Year(address who) onlyOwner public { require(lockingActive, "Locking must be active!"); lockedUntil[who] = now + 365 days; } modifier isNotLocked(){ require(lockedUntil[msg.sender] < now); _; } function stopLockingForever() onlyOwner public { lockingActive = false; } function transfer(address _to, uint256 _value) public isNotLocked returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public isNotLocked returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public isNotLocked returns (bool) { return super.approve(_spender, _value); } function increaseApproval(address _spender, uint _addedValue) public isNotLocked returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval(address _spender, uint _subtractedValue) public isNotLocked returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } function getLockedUntil(address who) public view returns(uint){ return lockedUntil[who]; } } contract ICOToken is BurnableToken, AntiTheftToken, PausableToken, LockableToken { constructor(string memory _name, string memory _symbol, uint _decimals, uint _max_supply) public { symbol = _symbol; name = _name; decimals = _decimals; totalSupply = _max_supply * (10 ** _decimals); balances[msg.sender] = totalSupply; emit Transfer(address(0x0), msg.sender, totalSupply); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[],"name":"stopLockingForever","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"burnAmount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"getLockedUntil","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"freezeAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","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":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"unfreezeAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"amount","type":"uint256"}],"name":"restoreFunds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"who","type":"address"}],"name":"lockAddressFor1Year","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint256"},{"name":"_max_supply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"burner","type":"address"},{"indexed":false,"name":"burnedAmount","type":"uint256"}],"name":"Burned","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
60806040526008805460ff19908116909155600a805490911660011790553480156200002a57600080fd5b50604051620012d1380380620012d1833981018060405260808110156200005057600080fd5b8101908080516401000000008111156200006957600080fd5b820160208101848111156200007d57600080fd5b81516401000000008111828201871017156200009857600080fd5b50509291906020018051640100000000811115620000b557600080fd5b82016020810184811115620000c957600080fd5b8151640100000000811182820187101715620000e457600080fd5b505060208083015160409093015160068054600160a060020a0319163317905582519295509293506200011d9160029186019062000195565b5083516200013390600190602087019062000195565b506003829055600a82900a810260008181553380825260046020908152604080842085905580519485525191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3505050506200023a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001d857805160ff191683800117855562000208565b8280016001018555821562000208579182015b8281111562000208578251825591602001919060010190620001eb565b50620002169291506200021a565b5090565b6200023791905b8082111562000216576000815560010162000221565b90565b611087806200024a6000396000f3fe608060405234801561001057600080fd5b506004361061016a576000357c01000000000000000000000000000000000000000000000000000000009004806366188463116100e0578063bfb8054711610099578063bfb80547146103b9578063c731c504146103df578063d73dd62314610415578063dd62ed3e14610441578063dee069d61461046f578063f2fde38b146104955761016a565b8063661884631461030757806370a08231146103335780638456cb59146103595780638da5cb5b1461036157806395d89b4114610385578063a9059cbb1461038d5761016a565b8063313ce56711610132578063313ce567146102865780633f4ba83a1461028e57806342966c681461029657806350696346146102b357806351e946d5146102d95780635c975abb146102ff5761016a565b806304df18391461016f57806306fdde0314610179578063095ea7b3146101f657806318160ddd1461023657806323b872dd14610250575b600080fd5b6101776104bb565b005b6101816104de565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101bb5781810151838201526020016101a3565b50505050905090810190601f1680156101e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102226004803603604081101561020c57600080fd5b50600160a060020a03813516906020013561056b565b604080519115158252519081900360200190f35b61023e610597565b60408051918252519081900360200190f35b6102226004803603606081101561026657600080fd5b50600160a060020a0381358116916020810135909116906040013561059d565b61023e6105cb565b6101776105d1565b610177600480360360208110156102ac57600080fd5b503561062e565b61023e600480360360208110156102c957600080fd5b5035600160a060020a03166106ba565b610177600480360360208110156102ef57600080fd5b5035600160a060020a03166106d5565b610222610710565b6102226004803603604081101561031d57600080fd5b50600160a060020a038135169060200135610719565b61023e6004803603602081101561034957600080fd5b5035600160a060020a031661073e565b610177610759565b6103696107b8565b60408051600160a060020a039092168252519081900360200190f35b6101816107c7565b610222600480360360408110156103a357600080fd5b50600160a060020a03813516906020013561081f565b610177600480360360208110156103cf57600080fd5b5035600160a060020a0316610844565b610177600480360360608110156103f557600080fd5b50600160a060020a0381358116916020810135909116906040013561087c565b6102226004803603604081101561042b57600080fd5b50600160a060020a0381351690602001356109a5565b61023e6004803603604081101561045757600080fd5b50600160a060020a03813581169160200135166109ca565b6101776004803603602081101561048557600080fd5b5035600160a060020a03166109f5565b610177600480360360208110156104ab57600080fd5b5035600160a060020a0316610aa1565b600654600160a060020a031633146104d257600080fd5b600a805460ff19169055565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b505050505081565b33600090815260096020526040812054421161058657600080fd5b6105908383610af3565b9392505050565b60005481565b3360009081526009602052604081205442116105b857600080fd5b6105c3848484610b10565b949350505050565b60035481565b600654600160a060020a031633146105e857600080fd5b60085460ff1615156105f957600080fd5b6008805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b336000818152600460205260409020546106489083610b2e565b600160a060020a0382166000908152600460205260408120919091555461066f9083610b2e565b60005560408051600160a060020a03831681526020810184905281517f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7929181900390910190a15050565b600160a060020a031660009081526009602052604090205490565b600654600160a060020a031633146106ec57600080fd5b600160a060020a03166000908152600760205260409020805460ff19166001179055565b60085460ff1681565b33600090815260096020526040812054421161073457600080fd5b6105908383610b42565b600160a060020a031660009081526004602052604090205490565b600654600160a060020a0316331461077057600080fd5b60085460ff161561078057600080fd5b6008805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600654600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156105635780601f1061053857610100808354040283529160200191610563565b33600090815260096020526040812054421161083a57600080fd5b6105908383610b5f565b600654600160a060020a0316331461085b57600080fd5b600160a060020a03166000908152600760205260409020805460ff19169055565b600654600160a060020a0316331461089357600080fd5b600160a060020a03831660009081526007602052604090205460ff1615156001146108bd57600080fd5b600160a060020a03821615156108d257600080fd5b600160a060020a0383166000908152600460205260409020548111156108f757600080fd5b600160a060020a03831660009081526004602052604090205461091a9082610b2e565b600160a060020a0380851660009081526004602052604080822093909355908416815220546109499082610b7c565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b3360009081526009602052604081205442116109c057600080fd5b6105908383610b99565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600654600160a060020a03163314610a0c57600080fd5b600a5460ff161515610a7f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4c6f636b696e67206d7573742062652061637469766521000000000000000000604482015290519081900360640190fd5b600160a060020a031660009081526009602052604090206301e1338042019055565b600654600160a060020a03163314610ab857600080fd5b600160a060020a03811615610af0576006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60085460009060ff1615610b0657600080fd5b6105908383610bb6565b60085460009060ff1615610b2357600080fd5b6105c3848484610bdd565b6000610b3c83831115610c05565b50900390565b60085460009060ff1615610b5557600080fd5b6105908383610c11565b60085460009060ff1615610b7257600080fd5b6105908383610c38565b6000828201610590848210801590610b945750838210155b610c05565b60085460009060ff1615610bac57600080fd5b6105908383610c5f565b3360009081526007602052604081205460ff1615610bd357600080fd5b6105908383610c86565b3360009081526007602052604081205460ff1615610bfa57600080fd5b6105c3848484610d2a565b801515610af057600080fd5b3360009081526007602052604081205460ff1615610c2e57600080fd5b6105908383610e27565b3360009081526007602052604081205460ff1615610c5557600080fd5b6105908383610f11565b3360009081526007602052604081205460ff1615610c7c57600080fd5b6105908383610fc8565b60008115801590610cb95750336000908152600560209081526040808320600160a060020a038716845290915290205415155b15610cc357600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600160a060020a03808416600090815260056020908152604080832033845282528083205493861683526004909152812054909190610d699084610b7c565b600160a060020a038086166000908152600460205260408082209390935590871681522054610d989084610b2e565b600160a060020a038616600090815260046020526040902055610dbb8184610b2e565b600160a060020a03808716600081815260056020908152604080832033845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b336000908152600560209081526040808320600160a060020a038616845290915281205480831115610e7c57336000908152600560209081526040808320600160a060020a0388168452909152812055610eab565b610e868184610b2e565b336000908152600560209081526040808320600160a060020a03891684529091529020555b336000818152600560209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600060406044361015610f2357600080fd5b33600090815260046020526040902054610f3d9084610b2e565b3360009081526004602052604080822092909255600160a060020a03861681522054610f699084610b7c565b600160a060020a0385166000818152600460209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b336000908152600560209081526040808320600160a060020a0386168452909152812054610ff69083610b7c565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a35060019291505056fea165627a7a7230582043ba37542c5a4554a5f77afcf9cdd34c8d6b392ffb762a7351ef06f409d3202e0029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000001dcd65000000000000000000000000000000000000000000000000000000000000000000a4344455820546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044344455800000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061016a576000357c01000000000000000000000000000000000000000000000000000000009004806366188463116100e0578063bfb8054711610099578063bfb80547146103b9578063c731c504146103df578063d73dd62314610415578063dd62ed3e14610441578063dee069d61461046f578063f2fde38b146104955761016a565b8063661884631461030757806370a08231146103335780638456cb59146103595780638da5cb5b1461036157806395d89b4114610385578063a9059cbb1461038d5761016a565b8063313ce56711610132578063313ce567146102865780633f4ba83a1461028e57806342966c681461029657806350696346146102b357806351e946d5146102d95780635c975abb146102ff5761016a565b806304df18391461016f57806306fdde0314610179578063095ea7b3146101f657806318160ddd1461023657806323b872dd14610250575b600080fd5b6101776104bb565b005b6101816104de565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101bb5781810151838201526020016101a3565b50505050905090810190601f1680156101e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102226004803603604081101561020c57600080fd5b50600160a060020a03813516906020013561056b565b604080519115158252519081900360200190f35b61023e610597565b60408051918252519081900360200190f35b6102226004803603606081101561026657600080fd5b50600160a060020a0381358116916020810135909116906040013561059d565b61023e6105cb565b6101776105d1565b610177600480360360208110156102ac57600080fd5b503561062e565b61023e600480360360208110156102c957600080fd5b5035600160a060020a03166106ba565b610177600480360360208110156102ef57600080fd5b5035600160a060020a03166106d5565b610222610710565b6102226004803603604081101561031d57600080fd5b50600160a060020a038135169060200135610719565b61023e6004803603602081101561034957600080fd5b5035600160a060020a031661073e565b610177610759565b6103696107b8565b60408051600160a060020a039092168252519081900360200190f35b6101816107c7565b610222600480360360408110156103a357600080fd5b50600160a060020a03813516906020013561081f565b610177600480360360208110156103cf57600080fd5b5035600160a060020a0316610844565b610177600480360360608110156103f557600080fd5b50600160a060020a0381358116916020810135909116906040013561087c565b6102226004803603604081101561042b57600080fd5b50600160a060020a0381351690602001356109a5565b61023e6004803603604081101561045757600080fd5b50600160a060020a03813581169160200135166109ca565b6101776004803603602081101561048557600080fd5b5035600160a060020a03166109f5565b610177600480360360208110156104ab57600080fd5b5035600160a060020a0316610aa1565b600654600160a060020a031633146104d257600080fd5b600a805460ff19169055565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b505050505081565b33600090815260096020526040812054421161058657600080fd5b6105908383610af3565b9392505050565b60005481565b3360009081526009602052604081205442116105b857600080fd5b6105c3848484610b10565b949350505050565b60035481565b600654600160a060020a031633146105e857600080fd5b60085460ff1615156105f957600080fd5b6008805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b336000818152600460205260409020546106489083610b2e565b600160a060020a0382166000908152600460205260408120919091555461066f9083610b2e565b60005560408051600160a060020a03831681526020810184905281517f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7929181900390910190a15050565b600160a060020a031660009081526009602052604090205490565b600654600160a060020a031633146106ec57600080fd5b600160a060020a03166000908152600760205260409020805460ff19166001179055565b60085460ff1681565b33600090815260096020526040812054421161073457600080fd5b6105908383610b42565b600160a060020a031660009081526004602052604090205490565b600654600160a060020a0316331461077057600080fd5b60085460ff161561078057600080fd5b6008805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600654600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156105635780601f1061053857610100808354040283529160200191610563565b33600090815260096020526040812054421161083a57600080fd5b6105908383610b5f565b600654600160a060020a0316331461085b57600080fd5b600160a060020a03166000908152600760205260409020805460ff19169055565b600654600160a060020a0316331461089357600080fd5b600160a060020a03831660009081526007602052604090205460ff1615156001146108bd57600080fd5b600160a060020a03821615156108d257600080fd5b600160a060020a0383166000908152600460205260409020548111156108f757600080fd5b600160a060020a03831660009081526004602052604090205461091a9082610b2e565b600160a060020a0380851660009081526004602052604080822093909355908416815220546109499082610b7c565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b3360009081526009602052604081205442116109c057600080fd5b6105908383610b99565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600654600160a060020a03163314610a0c57600080fd5b600a5460ff161515610a7f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4c6f636b696e67206d7573742062652061637469766521000000000000000000604482015290519081900360640190fd5b600160a060020a031660009081526009602052604090206301e1338042019055565b600654600160a060020a03163314610ab857600080fd5b600160a060020a03811615610af0576006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60085460009060ff1615610b0657600080fd5b6105908383610bb6565b60085460009060ff1615610b2357600080fd5b6105c3848484610bdd565b6000610b3c83831115610c05565b50900390565b60085460009060ff1615610b5557600080fd5b6105908383610c11565b60085460009060ff1615610b7257600080fd5b6105908383610c38565b6000828201610590848210801590610b945750838210155b610c05565b60085460009060ff1615610bac57600080fd5b6105908383610c5f565b3360009081526007602052604081205460ff1615610bd357600080fd5b6105908383610c86565b3360009081526007602052604081205460ff1615610bfa57600080fd5b6105c3848484610d2a565b801515610af057600080fd5b3360009081526007602052604081205460ff1615610c2e57600080fd5b6105908383610e27565b3360009081526007602052604081205460ff1615610c5557600080fd5b6105908383610f11565b3360009081526007602052604081205460ff1615610c7c57600080fd5b6105908383610fc8565b60008115801590610cb95750336000908152600560209081526040808320600160a060020a038716845290915290205415155b15610cc357600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600160a060020a03808416600090815260056020908152604080832033845282528083205493861683526004909152812054909190610d699084610b7c565b600160a060020a038086166000908152600460205260408082209390935590871681522054610d989084610b2e565b600160a060020a038616600090815260046020526040902055610dbb8184610b2e565b600160a060020a03808716600081815260056020908152604080832033845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b336000908152600560209081526040808320600160a060020a038616845290915281205480831115610e7c57336000908152600560209081526040808320600160a060020a0388168452909152812055610eab565b610e868184610b2e565b336000908152600560209081526040808320600160a060020a03891684529091529020555b336000818152600560209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600060406044361015610f2357600080fd5b33600090815260046020526040902054610f3d9084610b2e565b3360009081526004602052604080822092909255600160a060020a03861681522054610f699084610b7c565b600160a060020a0385166000818152600460209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b336000908152600560209081526040808320600160a060020a0386168452909152812054610ff69083610b7c565b336000818152600560209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a35060019291505056fea165627a7a7230582043ba37542c5a4554a5f77afcf9cdd34c8d6b392ffb762a7351ef06f409d3202e0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000001dcd65000000000000000000000000000000000000000000000000000000000000000000a4344455820546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044344455800000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): CDEX Token
Arg [1] : _symbol (string): CDEX
Arg [2] : _decimals (uint256): 8
Arg [3] : _max_supply (uint256): 8000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 00000000000000000000000000000000000000000000000000000001dcd65000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 4344455820546f6b656e00000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4344455800000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://43ba37542c5a4554a5f77afcf9cdd34c8d6b392ffb762a7351ef06f409d3202e
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.