ETH Price: $2,622.48 (-2.03%)
Gas: 5 Gwei

Contract

0xD72980299C421AE2D53e56FB84339f61627482df
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer65683952018-10-23 11:31:252119 days ago1540294285IN
0xD7298029...1627482df
0 ETH0.000468174
Transfer65683772018-10-23 11:27:252119 days ago1540294045IN
0xD7298029...1627482df
0 ETH0.000468174
Transfer65683732018-10-23 11:26:482119 days ago1540294008IN
0xD7298029...1627482df
0 ETH0.000585225
Transfer63293432018-09-14 9:16:432159 days ago1536916603IN
0xD7298029...1627482df
0 ETH0.000586185
Transfer63293352018-09-14 9:15:192159 days ago1536916519IN
0xD7298029...1627482df
0 ETH0.0054216741
Transfer60062572018-07-21 21:55:532213 days ago1532210153IN
0xD7298029...1627482df
0 ETH0.000264472
Transfer59653282018-07-14 22:50:012220 days ago1531608601IN
0xD7298029...1627482df
0 ETH0.0034422820
Transfer59612642018-07-14 6:31:512221 days ago1531549911IN
0xD7298029...1627482df
0 ETH0.001852541
Transfer59612222018-07-14 6:24:322221 days ago1531549472IN
0xD7298029...1627482df
0 ETH0.0070124341
Transfer59141592018-07-06 5:52:392229 days ago1530856359IN
0xD7298029...1627482df
0 ETH0.0120623371
Transfer58274212018-06-21 8:31:042244 days ago1529569864IN
0xD7298029...1627482df
0 ETH0.000342383
Transfer58274002018-06-21 8:23:252244 days ago1529569405IN
0xD7298029...1627482df
0 ETH0.005909241
Transfer58084542018-06-18 2:37:222247 days ago1529289442IN
0xD7298029...1627482df
0 ETH0.000129191
Transfer58084522018-06-18 2:36:382247 days ago1529289398IN
0xD7298029...1627482df
0 ETH0.000114121
Transfer58084382018-06-18 2:34:202247 days ago1529289260IN
0xD7298029...1627482df
0 ETH0.000169131
Transfer58084322018-06-18 2:32:312247 days ago1529289151IN
0xD7298029...1627482df
0 ETH0.000128111
Transfer58021532018-06-17 1:16:162248 days ago1529198176IN
0xD7298029...1627482df
0 ETH0.000666185.2
Transfer58021522018-06-17 1:16:082248 days ago1529198168IN
0xD7298029...1627482df
0 ETH0.000550884.3
Transfer58021522018-06-17 1:16:082248 days ago1529198168IN
0xD7298029...1627482df
0 ETH0.000384143
Transfer58021512018-06-17 1:15:562248 days ago1529198156IN
0xD7298029...1627482df
0 ETH0.000409543.2
Transfer58021472018-06-17 1:15:162248 days ago1529198116IN
0xD7298029...1627482df
0 ETH0.000167991
Transfer58020682018-06-17 0:55:042248 days ago1529196904IN
0xD7298029...1627482df
0 ETH0.000166971
Transfer57980242018-06-16 8:29:352249 days ago1529137775IN
0xD7298029...1627482df
0 ETH0.000666496
Transfer57980162018-06-16 8:27:512249 days ago1529137671IN
0xD7298029...1627482df
0 ETH0.006809641
Transfer57962442018-06-16 1:09:122249 days ago1529111352IN
0xD7298029...1627482df
0 ETH0.000330142
View all transactions

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x738A6a90...7235f0b8B
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
TokenNWTC

Compiler Version
v0.4.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-01-29
*/

pragma solidity ^0.4.11;

contract owned {
    address public owner;

    function owned() public {
        owner = msg.sender;
    }

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

    function transferOwnership(address newOwner) onlyOwner public {
        owner = newOwner;
    }
}

interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }

