Sponsored:   VC, TLDR and CoinBene Funded "TEMCO: Bitcoin Network (RSK) Suppy Chain! Whitelist KYC Starts Now!!"
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 337810 txns
Token Tracker: Tuzy Coin (TUC)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0x46c72cef8c737de00bf343a42a69463823c670dfat txn 0x19daadca76abe38f54b4b065680c051c377a5b93ca6f7d0f7524cf153db92992
Token Balance:
 Latest 25 transactions from a total of 337810 transactions
(+2 PendingTxns)

TxHash Age From To Value [TxFee]
0xd80a5b619a200e8bccf43bd9745783235fa8d47d49436fdd8f90b9ddc1853e48(pending)0x273d397ffb9dc18502daf1283bef863f5934989f  IN  0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether(Pending)
0xa9f2e95fd11b323ae6a80369c0dfee9b8d3954f7add07109c9864b0c8872d6d3(pending)0x8e214a9be5597a822dc4bf394bb5d16225fea0d9  IN  0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether(Pending)
0x6d11ae23ccb11e38002bc8317b5292c94c5c3e6d77f7e500319e0f65464307f34 hrs 11 mins ago0x23c47864212a1d3f77129ea2f00a557ad6fb2124  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00052574
0x3ffcfb87456fafdf7045834863141e63663f2be1a7a35913398d052f137230254 hrs 34 mins ago0x5e60ecb7b1fa5a8f984d819c2e71132ad6c1fc84  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00015757
0x1842293dd8e1b9d2cc4f2f86fe51afe98bd456a540ce3c2befc61e31ce0e4c8e4 hrs 53 mins ago0x60765c2720fea58b62579a24ea4747012bd13fab  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0xa4c51b5b9b3f54e2c8eb5f6012d9f93d00467c3000b11abd32bb9ec418731d704 hrs 57 mins ago0xa4491599d219789139a95580592d1c34a8f94517  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x834abd552a8217c6b576f6483b896ff3341773877a04cf535f94e196e69780285 hrs 1 min ago0x6391bcfedbe957cda013146292b2e534a64c6e06  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x39852d7055a67855543762168432d73e1a5e1a356b8c39ed782d07fec5fe26ff5 hrs 5 mins ago0x91eda1b1db71474609d99e128ccfdc92f14c9c01  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x37433ad45caaf314fc4811d1ce4d48de1289a1adccbd22365a4150231261103d5 hrs 9 mins ago0xaf22f3db4c717b55b78beb4de12feda99b8ab438  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x90665082a9f423848680d07af74a4dd00f3ed0baf08c9048f9845d5ae90b3ef25 hrs 12 mins ago0x7db92060a7ff308643ee944365a68838609a79e8  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x9a5488e820299d140861ebc8acfa79cd5003b8f0be3f298f2d395fad6729b01a5 hrs 16 mins ago0xb32f508fb11c108f18094312c19c5014f976c9b0  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0xd7043df3b1f288826b5c277059c5b2c3e30551d10285f0660f1e5611c6d800615 hrs 20 mins ago0x154ec394efecca3393a2eceefc73795d9e037aea  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x742ea4373abab3ac19ced4b65bb8f261d942244d9f2a78fc859976bf59e56ccd5 hrs 22 mins ago0x0d6745dfd19dcd8607ec54a23f3bb571cb6f62b9  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0xc55d5a3c98a3d98a514f97ae0e999f8abb53b033f459289623987c3050f06ffb5 hrs 27 mins ago0xb78bb22f15536ce8b05fbd02cb5bb3bd75f55bc7  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x8c8c0fa68c2cda37045f4b0e08763e9b6cb2ad3e65d8d70bbe93e294308c31bb5 hrs 35 mins ago0xf0948e81c647f05aed3c35384964a0cc00d8e303  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x78ba94dbaea552f2e9f36ac2a2c61098ae7bb905a8efd9919a432c17f42b5dd05 hrs 40 mins ago0x57bff7c4048d2b155a26bceec8f9a87f1ea09053  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x7fc19ef6a0ee19587de86fa06493b7daa0ceed26c8728656ac28e25357f944635 hrs 47 mins ago0x06c79a47772c9b54ecf7897cd256c334e8a597d3  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x7fd531150d10f62e178032850cdf9549dae2d78e29dca0e7d1e630370504eac25 hrs 54 mins ago0xa9e5ad21941a102eaab8433d897f81e684191fc8  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0xc7f6172e1419550229ce72666da879e6afd455eeae1302fed4507976614ec72a5 hrs 59 mins ago0xb8d997b98739be47116667be88d7aadbdd718704  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0xc808a7558a9add3e8bc98c8b18de1804a5a2d8dd0565a9560d789b176349992e6 hrs 5 mins ago0x6114055b0626469c4d9e0db5e20ac20f3cdc5d7d  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00018008
0x18b88ca8aca9c9562a7c74feaf1ca16287f4d915bf8e39a63be757a9a242c75a6 hrs 10 mins ago0xdfd2276d7857d73fff4e440de54b426302b2df42  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.000439192
0xdc5b5042356c82a7d60da375ba846ee29eddd7df84a71254e3246cd4f11234936 hrs 35 mins ago0x73934358630e74286c1b62a3330cf0770dd37efb  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.000439192
0x41695170de57c09687b4ec44b364f5a7ac3f91c1af75a12679153251c985e5f46 hrs 38 mins ago0xe57f5ac9757a338fe7f6c4a743edc38c01b48844  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00052514
0x83e0ac0110a36ceb5684b28e5c1717872f0a1a3f2b9f38896d3fb3b9be751dbd6 hrs 54 mins ago0xa5da42da627c54eb19faff9308fd97f79861ab5f  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.00047506415
0x5d907db8b0ba22ffa5774e52c0a2127e5abab8a459ef56a3340e4ab698e47bc27 hrs 19 mins ago0xc39ab99939a64af4df78d313aeb09e7908dea09e  IN   0x5da8d37485b4374fc338fc1f1ea31d07eb7bedd30 Ether0.001207778
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: TuzyCoin
Compiler Text: v0.4.23+commit.124ca40d
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity 0.4.23;

