ETH Price: $3,899.95 (-0.53%)

Contract

0x2A5C31b362729831319F849229b24a7b6bADEc63
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim147090542022-05-04 5:20:21956 days ago1651641621IN
0x2A5C31b3...b6bADEc63
0 ETH0.0036648667.24772652
Claim144737482022-03-28 8:54:17992 days ago1648457657IN
0x2A5C31b3...b6bADEc63
0 ETH0.0013724125.18277459
Claim144670842022-03-27 8:13:59993 days ago1648368839IN
0x2A5C31b3...b6bADEc63
0 ETH0.0010300718.90116149
Claim144638762022-03-26 20:11:34994 days ago1648325494IN
0x2A5C31b3...b6bADEc63
0 ETH0.0018202833.40093805
Claim144605392022-03-26 7:29:09994 days ago1648279749IN
0x2A5C31b3...b6bADEc63
0 ETH0.0018604625.98493792
Claim144540452022-03-25 7:23:03995 days ago1648192983IN
0x2A5C31b3...b6bADEc63
0 ETH0.0016741922.88934902
Claim144522822022-03-25 0:44:58996 days ago1648169098IN
0x2A5C31b3...b6bADEc63
0 ETH0.0024265633.17557069
Claim144489882022-03-24 12:34:56996 days ago1648125296IN
0x2A5C31b3...b6bADEc63
0 ETH0.0014335625.57975675
Transfer144466882022-03-24 3:51:47997 days ago1648093907IN
0x2A5C31b3...b6bADEc63
0 ETH0.0020328539.38881932
Claim144356672022-03-22 10:52:34998 days ago1647946354IN
0x2A5C31b3...b6bADEc63
0 ETH0.0019449535.68864163
Claim144276732022-03-21 4:53:411000 days ago1647838421IN
0x2A5C31b3...b6bADEc63
0 ETH0.0013487324.74836698
Claim144213262022-03-20 5:21:451001 days ago1647753705IN
0x2A5C31b3...b6bADEc63
0 ETH0.0010804614.77198108
Claim144185392022-03-19 18:34:261001 days ago1647714866IN
0x2A5C31b3...b6bADEc63
0 ETH0.0011820821.69049005
Transfer144182562022-03-19 17:36:531001 days ago1647711413IN
0x2A5C31b3...b6bADEc63
0 ETH0.0011704522.67882922
Claim144018992022-03-17 4:31:171004 days ago1647491477IN
0x2A5C31b3...b6bADEc63
0 ETH0.0018185833.36967846
Claim143867462022-03-14 19:56:161006 days ago1647287776IN
0x2A5C31b3...b6bADEc63
0 ETH0.002409244.20718932
Claim143789692022-03-13 14:58:341007 days ago1647183514IN
0x2A5C31b3...b6bADEc63
0 ETH0.0020325928.38905324
Claim143714052022-03-12 10:29:351008 days ago1647080975IN
0x2A5C31b3...b6bADEc63
0 ETH0.0014156719.35489123
Claim143708552022-03-12 8:27:161008 days ago1647073636IN
0x2A5C31b3...b6bADEc63
0 ETH0.0011778721.6131584
Claim143584572022-03-10 10:03:551010 days ago1646906635IN
0x2A5C31b3...b6bADEc63
0 ETH0.0011255320.08338112
Claim143558462022-03-10 0:19:571011 days ago1646871597IN
0x2A5C31b3...b6bADEc63
0 ETH0.0014133419.32310071
Claim143514372022-03-09 8:02:091011 days ago1646812929IN
0x2A5C31b3...b6bADEc63
0 ETH0.0016640123.24102168
Claim143465122022-03-08 13:40:261012 days ago1646746826IN
0x2A5C31b3...b6bADEc63
0 ETH0.0022255931.0846303
Claim143438472022-03-08 3:42:541013 days ago1646710974IN
0x2A5C31b3...b6bADEc63
0 ETH0.0023588243.28270991
Claim143404882022-03-07 15:22:341013 days ago1646666554IN
0x2A5C31b3...b6bADEc63
0 ETH0.002762638.584952
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Blaze

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 7 : Blaze.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract IPhoenix {
	function getTotalLevels(address _user) external view returns(uint256){}
}
/**
 ______     __         ______     ______     ______    
/\  == \   /\ \       /\  __ \   /\___  \   /\  ___\   
\ \  __<   \ \ \____  \ \  __ \  \/_/  /__  \ \  __\   
 \ \_____\  \ \_____\  \ \_\ \_\   /\_____\  \ \_____\ 
  \/_____/   \/_____/   \/_/\/_/   \/_____/   \/_____/ 

*/