contract TokenERC20 {
    // Public variables of the token
    string public name;
    string public symbol;
    uint8 public decimals;
    // 18 decimals is the strongly suggested default, avoid changing it
    uint256 public totalSupply;

    // This creates an array with all balances
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    // This generates a public event on the blockchain that will notify clients
    event Transfer(address indexed from, address indexed to, uint256 value);

    // This notifies clients about the amount burnt
    event Burn(address indexed from, uint256 value);

    /**
     * Constrctor function
     *
     * Initializes contract with initial supply tokens to the creator of the contract
     */
    function TokenERC20(
        uint256 initialSupply,
        string tokenName,
        string tokenSymbol,
        uint8 decimalPalces
    ) public {
        totalSupply = initialSupply * 10 ** uint256(decimalPalces);  // Update total supply with the decimal amount
        balanceOf[msg.sender] = totalSupply;                // Give the creator all initial tokens
        name = tokenName;                                   // Set the name for display purposes
        symbol = tokenSymbol;                               // Set the symbol for display purposes
        decimals = decimalPalces;
    }

    /**
     * Internal transfer, only can be called by this contract
     */
    function _transfer(address _from, address _to, uint _value) internal {
        // Prevent transfer to 0x0 address. Use burn() instead
        require(_to != 0x0);        
        require(balanceOf[_from] >= _value);        
        require(balanceOf[_to] + _value > balanceOf[_to]);        
        uint previousBalances = balanceOf[_from] + balanceOf[_to];        
        balanceOf[_from] -= _value;        
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        // Asserts are used to use static analysis to find bugs in your code. They should never fail
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    /**
     * Transfer tokens
     * Send `_value` tokens to `_to` from your account     
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    /**
     * Transfer tokens from other address
     * Send `_value` tokens to `_to` in behalf of `_from`
     * @param _from The address of the sender
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);     // Check allowance
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }

    /**
     * Set allowance for other address
     * Allows `_spender` to spend no more than `_value` tokens in your behalf
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     */
    function approve(address _spender, uint256 _value) public
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    /**
     * Set allowance for other address and notify
     * Allows `_spender` to spend no more than `_value` tokens in your behalf, and then ping the contract about it
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     * @param _extraData some extra information to send to the approved contract
     */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success)
    {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    /**
     * Destroy tokens
     * Remove `_value` tokens from the system irreversibly
     * @param _value the amount of money to burn
     */
    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);   // Check if the sender has enough
        balanceOf[msg.sender] -= _value;            // Subtract from the sender
        totalSupply -= _value;                      // Updates totalSupply
        Burn(msg.sender, _value);
        return true;
    }

    /**
     * Destroy tokens from other account
     * Remove `_value` tokens from the system irreversibly on behalf of `_from`.
     * @param _from the address of the sender
     * @param _value the amount of money to burn
     */
    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);                // Check if the targeted balance is enough
        require(_value <= allowance[_from][msg.sender]);    // Check allowance
        balanceOf[_from] -= _value;                         // Subtract from the targeted balance
        allowance[_from][msg.sender] -= _value;             // Subtract from the sender's allowance
        totalSupply -= _value;                              // Update totalSupply
        Burn(_from, _value);
        return true;
    }
}

/******************************************/
/*     UTILITY FUNCTIONS STARTS HERE      */
/******************************************/

contract utility
{
    event check1(uint256 val1);
    function calculateEthers(uint numberOfTokens, uint price, uint _decimalValue) constant internal returns(uint ethers)
    {
        ethers = numberOfTokens*price;
        ethers = ethers / 10**_decimalValue;
        check1(ethers);
        return (ethers);
    }
    
    function calculateTokens(uint _amount, uint _rate, uint _decimalValue) constant internal returns(uint tokens, uint excessEthers) 
    {
        tokens = _amount*10**_decimalValue;
        tokens = tokens/_rate;
        excessEthers = _amount-((tokens*_rate)/10**_decimalValue);
        return (tokens, excessEthers);
    } 
    
   
    function decimalAdjustment(uint _amount, uint _decimalPlaces) constant internal returns(uint adjustedValue)
    {
        uint diff = 18-_decimalPlaces;
        uint adjust = 1*10**diff;
       
        adjustedValue = _amount/adjust;
       
        return adjustedValue;       
    }
   
    // function ceil(uint a, uint m) constant returns (uint ) {
    //     return ((a + m - 1) / m) * m;
    // }
}