/**
 * @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) {
    if (a == 0) {
      return 0;
    }
    uint256 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 c;
  }

  /**
  * @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) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}


/**
 * @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);
}



/**
 * @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);
}


/**
 * @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];
  }

}


/**
 * @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);
  }
}


/**
 * @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;
  }

}


/**
 * @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.
   */
  constructor() 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;
  }

}


/**
 * @title Claimable
 * @dev Extension for the Ownable contract, where the ownership needs to be claimed.
 * This allows the new owner to accept the transfer.
 */
contract Claimable is Ownable {
  address public pendingOwner;

  /**
   * @dev Modifier throws if called by any account other than the pendingOwner.
   */
  modifier onlyPendingOwner() {
    require(msg.sender == pendingOwner);
    _;
  }

  /**
   * @dev Allows the current owner to set the pendingOwner address.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner public {
    pendingOwner = newOwner;
  }

  /**
   * @dev Allows the pendingOwner address to finalize the transfer.
   */
  function claimOwnership() onlyPendingOwner public {
    emit OwnershipTransferred(owner, pendingOwner);
    owner = pendingOwner;
    pendingOwner = address(0);
  }
}



/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    emit Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    emit Unpause();
  }
}


contract PausableToken is StandardToken, BurnableToken, Claimable, Pausable {
    function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) {
    	return super.transfer(_to, _value);
    }

    function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) {
    	return super.transferFrom(_from, _to, _value);
    }

    function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) {
    	return super.approve(_spender, _value);
    }

    function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
      return super.increaseApproval(_spender, _addedValue);
    }

    function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
      return super.decreaseApproval(_spender, _subtractedValue);
    }
}

