Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
5688931 | 2424 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
ComplexChildToken
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-05-28 */ pragma solidity ^0.4.21; // File: openzeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure 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 a / b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } // File: openzeppelin-solidity/contracts/token/ERC20/BasicToken.sol /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; uint256 totalSupply_; /** * @dev total number of tokens in existence */ function totalSupply() public view returns (uint256) { return totalSupply_; } /** * @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) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit 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) public view returns (uint256) { return balances[_owner]; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } // File: openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol /** * @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)) internal 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 amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit 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 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public view returns (uint256) { 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] = allowed[msg.sender][_spender].add(_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] = oldValue.sub(_subtractedValue); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } // File: contracts/ChildToken.sol /** * @title ChildToken * @dev ChildToken is the base contract of child token contracts */ contract ChildToken is StandardToken { } // File: openzeppelin-solidity/contracts/ownership/Ownable.sol /** * @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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { 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) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } // File: contracts/Refundable.sol /** * @title Refundable * @dev Base contract that can refund funds(ETH and tokens) by owner. * @dev Reference TokenDestructible(zeppelinand) TokenDestructible(zeppelin) */ contract Refundable is Ownable { event RefundETH(address indexed owner, address indexed payee, uint256 amount); event RefundERC20(address indexed owner, address indexed payee, address indexed token, uint256 amount); function Refundable() public payable { } function refundETH(address payee, uint256 amount) onlyOwner public { require(payee != address(0)); require(this.balance >= amount); assert(payee.send(amount)); RefundETH(owner, payee, amount); } function refundERC20(address tokenContract, address payee, uint256 amount) onlyOwner public { require(payee != address(0)); bool isContract; assembly { isContract := gt(extcodesize(tokenContract), 0) } require(isContract); ERC20 token = ERC20(tokenContract); assert(token.transfer(payee, amount)); RefundERC20(owner, payee, tokenContract, amount); } } // File: openzeppelin-solidity/contracts/token/ERC20/BurnableToken.sol /** * @title Burnable Token * @dev Token that can be irreversibly burned (destroyed). */ contract BurnableToken is BasicToken { event Burn(address indexed burner, uint256 value); /** * @dev Burns a specific amount of tokens. * @param _value The amount of token to be burned. */ function burn(uint256 _value) public { _burn(msg.sender, _value); } function _burn(address _who, uint256 _value) internal { require(_value <= balances[_who]); // no need to require value <= totalSupply, since that would imply the // sender's balance is greater than the totalSupply, which *should* be an assertion failure balances[_who] = balances[_who].sub(_value); totalSupply_ = totalSupply_.sub(_value); emit Burn(_who, _value); emit Transfer(_who, address(0), _value); } } // File: openzeppelin-solidity/contracts/token/ERC20/MintableToken.sol /** * @title Mintable token * @dev Simple ERC20 Token example, with mintable token creation * @dev Issue: * https://github.com/OpenZeppelin/openzeppelin-solidity/issues/120 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol */ contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); emit Mint(_to, _amount); emit Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; emit MintFinished(); return true; } } // File: contracts/ComplexChildToken.sol /** * @title ComplexChildToken * @dev Complex child token to be generated by TokenFather. */ contract ComplexChildToken is ChildToken, Refundable, MintableToken, BurnableToken { string public name; string public symbol; uint8 public decimals; bool public canBurn; event Burn(address indexed burner, uint256 value); function ComplexChildToken(address _owner, string _name, string _symbol, uint256 _initSupply, uint8 _decimals, bool _canMint, bool _canBurn) public { require(_owner != address(0)); owner = _owner; name = _name; symbol = _symbol; decimals = _decimals; uint256 amount = _initSupply; totalSupply_ = totalSupply_.add(amount); balances[owner] = balances[owner].add(amount); Transfer(address(0), owner, amount); if (!_canMint) { mintingFinished = true; } canBurn = _canBurn; } /** * @dev Burns a specific amount of tokens. * @param _value The amount of token to be burned. */ function burn(uint256 _value) public { require(canBurn); BurnableToken.burn(_value); } function ownerCanBurn(bool _canBurn) onlyOwner public { canBurn = _canBurn; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"_canBurn","type":"bool"}],"name":"ownerCanBurn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenContract","type":"address"},{"name":"payee","type":"address"},{"name":"amount","type":"uint256"}],"name":"refundERC20","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"payee","type":"address"},{"name":"amount","type":"uint256"}],"name":"refundETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"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":true,"inputs":[],"name":"canBurn","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_owner","type":"address"},{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_initSupply","type":"uint256"},{"name":"_decimals","type":"uint8"},{"name":"_canMint","type":"bool"},{"name":"_canBurn","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"payee","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"RefundETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"payee","type":"address"},{"indexed":true,"name":"token","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"RefundERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"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"}]
Contract Creation Code
60806040526003805460a060020a60ff02191690553480156200002157600080fd5b50604051620012943803806200129483398101604090815281516020830151918301516060840151608085015160a086015160c087015160038054600160a060020a031916331790559496958601959390930193919290916000600160a060020a03881615156200009157600080fd5b60038054600160a060020a031916600160a060020a038a161790558651620000c19060049060208a019062000202565b508551620000d790600590602089019062000202565b50506006805460ff191660ff85161790556001548490620001079082640100000000620001ee810262000e8a1704565b600155600354600160a060020a03166000908152602081905260409020546200013f908264010000000062000e8a620001ee82021704565b60038054600160a060020a039081166000908152602081815260408083209590955592548451868152945192169390927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3821515620001c8576003805460a060020a60ff021916740100000000000000000000000000000000000000001790555b50600680549115156101000261ff001990921691909117905550620002a7945050505050565b81810182811015620001fc57fe5b92915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024557805160ff191683800117855562000275565b8280016001018555821562000275579182015b828111156200027557825182559160200191906001019062000258565b506200028392915062000287565b5090565b620002a491905b808211156200028357600081556001016200028e565b90565b610fdd80620002b76000396000f30060806040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461012157806306fdde031461014a578063095ea7b3146101d457806318160ddd146101f857806323b872dd1461021f5780632fbc835314610249578063313ce5671461026557806340c10f191461029057806342966c68146102b457806348c44712146102cc5780634bd22766146102f6578063661884631461031a57806370a082311461033e5780637d64bcb41461035f5780638da5cb5b1461037457806395d89b41146103a5578063a9059cbb146103ba578063c1eb1840146103de578063d73dd623146103f3578063dd62ed3e14610417578063f2fde38b1461043e575b600080fd5b34801561012d57600080fd5b5061013661045f565b604080519115158252519081900360200190f35b34801561015657600080fd5b5061015f610480565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610199578181015183820152602001610181565b50505050905090810190601f1680156101c65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101e057600080fd5b50610136600160a060020a036004351660243561050e565b34801561020457600080fd5b5061020d610574565b60408051918252519081900360200190f35b34801561022b57600080fd5b50610136600160a060020a036004358116906024351660443561057a565b34801561025557600080fd5b5061026360043515156106df565b005b34801561027157600080fd5b5061027a610710565b6040805160ff9092168252519081900360200190f35b34801561029c57600080fd5b50610136600160a060020a0360043516602435610719565b3480156102c057600080fd5b50610263600435610822565b3480156102d857600080fd5b50610263600160a060020a0360043581169060243516604435610844565b34801561030257600080fd5b50610263600160a060020a0360043516602435610977565b34801561032657600080fd5b50610136600160a060020a0360043516602435610a27565b34801561034a57600080fd5b5061020d600160a060020a0360043516610b17565b34801561036b57600080fd5b50610136610b32565b34801561038057600080fd5b50610389610bd8565b60408051600160a060020a039092168252519081900360200190f35b3480156103b157600080fd5b5061015f610be7565b3480156103c657600080fd5b50610136600160a060020a0360043516602435610c42565b3480156103ea57600080fd5b50610136610d11565b3480156103ff57600080fd5b50610136600160a060020a0360043516602435610d1f565b34801561042357600080fd5b5061020d600160a060020a0360043581169060243516610db8565b34801561044a57600080fd5b50610263600160a060020a0360043516610de3565b60035474010000000000000000000000000000000000000000900460ff1681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105065780601f106104db57610100808354040283529160200191610506565b820191906000526020600020905b8154815290600101906020018083116104e957829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b6000600160a060020a038316151561059157600080fd5b600160a060020a0384166000908152602081905260409020548211156105b657600080fd5b600160a060020a03841660009081526002602090815260408083203384529091529020548211156105e657600080fd5b600160a060020a03841660009081526020819052604090205461060f908363ffffffff610e7816565b600160a060020a038086166000908152602081905260408082209390935590851681522054610644908363ffffffff610e8a16565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610686908363ffffffff610e7816565b600160a060020a0380861660008181526002602090815260408083203384528252918290209490945580518681529051928716939192600080516020610f92833981519152929181900390910190a35060019392505050565b600354600160a060020a031633146106f657600080fd5b600680549115156101000261ff0019909216919091179055565b60065460ff1681565b600354600090600160a060020a0316331461073357600080fd5b60035474010000000000000000000000000000000000000000900460ff161561075b57600080fd5b60015461076e908363ffffffff610e8a16565b600155600160a060020a03831660009081526020819052604090205461079a908363ffffffff610e8a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a03851691600091600080516020610f928339815191529181900360200190a350600192915050565b600654610100900460ff16151561083857600080fd5b61084181610e9d565b50565b6003546000908190600160a060020a0316331461086057600080fd5b600160a060020a038416151561087557600080fd5b6000853b1191508161088657600080fd5b50604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018590529151869283169163a9059cbb9160448083019260209291908290030181600087803b1580156108f357600080fd5b505af1158015610907573d6000803e3d6000fd5b505050506040513d602081101561091d57600080fd5b5051151561092757fe5b600354604080518581529051600160a060020a0380891693888216939116917fa1e4855d49b75f7254460c3e0a5572cde83f71d659655bcef5319969068d5a639181900360200190a45050505050565b600354600160a060020a0316331461098e57600080fd5b600160a060020a03821615156109a357600080fd5b30318111156109b157600080fd5b604051600160a060020a0383169082156108fc029083906000818181858888f1935050505015156109de57fe5b600354604080518381529051600160a060020a038086169316917f94c0c9648f44e27ff77f68e457219cb803cf319b29a83403156a3ef21747101e919081900360200190a35050565b336000908152600260209081526040808320600160a060020a038616845290915281205480831115610a7c57336000908152600260209081526040808320600160a060020a0388168452909152812055610ab1565b610a8c818463ffffffff610e7816565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600354600090600160a060020a03163314610b4c57600080fd5b60035474010000000000000000000000000000000000000000900460ff1615610b7457600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600160a060020a031681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105065780601f106104db57610100808354040283529160200191610506565b6000600160a060020a0383161515610c5957600080fd5b33600090815260208190526040902054821115610c7557600080fd5b33600090815260208190526040902054610c95908363ffffffff610e7816565b3360009081526020819052604080822092909255600160a060020a03851681522054610cc7908363ffffffff610e8a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191923392600080516020610f928339815191529281900390910190a350600192915050565b600654610100900460ff1681565b336000908152600260209081526040808320600160a060020a0386168452909152812054610d53908363ffffffff610e8a16565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a03163314610dfa57600080fd5b600160a060020a0381161515610e0f57600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610e8457fe5b50900390565b81810182811015610e9757fe5b92915050565b6108413382600160a060020a038216600090815260208190526040902054811115610ec757600080fd5b600160a060020a038216600090815260208190526040902054610ef0908263ffffffff610e7816565b600160a060020a038316600090815260208190526040902055600154610f1c908263ffffffff610e7816565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a03851691600080516020610f928339815191529181900360200190a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058209ab58b5fbca2842fee4038dcb21fdbabb5846bef2d65e486bf8077e2708d754b0029000000000000000000000000025bf0b26099c10b3f90f3a040703064faf84ac200000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000c436f6d706c6578546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034350540000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461012157806306fdde031461014a578063095ea7b3146101d457806318160ddd146101f857806323b872dd1461021f5780632fbc835314610249578063313ce5671461026557806340c10f191461029057806342966c68146102b457806348c44712146102cc5780634bd22766146102f6578063661884631461031a57806370a082311461033e5780637d64bcb41461035f5780638da5cb5b1461037457806395d89b41146103a5578063a9059cbb146103ba578063c1eb1840146103de578063d73dd623146103f3578063dd62ed3e14610417578063f2fde38b1461043e575b600080fd5b34801561012d57600080fd5b5061013661045f565b604080519115158252519081900360200190f35b34801561015657600080fd5b5061015f610480565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610199578181015183820152602001610181565b50505050905090810190601f1680156101c65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101e057600080fd5b50610136600160a060020a036004351660243561050e565b34801561020457600080fd5b5061020d610574565b60408051918252519081900360200190f35b34801561022b57600080fd5b50610136600160a060020a036004358116906024351660443561057a565b34801561025557600080fd5b5061026360043515156106df565b005b34801561027157600080fd5b5061027a610710565b6040805160ff9092168252519081900360200190f35b34801561029c57600080fd5b50610136600160a060020a0360043516602435610719565b3480156102c057600080fd5b50610263600435610822565b3480156102d857600080fd5b50610263600160a060020a0360043581169060243516604435610844565b34801561030257600080fd5b50610263600160a060020a0360043516602435610977565b34801561032657600080fd5b50610136600160a060020a0360043516602435610a27565b34801561034a57600080fd5b5061020d600160a060020a0360043516610b17565b34801561036b57600080fd5b50610136610b32565b34801561038057600080fd5b50610389610bd8565b60408051600160a060020a039092168252519081900360200190f35b3480156103b157600080fd5b5061015f610be7565b3480156103c657600080fd5b50610136600160a060020a0360043516602435610c42565b3480156103ea57600080fd5b50610136610d11565b3480156103ff57600080fd5b50610136600160a060020a0360043516602435610d1f565b34801561042357600080fd5b5061020d600160a060020a0360043581169060243516610db8565b34801561044a57600080fd5b50610263600160a060020a0360043516610de3565b60035474010000000000000000000000000000000000000000900460ff1681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105065780601f106104db57610100808354040283529160200191610506565b820191906000526020600020905b8154815290600101906020018083116104e957829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b6000600160a060020a038316151561059157600080fd5b600160a060020a0384166000908152602081905260409020548211156105b657600080fd5b600160a060020a03841660009081526002602090815260408083203384529091529020548211156105e657600080fd5b600160a060020a03841660009081526020819052604090205461060f908363ffffffff610e7816565b600160a060020a038086166000908152602081905260408082209390935590851681522054610644908363ffffffff610e8a16565b600160a060020a03808516600090815260208181526040808320949094559187168152600282528281203382529091522054610686908363ffffffff610e7816565b600160a060020a0380861660008181526002602090815260408083203384528252918290209490945580518681529051928716939192600080516020610f92833981519152929181900390910190a35060019392505050565b600354600160a060020a031633146106f657600080fd5b600680549115156101000261ff0019909216919091179055565b60065460ff1681565b600354600090600160a060020a0316331461073357600080fd5b60035474010000000000000000000000000000000000000000900460ff161561075b57600080fd5b60015461076e908363ffffffff610e8a16565b600155600160a060020a03831660009081526020819052604090205461079a908363ffffffff610e8a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191927f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688592918290030190a2604080518381529051600160a060020a03851691600091600080516020610f928339815191529181900360200190a350600192915050565b600654610100900460ff16151561083857600080fd5b61084181610e9d565b50565b6003546000908190600160a060020a0316331461086057600080fd5b600160a060020a038416151561087557600080fd5b6000853b1191508161088657600080fd5b50604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018590529151869283169163a9059cbb9160448083019260209291908290030181600087803b1580156108f357600080fd5b505af1158015610907573d6000803e3d6000fd5b505050506040513d602081101561091d57600080fd5b5051151561092757fe5b600354604080518581529051600160a060020a0380891693888216939116917fa1e4855d49b75f7254460c3e0a5572cde83f71d659655bcef5319969068d5a639181900360200190a45050505050565b600354600160a060020a0316331461098e57600080fd5b600160a060020a03821615156109a357600080fd5b30318111156109b157600080fd5b604051600160a060020a0383169082156108fc029083906000818181858888f1935050505015156109de57fe5b600354604080518381529051600160a060020a038086169316917f94c0c9648f44e27ff77f68e457219cb803cf319b29a83403156a3ef21747101e919081900360200190a35050565b336000908152600260209081526040808320600160a060020a038616845290915281205480831115610a7c57336000908152600260209081526040808320600160a060020a0388168452909152812055610ab1565b610a8c818463ffffffff610e7816565b336000908152600260209081526040808320600160a060020a03891684529091529020555b336000818152600260209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a031660009081526020819052604090205490565b600354600090600160a060020a03163314610b4c57600080fd5b60035474010000000000000000000000000000000000000000900460ff1615610b7457600080fd5b6003805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a150600190565b600354600160a060020a031681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105065780601f106104db57610100808354040283529160200191610506565b6000600160a060020a0383161515610c5957600080fd5b33600090815260208190526040902054821115610c7557600080fd5b33600090815260208190526040902054610c95908363ffffffff610e7816565b3360009081526020819052604080822092909255600160a060020a03851681522054610cc7908363ffffffff610e8a16565b600160a060020a03841660008181526020818152604091829020939093558051858152905191923392600080516020610f928339815191529281900390910190a350600192915050565b600654610100900460ff1681565b336000908152600260209081526040808320600160a060020a0386168452909152812054610d53908363ffffffff610e8a16565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a03163314610dfa57600080fd5b600160a060020a0381161515610e0f57600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600082821115610e8457fe5b50900390565b81810182811015610e9757fe5b92915050565b6108413382600160a060020a038216600090815260208190526040902054811115610ec757600080fd5b600160a060020a038216600090815260208190526040902054610ef0908263ffffffff610e7816565b600160a060020a038316600090815260208190526040902055600154610f1c908263ffffffff610e7816565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a03851691600080516020610f928339815191529181900360200190a350505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058209ab58b5fbca2842fee4038dcb21fdbabb5846bef2d65e486bf8077e2708d754b0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000025bf0b26099c10b3f90f3a040703064faf84ac200000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000c436f6d706c6578546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034350540000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _owner (address): 0x025Bf0b26099c10B3F90f3a040703064FAf84aC2
Arg [1] : _name (string): ComplexToken
Arg [2] : _symbol (string): CPT
Arg [3] : _initSupply (uint256): 100000000000000000000000000
Arg [4] : _decimals (uint8): 18
Arg [5] : _canMint (bool): True
Arg [6] : _canBurn (bool): True
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 000000000000000000000000025bf0b26099c10b3f90f3a040703064faf84ac2
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [8] : 436f6d706c6578546f6b656e0000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 4350540000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://9ab58b5fbca2842fee4038dcb21fdbabb5846bef2d65e486bf8077e2708d754b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.