ETH Price: $3,159.77 (-3.65%)

Contract

0xd3b964032FDC3941c2e62e32D6e6012500fBe304
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Name And Tic...46386542017-11-28 16:01:012543 days ago1511884861IN
0xd3b96403...500fBe304
0 ETH0.0009079220
Transfer46320052017-11-27 13:48:372544 days ago1511790517IN
0xd3b96403...500fBe304
0 ETH0.0007592220
Transfer46319952017-11-27 13:45:542544 days ago1511790354IN
0xd3b96403...500fBe304
0 ETH0.0010528220
Set Manager46310182017-11-27 9:52:432544 days ago1511776363IN
0xd3b96403...500fBe304
0 ETH0.0005221111.81875
Mint46310022017-11-27 9:48:432544 days ago1511776123IN
0xd3b96403...500fBe304
0 ETH0.0006719710
Set Crowdsale46309762017-11-27 9:44:302544 days ago1511775870IN
0xd3b96403...500fBe304
0 ETH0.0008768820
0x6060604046309262017-11-27 9:33:292544 days ago1511775209IN
 Create: ManagedToken
0 ETH0.032950120

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ManagedToken

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-11-27
*/

pragma solidity ^0.4.18;

library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a / b;
    return c;
  }

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

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

interface TokenUpgraderInterface{
    function upgradeFor(address _for, uint256 _value) public returns (bool success);
    function upgradeFrom(address _by, address _for, uint256 _value) public returns (bool success);
}
  