contract Blaze is ERC20, Ownable {

	using SafeMath for uint256;
	
	mapping(address => uint) lastUpdate;

	mapping(address => bool) burnAddresses;

	mapping(address => uint) tokensOwed;

	IPhoenix[] public phoenixContracts;

	uint[] ratePerLevel;

	constructor() ERC20("Blaze", "BLAZE") {

	}

	/**
	 __     __   __     ______   ______     ______     ______     ______     ______   __     ______     __   __    
	/\ \   /\ "-.\ \   /\__  _\ /\  ___\   /\  == \   /\  __ \   /\  ___\   /\__  _\ /\ \   /\  __ \   /\ "-.\ \   
	\ \ \  \ \ \-.  \  \/_/\ \/ \ \  __\   \ \  __<   \ \  __ \  \ \ \____  \/_/\ \/ \ \ \  \ \ \/\ \  \ \ \-.  \  
	 \ \_\  \ \_\\"\_\    \ \_\  \ \_____\  \ \_\ \_\  \ \_\ \_\  \ \_____\    \ \_\  \ \_\  \ \_____\  \ \_\\"\_\ 
	  \/_/   \/_/ \/_/     \/_/   \/_____/   \/_/ /_/   \/_/\/_/   \/_____/     \/_/   \/_/   \/_____/   \/_/ \/_/ 

	*/
	                                                                                                               
	/*
	* @dev updates the tokens owed and the last time the user updated, called when leveling up a phoenix or minting
	* @dev _userAddress is the address of the user to update
	*/
	function updateTokens(address _userAddress) external {

		if (_userAddress != address(0)) {

			uint lastTime = lastUpdate[_userAddress];
			
			uint currentTime = block.timestamp;

			lastUpdate[_userAddress] = currentTime;
 
			IPhoenix[] memory phoenix_contracts = phoenixContracts;

			uint[] memory ratePerLev = ratePerLevel; 

			if(lastTime > 0) {

				uint claimable;

				for(uint i = 0; i < phoenix_contracts.length; i++) {

					claimable += phoenix_contracts[i].getTotalLevels(_userAddress).mul(ratePerLev[i]);

				}
 
				tokensOwed[_userAddress] += claimable.mul(currentTime - lastTime).div(86400);
			}
			
		}

	}

	/**
	* @dev called on token transfer, and updates the tokens owed and last update for each user involved in the transaction
	* @param _fromAddress is the address the token is being sent from
	* @param _toAddress is the address the token is being sent to
	*/
	function updateTransfer(address _fromAddress, address _toAddress) external {

		uint currentTime = block.timestamp;

		uint claimable;

		uint timeDifference;

		uint lastTime;

		IPhoenix[] memory phoenix_contracts = phoenixContracts;

		uint[] memory ratePerLev = ratePerLevel;

		if(_fromAddress != address(0)) {

			lastTime = lastUpdate[_fromAddress];
			lastUpdate[_fromAddress] = currentTime;

			if(lastTime > 0) {

				claimable = 0;

				timeDifference = currentTime - lastTime;

				for(uint i = 0; i < phoenix_contracts.length; i++) {

					claimable += phoenix_contracts[i].getTotalLevels(_fromAddress).mul(ratePerLev[i]);

				}
 
				tokensOwed[_fromAddress] += claimable.mul(timeDifference).div(86400);
			}

		}

		if(_toAddress != address(0)) {

			lastTime = lastUpdate[_toAddress];
			lastUpdate[_toAddress] = currentTime;

			if(lastTime > 0) {

				claimable = 0;

				timeDifference = currentTime - lastTime;

				for(uint i = 0; i < phoenix_contracts.length; i++) {

					claimable += phoenix_contracts[i].getTotalLevels(_toAddress).mul(ratePerLev[i]);

				}
 
				tokensOwed[_toAddress] += claimable.mul(timeDifference).div(86400);
			}

		}

	}

	/**
	* @dev claims tokens generated and mints into the senders wallet
	*/
	function claim() external {

    	address sender = _msgSender();

    	uint lastUpdated = lastUpdate[sender];
    	uint time = block.timestamp;

    	require(lastUpdated > 0, "No tokens to claim");

    	lastUpdate[sender] = time;

    	uint unclaimed = getPendingTokens(sender, time - lastUpdated);

    	if(tokensOwed[sender] > 0) {

    		unclaimed += tokensOwed[sender];
    		tokensOwed[sender] = 0;

    	}

    	require(unclaimed > 0, "No tokens to claim");

    	_mint(sender, unclaimed);

    }

    /**
    * @dev burns the desired amount of tokens from the wallet, this can only be called by accepted addresses, prefers burning owed tokens over minted
    * @param _from is the address to burn the tokens from
    * @param _amount is the number of tokens attempting to be burned
    */
	function burn(address _from, uint256 _amount) external {

		require(burnAddresses[_msgSender()] == true, "Don't have permission to call this function");

		uint owed = tokensOwed[_from];	

		if(owed >= _amount) {
			tokensOwed[_from] -= _amount;
			return;
		}

		uint balance = balanceOf(_from);

		if(balance >= _amount) {
			_burn(_from, _amount);
			return;

		}

		if(balance + owed >= _amount) {

			tokensOwed[_from] = 0;

			_burn(_from, _amount - owed);

			return;

		}

		uint lastUpdated = lastUpdate[_from];

		require(lastUpdated > 0, "User doesn't have enough blaze to complete this action");

		uint time = block.timestamp;

		uint claimable = getPendingTokens(_from,  time - lastUpdated);

		lastUpdate[_from] = time;

		if(claimable >= _amount) {

			tokensOwed[_from] += claimable - _amount;
			return;

		} 

		if(claimable + owed >= _amount) {

			tokensOwed[_from] -= _amount - claimable;
			return;

		}

		if(balance + owed + claimable >= _amount) {

			tokensOwed[_from] = 0;

			_burn(_from, _amount - (owed + claimable));

			return;

		}

		revert("User doesn't have enough blaze available to complete this action");

			
	}


	/**
	 ______     ______     ______     _____    
	/\  == \   /\  ___\   /\  __ \   /\  __-.  
	\ \  __<   \ \  __\   \ \  __ \  \ \ \/\ \ 
	 \ \_\ \_\  \ \_____\  \ \_\ \_\  \ \____- 
	  \/_/ /_/   \/_____/   \/_/\/_/   \/____/ 
                                          
    */

    /**
    * @dev returns the last time an address has updated with the contract
    * @param _userAddress is the user address that wants the know the time
    */
	function lastUpdateTime(address _userAddress) public view returns(uint) {
		return lastUpdate[_userAddress];
	}

	/**
	* @dev Gets the total tokens that are available to be claimed and minted for a given address
	* @param _userAddress is the address that the claimable tokens are calculated for
	*/
	function getClaimableTokens(address _userAddress) public view returns(uint) {
		return tokensOwed[_userAddress] + getPendingTokens(_userAddress);
	}

	/**
	* @dev returns the tokens accounted for but not minted for a given address
	* @param _userAddress is the address that wants to know whats owed
	*/
	function getTokensOwed(address _userAddress) public view returns(uint) {
		return tokensOwed[_userAddress];
	}

	
	/**
	* @dev recieves the pending tokens yet to be accounted for
	* @param _userAddress is the address which the pending tokens are being calculated for
	* @param _timeDifference is the current time minus the last time the _userAddress was updated
	*/
	function getPendingTokens(address _userAddress, uint _timeDifference) public view returns(uint) {

		uint claimable;

		for(uint i = 0; i < phoenixContracts.length; i++) {

			claimable += phoenixContracts[i].getTotalLevels(_userAddress).mul(ratePerLevel[i]);

		}

		//multiply by the time in seconds, then divide by the number seconds in the day;
		return claimable.mul(_timeDifference).div(86400);
	}


	/**
	* @dev recieves the pending tokens yet to be accounted for, this function is called if the time difference since last update is unknown for the address
	* @param _userAddress is the address which the pending tokens are being calculated for
	*/
	function getPendingTokens(address _userAddress) public view returns(uint) {
		
		uint lastUpdated = lastUpdate[_userAddress];

		if(lastUpdated == 0) {
			return 0;
		}

		return getPendingTokens(_userAddress, block.timestamp - lastUpdated);

	}

   
   /**
     ______     __     __     __   __     ______     ______    
	/\  __ \   /\ \  _ \ \   /\ "-.\ \   /\  ___\   /\  == \   
	\ \ \/\ \  \ \ \/ ".\ \  \ \ \-.  \  \ \  __\   \ \  __<   
	 \ \_____\  \ \__/".~\_\  \ \_\\"\_\  \ \_____\  \ \_\ \_\ 
	  \/_____/   \/_/   \/_/   \/_/ \/_/   \/_____/   \/_/ /_/ 

	*/
        
    /**
    * @dev Sets a phoenix contract where the phoenixs are capable of burning and generating tokens
    * @param _phoenixAddress is the address of the phoenix contract
    * @param _index is the index of where to set this information, either to add a new collection, or update an existing one
    * @param _ratePerLevel is the rate of token generation per phoenix level for this contract
    */                                                   
    function setPhoenixContract(address _phoenixAddress, uint _index, uint _ratePerLevel) external onlyOwner {
		require(_index <= phoenixContracts.length, "index outside range");

		if(phoenixContracts.length == _index) {
			phoenixContracts.push(IPhoenix(_phoenixAddress));
			ratePerLevel.push(_ratePerLevel);
		} 
		else {

			if(burnAddresses[address(phoenixContracts[_index])] == true) {
				burnAddresses[address(phoenixContracts[_index])] = false;
			}

			phoenixContracts[_index] = IPhoenix(_phoenixAddress);
			ratePerLevel[_index] = _ratePerLevel;


		}

		burnAddresses[_phoenixAddress] = true;
	}

	/**
	* @dev sets the addresss that are allowed to call the burn function
	* @param _burnAddress is the address being set
	* @param _value is to allow or remove burning permission
	*/
	function setBurnAddress(address _burnAddress, bool _value) external onlyOwner {
		burnAddresses[_burnAddress] = _value;
	}

}