/******************************************/
/*       ADVANCED TOKEN STARTS HERE       */
/******************************************/

contract TokenNWTC is owned, TokenERC20, utility {
    
    event check(uint256 val1);
    
    uint256 public sellPrice;
    uint256 public buyPrice;
    address[] frzAcc;
    address[] users;
    address[] frzAcc1;
    address[] users1;
    uint256 sellTokenAmount;

    bool emergencyFreeze;       // If this variable is true then all account will be frozen and can not transfer/recieve tokens.

    mapping (address => bool) public frozenAccount;
    mapping (uint => address) public tokenUsers;

    /* This generates a public event on the blockchain that will notify clients */
    event FrozenFunds(address target, bool frozen);

    /* Initializes contract with initial supply tokens to the creator of the contract */
    function TokenNWTC(
        uint256 initialSupply,
        string tokenName,
        string tokenSymbol,
        uint8 decimalPalces
    ) TokenERC20(initialSupply, tokenName, tokenSymbol, decimalPalces) public {}

    /* Internal transfer, only can be called by this contract */
    function _transfer(address _from, address _to, uint _value) internal {
        require (_to != 0x0);                               // Prevent transfer to 0x0 address. Use burn() instead
        require (balanceOf[_from] >= _value);                // Check if the sender has enough
        require (balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows
        require(!frozenAccount[_from]);                     // Check if sender is frozen
        require(!frozenAccount[_to]);                       // Check if recipient is frozen
        require(!emergencyFreeze);                          // Check if emergencyFreeze enable  // by JD.
        balanceOf[_from] -= _value;                         // Subtract from the sender
        balanceOf[_to] += _value;                           // Add the same to the recipient
        Transfer(_from, _to, _value);
        sellTokenAmount += _value;
        
        if (users.length>0){
                uint count=0;
            for (uint a=0;a<users.length;a++)
            {
            if (users[a]==_to){
            count=count+1;
            }
            }
            if (count==0){
                users.push(_to);
            }
                 
        }
        else{
            users.push(_to);
        }
    }
    

    // @notice Create `mintedAmount` tokens and send it to `target`
    // @param target Address to receive the tokens
    // @param mintedAmount the amount of tokens it will receive
    // amount should be in form of decimal specified in this contract.
    function mintToken(address target, uint256 mintedAmount) onlyOwner public {
        //require(target!=0x0);
        balanceOf[target] += mintedAmount;
        totalSupply += mintedAmount;
        Transfer(0, this, mintedAmount);
        Transfer(this, target, mintedAmount);
        sellTokenAmount += mintedAmount;
        
         if (users.length>0){
                uint count1=0;
            for (uint a=0;a<users.length;a++)
            {
            if (users[a]==target){
            count1=count1+1;
            }
            }
            if (count1==0){
                users.push(target);
            }
                 
        }
        else{
            users.push(target);
        }
    }

    /// @notice `freeze? Prevent | Allow` `target` from sending & receiving tokens
    /// @param target Address to be frozen
    /// @param freeze either to freeze it or not
    function freezeAccount(address target, bool freeze) onlyOwner public {
        //require(target!=0x0);
        frozenAccount[target] = freeze;
        FrozenFunds(target, freeze);
        if (frzAcc.length>0){
                uint count=0;
            for (uint a=0;a<frzAcc.length;a++)
            {
            if (frzAcc[a]==target){
            count=count+1;
            }
            }
            if (count==0){
                frzAcc.push(target);
            }
        }
        else{
            frzAcc.push(target);
        }
    }

    function freezeAllAccountInEmergency(bool freezeAll) onlyOwner public
    {
        emergencyFreeze = freezeAll;    
    }

    /// notice Allow users to buy tokens for `newBuyPrice` eth and sell tokens for `newSellPrice` eth
    /// @param newSellPrice Price the users can sell to the contract
    /// @param newBuyPrice Price users can buy from the contract
    function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner public {
        require(newSellPrice!=0 || sellPrice!=0);
        require(newBuyPrice!=0 || buyPrice!=0); 
        if(newSellPrice!=0)
        {
            sellPrice = newSellPrice;
        }
        if(newBuyPrice!=0)
        {
            buyPrice = newBuyPrice;
        }
    }

    /// @notice Buy tokens from contract by sending ether
    function buy() payable public {
        require(msg.value!=0);
        require(buyPrice!=0);
        uint exceededEthers;
        uint amount = msg.value;                                // msg.value will be in wei.   
        (amount, exceededEthers) = calculateTokens(amount, buyPrice, decimals);
        require(amount!=0);
        _transfer(this, msg.sender, amount);              // makes the transfers.
        msg.sender.transfer(exceededEthers);// sends exceeded ether to the seller.
        
       // addUsers(msg.sender);
        
        if (users.length>0){
                uint count=0;
            for (uint a=0;a<users.length;a++)
            {
            if (users[a]==msg.sender){
            count=count+1;
            }
            }
            if (count==0){
                users.push(msg.sender);
            }
                 
        }
        else{
            users.push(msg.sender);
        }
        
        
    }

    // @notice Sell `amount` tokens to contract
    // @param amount amount of tokens to be sold
    // amount should be in form of decimal specified in this contract. 
    function sell(uint256 amount) public {
        require(amount!=0);
        require(sellPrice!=0);
        uint etherAmount;
        etherAmount = calculateEthers(amount, sellPrice, decimals);
        require(this.balance >= etherAmount);           // checks if the contract has enough ether to buy
        _transfer(msg.sender, this, amount);     // makes the transfers
        check(etherAmount);
        msg.sender.transfer(etherAmount);               // sends ether to the seller. It's important to do this last to avoid recursion attacks
    }


    function readAllUsers()constant returns(address[]){
	      
	      
	          for (uint k=0;k<users.length;k++){
	              if (balanceOf[users[k]]>0){
	                  users1.push(users[k]);
	              }
	          }
	      
       return users1;
   }
   
   function readAllFrzAcc()constant returns(address[]){
       for (uint k=0;k<frzAcc.length;k++){
	              if (frozenAccount[frzAcc[k]] == true){
	                  frzAcc1.push(frzAcc[k]);
	              }
	          }
       return frzAcc1;
   }
   
   function readSellTokenAmount()constant returns(uint256){
       return sellTokenAmount;
   }
   
   
//   function addUsers(address add) internal{
//       uint totalUsers = totalUsers+1;
//       tokenUsers[totalUsers] = add;
//   }
   
//     function transfer1(address _to, uint256 _value){

// 		// if(frozenAccount[msg.sender]) throw;
// 		                     // Check if sender is frozen
//         require(!frozenAccount[_to]);                       // Check if recipient is frozen
//         require(!emergencyFreeze); 
// 		require(!frozenAccount[msg.sender]);
// 		// if(balanceOf[msg.sender] < _value) throw;
// 		require(balanceOf[msg.sender] >= _value);
// 		// if(balanceOf[_to] + _value < balanceOf[_to]) throw;
// 		require(balanceOf[_to] + _value >= balanceOf[_to]);
// 		//if(admin)

// 		balanceOf[msg.sender] -= _value;
// 		balanceOf[_to] += _value;
// 		Transfer(msg.sender, _to, _value);
// 	}

// 	function transferFrom1(address _from, address _to, uint256 _value) returns (bool success){
// 		// if(frozenAccount[_from]) throw;
// 		require(!frozenAccount[_from]);
// 		// if(balanceOf[_from] < _value) throw;
// 		require(balanceOf[_from] >= _value);
// 		// if(balanceOf[_to] + _value < balanceOf[_to]) throw;
// 		require(balanceOf[_to] + _value >= balanceOf[_to]);
// 		// if(_value > allowance[_from][msg.sender]) throw;
// 		require(_value <= allowance[_from][msg.sender]);
// 		balanceOf[_from] -= _value;
// 		balanceOf[_to] += _value;
// 		allowance[_from][msg.sender] -= _value;
// 		Transfer(_from, _to, _value);
// 		return true;

// 	}

    /**
     * Set allowance for other address
     * Allows `_spender` to spend no more than `_value` tokens in your behalf
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     */
    function approve(address _spender, uint256 _value) public
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    /**
     * Set allowance for other address and notify
     * Allows `_spender` to spend no more than `_value` tokens in your behalf, and then ping the contract about it
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     * @param _extraData some extra information to send to the approved contract
     */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success)
    {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    /**
     * Destroy tokens
     * Remove `_value` tokens from the system irreversibly
     * @param _value the amount of money to burn
     */
    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);   // Check if the sender has enough
        balanceOf[msg.sender] -= _value;            // Subtract from the sender
        totalSupply -= _value;                      // Updates totalSupply
        Burn(msg.sender, _value);
        return true;
    }

    /**
     * Destroy tokens from other account
     * Remove `_value` tokens from the system irreversibly on behalf of `_from`.
     * @param _from the address of the sender
     * @param _value the amount of money to burn
     */
    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);                // Check if the targeted balance is enough
        require(_value <= allowance[_from][msg.sender]);    // Check allowance
        balanceOf[_from] -= _value;                         // Subtract from the targeted balance
        allowance[_from][msg.sender] -= _value;             // Subtract from the sender's allowance
        totalSupply -= _value;                              // Update totalSupply
        Burn(_from, _value);
        return true;
    }
    
    //======================================================
    function getTokenName() constant public returns (string)
    {
        return name;
    }
    
    //========================================================
    function getTokenSymbol() constant public returns (string)
    {
        return symbol;
    }

    //===========================================================
    function getSpecifiedDecimal() constant public returns (uint)
    {
        return decimals;
    }

    //======================================================
    function getTotalSupply() constant public returns (uint)
    {
        return totalSupply;
    }
    
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"newSellPrice","type":"uint256"},{"name":"newBuyPrice","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"readAllUsers","outputs":[{"name":"","type":"address[]"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getSpecifiedDecimal","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"readAllFrzAcc","outputs":[{"name":"","type":"address[]"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenUsers","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getTokenName","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"readSellTokenAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getTotalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"freezeAll","type":"bool"}],"name":"freezeAllAccountInEmergency","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getTokenSymbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"},{"name":"decimalPalces","type":"uint8"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"val1","type":"uint256"}],"name":"check","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"val1","type":"uint256"}],"name":"check1","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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