contract LockableToken is PausableToken {
	using SafeMath for uint256;

	event Lock(address indexed owner, uint256 orderId, uint256 amount, uint256 releaseTimestamp);
	event UnLock(address indexed owner, uint256 orderId, uint256 amount);

	struct LockRecord {
	    
	    ///@dev order id
	    uint256 orderId;

	    ///@dev lock amount
	    uint256 amount;

	    ///@dev unlock timestamp
	    uint256 releaseTimestamp;
	}
	
	mapping (address => LockRecord[]) ownedLockRecords;
	mapping (address => uint256) ownedLockAmount;


	/**
	* @dev Lock token until _timeSpan second.
	* @param _orderId uint256
	* @param _amount uint256
	*/
	function lockTokenForNode(uint256 _orderId, uint256 _amount, uint256 _timeSpan) public whenNotPaused {
		require(balances[msg.sender] >= _amount);
		require(_timeSpan > 0 && _timeSpan <= 3 * 365 days);
	    
		uint256 releaseTimestamp = now + _timeSpan;

	 	_lockToken(_orderId, _amount, releaseTimestamp);
	}


	function unlockToken() public whenNotPaused {
		LockRecord[] memory list = ownedLockRecords[msg.sender];
    require(list.length > 0);
		for(uint i = list.length - 1; i >= 0; i--) {
			// If a record can be release.
			if (now >= list[i].releaseTimestamp) {
				_unlockTokenByIndex(i);
			}
			/// @dev i is a type of uint , so it must be break when i == 0.
			if (i == 0) {
				break;
			}
		}
	}

	/**
	* @param _index uint256 Lock record idnex.
	* @return Return a lock record (lock amount, releaseTimestamp)
	*/
	function getLockByIndex(uint256 _index) public view returns(uint256, uint256, uint256) {
        LockRecord memory record = ownedLockRecords[msg.sender][_index];
        
        return (record.orderId, record.amount, record.releaseTimestamp);
    }

  function getLockAmount() public view returns(uint256) {
  	LockRecord[] memory list = ownedLockRecords[msg.sender];
  	uint sum = 0;
  	for (uint i = 0; i < list.length; i++) {
  		sum += list[i].amount;
  	}

  	return sum;
  }

  /**
  * @dev Get lock records count
  */
  function getLockRecordCount() view public returns(uint256) {
    return ownedLockRecords[msg.sender].length;
  }

	/**
	* @param _amount uint256 Lock amount.
	* @param _releaseTimestamp uint256 Unlock timestamp.
	*/
	function _lockToken(uint256 _orderId, uint256 _amount, uint256 _releaseTimestamp) internal {
		require(ownedLockRecords[msg.sender].length <= 20);
    
    balances[msg.sender] = balances[msg.sender].sub(_amount);

		///@dev We don't care the orderId already exist or not. 
		/// Because the web server will detect it.
		ownedLockRecords[msg.sender].push( LockRecord(_orderId, _amount, _releaseTimestamp) );
		ownedLockAmount[msg.sender] = ownedLockAmount[msg.sender].add(_amount);

		emit Lock(msg.sender, _orderId, _amount, _releaseTimestamp);
	}

	/**
	* @dev using by internal.
	*/
	function _unlockTokenByIndex(uint256 _index) internal {
		LockRecord memory record = ownedLockRecords[msg.sender][_index];
		uint length = ownedLockRecords[msg.sender].length;

		ownedLockRecords[msg.sender][_index] = ownedLockRecords[msg.sender][length - 1];
		delete ownedLockRecords[msg.sender][length - 1];
		ownedLockRecords[msg.sender].length--;

		ownedLockAmount[msg.sender] = ownedLockAmount[msg.sender].sub(record.amount);
		balances[msg.sender] = balances[msg.sender].add(record.amount);

		emit UnLock(msg.sender, record.orderId, record.amount);
	}

}

contract TuzyPayableToken is LockableToken {
	
	event Pay(address indexed owner, uint256 orderId, uint256 amount, uint256 burnAmount);

	address public cooAddress;

	/// @dev User pay action will consume a certain amount of token.
	//uint256 public payAmount;

	/// @dev User pay action will brun a certain amount of token their owned.
	//uint256 public payBrunAmount;


	/**
	* @dev The TuzyPayableToken constructor sets the original `cooAddress` of the contract to the sender
	* account.
	*/
	constructor() public {
		cooAddress = msg.sender;
	}
	
/// @dev Assigns a new address to act as the COO.
  /// @param _newCOO The address of the new COO.
  function setCOO(address _newCOO) external onlyOwner {
      require(_newCOO != address(0));
      
      cooAddress = _newCOO;
  }

  /**
  * @dev Pay for order
  *
  */ 
  function payOrder(uint256 _orderId, uint256 _amount, uint256 _burnAmount) external whenNotPaused {
  	require(balances[msg.sender] >= _amount);
  	
  	/// @dev _burnAmount must be less then _amount, the code can be executed to the next line.
  	uint256 fee = _amount.sub(_burnAmount);
  	if (fee > 0) {
  		transfer(cooAddress, fee);
  	}
  	burn(_burnAmount);
  	emit Pay(msg.sender, _orderId, _amount, _burnAmount);
  }
}