contract ManagedToken {
    using SafeMath for uint256;

    address public owner = msg.sender;
    address public crowdsaleContractAddress;
    address public crowdsaleManager;

    string public name;
    string public symbol;

    bool public upgradable = false;
    bool public upgraderSet = false;
    TokenUpgraderInterface public upgrader;

    bool public locked = true;
    bool public mintingAllowed = true;
    uint8 public decimals = 18;

    modifier unlocked() {
        require(!locked);
        _;
    }

    modifier unlockedOrByManager() {
        require(!locked || (crowdsaleManager != address(0) && msg.sender == crowdsaleManager) || (msg.sender == owner));
        _;
    }
    // Ownership

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    modifier onlyCrowdsale() {
        require(msg.sender == crowdsaleContractAddress);
        _;
    }

    modifier ownerOrCrowdsale() {
        require(msg.sender == owner || msg.sender == crowdsaleContractAddress);
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner returns (bool success) {
        require(newOwner != address(0));      
        OwnershipTransferred(owner, newOwner);
        owner = newOwner;
        return true;
    }


    // ERC20 related functions

    uint256 public totalSupply = 0;

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


    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    function transfer(address _to, uint256 _value) unlockedOrByManager public returns (bool) {
        require(_to != address(0));
        balances[msg.sender] = balances[msg.sender].sub(_value);
        balances[_to] = balances[_to].add(_value);
        Transfer(msg.sender, _to, _value);
        return true;
    }

    function balanceOf(address _owner) view public returns (uint256 balance) {
        return balances[_owner];
    }

    function transferFrom(address _from, address _to, uint256 _value) unlocked public returns (bool) {
        require(_to != address(0));
        var _allowance = allowed[_from][msg.sender];
        balances[_from] = balances[_from].sub(_value);
        balances[_to] = balances[_to].add(_value);
        allowed[_from][msg.sender] = _allowance.sub(_value);
        Transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) unlocked public returns (bool) {
        require((_value == 0) || (allowed[msg.sender][_spender] == 0));
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) view public returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    function increaseApproval (address _spender, uint _addedValue) unlocked public
        returns (bool success) {
            allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
            Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
            return true;
    }

    function decreaseApproval (address _spender, uint _subtractedValue) unlocked public
        returns (bool success) {
            uint oldValue = allowed[msg.sender][_spender];
            if (_subtractedValue > oldValue) {
            allowed[msg.sender][_spender] = 0;
            } else {
            allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
            }
            Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
            return true;
    }

    function ManagedToken (string _name, string _symbol, uint8 _decimals) public {
        require(bytes(_name).length > 1);
        require(bytes(_symbol).length > 1);
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
    }

    function setNameAndTicker(string _name, string _symbol) onlyOwner public returns (bool success) {
        require(bytes(_name).length > 1);
        require(bytes(_symbol).length > 1);
        name = _name;
        symbol = _symbol;
        return true;
    }

    function setLock(bool _newLockState) ownerOrCrowdsale public returns (bool success) {
        require(_newLockState != locked);
        locked = _newLockState;
        return true;
    }

    function disableMinting() ownerOrCrowdsale public returns (bool success) {
        require(mintingAllowed);
        mintingAllowed = false;
        return true;
    }

    function setCrowdsale(address _newCrowdsale) onlyOwner public returns (bool success) {
        crowdsaleContractAddress = _newCrowdsale;
        return true;
    }

    function setManager(address _newManager) onlyOwner public returns (bool success) {
        crowdsaleManager = _newManager;
        return true;
    }

    function mint(address _for, uint256 _amount) onlyCrowdsale public returns (bool success) {
        require(mintingAllowed);
        balances[_for] = balances[_for].add(_amount);
        totalSupply = totalSupply.add(_amount);
        Transfer(0, _for, _amount);
        return true;
    }

    function demint(address _for, uint256 _amount) onlyCrowdsale public returns (bool success) {
        require(mintingAllowed);
        balances[_for] = balances[_for].sub(_amount);
        totalSupply = totalSupply.sub(_amount);
        Transfer(_for, 0, _amount);
        return true;
    }

    function allowUpgrading(bool _newState) onlyOwner public returns (bool success) {
        upgradable = _newState;
        return true;
    }

    function setUpgrader(address _upgraderAddress) onlyOwner public returns (bool success) {
        require(!upgraderSet);
        require(_upgraderAddress != address(0));
        upgraderSet = true;
        upgrader = TokenUpgraderInterface(_upgraderAddress);
        return true;
    }

    function upgrade() public returns (bool success) {
        require(upgradable);
        require(upgraderSet);
        require(upgrader != TokenUpgraderInterface(0));
        uint256 value = balances[msg.sender];
        assert(value > 0);
        delete balances[msg.sender];
        totalSupply = totalSupply.sub(value);
        assert(upgrader.upgradeFor(msg.sender, value));
        return true;
    }

    function upgradeFor(address _for, uint256 _value) public returns (bool success) {
        require(upgradable);
        require(upgraderSet);
        require(upgrader != TokenUpgraderInterface(0));
        var _allowance = allowed[_for][msg.sender];
        require(_allowance > 0);
        require(_allowance >= _value);
        balances[_for] = balances[_for].sub(_value);
        allowed[_for][msg.sender] = _allowance.sub(_value);
        totalSupply = totalSupply.sub(_value);
        assert(upgrader.upgradeFrom(msg.sender, _for, _value));
        return true;
    }

    function () payable external {
        if (upgradable) {
            assert(upgrade());
            return;
        }
        revert();
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"upgraderSet","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":"_upgraderAddress","type":"address"}],"name":"setUpgrader","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"_for","type":"address"},{"name":"_amount","type":"uint256"}],"name":"demint","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"crowdsaleManager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_for","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newCrowdsale","type":"address"}],"name":"setCrowdsale","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newLockState","type":"bool"}],"name":"setLock","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"disableMinting","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_for","type":"address"},{"name":"_value","type":"uint256"}],"name":"upgradeFor","outputs":[{"name":"success","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":true,"inputs":[],"name":"mintingAllowed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"crowdsaleContractAddress","outputs":[{"name":"","type":"address"}],"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":"upgrader","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"}],"name":"setNameAndTicker","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newState","type":"bool"}],"name":"allowUpgrading","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"locked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newManager","type":"address"}],"name":"setManager","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"upgrade","outputs":[{"name":"success","type":"bool"}],"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"upgradable","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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":"_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"}]