Deployed Bytecode

0x606060405236156101885763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461018a57806306fdde03146101a2578063095ea7b31461023257806309e9e85b1461026557806318160ddd146102d057806323b872dd146102f2578063313ce5671461032b57806342966c68146103515780634b75033414610378578063663e0f881461039a578063673c0e53146103bc57806370a082311461042757806379c650681461045557806379cc6790146104765780637fd26dd1146104a95780638620410b146104d8578063862b092b146104fa5780638c04b9851461058a5780638da5cb5b146105ac57806395d89b41146105d8578063a6f2ae3a14610668578063a9059cbb14610672578063b414d4b614610693578063c4e41b22146106c3578063cae9ca51146106e5578063cb6142c91461075c578063dd62ed3e14610773578063e4849b32146107a7578063e724529c146107bc578063f1850af8146107df578063f2fde38b1461086f575bfe5b341561019257fe5b6101a060043560243561088d565b005b34156101aa57fe5b6101b26108fd565b6040805160208082528351818301528351919283929083019185019080838382156101f8575b8051825260208311156101f857601f1990920191602091820191016101d8565b505050905090810190601f1680156102245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561023a57fe5b610251600160a060020a036004351660243561098a565b604080519115158252519081900360200190f35b341561026d57fe5b6102756109bb565b60408051602080825283518183015283519192839290830191858101910280838382156102bd575b8051825260208311156102bd57601f19909201916020918201910161029d565b5050509050019250505060405180910390f35b34156102d857fe5b6102e0610afb565b60408051918252519081900360200190f35b34156102fa57fe5b610251600160a060020a0360043581169060243516604435610b01565b604080519115158252519081900360200190f35b341561033357fe5b61033b610b7a565b6040805160ff9092168252519081900360200190f35b341561035957fe5b610251600435610b83565b604080519115158252519081900360200190f35b341561038057fe5b6102e0610c10565b60408051918252519081900360200190f35b34156103a257fe5b6102e0610c16565b60408051918252519081900360200190f35b34156103c457fe5b610275610c20565b60408051602080825283518183015283519192839290830191858101910280838382156102bd575b8051825260208311156102bd57601f19909201916020918201910161029d565b5050509050019250505060405180910390f35b341561042f57fe5b6102e0600160a060020a0360043516610d57565b60408051918252519081900360200190f35b341561045d57fe5b6101a0600160a060020a0360043516602435610d69565b005b341561047e57fe5b610251600160a060020a0360043516602435610f45565b604080519115158252519081900360200190f35b34156104b157fe5b6104bc600435611025565b60408051600160a060020a039092168252519081900360200190f35b34156104e057fe5b6102e0611040565b60408051918252519081900360200190f35b341561050257fe5b6101b2611046565b6040805160208082528351818301528351919283929083019185019080838382156101f8575b8051825260208311156101f857601f1990920191602091820191016101d8565b505050905090810190601f1680156102245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561059257fe5b6102e06110de565b60408051918252519081900360200190f35b34156105b457fe5b6104bc6110e5565b60408051600160a060020a039092168252519081900360200190f35b34156105e057fe5b6101b26110f4565b6040805160208082528351818301528351919283929083019185019080838382156101f8575b8051825260208311156101f857601f1990920191602091820191016101d8565b505050905090810190601f1680156102245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101a061117f565b005b341561067a57fe5b6101a0600160a060020a0360043516602435611308565b005b341561069b57fe5b610251600160a060020a0360043516611318565b604080519115158252519081900360200190f35b34156106cb57fe5b6102e061132d565b60408051918252519081900360200190f35b34156106ed57fe5b604080516020600460443581810135601f8101849004840285018401909552848452610251948235600160a060020a031694602480359560649492939190920191819084018382808284375094965061133495505050505050565b604080519115158252519081900360200190f35b341561076457fe5b6101a0600435151561146e565b005b341561077b57fe5b6102e0600160a060020a036004358116906024351661149d565b60408051918252519081900360200190f35b34156107af57fe5b6101a06004356114ba565b005b34156107c457fe5b6101a0600160a060020a03600435166024351515611577565b005b34156107e757fe5b6101b26116ff565b6040805160208082528351818301528351919283929083019185019080838382156101f8575b8051825260208311156101f857601f1990920191602091820191016101d8565b505050905090810190601f1680156102245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561087757fe5b6101a0600160a060020a0360043516611795565b005b60005433600160a060020a039081169116146108a95760006000fd5b811515806108b8575060075415155b15156108c45760006000fd5b801515806108d3575060085415155b15156108df5760006000fd5b81156108eb5760078290555b80156108f75760088190555b5b5b5050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109825780601f1061095757610100808354040283529160200191610982565b820191906000526020600020905b81548152906001019060200180831161096557829003601f168201915b505050505081565b600160a060020a03338116600090815260066020908152604080832093861683529290522081905560015b92915050565b6109c3611aa5565b60005b600a54811015610a9957600060056000600a848154811015156109e557fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001908152602001600020541115610a9057600c805460018101610a3e8382611ab7565b916000526020600020900160005b600a805485908110610a5a57fe5b906000526020600020900160005b9054835461010093840a600160a060020a039390940a90910482168302929091021916179055505b5b6001016109c6565b600c805480602002602001604051908101604052809291908181526020018280548015610aef57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610ad1575b505050505091505b5090565b60045481565b600160a060020a03808416600090815260066020908152604080832033909416835292905290812054821115610b375760006000fd5b600160a060020a0380851660009081526006602090815260408083203390941683529290522080548390039055610b6f8484846117de565b5060015b9392505050565b60035460ff1681565b600160a060020a03331660009081526005602052604081205482901015610baa5760006000fd5b600160a060020a03331660008181526005602090815260409182902080548690039055600480548690039055815185815291517fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59281900390910190a25060015b919050565b60075481565b60035460ff165b90565b610c28611aa5565b60005b600954811015610cf557600f6000600983815481101515610c4857fe5b906000526020600020900160005b9054600160a060020a036101009290920a900416815260208101919091526040016000205460ff16151560011415610cec57600b805460018101610c9a8382611ab7565b916000526020600020900160005b6009805485908110610cb657fe5b906000526020600020900160005b9054835461010093840a600160a060020a039390940a90910482168302929091021916179055505b5b600101610c2b565b600b805480602002602001604051908101604052809291908181526020018280548015610aef57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610ad1575b505050505091505b5090565b60056020526000908152604090205481565b60008054819033600160a060020a03908116911614610d885760006000fd5b600160a060020a03808516600090815260056020908152604080832080548801905560048054880190558051878152905130909416937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a383600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600d805484019055600a546000901115610efd575060009050805b600a54811015610eb15783600160a060020a0316600a82815481101515610e7257fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a03161415610ea8578160010191505b5b600101610e4f565b811515610ef857600a805460018101610eca8382611ab7565b916000526020600020900160005b8154600160a060020a038089166101009390930a92830292021916179055505b610f3d565b600a805460018101610f0f8382611ab7565b916000526020600020900160005b8154600160a060020a038089166101009390930a92830292021916179055505b5b5b50505050565b600160a060020a03821660009081526005602052604081205482901015610f6c5760006000fd5b600160a060020a0380841660009081526006602090815260408083203390941683529290522054821115610fa05760006000fd5b600160a060020a038084166000818152600560209081526040808320805488900390556006825280832033909516835293815290839020805486900390556004805486900390558251858152925191927fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5929081900390910190a25060015b92915050565b601060205260009081526040902054600160a060020a031681565b60085481565b61104e611aa5565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156110d35780601f106110a8576101008083540402835291602001916110d3565b820191906000526020600020905b8154815290600101906020018083116110b657829003601f168201915b505050505090505b90565b600d545b90565b600054600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156109825780601f1061095757610100808354040283529160200191610982565b820191906000526020600020905b81548152906001019060200180831161096557829003601f168201915b505050505081565b60008080803415156111915760006000fd5b60085415156111a05760006000fd5b6008546003543494506111b791859160ff16611a1c565b945092508215156111c85760006000fd5b6111d33033856117de565b604051600160a060020a0333169085156108fc029086906000818181858888f19350505050151561120057fe5b600a5460009011156112c1575060009050805b600a548110156112755733600160a060020a0316600a8281548110151561123657fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a0316141561126c578160010191505b5b600101611213565b811515610ef857600a80546001810161128e8382611ab7565b916000526020600020900160005b8154600160a060020a033381166101009390930a92830292021916179055505b610f3d565b600a8054600181016112d38382611ab7565b916000526020600020900160005b8154600160a060020a033381166101009390930a92830292021916179055505b5b50505050565b6108f73383836117de565b5b5050565b600f6020526000908152604090205460ff1681565b6004545b90565b600083611341818561098a565b156114655780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360008314611405575b80518252602083111561140557601f1990920191602091820191016113e5565b505050905090810190601f1680156114315780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b151561144f57fe5b6102c65a03f1151561145d57fe5b505050600191505b5b509392505050565b60005433600160a060020a0390811691161461148a5760006000fd5b600e805460ff19168215151790555b5b50565b600660209081526000928352604080842090915290825290205481565b60008115156114c95760006000fd5b60075415156114d85760006000fd5b6007546003546114ec91849160ff16611a51565b9050600160a060020a03301631819010156115075760006000fd5b6115123330846117de565b6040805182815290517f5f72f450c381493c8b88f0bcbf2bbe88a1ad56665696daa7cb7349917afdd3209181900360200190a1604051600160a060020a0333169082156108fc029083906000818181858888f1935050505015156108f757fe5b5b5050565b60008054819033600160a060020a039081169116146115965760006000fd5b600160a060020a0384166000818152600f6020908152604091829020805460ff191687151590811790915582519384529083015280517f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a59281900390910190a160095460009011156116b7575060009050805b60095481101561166b5783600160a060020a031660098281548110151561162c57fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a03161415611662578160010191505b5b600101611609565b811515610ef8576009805460018101610eca8382611ab7565b916000526020600020900160005b8154600160a060020a038089166101009390930a92830292021916179055505b610f3d565b6009805460018101610f0f8382611ab7565b916000526020600020900160005b8154600160a060020a038089166101009390930a92830292021916179055505b5b5b50505050565b611707611aa5565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156110d35780601f106110a8576101008083540402835291602001916110d3565b820191906000526020600020905b8154815290600101906020018083116110b657829003601f168201915b505050505090505b90565b60005433600160a060020a039081169116146117b15760006000fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600080600160a060020a03841615156117f75760006000fd5b600160a060020a0385166000908152600560205260409020548390101561181e5760006000fd5b600160a060020a038416600090815260056020526040902054838101116118455760006000fd5b600160a060020a0385166000908152600f602052604090205460ff161561186c5760006000fd5b600160a060020a0384166000908152600f602052604090205460ff16156118935760006000fd5b600e5460ff16156118a45760006000fd5b600160a060020a03808616600081815260056020908152604080832080548990039055938816808352918490208054880190558351878152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a3600d805484019055600a5460009011156119d4575060009050805b600a548110156119885783600160a060020a0316600a8281548110151561194957fe5b906000526020600020900160005b9054906101000a9004600160a060020a0316600160a060020a0316141561197f578160010191505b5b600101611926565b8115156119cf57600a8054600181016119a18382611ab7565b916000526020600020900160005b8154600160a060020a038089166101009390930a92830292021916179055505b611a14565b600a8054600181016119e68382611ab7565b916000526020600020900160005b8154600160a060020a038089166101009390930a92830292021916179055505b5b5050505050565b600a81900a830260008382811515611a3057fe5b04915082600a0a848302811515611a4357fe5b04850390505b935093915050565b828202600a82900a81811515611a6357fe5b0490507f460615790a0f11ca15374eddcf8f94f79e3cb520b074ac33e715defcc13ae9e5816040518082815260200191505060405180910390a15b9392505050565b60408051602081019091526000815290565b815481835581811511611adb57600083815260209020611adb918101908301611af3565b5b505050565b60408051602081019091526000815290565b610c1d91905b80821115610af75760008155600101611af9565b5090565b905600a165627a7a72305820c583b895a5f18325f6b2befbe68aac416cb04f9708f01b9fe28bddf7ae391ed50029

Swarm Source

bzzr://c583b895a5f18325f6b2befbe68aac416cb04f9708f01b9fe28bddf7ae391ed5

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.