File 2 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 4 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 5 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: 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
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 6 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 7 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"getClaimableTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint256","name":"_timeDifference","type":"uint256"}],"name":"getPendingTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"getPendingTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"getTokensOwed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"phoenixContracts","outputs":[{"internalType":"contract IPhoenix","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_burnAddress","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setBurnAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_phoenixAddress","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_ratePerLevel","type":"uint256"}],"name":"setPhoenixContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"name":"updateTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fromAddress","type":"address"},{"internalType":"address","name":"_toAddress","type":"address"}],"name":"updateTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405180604001604052806005815260200164426c617a6560d81b81525060405180604001604052806005815260200164424c415a4560d81b815250816003908051906020019062000066929190620000f5565b5080516200007c906004906020840190620000f5565b50505062000099620000936200009f60201b60201c565b620000a3565b620001d8565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000103906200019b565b90600052602060002090601f01602090048101928262000127576000855562000172565b82601f106200014257805160ff191683800117855562000172565b8280016001018555821562000172579182015b828111156200017257825182559160200191906001019062000155565b506200018092915062000184565b5090565b5b8082111562000180576000815560010162000185565b600181811c90821680620001b057607f821691505b60208210811415620001d257634e487b7160e01b600052602260045260246000fd5b50919050565b611ef080620001e86000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c806370a08231116100ee5780639dc29fac11610097578063ce25a36f11610071578063ce25a36f146103a8578063dd62ed3e146103bb578063f2fde38b146103f4578063fb2f50641461040757600080fd5b80639dc29fac1461036f578063a457c2d714610382578063a9059cbb1461039557600080fd5b80638963cc81116100c85780638963cc81146103435780638da5cb5b1461035657806395d89b411461036757600080fd5b806370a08231146102e7578063715018a614610310578063838bf5ad1461031857600080fd5b80631b831ead1161015b5780632e50b55c116101355780632e50b55c146102aa578063313ce567146102bd57806339509351146102cc5780634e71d92d146102df57600080fd5b80631b831ead1461025b57806323b872dd1461026e5780632ce9aead1461028157600080fd5b80630b108ad01161018c5780630b108ad01461020957806311f0c6ef1461021c57806318160ddd1461025357600080fd5b806306fdde03146101b357806307b475d8146101d1578063095ea7b3146101e6575b600080fd5b6101bb61041a565b6040516101c89190611d73565b60405180910390f35b6101e46101df366004611ca8565b6104ac565b005b6101f96101f4366004611ce4565b610536565b60405190151581526020016101c8565b6101e4610217366004611c39565b61054c565b61024561022a366004611c1e565b6001600160a01b031660009081526008602052604090205490565b6040519081526020016101c8565b600254610245565b610245610269366004611c1e565b61089d565b6101f961027c366004611c6c565b6108d1565b61024561028f366004611c1e565b6001600160a01b031660009081526006602052604090205490565b6101e46102b8366004611c1e565b610990565b604051601281526020016101c8565b6101f96102da366004611ce4565b610b63565b6101e4610b9f565b6102456102f5366004611c1e565b6001600160a01b031660009081526020819052604090205490565b6101e4610ce6565b61032b610326366004611d41565b610d4c565b6040516001600160a01b0390911681526020016101c8565b610245610351366004611ce4565b610d76565b6005546001600160a01b031661032b565b6101bb610e2d565b6101e461037d366004611ce4565b610e3c565b6101f9610390366004611ce4565b611186565b6101f96103a3366004611ce4565b611237565b6101e46103b6366004611d0e565b611244565b6102456103c9366004611c39565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101e4610402366004611c1e565b6114a4565b610245610415366004611c1e565b611583565b60606003805461042990611e38565b80601f016020809104026020016040519081016040528092919081815260200182805461045590611e38565b80156104a25780601f10610477576101008083540402835291602001916104a2565b820191906000526020600020905b81548152906001019060200180831161048557829003601f168201915b5050505050905090565b6005546001600160a01b0316331461050b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60006105433384846115bf565b50600192915050565b600042905060008060008060098054806020026020016040519081016040528092919081815260200182805480156105ad57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161058f575b505050505090506000600a80548060200260200160405190810160405280929190818152602001828054801561060257602002820191906000526020600020905b8154815260200190600101908083116105ee575b509394505050506001600160a01b03891615905061077b576001600160a01b03881660009081526006602052604090208054908790559250821561077b576000945061064e8387611e21565b935060005b82518110156107355761071782828151811061067157610671611ea4565b602002602001015184838151811061068b5761068b611ea4565b6020908102919091010151604051631eefa08360e21b81526001600160a01b038d8116600483015290911690637bbe820c906024015b60206040518083038186803b1580156106d957600080fd5b505afa1580156106ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107119190611d5a565b90611718565b6107219087611dc8565b95508061072d81611e73565b915050610653565b5061074d620151806107478787611718565b90611724565b6001600160a01b03891660009081526008602052604081208054909190610775908490611dc8565b90915550505b6001600160a01b03871615610893576001600160a01b03871660009081526006602052604090208054908790559250821561089357600094506107be8387611e21565b935060005b8251811015610853576108358282815181106107e1576107e1611ea4565b60200260200101518483815181106107fb576107fb611ea4565b6020908102919091010151604051631eefa08360e21b81526001600160a01b038c8116600483015290911690637bbe820c906024016106c1565b61083f9087611dc8565b95508061084b81611e73565b9150506107c3565b50610865620151806107478787611718565b6001600160a01b0388166000908152600860205260408120805490919061088d908490611dc8565b90915550505b5050505050505050565b60006108a882611583565b6001600160a01b0383166000908152600860205260409020546108cb9190611dc8565b92915050565b60006108de848484611730565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109785760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610502565b61098585338584036115bf565b506001949350505050565b6001600160a01b03811615610b60576001600160a01b0381166000908152600660209081526040808320805442918290556009805484518187028101870190955280855291959294929392909190830182828015610a1757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116109f9575b505050505090506000600a805480602002602001604051908101604052809291908181526020018280548015610a6c57602002820191906000526020600020905b815481526020019060010190808311610a58575b505050505090506000841115610b5b576000805b8351811015610b1057610af2838281518110610a9e57610a9e611ea4565b6020026020010151858381518110610ab857610ab8611ea4565b6020908102919091010151604051631eefa08360e21b81526001600160a01b038b8116600483015290911690637bbe820c906024016106c1565b610afc9083611dc8565b915080610b0881611e73565b915050610a80565b50610b2c62015180610747610b258888611e21565b8490611718565b6001600160a01b03871660009081526008602052604081208054909190610b54908490611dc8565b9091555050505b505050505b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610543918590610b9a908690611dc8565b6115bf565b336000818152600660205260409020544281610bfd5760405162461bcd60e51b815260206004820152601260248201527f4e6f20746f6b656e7320746f20636c61696d00000000000000000000000000006044820152606401610502565b6001600160a01b0383166000908152600660205260408120829055610c26846103518585611e21565b6001600160a01b03851660009081526008602052604090205490915015610c86576001600160a01b038416600090815260086020526040902054610c6a9082611dc8565b6001600160a01b03851660009081526008602052604081205590505b60008111610cd65760405162461bcd60e51b815260206004820152601260248201527f4e6f20746f6b656e7320746f20636c61696d00000000000000000000000000006044820152606401610502565b610ce08482611947565b50505050565b6005546001600160a01b03163314610d405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610502565b610d4a6000611a26565b565b60098181548110610d5c57600080fd5b6000918252602090912001546001600160a01b0316905081565b60008060005b600954811015610e1357610df5600a8281548110610d9c57610d9c611ea4565b906000526020600020015460098381548110610dba57610dba611ea4565b600091825260209091200154604051631eefa08360e21b81526001600160a01b03898116600483015290911690637bbe820c906024016106c1565b610dff9083611dc8565b915080610e0b81611e73565b915050610d7c565b50610e25620151806107478386611718565b949350505050565b60606004805461042990611e38565b3360009081526007602052604090205460ff161515600114610ec65760405162461bcd60e51b815260206004820152602b60248201527f446f6e27742068617665207065726d697373696f6e20746f2063616c6c20746860448201527f69732066756e6374696f6e0000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b038216600090815260086020526040902054818110610f18576001600160a01b03831660009081526008602052604081208054849290610f0e908490611e21565b9091555050505050565b6001600160a01b038316600090815260208190526040902054828110610f4257610ce08484611a85565b82610f4d8383611dc8565b10610f7e576001600160a01b038416600090815260086020526040812055610ce084610f798486611e21565b611a85565b6001600160a01b0384166000908152600660205260409020548061100a5760405162461bcd60e51b815260206004820152603660248201527f5573657220646f65736e2774206861766520656e6f75676820626c617a65207460448201527f6f20636f6d706c657465207468697320616374696f6e000000000000000000006064820152608401610502565b42600061101b876103518585611e21565b6001600160a01b0388166000908152600660205260409020839055905085811061107f576110498682611e21565b6001600160a01b03881660009081526008602052604081208054909190611071908490611dc8565b909155505050505050505050565b8561108a8683611dc8565b106110c1576110998187611e21565b6001600160a01b03881660009081526008602052604081208054909190611071908490611e21565b85816110cd8787611dc8565b6110d79190611dc8565b10611116576001600160a01b03871660009081526008602052604081205561110d876111038388611dc8565b610f799089611e21565b50505050505050565b6040805162461bcd60e51b81526020600482015260248101919091527f5573657220646f65736e2774206861766520656e6f75676820626c617a65206160448201527f7661696c61626c6520746f20636f6d706c657465207468697320616374696f6e6064820152608401610502565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156112205760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610502565b61122d33858584036115bf565b5060019392505050565b6000610543338484611730565b6005546001600160a01b0316331461129e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610502565b6009548211156112f05760405162461bcd60e51b815260206004820152601360248201527f696e646578206f7574736964652072616e6765000000000000000000000000006044820152606401610502565b600954821415611384576009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038616179055600a805491820181556000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80181905561147e565b600760006009848154811061139b5761139b611ea4565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615156001141561141b57600060076000600985815481106113e6576113e6611ea4565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790555b826009838154811061142f5761142f611ea4565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600a838154811061147157611471611ea4565b6000918252602090912001555b50506001600160a01b03166000908152600760205260409020805460ff19166001179055565b6005546001600160a01b031633146114fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610502565b6001600160a01b03811661157a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610502565b610b6081611a26565b6001600160a01b038116600090815260066020526040812054806115aa5750600092915050565b6115b8836103518342611e21565b9392505050565b6001600160a01b03831661163a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0382166116b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006115b88284611e02565b60006115b88284611de0565b6001600160a01b0383166117ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0382166118285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b038316600090815260208190526040902054818110156118b75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118ee908490611dc8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161193a91815260200190565b60405180910390a3610ce0565b6001600160a01b03821661199d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610502565b80600260008282546119af9190611dc8565b90915550506001600160a01b038216600090815260208190526040812080548392906119dc908490611dc8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611b015760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b03821660009081526020819052604090205481811015611b905760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611bbf908490611e21565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161170b565b80356001600160a01b0381168114611c1957600080fd5b919050565b600060208284031215611c3057600080fd5b6115b882611c02565b60008060408385031215611c4c57600080fd5b611c5583611c02565b9150611c6360208401611c02565b90509250929050565b600080600060608486031215611c8157600080fd5b611c8a84611c02565b9250611c9860208501611c02565b9150604084013590509250925092565b60008060408385031215611cbb57600080fd5b611cc483611c02565b915060208301358015158114611cd957600080fd5b809150509250929050565b60008060408385031215611cf757600080fd5b611d0083611c02565b946020939093013593505050565b600080600060608486031215611d2357600080fd5b611d2c84611c02565b95602085013595506040909401359392505050565b600060208284031215611d5357600080fd5b5035919050565b600060208284031215611d6c57600080fd5b5051919050565b600060208083528351808285015260005b81811015611da057858101830151858201604001528201611d84565b81811115611db2576000604083870101525b50601f01601f1916929092016040019392505050565b60008219821115611ddb57611ddb611e8e565b500190565b600082611dfd57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611e1c57611e1c611e8e565b500290565b600082821015611e3357611e33611e8e565b500390565b600181811c90821680611e4c57607f821691505b60208210811415611e6d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e8757611e87611e8e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea264697066735822122087ef0e8d467c3ce204637a7eb3d22f02ff5f9ba00357f5934040bb5128d0783364736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c806370a08231116100ee5780639dc29fac11610097578063ce25a36f11610071578063ce25a36f146103a8578063dd62ed3e146103bb578063f2fde38b146103f4578063fb2f50641461040757600080fd5b80639dc29fac1461036f578063a457c2d714610382578063a9059cbb1461039557600080fd5b80638963cc81116100c85780638963cc81146103435780638da5cb5b1461035657806395d89b411461036757600080fd5b806370a08231146102e7578063715018a614610310578063838bf5ad1461031857600080fd5b80631b831ead1161015b5780632e50b55c116101355780632e50b55c146102aa578063313ce567146102bd57806339509351146102cc5780634e71d92d146102df57600080fd5b80631b831ead1461025b57806323b872dd1461026e5780632ce9aead1461028157600080fd5b80630b108ad01161018c5780630b108ad01461020957806311f0c6ef1461021c57806318160ddd1461025357600080fd5b806306fdde03146101b357806307b475d8146101d1578063095ea7b3146101e6575b600080fd5b6101bb61041a565b6040516101c89190611d73565b60405180910390f35b6101e46101df366004611ca8565b6104ac565b005b6101f96101f4366004611ce4565b610536565b60405190151581526020016101c8565b6101e4610217366004611c39565b61054c565b61024561022a366004611c1e565b6001600160a01b031660009081526008602052604090205490565b6040519081526020016101c8565b600254610245565b610245610269366004611c1e565b61089d565b6101f961027c366004611c6c565b6108d1565b61024561028f366004611c1e565b6001600160a01b031660009081526006602052604090205490565b6101e46102b8366004611c1e565b610990565b604051601281526020016101c8565b6101f96102da366004611ce4565b610b63565b6101e4610b9f565b6102456102f5366004611c1e565b6001600160a01b031660009081526020819052604090205490565b6101e4610ce6565b61032b610326366004611d41565b610d4c565b6040516001600160a01b0390911681526020016101c8565b610245610351366004611ce4565b610d76565b6005546001600160a01b031661032b565b6101bb610e2d565b6101e461037d366004611ce4565b610e3c565b6101f9610390366004611ce4565b611186565b6101f96103a3366004611ce4565b611237565b6101e46103b6366004611d0e565b611244565b6102456103c9366004611c39565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101e4610402366004611c1e565b6114a4565b610245610415366004611c1e565b611583565b60606003805461042990611e38565b80601f016020809104026020016040519081016040528092919081815260200182805461045590611e38565b80156104a25780601f10610477576101008083540402835291602001916104a2565b820191906000526020600020905b81548152906001019060200180831161048557829003601f168201915b5050505050905090565b6005546001600160a01b0316331461050b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b60006105433384846115bf565b50600192915050565b600042905060008060008060098054806020026020016040519081016040528092919081815260200182805480156105ad57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161058f575b505050505090506000600a80548060200260200160405190810160405280929190818152602001828054801561060257602002820191906000526020600020905b8154815260200190600101908083116105ee575b509394505050506001600160a01b03891615905061077b576001600160a01b03881660009081526006602052604090208054908790559250821561077b576000945061064e8387611e21565b935060005b82518110156107355761071782828151811061067157610671611ea4565b602002602001015184838151811061068b5761068b611ea4565b6020908102919091010151604051631eefa08360e21b81526001600160a01b038d8116600483015290911690637bbe820c906024015b60206040518083038186803b1580156106d957600080fd5b505afa1580156106ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107119190611d5a565b90611718565b6107219087611dc8565b95508061072d81611e73565b915050610653565b5061074d620151806107478787611718565b90611724565b6001600160a01b03891660009081526008602052604081208054909190610775908490611dc8565b90915550505b6001600160a01b03871615610893576001600160a01b03871660009081526006602052604090208054908790559250821561089357600094506107be8387611e21565b935060005b8251811015610853576108358282815181106107e1576107e1611ea4565b60200260200101518483815181106107fb576107fb611ea4565b6020908102919091010151604051631eefa08360e21b81526001600160a01b038c8116600483015290911690637bbe820c906024016106c1565b61083f9087611dc8565b95508061084b81611e73565b9150506107c3565b50610865620151806107478787611718565b6001600160a01b0388166000908152600860205260408120805490919061088d908490611dc8565b90915550505b5050505050505050565b60006108a882611583565b6001600160a01b0383166000908152600860205260409020546108cb9190611dc8565b92915050565b60006108de848484611730565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156109785760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e63650000000000000000000000000000000000000000000000006064820152608401610502565b61098585338584036115bf565b506001949350505050565b6001600160a01b03811615610b60576001600160a01b0381166000908152600660209081526040808320805442918290556009805484518187028101870190955280855291959294929392909190830182828015610a1757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116109f9575b505050505090506000600a805480602002602001604051908101604052809291908181526020018280548015610a6c57602002820191906000526020600020905b815481526020019060010190808311610a58575b505050505090506000841115610b5b576000805b8351811015610b1057610af2838281518110610a9e57610a9e611ea4565b6020026020010151858381518110610ab857610ab8611ea4565b6020908102919091010151604051631eefa08360e21b81526001600160a01b038b8116600483015290911690637bbe820c906024016106c1565b610afc9083611dc8565b915080610b0881611e73565b915050610a80565b50610b2c62015180610747610b258888611e21565b8490611718565b6001600160a01b03871660009081526008602052604081208054909190610b54908490611dc8565b9091555050505b505050505b50565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610543918590610b9a908690611dc8565b6115bf565b336000818152600660205260409020544281610bfd5760405162461bcd60e51b815260206004820152601260248201527f4e6f20746f6b656e7320746f20636c61696d00000000000000000000000000006044820152606401610502565b6001600160a01b0383166000908152600660205260408120829055610c26846103518585611e21565b6001600160a01b03851660009081526008602052604090205490915015610c86576001600160a01b038416600090815260086020526040902054610c6a9082611dc8565b6001600160a01b03851660009081526008602052604081205590505b60008111610cd65760405162461bcd60e51b815260206004820152601260248201527f4e6f20746f6b656e7320746f20636c61696d00000000000000000000000000006044820152606401610502565b610ce08482611947565b50505050565b6005546001600160a01b03163314610d405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610502565b610d4a6000611a26565b565b60098181548110610d5c57600080fd5b6000918252602090912001546001600160a01b0316905081565b60008060005b600954811015610e1357610df5600a8281548110610d9c57610d9c611ea4565b906000526020600020015460098381548110610dba57610dba611ea4565b600091825260209091200154604051631eefa08360e21b81526001600160a01b03898116600483015290911690637bbe820c906024016106c1565b610dff9083611dc8565b915080610e0b81611e73565b915050610d7c565b50610e25620151806107478386611718565b949350505050565b60606004805461042990611e38565b3360009081526007602052604090205460ff161515600114610ec65760405162461bcd60e51b815260206004820152602b60248201527f446f6e27742068617665207065726d697373696f6e20746f2063616c6c20746860448201527f69732066756e6374696f6e0000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b038216600090815260086020526040902054818110610f18576001600160a01b03831660009081526008602052604081208054849290610f0e908490611e21565b9091555050505050565b6001600160a01b038316600090815260208190526040902054828110610f4257610ce08484611a85565b82610f4d8383611dc8565b10610f7e576001600160a01b038416600090815260086020526040812055610ce084610f798486611e21565b611a85565b6001600160a01b0384166000908152600660205260409020548061100a5760405162461bcd60e51b815260206004820152603660248201527f5573657220646f65736e2774206861766520656e6f75676820626c617a65207460448201527f6f20636f6d706c657465207468697320616374696f6e000000000000000000006064820152608401610502565b42600061101b876103518585611e21565b6001600160a01b0388166000908152600660205260409020839055905085811061107f576110498682611e21565b6001600160a01b03881660009081526008602052604081208054909190611071908490611dc8565b909155505050505050505050565b8561108a8683611dc8565b106110c1576110998187611e21565b6001600160a01b03881660009081526008602052604081208054909190611071908490611e21565b85816110cd8787611dc8565b6110d79190611dc8565b10611116576001600160a01b03871660009081526008602052604081205561110d876111038388611dc8565b610f799089611e21565b50505050505050565b6040805162461bcd60e51b81526020600482015260248101919091527f5573657220646f65736e2774206861766520656e6f75676820626c617a65206160448201527f7661696c61626c6520746f20636f6d706c657465207468697320616374696f6e6064820152608401610502565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156112205760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610502565b61122d33858584036115bf565b5060019392505050565b6000610543338484611730565b6005546001600160a01b0316331461129e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610502565b6009548211156112f05760405162461bcd60e51b815260206004820152601360248201527f696e646578206f7574736964652072616e6765000000000000000000000000006044820152606401610502565b600954821415611384576009805460018082019092557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038616179055600a805491820181556000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80181905561147e565b600760006009848154811061139b5761139b611ea4565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615156001141561141b57600060076000600985815481106113e6576113e6611ea4565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff19169115159190911790555b826009838154811061142f5761142f611ea4565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600a838154811061147157611471611ea4565b6000918252602090912001555b50506001600160a01b03166000908152600760205260409020805460ff19166001179055565b6005546001600160a01b031633146114fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610502565b6001600160a01b03811661157a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610502565b610b6081611a26565b6001600160a01b038116600090815260066020526040812054806115aa5750600092915050565b6115b8836103518342611e21565b9392505050565b6001600160a01b03831661163a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0382166116b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006115b88284611e02565b60006115b88284611de0565b6001600160a01b0383166117ac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0382166118285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b038316600090815260208190526040902054818110156118b75760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906118ee908490611dc8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161193a91815260200190565b60405180910390a3610ce0565b6001600160a01b03821661199d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610502565b80600260008282546119af9190611dc8565b90915550506001600160a01b038216600090815260208190526040812080548392906119dc908490611dc8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611b015760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b03821660009081526020819052604090205481811015611b905760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610502565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611bbf908490611e21565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161170b565b80356001600160a01b0381168114611c1957600080fd5b919050565b600060208284031215611c3057600080fd5b6115b882611c02565b60008060408385031215611c4c57600080fd5b611c5583611c02565b9150611c6360208401611c02565b90509250929050565b600080600060608486031215611c8157600080fd5b611c8a84611c02565b9250611c9860208501611c02565b9150604084013590509250925092565b60008060408385031215611cbb57600080fd5b611cc483611c02565b915060208301358015158114611cd957600080fd5b809150509250929050565b60008060408385031215611cf757600080fd5b611d0083611c02565b946020939093013593505050565b600080600060608486031215611d2357600080fd5b611d2c84611c02565b95602085013595506040909401359392505050565b600060208284031215611d5357600080fd5b5035919050565b600060208284031215611d6c57600080fd5b5051919050565b600060208083528351808285015260005b81811015611da057858101830151858201604001528201611d84565b81811115611db2576000604083870101525b50601f01601f1916929092016040019392505050565b60008219821115611ddb57611ddb611e8e565b500190565b600082611dfd57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611e1c57611e1c611e8e565b500290565b600082821015611e3357611e33611e8e565b500390565b600181811c90821680611e4c57607f821691505b60208210811415611e6d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e8757611e87611e8e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea264697066735822122087ef0e8d467c3ce204637a7eb3d22f02ff5f9ba00357f5934040bb5128d0783364736f6c63430008070033

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.