contract TuzyCoin is TuzyPayableToken {
	string public name    = "Tuzy Coin";
	string public symbol  = "TUC";
	uint8 public decimals = 8;

	// 1.6 billion in initial supply
	uint256 public constant INITIAL_SUPPLY = 1600000000;

	constructor() public {
		totalSupply_ = INITIAL_SUPPLY * (10 ** uint256(decimals));
		balances[msg.sender] = totalSupply_;
	}

  function globalBurnAmount() public view returns(uint256) {
    return INITIAL_SUPPLY * (10 ** uint256(decimals)) - totalSupply_;
  }

}

    Contract ABI  
[{"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":"unlockToken","outputs":[],"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":"_newCOO","type":"address"}],"name":"setCOO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"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":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","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":true,"inputs":[],"name":"getLockRecordCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"globalBurnAmount","outputs":[{"name":"","type":"uint256"}],"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":"cooAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"getLockByIndex","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_orderId","type":"uint256"},{"name":"_amount","type":"uint256"},{"name":"_timeSpan","type":"uint256"}],"name":"lockTokenForNode","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_orderId","type":"uint256"},{"name":"_amount","type":"uint256"},{"name":"_burnAmount","type":"uint256"}],"name":"payOrder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getLockAmount","outputs":[{"name":"","type":"uint256"}],"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":true,"inputs":[],"name":"pendingOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":false,"name":"orderId","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"burnAmount","type":"uint256"}],"name":"Pay","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":false,"name":"orderId","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"releaseTimestamp","type":"uint256"}],"name":"Lock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":false,"name":"orderId","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"UnLock","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","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":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","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 Switch To Opcodes View
6004805460a060020a60ff021916905560c0604052600960808190527f54757a7920436f696e000000000000000000000000000000000000000000000060a090815262000050916008919062000108565b506040805180820190915260038082527f54554300000000000000000000000000000000000000000000000000000000006020909201918252620000979160099162000108565b50600a805460ff19166008179055348015620000b257600080fd5b5060038054600160a060020a031990811633600160a060020a03169081179092556007805490911682179055600a805460ff16900a635f5e100002600181905560009182526020829052604090912055620001ad565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014b57805160ff19168380011785556200017b565b828001600101855582156200017b579182015b828111156200017b5782518255916020019190600101906200015e565b50620001899291506200018d565b5090565b620001aa91905b8082111562000189576000815560010162000194565b90565b61174580620001bd6000396000f3006080604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610179578063095ea7b31461020357806318160ddd1461023b57806318a24b5b1461026257806323b872dd146102795780632ba73c15146102a35780632ff2e9dc146102c4578063313ce567146102d95780633f4ba83a1461030457806342966c68146103195780634e71e0c8146103315780635c975abb14610346578063661884631461035b57806370a082311461037f57806379219a24146103a05780638456cb59146103b55780638da5cb5b146103ca57806395d89b41146103fb578063a5fbd80814610410578063a9059cbb14610425578063b047fb5014610449578063b8697dbd1461045e578063baff460914610494578063d2a3899c146104b2578063d64c34fc146104d0578063d73dd623146104e5578063dd62ed3e14610509578063e30c397814610530578063f2fde38b14610545575b600080fd5b34801561018557600080fd5b5061018e610566565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c85781810151838201526020016101b0565b50505050905090810190601f1680156101f55780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020f57600080fd5b50610227600160a060020a03600435166024356105f4565b604080519115158252519081900360200190f35b34801561024757600080fd5b5061025061061f565b60408051918252519081900360200190f35b34801561026e57600080fd5b50610277610626565b005b34801561028557600080fd5b50610227600160a060020a0360043581169060243516604435610731565b3480156102af57600080fd5b50610277600160a060020a036004351661075e565b3480156102d057600080fd5b506102506107bd565b3480156102e557600080fd5b506102ee6107c5565b6040805160ff9092168252519081900360200190f35b34801561031057600080fd5b506102776107ce565b34801561032557600080fd5b5061027760043561084a565b34801561033d57600080fd5b50610277610857565b34801561035257600080fd5b506102276108e5565b34801561036757600080fd5b50610227600160a060020a03600435166024356108f5565b34801561038b57600080fd5b50610250600160a060020a0360043516610901565b3480156103ac57600080fd5b5061025061091c565b3480156103c157600080fd5b50610277610938565b3480156103d657600080fd5b506103df6109b9565b60408051600160a060020a039092168252519081900360200190f35b34801561040757600080fd5b5061018e6109c8565b34801561041c57600080fd5b50610250610a23565b34801561043157600080fd5b50610227600160a060020a0360043516602435610a39565b34801561045557600080fd5b506103df610a5d565b34801561046a57600080fd5b50610476600435610a6c565b60408051938452602084019290925282820152519081900360600190f35b3480156104a057600080fd5b50610277600435602435604435610ae4565b3480156104be57600080fd5b50610277600435602435604435610b57565b3480156104dc57600080fd5b50610250610c24565b3480156104f157600080fd5b50610227600160a060020a0360043516602435610d08565b34801561051557600080fd5b50610250600160a060020a0360043581169060243516610d14565b34801561053c57600080fd5b506103df610d3f565b34801561055157600080fd5b50610277600160a060020a0360043516610d4e565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105ec5780601f106105c1576101008083540402835291602001916105ec565b820191906000526020600020905b8154815290600101906020018083116105cf57829003601f168201915b505050505081565b60045460009060a060020a900460ff161561060e57600080fd5b6106188383610d98565b9392505050565b6001545b90565b60045460609060009060a060020a900460ff161561064357600080fd5b600160a060020a033316600090815260056020908152604080832080548251818502810185019093528083529193909284015b828210156106c7578382906000526020600020906003020160606040519081016040529081600082015481526020016001820154815260200160028201548152505081526020019060010190610676565b505050509150600082511115156106dd57600080fd5b508051600019015b6000811061072d5781818151811015156106fb57fe5b602090810290910101516040015142106107185761071881610e02565b8015156107245761072d565b600019016106e5565b5050565b60045460009060a060020a900460ff161561074b57600080fd5b610756848484611030565b949350505050565b60035433600160a060020a0390811691161461077957600080fd5b600160a060020a038116151561078e57600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b635f5e100081565b600a5460ff1681565b60035433600160a060020a039081169116146107e957600080fd5b60045460a060020a900460ff16151561080157600080fd5b6004805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b61085433826111b0565b50565b60045433600160a060020a0390811691161461087257600080fd5b600454600354604051600160a060020a0392831692909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480546003805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b60045460a060020a900460ff1681565b600061061883836112b1565b600160a060020a031660009081526020819052604090205490565b600160a060020a03331660009081526005602052604090205490565b60035433600160a060020a0390811691161461095357600080fd5b60045460a060020a900460ff161561096a57600080fd5b6004805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600354600160a060020a031681565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105ec5780601f106105c1576101008083540402835291602001916105ec565b600154600a805460ff16900a635f5e1000020390565b60045460009060a060020a900460ff1615610a5357600080fd5b61061883836113aa565b600754600160a060020a031681565b6000806000610a7961169b565b600160a060020a0333166000908152600560205260409020805486908110610a9d57fe5b600091825260209182902060408051606081018252600393909302909101805480845260018201549484018590526002909101549290910182905297919650945092505050565b60045460009060a060020a900460ff1615610afe57600080fd5b600160a060020a033316600090815260208190526040902054831115610b2357600080fd5b600082118015610b3757506305a39a808211155b1515610b4257600080fd5b50428101610b518484836114a3565b50505050565b60045460009060a060020a900460ff1615610b7157600080fd5b600160a060020a033316600090815260208190526040902054831115610b9657600080fd5b610ba6838363ffffffff6115d816565b90506000811115610bc957600754610bc790600160a060020a031682610a39565b505b610bd28261084a565b60408051858152602081018590528082018490529051600160a060020a033316917fd133b80671e5a3f860649b812b907a135bacbba732b668f4f223f4ea55c34b1e919081900360600190a250505050565b600060606000806005600033600160a060020a0316600160a060020a03168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610cc1578382906000526020600020906003020160606040519081016040529081600082015481526020016001820154815260200160028201548152505081526020019060010190610c70565b50505050925060009150600090505b8251811015610d01578281815181101515610ce757fe5b602090810290910181015101519190910190600101610cd0565b5092915050565b600061061883836115ea565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600454600160a060020a031681565b60035433600160a060020a03908116911614610d6957600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b610e0a61169b565b600160a060020a0333166000908152600560205260408120805484908110610e2e57fe5b60009182526020808320604080516060810182526003909402909101805484526001810154848401526002015483820152600160a060020a0333168452600590915290912080549193509091506000198201828110610e8957fe5b90600052602060002090600302016005600033600160a060020a0316600160a060020a0316815260200190815260200160002084815481101515610ec957fe5b600091825260208083208454600390930201918255600180850154908301556002938401549390910192909255600160a060020a033316815260059091526040902080546000198301908110610f1b57fe5b60009182526020808320600390920290910182815560018101839055600201829055600160a060020a03331682526005905260409020805490610f629060001983016116bd565b50602080830151600160a060020a03331660009081526006909252604090912054610f929163ffffffff6115d816565b600160a060020a033316600090815260066020908152604080832093909355848101519082905291902054610fcc9163ffffffff61168c16565b600160a060020a0333166000818152602081815260409182902093909355845185840151825191825293810193909352805191927fc56cef68903bdd36458fd80e70fac1fabcf0b8b37d32e6b9d02ccef26642570b929081900390910190a2505050565b6000600160a060020a038316151561104757600080fd5b600160a060020a03841660009081526020819052604090205482111561106c57600080fd5b600160a060020a038085166000908152600260209081526040808320339094168352929052205482111561109f57600080fd5b600160a060020a0384166000908152602081905260409020546110c8908363ffffffff6115d816565b600160a060020a0380861660009081526020819052604080822093909355908516815220546110fd908363ffffffff61168c16565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054611143908363ffffffff6115d816565b600160a060020a038086166000818152600260209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b600160a060020a0382166000908152602081905260409020548111156111d557600080fd5b600160a060020a0382166000908152602081905260409020546111fe908263ffffffff6115d816565b600160a060020a03831660009081526020819052604090205560015461122a908263ffffffff6115d816565b600155604080518281529051600160a060020a038416917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2604080518281529051600091600160a060020a038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561130e57600160a060020a033381166000908152600260209081526040808320938816835292905290812055611345565b61131e818463ffffffff6115d816565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000600160a060020a03831615156113c157600080fd5b600160a060020a0333166000908152602081905260409020548211156113e657600080fd5b600160a060020a03331660009081526020819052604090205461140f908363ffffffff6115d816565b600160a060020a033381166000908152602081905260408082209390935590851681522054611444908363ffffffff61168c16565b600160a060020a03808516600081815260208181526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600192915050565b600160a060020a033316600090815260056020526040902054601410156114c957600080fd5b600160a060020a0333166000908152602081905260409020546114f2908363ffffffff6115d816565b600160a060020a0333166000818152602081815260408083209490945560058152838220845160608101865288815280830188815281870188815283546001818101865594875285872093516003909102909301928355905192820192909255905160029091015591815260069091522054611574908363ffffffff61168c16565b600160a060020a0333166000818152600660209081526040918290209390935580518681529283018590528281018490525190917f0e31f07bae79135368ff475cf6c7f6abb31e0fd731e03c18ad425bd9406cf0c0919081900360600190a2505050565b6000828211156115e457fe5b50900390565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054611622908363ffffffff61168c16565b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b60008282018381101561061857fe5b6060604051908101604052806000815260200160008152602001600081525090565b8154818355818111156116e9576003028160030283600052602060002091820191016116e991906116ee565b505050565b61062391905b808211156117155760008082556001820181905560028201556003016116f4565b50905600a165627a7a72305820f937002dc7f00d85035e4aa4d242540fbb47fae6b6e6dc02498ee1b57da3616b0029

   Swarm Source:
bzzr://f937002dc7f00d85035e4aa4d242540fbb47fae6b6e6dc02498ee1b57da3616b

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.