606060405260008054600160a060020a03191633600160a060020a0316178155600580547701000000000000000000000000000000000000000000000076010000000000000000000000000000000000000000000061ffff60b060020a60ff0201199092169190911760b860020a60ff0219161760c060020a60ff02191678120000000000000000000000000000000000000000000000001790556006553415620000a957600080fd5b604051620017bc380380620017bc83398101604052808051820191906020018051820191906020018051915060019050835111620000e657600080fd5b6001825111620000f557600080fd5b60038380516200010a92916020019062000160565b5060048280516200012092916020019062000160565b506005805460ff90921678010000000000000000000000000000000000000000000000000260c060020a60ff021990921691909117905550620002059050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001a357805160ff1916838001178555620001d3565b82800160010185558215620001d3579182015b82811115620001d3578251825591602001919060010190620001b6565b50620001e1929150620001e5565b5090565b6200020291905b80821115620001e15760008155600101620001ec565b90565b6115a780620002156000396000f3006060604052600436106101715763ffffffff60e060020a600035041663045a1796811461019857806306fdde03146101bf578063095ea7b31461024957806318160ddd1461026b5780631b878f711461029057806323b872dd146102af5780632ee119cb146102d7578063313ce567146102f9578063341176d61461032257806340c10f1914610351578063483a20b214610373578063619d51941461039257806366188463146103aa57806370a08231146103cc5780637e5cd5c1146103eb578063829ebdcd146103fe5780638da5cb5b1461042057806395d89b411461043357806396532d1c146104465780639c481c9e14610459578063a9059cbb1461046c578063af2697451461048e578063c388c167146104a1578063ca1b5aa714610534578063cf3090121461054c578063d0ebdbe71461055f578063d55ec6971461057e578063d73dd62314610591578063dd62ed3e146105b3578063f2fde38b146105d8578063f4d26fec146105f7575b60055460ff16156101915761018461060a565b151561018c57fe5b610196565b600080fd5b005b34156101a357600080fd5b6101ab610736565b604051901515815260200160405180910390f35b34156101ca57600080fd5b6101d2610744565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561020e5780820151838201526020016101f6565b50505050905090810190601f16801561023b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561025457600080fd5b6101ab600160a060020a03600435166024356107e2565b341561027657600080fd5b61027e6108a0565b60405190815260200160405180910390f35b341561029b57600080fd5b6101ab600160a060020a03600435166108a6565b34156102ba57600080fd5b6101ab600160a060020a0360043581169060243516604435610931565b34156102e257600080fd5b6101ab600160a060020a0360043516602435610a62565b341561030457600080fd5b61030c610b26565b60405160ff909116815260200160405180910390f35b341561032d57600080fd5b610335610b4b565b604051600160a060020a03909116815260200160405180910390f35b341561035c57600080fd5b6101ab600160a060020a0360043516602435610b5a565b341561037e57600080fd5b6101ab600160a060020a0360043516610c1e565b341561039d57600080fd5b6101ab6004351515610c6a565b34156103b557600080fd5b6101ab600160a060020a0360043516602435610cf2565b34156103d757600080fd5b61027e600160a060020a0360043516610e07565b34156103f657600080fd5b6101ab610e22565b341561040957600080fd5b6101ab600160a060020a0360043516602435610e99565b341561042b57600080fd5b610335611053565b341561043e57600080fd5b6101d2611062565b341561045157600080fd5b6101ab6110cd565b341561046457600080fd5b6103356110dd565b341561047757600080fd5b6101ab600160a060020a03600435166024356110ec565b341561049957600080fd5b610335611211565b34156104ac57600080fd5b6101ab60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061122695505050505050565b341561053f57600080fd5b6101ab6004351515611285565b341561055757600080fd5b6101ab6112b8565b341561056a57600080fd5b6101ab600160a060020a03600435166112c8565b341561058957600080fd5b6101ab61060a565b341561059c57600080fd5b6101ab600160a060020a0360043516602435611316565b34156105be57600080fd5b61027e600160a060020a03600435811690602435166113d2565b34156105e357600080fd5b6101ab600160a060020a03600435166113fd565b341561060257600080fd5b6101ab61149c565b600554600090819060ff16151561062057600080fd5b600554610100900460ff16151561063657600080fd5b600554620100009004600160a060020a0316151561065357600080fd5b50600160a060020a03331660009081526007602052604081205490811161067657fe5b600160a060020a0333166000908152600760205260408120556006546106a2908263ffffffff6114a516565b600655600554620100009004600160a060020a031663829ebdcd338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561070a57600080fd5b6102c65a03f1151561071b57600080fd5b50505060405180519050151561072d57fe5b600191505b5090565b600554610100900460ff1681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107da5780601f106107af576101008083540402835291602001916107da565b820191906000526020600020905b8154815290600101906020018083116107bd57829003601f168201915b505050505081565b60055460009060b060020a900460ff16156107fc57600080fd5b81158061082c5750600160a060020a03338116600090815260086020908152604080832093871683529290522054155b151561083757600080fd5b600160a060020a03338116600081815260086020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60065481565b6000805433600160a060020a039081169116146108c257600080fd5b600554610100900460ff16156108d757600080fd5b600160a060020a03821615156108ec57600080fd5b5060058054600160a060020a038316620100000275ffffffffffffffffffffffffffffffffffffffff00001961ff001990921661010017919091161790556001919050565b600554600090819060b060020a900460ff161561094d57600080fd5b600160a060020a038416151561096257600080fd5b50600160a060020a038085166000818152600860209081526040808320339095168352938152838220549282526007905291909120546109a8908463ffffffff6114a516565b600160a060020a0380871660009081526007602052604080822093909355908616815220546109dd908463ffffffff6114b716565b600160a060020a038516600090815260076020526040902055610a06818463ffffffff6114a516565b600160a060020a038087166000818152600860209081526040808320338616845290915290819020939093559086169160008051602061155c8339815191529086905190815260200160405180910390a3506001949350505050565b60015460009033600160a060020a03908116911614610a8057600080fd5b60055460b860020a900460ff161515610a9857600080fd5b600160a060020a038316600090815260076020526040902054610ac1908363ffffffff6114a516565b600160a060020a038416600090815260076020526040902055600654610aed908363ffffffff6114a516565b6006556000600160a060020a03841660008051602061155c8339815191528460405190815260200160405180910390a350600192915050565b6005547801000000000000000000000000000000000000000000000000900460ff1681565b600254600160a060020a031681565b60015460009033600160a060020a03908116911614610b7857600080fd5b60055460b860020a900460ff161515610b9057600080fd5b600160a060020a038316600090815260076020526040902054610bb9908363ffffffff6114b716565b600160a060020a038416600090815260076020526040902055600654610be5908363ffffffff6114b716565b600655600160a060020a038316600060008051602061155c8339815191528460405190815260200160405180910390a350600192915050565b6000805433600160a060020a03908116911614610c3a57600080fd5b5060018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116178155919050565b6000805433600160a060020a0390811691161480610c96575060015433600160a060020a039081169116145b1515610ca157600080fd5b60055460b060020a900460ff1615158215151415610cbe57600080fd5b506005805482151560b060020a0276ff00000000000000000000000000000000000000000000199091161790556001919050565b600554600090819060b060020a900460ff1615610d0e57600080fd5b50600160a060020a0333811660009081526008602090815260408083209387168352929052205480831115610d6a57600160a060020a033381166000908152600860209081526040808320938816835292905290812055610da1565b610d7a818463ffffffff6114a516565b600160a060020a033381166000908152600860209081526040808320938916835292905220555b600160a060020a0333811660008181526008602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526007602052604090205490565b6000805433600160a060020a0390811691161480610e4e575060015433600160a060020a039081169116145b1515610e5957600080fd5b60055460b860020a900460ff161515610e7157600080fd5b506005805477ff00000000000000000000000000000000000000000000001916905560015b90565b600554600090819060ff161515610eaf57600080fd5b600554610100900460ff161515610ec557600080fd5b600554620100009004600160a060020a03161515610ee257600080fd5b50600160a060020a03808416600090815260086020908152604080832033909416835292905290812054908111610f1857600080fd5b82811015610f2557600080fd5b600160a060020a038416600090815260076020526040902054610f4e908463ffffffff6114a516565b600160a060020a038516600090815260076020526040902055610f77818463ffffffff6114a516565b600160a060020a0380861660009081526008602090815260408083203390941683529290522055600654610fb1908463ffffffff6114a516565b600655600554620100009004600160a060020a0316634c6c6a5c33868660006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561102657600080fd5b6102c65a03f1151561103757600080fd5b50505060405180519050151561104957fe5b5060019392505050565b600054600160a060020a031681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107da5780601f106107af576101008083540402835291602001916107da565b60055460b860020a900460ff1681565b600154600160a060020a031681565b60055460009060b060020a900460ff16158061112b5750600254600160a060020a03161580159061112b575060025433600160a060020a039081169116145b80611144575060005433600160a060020a039081169116145b151561114f57600080fd5b600160a060020a038316151561116457600080fd5b600160a060020a03331660009081526007602052604090205461118d908363ffffffff6114a516565b600160a060020a0333811660009081526007602052604080822093909355908516815220546111c2908363ffffffff6114b716565b600160a060020a03808516600081815260076020526040908190209390935591339091169060008051602061155c8339815191529085905190815260200160405180910390a350600192915050565b600554620100009004600160a060020a031681565b6000805433600160a060020a0390811691161461124257600080fd5b600183511161125057600080fd5b600182511161125e57600080fd5b60038380516112719291602001906114cd565b5060048280516110499291602001906114cd565b6000805433600160a060020a039081169116146112a157600080fd5b506005805460ff1916911515919091179055600190565b60055460b060020a900460ff1681565b6000805433600160a060020a039081169116146112e457600080fd5b5060028054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b60055460009060b060020a900460ff161561133057600080fd5b600160a060020a03338116600090815260086020908152604080832093871683529290522054611366908363ffffffff6114b716565b600160a060020a0333811660008181526008602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260086020908152604080832093909416825291909152205490565b6000805433600160a060020a0390811691161461141957600080fd5b600160a060020a038216151561142e57600080fd5b600054600160a060020a0380841691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b60055460ff1681565b6000828211156114b157fe5b50900390565b6000828201838110156114c657fe5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061150e57805160ff191683800117855561153b565b8280016001018555821561153b579182015b8281111561153b578251825591602001919060010190611520565b5061073292610e969250905b8082111561073257600081556001016115475600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582082cfcf1b368bfa5056d3114c17bf05c1d7358b255d00c2dc5ded049cc69ab6f20029000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000013436f696e506c6163652043504c2d746f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000343504c0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6060604052600436106101715763ffffffff60e060020a600035041663045a1796811461019857806306fdde03146101bf578063095ea7b31461024957806318160ddd1461026b5780631b878f711461029057806323b872dd146102af5780632ee119cb146102d7578063313ce567146102f9578063341176d61461032257806340c10f1914610351578063483a20b214610373578063619d51941461039257806366188463146103aa57806370a08231146103cc5780637e5cd5c1146103eb578063829ebdcd146103fe5780638da5cb5b1461042057806395d89b411461043357806396532d1c146104465780639c481c9e14610459578063a9059cbb1461046c578063af2697451461048e578063c388c167146104a1578063ca1b5aa714610534578063cf3090121461054c578063d0ebdbe71461055f578063d55ec6971461057e578063d73dd62314610591578063dd62ed3e146105b3578063f2fde38b146105d8578063f4d26fec146105f7575b60055460ff16156101915761018461060a565b151561018c57fe5b610196565b600080fd5b005b34156101a357600080fd5b6101ab610736565b604051901515815260200160405180910390f35b34156101ca57600080fd5b6101d2610744565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561020e5780820151838201526020016101f6565b50505050905090810190601f16801561023b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561025457600080fd5b6101ab600160a060020a03600435166024356107e2565b341561027657600080fd5b61027e6108a0565b60405190815260200160405180910390f35b341561029b57600080fd5b6101ab600160a060020a03600435166108a6565b34156102ba57600080fd5b6101ab600160a060020a0360043581169060243516604435610931565b34156102e257600080fd5b6101ab600160a060020a0360043516602435610a62565b341561030457600080fd5b61030c610b26565b60405160ff909116815260200160405180910390f35b341561032d57600080fd5b610335610b4b565b604051600160a060020a03909116815260200160405180910390f35b341561035c57600080fd5b6101ab600160a060020a0360043516602435610b5a565b341561037e57600080fd5b6101ab600160a060020a0360043516610c1e565b341561039d57600080fd5b6101ab6004351515610c6a565b34156103b557600080fd5b6101ab600160a060020a0360043516602435610cf2565b34156103d757600080fd5b61027e600160a060020a0360043516610e07565b34156103f657600080fd5b6101ab610e22565b341561040957600080fd5b6101ab600160a060020a0360043516602435610e99565b341561042b57600080fd5b610335611053565b341561043e57600080fd5b6101d2611062565b341561045157600080fd5b6101ab6110cd565b341561046457600080fd5b6103356110dd565b341561047757600080fd5b6101ab600160a060020a03600435166024356110ec565b341561049957600080fd5b610335611211565b34156104ac57600080fd5b6101ab60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061122695505050505050565b341561053f57600080fd5b6101ab6004351515611285565b341561055757600080fd5b6101ab6112b8565b341561056a57600080fd5b6101ab600160a060020a03600435166112c8565b341561058957600080fd5b6101ab61060a565b341561059c57600080fd5b6101ab600160a060020a0360043516602435611316565b34156105be57600080fd5b61027e600160a060020a03600435811690602435166113d2565b34156105e357600080fd5b6101ab600160a060020a03600435166113fd565b341561060257600080fd5b6101ab61149c565b600554600090819060ff16151561062057600080fd5b600554610100900460ff16151561063657600080fd5b600554620100009004600160a060020a0316151561065357600080fd5b50600160a060020a03331660009081526007602052604081205490811161067657fe5b600160a060020a0333166000908152600760205260408120556006546106a2908263ffffffff6114a516565b600655600554620100009004600160a060020a031663829ebdcd338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561070a57600080fd5b6102c65a03f1151561071b57600080fd5b50505060405180519050151561072d57fe5b600191505b5090565b600554610100900460ff1681565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107da5780601f106107af576101008083540402835291602001916107da565b820191906000526020600020905b8154815290600101906020018083116107bd57829003601f168201915b505050505081565b60055460009060b060020a900460ff16156107fc57600080fd5b81158061082c5750600160a060020a03338116600090815260086020908152604080832093871683529290522054155b151561083757600080fd5b600160a060020a03338116600081815260086020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60065481565b6000805433600160a060020a039081169116146108c257600080fd5b600554610100900460ff16156108d757600080fd5b600160a060020a03821615156108ec57600080fd5b5060058054600160a060020a038316620100000275ffffffffffffffffffffffffffffffffffffffff00001961ff001990921661010017919091161790556001919050565b600554600090819060b060020a900460ff161561094d57600080fd5b600160a060020a038416151561096257600080fd5b50600160a060020a038085166000818152600860209081526040808320339095168352938152838220549282526007905291909120546109a8908463ffffffff6114a516565b600160a060020a0380871660009081526007602052604080822093909355908616815220546109dd908463ffffffff6114b716565b600160a060020a038516600090815260076020526040902055610a06818463ffffffff6114a516565b600160a060020a038087166000818152600860209081526040808320338616845290915290819020939093559086169160008051602061155c8339815191529086905190815260200160405180910390a3506001949350505050565b60015460009033600160a060020a03908116911614610a8057600080fd5b60055460b860020a900460ff161515610a9857600080fd5b600160a060020a038316600090815260076020526040902054610ac1908363ffffffff6114a516565b600160a060020a038416600090815260076020526040902055600654610aed908363ffffffff6114a516565b6006556000600160a060020a03841660008051602061155c8339815191528460405190815260200160405180910390a350600192915050565b6005547801000000000000000000000000000000000000000000000000900460ff1681565b600254600160a060020a031681565b60015460009033600160a060020a03908116911614610b7857600080fd5b60055460b860020a900460ff161515610b9057600080fd5b600160a060020a038316600090815260076020526040902054610bb9908363ffffffff6114b716565b600160a060020a038416600090815260076020526040902055600654610be5908363ffffffff6114b716565b600655600160a060020a038316600060008051602061155c8339815191528460405190815260200160405180910390a350600192915050565b6000805433600160a060020a03908116911614610c3a57600080fd5b5060018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116178155919050565b6000805433600160a060020a0390811691161480610c96575060015433600160a060020a039081169116145b1515610ca157600080fd5b60055460b060020a900460ff1615158215151415610cbe57600080fd5b506005805482151560b060020a0276ff00000000000000000000000000000000000000000000199091161790556001919050565b600554600090819060b060020a900460ff1615610d0e57600080fd5b50600160a060020a0333811660009081526008602090815260408083209387168352929052205480831115610d6a57600160a060020a033381166000908152600860209081526040808320938816835292905290812055610da1565b610d7a818463ffffffff6114a516565b600160a060020a033381166000908152600860209081526040808320938916835292905220555b600160a060020a0333811660008181526008602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526007602052604090205490565b6000805433600160a060020a0390811691161480610e4e575060015433600160a060020a039081169116145b1515610e5957600080fd5b60055460b860020a900460ff161515610e7157600080fd5b506005805477ff00000000000000000000000000000000000000000000001916905560015b90565b600554600090819060ff161515610eaf57600080fd5b600554610100900460ff161515610ec557600080fd5b600554620100009004600160a060020a03161515610ee257600080fd5b50600160a060020a03808416600090815260086020908152604080832033909416835292905290812054908111610f1857600080fd5b82811015610f2557600080fd5b600160a060020a038416600090815260076020526040902054610f4e908463ffffffff6114a516565b600160a060020a038516600090815260076020526040902055610f77818463ffffffff6114a516565b600160a060020a0380861660009081526008602090815260408083203390941683529290522055600654610fb1908463ffffffff6114a516565b600655600554620100009004600160a060020a0316634c6c6a5c33868660006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561102657600080fd5b6102c65a03f1151561103757600080fd5b50505060405180519050151561104957fe5b5060019392505050565b600054600160a060020a031681565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107da5780601f106107af576101008083540402835291602001916107da565b60055460b860020a900460ff1681565b600154600160a060020a031681565b60055460009060b060020a900460ff16158061112b5750600254600160a060020a03161580159061112b575060025433600160a060020a039081169116145b80611144575060005433600160a060020a039081169116145b151561114f57600080fd5b600160a060020a038316151561116457600080fd5b600160a060020a03331660009081526007602052604090205461118d908363ffffffff6114a516565b600160a060020a0333811660009081526007602052604080822093909355908516815220546111c2908363ffffffff6114b716565b600160a060020a03808516600081815260076020526040908190209390935591339091169060008051602061155c8339815191529085905190815260200160405180910390a350600192915050565b600554620100009004600160a060020a031681565b6000805433600160a060020a0390811691161461124257600080fd5b600183511161125057600080fd5b600182511161125e57600080fd5b60038380516112719291602001906114cd565b5060048280516110499291602001906114cd565b6000805433600160a060020a039081169116146112a157600080fd5b506005805460ff1916911515919091179055600190565b60055460b060020a900460ff1681565b6000805433600160a060020a039081169116146112e457600080fd5b5060028054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b60055460009060b060020a900460ff161561133057600080fd5b600160a060020a03338116600090815260086020908152604080832093871683529290522054611366908363ffffffff6114b716565b600160a060020a0333811660008181526008602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260086020908152604080832093909416825291909152205490565b6000805433600160a060020a0390811691161461141957600080fd5b600160a060020a038216151561142e57600080fd5b600054600160a060020a0380841691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b60055460ff1681565b6000828211156114b157fe5b50900390565b6000828201838110156114c657fe5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061150e57805160ff191683800117855561153b565b8280016001018555821561153b579182015b8281111561153b578251825591602001919060010190611520565b5061073292610e969250905b8082111561073257600081556001016115475600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582082cfcf1b368bfa5056d3114c17bf05c1d7358b255d00c2dc5ded049cc69ab6f20029

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000013436f696e506c6163652043504c2d746f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000343504c0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): CoinPlace CPL-token
Arg [1] : _symbol (string): CPL
Arg [2] : _decimals (uint8): 18

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [4] : 436f696e506c6163652043504c2d746f6b656e00000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 43504c0000000000000000000000000000000000000000000000000000000000


Swarm Source

bzzr://82cfcf1b368bfa5056d3114c17bf05c1d7358b255d00c2dc5ded049cc69ab6f2

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.