S Price: $0.427409 (-2.24%)

Contract

0x0f8F39B92776D9136408280C7209BeBE4351123B
Age:1H
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

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

Contract Source Code Verified (Exact Match)

Contract Name:
TimeTokenNoMinerReward

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 2000000 runs

Other Settings:
cancun EvmVersion
File 1 of 4 : TimeTokenNoMinerReward.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

/**
 * @title TIME Token contract
 * @notice Smart contract used for main interaction with the TIME tokenomics system
 **/
contract TimeTokenNoMinerReward is IERC20 {

    using Math for uint256;
    using SafeMath for uint256;

    event Mining(address indexed miner, uint256 amount, uint256 blockNumber);
    event Donation(address indexed donator, uint256 donatedAmount);

    bool private _isMintLocked = false;
    bool private _isOperationLocked;

    uint8 private constant _decimals = 18;

    address public constant DEVELOPER_ADDRESS = 0x731591207791A93fB0Ec481186fb086E16A7d6D0;

    uint256 private constant FACTOR = 10**18;
    uint256 private constant D = 10**_decimals;

    uint256 public constant BASE_FEE = 50 ether;
    uint256 public constant COMISSION_RATE = 2;
    uint256 public constant SHARE_RATE = 4;
    uint256 public constant TIME_BASE_LIQUIDITY = 1_600_000 * D;
    uint256 public constant TIME_BASE_FEE = 38_400_000 * D;
    uint256 public constant TOLERANCE = 10;

    uint256 private _totalSupply;
    uint256 public dividendPerToken;
    uint256 public firstBlock;
    uint256 public liquidityFactorNative = 11;
    uint256 public liquidityFactorTime = 20;
    uint256 public numberOfHolders;
    uint256 public numberOfMiners;
    uint256 public sharedBalance;
    uint256 public poolBalance;
    uint256 public totalMinted;

    string private _name;
    string private _symbol;

    mapping (address => bool) public isMiningAllowed;
    mapping (address => uint256) private _balances;
    mapping (address => uint256) private _consumedDividendPerToken;
    mapping (address => uint256) private _credits;
    mapping (address => uint256) private _lastBalances;
    mapping (address => uint256) private _lastBlockMined;
    mapping (address => mapping (address => uint256)) private _allowances;

    constructor(
        string memory name_,
        string memory symbol_
    ) {
        _name = name_;
        _symbol = symbol_;
        firstBlock = block.number;
    }

    modifier nonReentrant() {
	    require(!_isOperationLocked, "TIME: This operation is locked for security reasons");
		_isOperationLocked = true;
		_;
		_isOperationLocked = false;
	}

    receive() external payable {
        saveTime();
    }

    fallback() external payable {
        require(msg.data.length == 0);
        saveTime();
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
      	return _symbol;
    }

    function decimals() public pure returns (uint8) {
      	return _decimals;
    }

    function totalSupply() external view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) external override view returns (uint256) {
        return _balances[account];
    }

    function burn(uint256 amount) public {
        _burn(msg.sender, amount);
    }

    function transfer(address to, uint256 amount) external override returns (bool success) {
        if (to == address(this))
            success = spendTime(amount);
        else
            success = _transfer(msg.sender, to, amount);
		return success;
    }

    function allowance(address owner, address spender) external override view returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) external override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
		_approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
		return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external override returns (bool success) {
		success = _transfer(from, to, amount);
		_approve(from, msg.sender, _allowances[from][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance"));
		return success;
    }

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        if (_balances[to] > 0 && to != address(0) && to != address(this) && _lastBalances[to] != _balances[to] && _lastBalances[to] == 0)
            numberOfHolders++;

        if (_balances[from] == 0 && from != address(0) && to != address(this) && _lastBalances[from] != _balances[from])
            numberOfHolders--;

        _lastBalances[from] = _balances[from];
        _lastBalances[to] = _balances[to];    
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        _credit(from);
        _credit(to);
        _lastBalances[from] = _balances[from];
        _lastBalances[to] = _balances[to];
    }

    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);
    }

    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);
    }

    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;
        totalMinted += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual returns (bool) {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);

        return true;
    }

    /**
     * @notice Calculate the amount some address has to claim and credit for it
     * @param account The account address
     **/
    function _credit(address account) private {
        _credits[account] += accountShareBalance(account);
        _consumedDividendPerToken[account] = dividendPerToken;
    }

    /**
     *  @notice Obtain the aproximate amount of blocks needed to drain the whole internal LP (considering the current TIME mining rate)
     **/
    function _getAmountOfBlocksToDrainLP(bool isFeeInTime) private view returns (uint256) {
        if (averageMiningRate() == 0) {
            if (isFeeInTime)
                return TIME_BASE_FEE;
            else
                return TIME_BASE_LIQUIDITY;
        } else {
            return _balances[address(this)].mulDiv(D, averageMiningRate());
        }
    }

    /**
     * @notice Called when an investor wants to exchange ETH for TIME. A comission in ETH is paid to miner (block.coinbase) and developer
     * @param comissionAmount The amount in ETH which will be paid (two times)
    **/
    function _payComission(uint256 comissionAmount) private {
        payable(DEVELOPER_ADDRESS).transfer(comissionAmount * 2);
        sharedBalance += comissionAmount;
        dividendPerToken += comissionAmount.mulDiv(FACTOR, (_totalSupply - _balances[address(this)] + 1));
        _updatePoolBalance();
    }

    /**
     * @notice Updates the state of the internal pool balance
     *
     */
    function _updatePoolBalance() private {
        poolBalance = address(this).balance > sharedBalance ? address(this).balance - sharedBalance : 0;
    }    

    /**
     * @notice Called when an investor wants to exchange TIME for ETH. A comission in TIME token is paid to miner (block.coinbase) and developer
     * @param comissionAmount The amount in TIME tokens which will be paid (two times)
     **/
    function _payComissionInTime(uint256 comissionAmount) private {
        _transfer(msg.sender, DEVELOPER_ADDRESS, comissionAmount * 2);
        _burn(msg.sender, comissionAmount);
    }

    /**
     * @notice Returns the average rate of TIME tokens mined per block (mining rate)
     **/
    function averageMiningRate() public view returns (uint256) {
        if (totalMinted > TIME_BASE_LIQUIDITY) 
            return ((totalMinted - TIME_BASE_LIQUIDITY) / (block.number - firstBlock));
        else
            return 0;
    }

    /**
     *  @notice Just verify if the msg.value has any ETH value for donation
     **/
    function donateEth() public payable nonReentrant {
        require(msg.value > 0, "TIME: please specify any amount you would like to donate");
        emit Donation(msg.sender, msg.value);
        uint256 remaining = msg.value;
        uint256 totalComission = msg.value.mulDiv(COMISSION_RATE, 100);
        uint256 comission = totalComission / SHARE_RATE;
        _payComission(comission);
        remaining -= totalComission;
        sharedBalance += (remaining / 2);
        dividendPerToken += (remaining / 2).mulDiv(FACTOR, (_totalSupply - _balances[address(this)] + 1));
        _updatePoolBalance();
    }

    /** 
     * @notice An address call this function to be able to mine TIME by paying with ETH (native cryptocurrency)
     * @dev An additional amount of TIME should be created for the AMM address to provide initial liquidity if the contract does not have any miners enabled
    **/
    function enableMining() public payable nonReentrant {
        uint256 f = fee();
        uint256 tolerance;
        if (msg.value < f) {
            tolerance = f.mulDiv(TOLERANCE, 100);
            require(msg.value >= (f - tolerance), "TIME: to enable mining for an address you need at least the fee() amount in native currency");
        }
        require(!isMiningAllowed[msg.sender], "TIME: the address is already enabled");
        uint256 remaining = msg.value;
        isMiningAllowed[msg.sender] = true;
        _lastBlockMined[msg.sender] = block.number;
        if (numberOfMiners == 0)
            _mint(address(this), TIME_BASE_LIQUIDITY);
        
        uint256 totalComission = remaining.mulDiv(COMISSION_RATE, 100);
        uint256 comission = totalComission / SHARE_RATE;
        _payComission(comission);
        remaining -= totalComission;
        sharedBalance += (remaining / 2);
        dividendPerToken += (remaining / 2).mulDiv(FACTOR, (_totalSupply - _balances[address(this)] + 1));
        if (numberOfMiners == 0) {
            sharedBalance = 0;
            dividendPerToken = 0;
        }
        _updatePoolBalance();
        numberOfMiners++;
    }

    /**
     * @notice An address call this function to be able to mine TIME with its earned (or bought) TIME tokens
     **/
    function enableMiningWithTimeToken() public nonReentrant {
        uint256 f = feeInTime();
        require(_balances[msg.sender] >= f, "TIME: to enable mining for an address you need at least the feeInTime() amount in TIME tokens");
        require(!isMiningAllowed[msg.sender], "TIME: the address is already enabled");
        _burn(msg.sender, f);
        isMiningAllowed[msg.sender] = true;
        _lastBlockMined[msg.sender] = block.number;
        numberOfMiners++;
    }

    /**
     * @notice Query the fee amount needed, in ETH, to enable an address for mining TIME
     * @dev Function has now dynamic fee calculation. Fee should not be so expensive and not cheap at the same time
     * @return Fee amount (in native cryptocurrency)
     **/
    function fee() public view returns (uint256) {
        return BASE_FEE.mulDiv(TIME_BASE_LIQUIDITY, _getAmountOfBlocksToDrainLP(false)) / (numberOfMiners + 1);
    }

    /**
     * @notice Query the fee amount needed, in TIME, to enable an address for mining TIME
     * @dev Function has now dynamic fee calculation. Fee should not be so expensive and not cheap at the same time
     * @return Fee amount (in TIME Tokens)
     **/
    function feeInTime() public view returns (uint256) {
        return TIME_BASE_FEE.mulDiv(TIME_BASE_FEE, _getAmountOfBlocksToDrainLP(true));
    }

    /**
     * @notice An allowed address call this function in order to mint TIME tokens according to the number of blocks which has passed since it has enabled mining
     **/
    function mining() public nonReentrant {
        if (isMiningAllowed[msg.sender]) {
            uint256 miningAmount = (block.number - _lastBlockMined[msg.sender]).mulDiv(D, 1);
            _mint(msg.sender, miningAmount);
            _lastBlockMined[msg.sender] = block.number;
            emit Mining(msg.sender, miningAmount, block.number);
        }
    }

    /**
     * @notice Investor send native cryptocurrency in exchange for TIME tokens. Here, he sends some amount and the contract calculates the equivalent amount in TIME units
     * @dev msg.value - The amount of TIME in terms of ETH an investor wants to 'save'
     **/
    function saveTime() public payable nonReentrant returns (bool success) {
        if (msg.value > 0) {
            uint256 totalComission = msg.value.mulDiv(COMISSION_RATE, 100);
            uint256 comission = totalComission / SHARE_RATE;
            uint256 nativeAmountTimeValue = msg.value.mulDiv(swapPriceNative(msg.value), FACTOR);
            require(nativeAmountTimeValue <= _balances[address(this)], "TIME: the pool does not have a sufficient amount to trade");
            _payComission(comission);
            success = _transfer(address(this), msg.sender, nativeAmountTimeValue - (nativeAmountTimeValue.mulDiv(COMISSION_RATE, 100) / SHARE_RATE));
            _updatePoolBalance();
            liquidityFactorNative = liquidityFactorNative < 20 ? liquidityFactorNative + 1 : liquidityFactorNative;
            liquidityFactorTime = liquidityFactorTime > 11 ? liquidityFactorTime - 1 : liquidityFactorTime;
        }
        return success;
    }

    /**
     * @notice Investor send TIME tokens in exchange for native cryptocurrency
     * @param timeAmount The amount of TIME tokens for exchange
     **/
    function spendTime(uint256 timeAmount) public nonReentrant returns (bool success) {
        require(_balances[msg.sender] >= timeAmount, "TIME: there is no enough time to spend");
        uint256 comission = timeAmount.mulDiv(COMISSION_RATE, 100) / SHARE_RATE;
        uint256 timeAmountNativeValue = timeAmount.mulDiv(swapPriceTimeInverse(timeAmount), FACTOR);
        require(timeAmountNativeValue <= poolBalance, "TIME: the pool does not have a sufficient amount to trade");
        _payComissionInTime(comission);
        timeAmount -= comission.mulDiv(3, 1);
        success = _transfer(msg.sender, address(this), timeAmount);
        payable(msg.sender).transfer(timeAmountNativeValue - (timeAmountNativeValue.mulDiv(COMISSION_RATE, 100) / SHARE_RATE));
        _updatePoolBalance();
        liquidityFactorTime = liquidityFactorTime < 20 ? liquidityFactorTime + 1 : liquidityFactorTime;
        liquidityFactorNative = liquidityFactorNative > 11 ? liquidityFactorNative - 1 : liquidityFactorNative;
        return success;
    }

    /**
     * @notice Query for market price before swap, in TIME/ETH, in terms of native cryptocurrency (ETH)
     * @dev Constant Function Market Maker
     * @param amountNative The amount of ETH a user wants to exchange
     * @return Local market price, in TIME/ETH, given the amount of ETH a user informed
     **/
    function swapPriceNative(uint256 amountNative) public view returns (uint256) {
        if (poolBalance > 0 && _balances[address(this)] > 0) {
            uint256 ratio = poolBalance.mulDiv(FACTOR, (amountNative + 1));
            uint256 deltaSupply = (_balances[address(this)].mulDiv(amountNative, 1)).mulDiv(ratio, poolBalance + amountNative.mulDiv(liquidityFactorNative, 10));
            return (deltaSupply / poolBalance);
        } else {
            return 1;
        }
    }

    /**
     * @notice Query for market price before swap, in ETH/TIME, in terms of ETH currency
     * @param amountTime The amount of TIME a user wants to exchange
     * @return Local market price, in ETH/TIME, given the amount of TIME a user informed
     **/
    function swapPriceTimeInverse(uint256 amountTime) public view returns (uint256) {
        if (poolBalance > 0 && _balances[address(this)] > 0) {
            uint256 ratio = _balances[address(this)].mulDiv(FACTOR, (amountTime + 1));
            uint256 deltaBalance = (poolBalance.mulDiv(amountTime, 1)).mulDiv(ratio, _balances[address(this)] + amountTime.mulDiv(liquidityFactorTime, 10));
            return (deltaBalance / _balances[address(this)]);      
        } else {
            return 1;
        }
    }

    /**
     * @notice Show the amount in ETH an account address can credit to itself
     * @param account The address of some account
     * @return The claimable amount in ETH
     **/
    function accountShareBalance(address account) public view returns (uint256) {
        return _balances[account].mulDiv(dividendPerToken - _consumedDividendPerToken[account], FACTOR);
    }

    /**
     * @notice Show the amount in ETH an account address can withdraw to itself
     * @param account The address of some account
     * @return The withdrawable amount in ETH
     **/
    function withdrawableShareBalance(address account) public view returns (uint256) {
        return (accountShareBalance(account) + _credits[account]);
    }

    /**
     * @notice Withdraw the available amount returned by the accountShareBalance(address account) function
     **/
    function withdrawShare() public nonReentrant {
        uint256 withdrawableAmount = accountShareBalance(msg.sender);
        withdrawableAmount += _credits[msg.sender];
        require(withdrawableAmount > 0, "TIME: you don't have any amount to withdraw");
        require(withdrawableAmount <= sharedBalance, "TIME: there is no enough balance to share");
        _credits[msg.sender] = 0;
        _consumedDividendPerToken[msg.sender] = dividendPerToken;
        sharedBalance -= withdrawableAmount;
        payable(msg.sender).transfer(withdrawableAmount);
        _updatePoolBalance();
    }
}

File 2 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 3 of 4 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. It the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`.
        // We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`.
        // This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`.
        // Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a
        // good first aproximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1;
        uint256 x = a;
        if (x >> 128 > 0) {
            x >>= 128;
            result <<= 64;
        }
        if (x >> 64 > 0) {
            x >>= 64;
            result <<= 32;
        }
        if (x >> 32 > 0) {
            x >>= 32;
            result <<= 16;
        }
        if (x >> 16 > 0) {
            x >>= 16;
            result <<= 8;
        }
        if (x >> 8 > 0) {
            x >>= 8;
            result <<= 4;
        }
        if (x >> 4 > 0) {
            x >>= 4;
            result <<= 2;
        }
        if (x >> 2 > 0) {
            result <<= 1;
        }

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        uint256 result = sqrt(a);
        if (rounding == Rounding.Up && result * result < a) {
            result += 1;
        }
        return result;
    }
}

File 4 of 4 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 subtraction 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;
        }
    }
}

Settings
{
  "remappings": [
    "@ensdomains/=node_modules/@ensdomains/",
    "@openzeppelin/=node_modules/@openzeppelin/",
    "eth-gas-reporter/=node_modules/eth-gas-reporter/",
    "hardhat/=node_modules/hardhat/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 2000000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":"donator","type":"address"},{"indexed":false,"internalType":"uint256","name":"donatedAmount","type":"uint256"}],"name":"Donation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"miner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"Mining","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"BASE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEVELOPER_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHARE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIME_BASE_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIME_BASE_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOLERANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"accountShareBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[],"name":"averageMiningRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":[],"name":"dividendPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donateEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"enableMining","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"enableMiningWithTimeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeInTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstBlock","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":"","type":"address"}],"name":"isMiningAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFactorNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFactorTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfMiners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saveTime","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sharedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeAmount","type":"uint256"}],"name":"spendTime","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountNative","type":"uint256"}],"name":"swapPriceNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountTime","type":"uint256"}],"name":"swapPriceTimeInverse","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableShareBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040525f805460ff19169055600b600455601460055534801562000023575f80fd5b50604051620033eb380380620033eb833981016040819052620000469162000131565b600b62000054838262000221565b50600c62000063828262000221565b50504360035550620002ed565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000094575f80fd5b81516001600160401b0380821115620000b157620000b162000070565b604051601f8301601f19908116603f01168101908282118183101715620000dc57620000dc62000070565b8160405283815260209250866020858801011115620000f9575f80fd5b5f91505b838210156200011c5785820183015181830184015290820190620000fd565b5f602085830101528094505050505092915050565b5f806040838503121562000143575f80fd5b82516001600160401b03808211156200015a575f80fd5b620001688683870162000084565b935060208501519150808211156200017e575f80fd5b506200018d8582860162000084565b9150509250929050565b600181811c90821680620001ac57607f821691505b602082108103620001cb57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200021c57805f5260205f20601f840160051c81016020851015620001f85750805b601f840160051c820191505b8181101562000219575f815560010162000204565b50505b505050565b81516001600160401b038111156200023d576200023d62000070565b62000255816200024e845462000197565b84620001d1565b602080601f8311600181146200028b575f8415620002735750858301515b5f19600386901b1c1916600185901b178555620002e5565b5f85815260208120601f198616915b82811015620002bb578886015182559484019460019091019084016200029a565b5085821015620002d957878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b6130f080620002fb5f395ff3fe6080604052600436106102df575f3560e01c8063734cbb6a11610183578063aadd1b03116100d5578063dcd310c911610089578063f1a10a7e11610063578063f1a10a7e14610778578063fb7e5ad01461078c578063fe9636d3146107a0576102ee565b8063dcd310c9146106ff578063dd62ed3e14610713578063ddca3f4314610764576102ee565b8063b845ead7116100ba578063b845ead7146106a8578063bdeef6db146106d6578063c3497b09146106eb576102ee565b8063aadd1b031461068c578063b52d5b1e14610694576102ee565b806396365d4411610137578063a457c2d711610111578063a457c2d71461062f578063a88f71331461064e578063a9059cbb1461066d576102ee565b806396365d44146105fd578063a2309ff814610612578063a3e7f6dd14610627576102ee565b80638faefa42116101685780638faefa42146105ab578063901362bd146105ca57806395d89b41146105e9576102ee565b8063734cbb6a1461058157806377ec0feb14610596576102ee565b8063395093511161023c578063542d199c116101f0578063685b9325116101ca578063685b93251461050c5780636a089b711461052157806370a0823114610540576102ee565b8063542d199c146104d0578063657b1eb8146104e4578063662fac39146104f8576102ee565b80634003d22e116102215780634003d22e1461045157806342966c6814610465578063454e66c814610484576102ee565b806339509351146104165780633d18651e14610435576102ee565b806318160ddd1161029357806323b872dd1161027857806323b872dd146103c857806324349671146103e7578063313ce567146103fb576102ee565b806318160ddd1461039f578063231b0268146103b3576102ee565b80630774c059116102c45780630774c05914610349578063095ea7b31461036857806310e7b9f214610397576102ee565b80630199c7b21461030057806306fdde0314610328576102ee565b366102ee576102ec6107b5565b005b36156102f8575f80fd5b6102ec6107b5565b34801561030b575f80fd5b5061031560065481565b6040519081526020015b60405180910390f35b348015610333575f80fd5b5061033c610a14565b60405161031f9190612c67565b348015610354575f80fd5b50610315610363366004612cd1565b610aa4565b348015610373575f80fd5b50610387610382366004612d0b565b610b75565b604051901515815260200161031f565b6103876107b5565b3480156103aa575f80fd5b50600154610315565b3480156103be575f80fd5b5061031560035481565b3480156103d3575f80fd5b506103876103e2366004612d33565b610b8b565b3480156103f2575f80fd5b506102ec610bfe565b348015610406575f80fd5b506040516012815260200161031f565b348015610421575f80fd5b50610387610430366004612d0b565b610e9b565b348015610440575f80fd5b506103156802b5e3af16b188000081565b34801561045c575f80fd5b50610315600481565b348015610470575f80fd5b506102ec61047f366004612cd1565b610edd565b34801561048f575f80fd5b506104ab73731591207791a93fb0ec481186fb086e16a7d6d081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161031f565b3480156104db575f80fd5b50610315610eea565b3480156104ef575f80fd5b50610315610f31565b348015610503575f80fd5b506102ec610f4e565b348015610517575f80fd5b5061031560055481565b34801561052c575f80fd5b5061038761053b366004612cd1565b6110d3565b34801561054b575f80fd5b5061031561055a366004612d6c565b73ffffffffffffffffffffffffffffffffffffffff165f908152600e602052604090205490565b34801561058c575f80fd5b5061031560045481565b3480156105a1575f80fd5b5061031560025481565b3480156105b6575f80fd5b506103156105c5366004612cd1565b6113f8565b3480156105d5575f80fd5b506103156105e4366004612d6c565b611495565b3480156105f4575f80fd5b5061033c6114cd565b348015610608575f80fd5b5061031560095481565b34801561061d575f80fd5b50610315600a5481565b6102ec6114dc565b34801561063a575f80fd5b50610387610649366004612d0b565b611892565b348015610659575f80fd5b50610315610668366004612d6c565b6118ec565b348015610678575f80fd5b50610387610687366004612d0b565b611955565b6102ec61198e565b34801561069f575f80fd5b50610315600a81565b3480156106b3575f80fd5b506103876106c2366004612d6c565b600d6020525f908152604090205460ff1681565b3480156106e1575f80fd5b5061031560075481565b3480156106f6575f80fd5b50610315611bda565b34801561070a575f80fd5b506102ec611bf3565b34801561071e575f80fd5b5061031561072d366004612d85565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260136020908152604080832093909416825291909152205490565b34801561076f575f80fd5b50610315611ead565b348015610783575f80fd5b50610315611efd565b348015610797575f80fd5b50610315600281565b3480156107ab575f80fd5b5061031560085481565b5f8054610100900460ff1615610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e730000000000000000000000000060648201526084015b60405180910390fd5b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905534156109ea575f6108913460026064611f58565b90505f61089f600483612e10565b90505f6108be6108ae346113f8565b3490670de0b6b3a7640000611f58565b305f908152600e602052604090205490915081111561095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360448201527f756666696369656e7420616d6f756e7420746f207472616465000000000000006064820152608401610849565b61096882612020565b6109953033600461097c8560026064611f58565b6109869190612e10565b6109909085612e48565b6120da565b935061099f6123a8565b6014600454106109b1576004546109bf565b6004546109bf906001612e5b565b600455600554600b106109d4576005546109e3565b60016005546109e39190612e48565b6005555050505b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905590565b6060600b8054610a2390612e6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4f90612e6e565b8015610a9a5780601f10610a7157610100808354040283529160200191610a9a565b820191905f5260205f20905b815481529060010190602001808311610a7d57829003601f168201915b5050505050905090565b5f80600954118015610ac35750305f908152600e602052604090205415155b15610b68575f610af6670de0b6b3a7640000610ae0856001612e5b565b305f908152600e60205260409020549190611f58565b90505f610b4482610b15600554600a88611f589092919063ffffffff16565b305f908152600e6020526040902054610b2e9190612e5b565b600954610b3d90886001611f58565b9190611f58565b305f908152600e6020526040902054909150610b609082612e10565b949350505050565b506001919050565b919050565b5f610b813384846123c9565b5060015b92915050565b5f610b978484846120da565b9050610bf78433610bf28560405180606001604052806028815260200161306e6028913973ffffffffffffffffffffffffffffffffffffffff8a165f908152601360209081526040808320338452909152902054919061257b565b6123c9565b9392505050565b5f54610100900460ff1615610c95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155610cc9336118ec565b335f90815260106020526040902054909150610ce59082612e5b565b90505f8111610d76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f54494d453a20796f7520646f6e2774206861766520616e7920616d6f756e742060448201527f746f2077697468647261770000000000000000000000000000000000000000006064820152608401610849565b600854811115610e08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f54494d453a207468657265206973206e6f20656e6f7567682062616c616e636560448201527f20746f20736861726500000000000000000000000000000000000000000000006064820152608401610849565b335f908152601060209081526040808320839055600254600f90925282205560088054839290610e39908490612e48565b9091555050604051339082156108fc029083905f818181858888f19350505050158015610e68573d5f803e3d5ffd5b50610e716123a8565b505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b335f81815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610b81918590610bf290866125c0565b610ee733826125cb565b50565b5f610f2c610efa6012600a612fdd565b610f0890630249f000612feb565b610f1260016127cb565b610f1e6012600a612fdd565b610b3d90630249f000612feb565b905090565b610f3d6012600a612fdd565b610f4b90630249f000612feb565b81565b5f54610100900460ff1615610fe5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600d602052604090205460ff16156110aa575f6110516110356012600a612fdd565b335f90815260126020526040902054600190610b3d9043612e48565b905061105d338261282a565b335f8181526012602090815260409182902043908190558251858152918201527fe3984b193af5ec77cff31edaae343c16170c91f8a89ef6accdd4ded0959f1959910160405180910390a2505b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b5f8054610100900460ff161561116b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600e6020526040902054821115611232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f54494d453a207468657265206973206e6f20656e6f7567682074696d6520746f60448201527f207370656e6400000000000000000000000000000000000000000000000000006064820152608401610849565b5f60046112428460026064611f58565b61124c9190612e10565b90505f61126b61125b85610aa4565b8590670de0b6b3a7640000611f58565b90506009548111156112ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360448201527f756666696369656e7420616d6f756e7420746f207472616465000000000000006064820152608401610849565b61130882612975565b6113158260036001611f58565b61131f9085612e48565b935061132c3330866120da565b9250336108fc60046113418460026064611f58565b61134b9190612e10565b6113559084612e48565b6040518115909202915f818181858888f1935050505015801561137a573d5f803e3d5ffd5b506113836123a8565b601460055410611395576005546113a3565b6005546113a3906001612e5b565b600555600454600b106113b8576004546113c7565b60016004546113c79190612e48565b60045550505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055919050565b5f806009541180156114175750305f908152600e602052604090205415155b15610b68575f61143e670de0b6b3a7640000611434856001612e5b565b6009549190611f58565b90505f6114858261145d600454600a88611f589092919063ffffffff16565b60095461146a9190612e5b565b305f908152600e6020526040902054610b3d90886001611f58565b905060095481610b609190612e10565b73ffffffffffffffffffffffffffffffffffffffff81165f908152601060205260408120546114c3836118ec565b610b859190612e5b565b6060600c8054610a2390612e6e565b5f54610100900460ff1615611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001781556115a6611ead565b90505f8134101561167f576115be82600a6064611f58565b90506115ca8183612e48565b34101561167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605b60248201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460448201527f647265737320796f75206e656564206174206c6561737420746865206665652860648201527f2920616d6f756e7420696e206e61746976652063757272656e63790000000000608482015260a401610849565b335f908152600d602052604090205460ff161561171d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54494d453a20746865206164647265737320697320616c726561647920656e6160448201527f626c6564000000000000000000000000000000000000000000000000000000006064820152608401610849565b335f908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556012909152812043905560075434910361178d5761178d3061177b6012600a612fdd565b6117889062186a00612feb565b61282a565b5f61179b8260026064611f58565b90505f6117a9600483612e10565b90506117b481612020565b6117be8284612e48565b92506117cb600284612e10565b60085f8282546117db9190612e5b565b9091555050305f908152600e602052604090205460015461182091670de0b6b3a76400009161180a9190612e48565b611815906001612e5b565b610b3d600287612e10565b60025f8282546118309190612e5b565b90915550506007545f03611848575f60088190556002555b6118506123a8565b60078054905f61185f83613002565b90915550505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050505050565b5f610b813384610bf28560405180606001604052806025815260200161309660259139335f90815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d168452909152902054919061257b565b73ffffffffffffffffffffffffffffffffffffffff81165f908152600f6020526040812054600254610b859161192191612e48565b73ffffffffffffffffffffffffffffffffffffffff84165f908152600e602052604090205490670de0b6b3a7640000611f58565b5f3073ffffffffffffffffffffffffffffffffffffffff8416036119835761197c826110d3565b9050610b85565b610bf73384846120da565b5f54610100900460ff1615611a25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905534611add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f54494d453a20706c65617365207370656369667920616e7920616d6f756e742060448201527f796f7520776f756c64206c696b6520746f20646f6e61746500000000000000006064820152608401610849565b60405134815233907f5d8bc849764969eb1bcc6d0a2f55999d0167c1ccec240a4f39cf664ca9c4148e9060200160405180910390a2345f611b218260026064611f58565b90505f611b2f600483612e10565b9050611b3a81612020565b611b448284612e48565b9250611b51600284612e10565b60085f828254611b619190612e5b565b9091555050305f908152600e6020526040902054600154611b9091670de0b6b3a76400009161180a9190612e48565b60025f828254611ba09190612e5b565b90915550611bae90506123a8565b50505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b611be66012600a612fdd565b610f4b9062186a00612feb565b5f54610100900460ff1615611c8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155611cbd610eea565b335f908152600e6020526040902054909150811115611d84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605d60248201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460448201527f647265737320796f75206e656564206174206c6561737420746865206665654960648201527f6e54696d65282920616d6f756e7420696e2054494d4520746f6b656e73000000608482015260a401610849565b335f908152600d602052604090205460ff1615611e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54494d453a20746865206164647265737320697320616c726561647920656e6160448201527f626c6564000000000000000000000000000000000000000000000000000000006064820152608401610849565b611e2c33826125cb565b335f908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055601290915281204390556007805491611e7e83613002565b90915550505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b5f6007546001611ebd9190612e5b565b611ef3611ecc6012600a612fdd565b611ed99062186a00612feb565b611ee25f6127cb565b6802b5e3af16b18800009190611f58565b610f2c9190612e10565b5f611f0a6012600a612fdd565b611f179062186a00612feb565b600a541115611f5357600354611f2d9043612e48565b611f396012600a612fdd565b611f469062186a00612feb565b600a54611ef39190612e48565b505f90565b5f80807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff858709858702925082811083820303915050805f03611fae57838281611fa457611fa4612db6565b0492505050610bf7565b808411611fb9575f80fd5b5f8486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091025f889003889004909101858311909403939093029303949094049190911702949350505050565b73731591207791a93fb0ec481186fb086e16a7d6d06108fc612043836002612feb565b6040518115909202915f818181858888f19350505050158015612068573d5f803e3d5ffd5b508060085f82825461207a9190612e5b565b9091555050305f908152600e60205260409020546001546120bc91670de0b6b3a7640000916120a99190612e48565b6120b4906001612e5b565b839190611f58565b60025f8282546120cc9190612e5b565b90915550610ee790506123a8565b5f73ffffffffffffffffffffffffffffffffffffffff841661217e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff8316612221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610849565b61222c8484846129a4565b73ffffffffffffffffffffffffffffffffffffffff84165f908152600e6020526040902054828110156122e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff8086165f908152600e6020526040808220868503905591861681529081208054859290612324908490612e5b565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161238a91815260200190565b60405180910390a361239d858585612a03565b506001949350505050565b60085447116123b7575f600955565b6008546123c49047612e48565b600955565b73ffffffffffffffffffffffffffffffffffffffff831661246b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff821661250e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526013602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f81848411156125b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108499190612c67565b505050900390565b5f610bf78284612e5b565b73ffffffffffffffffffffffffffffffffffffffff821661266e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610849565b612679825f836129a4565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600e60205260409020548181101561272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff83165f908152600e60205260408120838303905560018054849290612769908490612e48565b90915550506040518281525f9073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36127c6835f84612a03565b505050565b5f6127d4611efd565b5f036128135781156127fa576127ec6012600a612fdd565b610b8590630249f000612feb565b6128066012600a612fdd565b610b859062186a00612feb565b610b856128226012600a612fdd565b610ae0611efd565b73ffffffffffffffffffffffffffffffffffffffff82166128a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610849565b6128b25f83836129a4565b8060015f8282546128c39190612e5b565b9250508190555080600a5f8282546128db9190612e5b565b909155505073ffffffffffffffffffffffffffffffffffffffff82165f908152600e602052604081208054839290612914908490612e5b565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36129715f8383612a03565b5050565b6129993373731591207791a93fb0ec481186fb086e16a7d6d0610990846002612feb565b50610ee733826125cb565b6129ad83612bfa565b6129b682612bfa565b5073ffffffffffffffffffffffffffffffffffffffff9182165f908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600e602052604090205415801590612a4b575073ffffffffffffffffffffffffffffffffffffffff821615155b8015612a6d575073ffffffffffffffffffffffffffffffffffffffff82163014155b8015612aa8575073ffffffffffffffffffffffffffffffffffffffff82165f908152600e602090815260408083205460119092529091205414155b8015612ad6575073ffffffffffffffffffffffffffffffffffffffff82165f90815260116020526040902054155b15612af05760068054905f612aea83613002565b91905055505b73ffffffffffffffffffffffffffffffffffffffff83165f908152600e6020526040902054158015612b37575073ffffffffffffffffffffffffffffffffffffffff831615155b8015612b59575073ffffffffffffffffffffffffffffffffffffffff82163014155b8015612b94575073ffffffffffffffffffffffffffffffffffffffff83165f908152600e602090815260408083205460119092529091205414155b156129b65760068054905f612ba883613039565b91905055505073ffffffffffffffffffffffffffffffffffffffff9182165f908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b612c03816118ec565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526010602052604081208054909190612c37908490612e5b565b909155505060025473ffffffffffffffffffffffffffffffffffffffff9091165f908152600f6020526040902055565b5f602080835283518060208501525f5b81811015612c9357858101830151858201604001528201612c77565b505f6040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b5f60208284031215612ce1575f80fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b70575f80fd5b5f8060408385031215612d1c575f80fd5b612d2583612ce8565b946020939093013593505050565b5f805f60608486031215612d45575f80fd5b612d4e84612ce8565b9250612d5c60208501612ce8565b9150604084013590509250925092565b5f60208284031215612d7c575f80fd5b610bf782612ce8565b5f8060408385031215612d96575f80fd5b612d9f83612ce8565b9150612dad60208401612ce8565b90509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f82612e43577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b81810381811115610b8557610b85612de3565b80820180821115610b8557610b85612de3565b600181811c90821680612e8257607f821691505b602082108103612eb9577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b600181815b80851115612f1857817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612efe57612efe612de3565b80851615612f0b57918102915b93841c9390800290612ec4565b509250929050565b5f82612f2e57506001610b85565b81612f3a57505f610b85565b8160018114612f505760028114612f5a57612f76565b6001915050610b85565b60ff841115612f6b57612f6b612de3565b50506001821b610b85565b5060208310610133831016604e8410600b8410161715612f99575081810a610b85565b612fa38383612ebf565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612fd557612fd5612de3565b029392505050565b5f610bf760ff841683612f20565b8082028115828204841417610b8557610b85612de3565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361303257613032612de3565b5060010190565b5f8161304757613047612de3565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220919330aa2477359816d2b92616e455217a264ac92695bf246623b9606f11aa2764736f6c6343000818003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a54494d4520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454494d4500000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102df575f3560e01c8063734cbb6a11610183578063aadd1b03116100d5578063dcd310c911610089578063f1a10a7e11610063578063f1a10a7e14610778578063fb7e5ad01461078c578063fe9636d3146107a0576102ee565b8063dcd310c9146106ff578063dd62ed3e14610713578063ddca3f4314610764576102ee565b8063b845ead7116100ba578063b845ead7146106a8578063bdeef6db146106d6578063c3497b09146106eb576102ee565b8063aadd1b031461068c578063b52d5b1e14610694576102ee565b806396365d4411610137578063a457c2d711610111578063a457c2d71461062f578063a88f71331461064e578063a9059cbb1461066d576102ee565b806396365d44146105fd578063a2309ff814610612578063a3e7f6dd14610627576102ee565b80638faefa42116101685780638faefa42146105ab578063901362bd146105ca57806395d89b41146105e9576102ee565b8063734cbb6a1461058157806377ec0feb14610596576102ee565b8063395093511161023c578063542d199c116101f0578063685b9325116101ca578063685b93251461050c5780636a089b711461052157806370a0823114610540576102ee565b8063542d199c146104d0578063657b1eb8146104e4578063662fac39146104f8576102ee565b80634003d22e116102215780634003d22e1461045157806342966c6814610465578063454e66c814610484576102ee565b806339509351146104165780633d18651e14610435576102ee565b806318160ddd1161029357806323b872dd1161027857806323b872dd146103c857806324349671146103e7578063313ce567146103fb576102ee565b806318160ddd1461039f578063231b0268146103b3576102ee565b80630774c059116102c45780630774c05914610349578063095ea7b31461036857806310e7b9f214610397576102ee565b80630199c7b21461030057806306fdde0314610328576102ee565b366102ee576102ec6107b5565b005b36156102f8575f80fd5b6102ec6107b5565b34801561030b575f80fd5b5061031560065481565b6040519081526020015b60405180910390f35b348015610333575f80fd5b5061033c610a14565b60405161031f9190612c67565b348015610354575f80fd5b50610315610363366004612cd1565b610aa4565b348015610373575f80fd5b50610387610382366004612d0b565b610b75565b604051901515815260200161031f565b6103876107b5565b3480156103aa575f80fd5b50600154610315565b3480156103be575f80fd5b5061031560035481565b3480156103d3575f80fd5b506103876103e2366004612d33565b610b8b565b3480156103f2575f80fd5b506102ec610bfe565b348015610406575f80fd5b506040516012815260200161031f565b348015610421575f80fd5b50610387610430366004612d0b565b610e9b565b348015610440575f80fd5b506103156802b5e3af16b188000081565b34801561045c575f80fd5b50610315600481565b348015610470575f80fd5b506102ec61047f366004612cd1565b610edd565b34801561048f575f80fd5b506104ab73731591207791a93fb0ec481186fb086e16a7d6d081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161031f565b3480156104db575f80fd5b50610315610eea565b3480156104ef575f80fd5b50610315610f31565b348015610503575f80fd5b506102ec610f4e565b348015610517575f80fd5b5061031560055481565b34801561052c575f80fd5b5061038761053b366004612cd1565b6110d3565b34801561054b575f80fd5b5061031561055a366004612d6c565b73ffffffffffffffffffffffffffffffffffffffff165f908152600e602052604090205490565b34801561058c575f80fd5b5061031560045481565b3480156105a1575f80fd5b5061031560025481565b3480156105b6575f80fd5b506103156105c5366004612cd1565b6113f8565b3480156105d5575f80fd5b506103156105e4366004612d6c565b611495565b3480156105f4575f80fd5b5061033c6114cd565b348015610608575f80fd5b5061031560095481565b34801561061d575f80fd5b50610315600a5481565b6102ec6114dc565b34801561063a575f80fd5b50610387610649366004612d0b565b611892565b348015610659575f80fd5b50610315610668366004612d6c565b6118ec565b348015610678575f80fd5b50610387610687366004612d0b565b611955565b6102ec61198e565b34801561069f575f80fd5b50610315600a81565b3480156106b3575f80fd5b506103876106c2366004612d6c565b600d6020525f908152604090205460ff1681565b3480156106e1575f80fd5b5061031560075481565b3480156106f6575f80fd5b50610315611bda565b34801561070a575f80fd5b506102ec611bf3565b34801561071e575f80fd5b5061031561072d366004612d85565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260136020908152604080832093909416825291909152205490565b34801561076f575f80fd5b50610315611ead565b348015610783575f80fd5b50610315611efd565b348015610797575f80fd5b50610315600281565b3480156107ab575f80fd5b5061031560085481565b5f8054610100900460ff1615610852576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e730000000000000000000000000060648201526084015b60405180910390fd5b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905534156109ea575f6108913460026064611f58565b90505f61089f600483612e10565b90505f6108be6108ae346113f8565b3490670de0b6b3a7640000611f58565b305f908152600e602052604090205490915081111561095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360448201527f756666696369656e7420616d6f756e7420746f207472616465000000000000006064820152608401610849565b61096882612020565b6109953033600461097c8560026064611f58565b6109869190612e10565b6109909085612e48565b6120da565b935061099f6123a8565b6014600454106109b1576004546109bf565b6004546109bf906001612e5b565b600455600554600b106109d4576005546109e3565b60016005546109e39190612e48565b6005555050505b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905590565b6060600b8054610a2390612e6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4f90612e6e565b8015610a9a5780601f10610a7157610100808354040283529160200191610a9a565b820191905f5260205f20905b815481529060010190602001808311610a7d57829003601f168201915b5050505050905090565b5f80600954118015610ac35750305f908152600e602052604090205415155b15610b68575f610af6670de0b6b3a7640000610ae0856001612e5b565b305f908152600e60205260409020549190611f58565b90505f610b4482610b15600554600a88611f589092919063ffffffff16565b305f908152600e6020526040902054610b2e9190612e5b565b600954610b3d90886001611f58565b9190611f58565b305f908152600e6020526040902054909150610b609082612e10565b949350505050565b506001919050565b919050565b5f610b813384846123c9565b5060015b92915050565b5f610b978484846120da565b9050610bf78433610bf28560405180606001604052806028815260200161306e6028913973ffffffffffffffffffffffffffffffffffffffff8a165f908152601360209081526040808320338452909152902054919061257b565b6123c9565b9392505050565b5f54610100900460ff1615610c95576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155610cc9336118ec565b335f90815260106020526040902054909150610ce59082612e5b565b90505f8111610d76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f54494d453a20796f7520646f6e2774206861766520616e7920616d6f756e742060448201527f746f2077697468647261770000000000000000000000000000000000000000006064820152608401610849565b600854811115610e08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f54494d453a207468657265206973206e6f20656e6f7567682062616c616e636560448201527f20746f20736861726500000000000000000000000000000000000000000000006064820152608401610849565b335f908152601060209081526040808320839055600254600f90925282205560088054839290610e39908490612e48565b9091555050604051339082156108fc029083905f818181858888f19350505050158015610e68573d5f803e3d5ffd5b50610e716123a8565b505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b335f81815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610b81918590610bf290866125c0565b610ee733826125cb565b50565b5f610f2c610efa6012600a612fdd565b610f0890630249f000612feb565b610f1260016127cb565b610f1e6012600a612fdd565b610b3d90630249f000612feb565b905090565b610f3d6012600a612fdd565b610f4b90630249f000612feb565b81565b5f54610100900460ff1615610fe5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600d602052604090205460ff16156110aa575f6110516110356012600a612fdd565b335f90815260126020526040902054600190610b3d9043612e48565b905061105d338261282a565b335f8181526012602090815260409182902043908190558251858152918201527fe3984b193af5ec77cff31edaae343c16170c91f8a89ef6accdd4ded0959f1959910160405180910390a2505b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b5f8054610100900460ff161561116b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600e6020526040902054821115611232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f54494d453a207468657265206973206e6f20656e6f7567682074696d6520746f60448201527f207370656e6400000000000000000000000000000000000000000000000000006064820152608401610849565b5f60046112428460026064611f58565b61124c9190612e10565b90505f61126b61125b85610aa4565b8590670de0b6b3a7640000611f58565b90506009548111156112ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360448201527f756666696369656e7420616d6f756e7420746f207472616465000000000000006064820152608401610849565b61130882612975565b6113158260036001611f58565b61131f9085612e48565b935061132c3330866120da565b9250336108fc60046113418460026064611f58565b61134b9190612e10565b6113559084612e48565b6040518115909202915f818181858888f1935050505015801561137a573d5f803e3d5ffd5b506113836123a8565b601460055410611395576005546113a3565b6005546113a3906001612e5b565b600555600454600b106113b8576004546113c7565b60016004546113c79190612e48565b60045550505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055919050565b5f806009541180156114175750305f908152600e602052604090205415155b15610b68575f61143e670de0b6b3a7640000611434856001612e5b565b6009549190611f58565b90505f6114858261145d600454600a88611f589092919063ffffffff16565b60095461146a9190612e5b565b305f908152600e6020526040902054610b3d90886001611f58565b905060095481610b609190612e10565b73ffffffffffffffffffffffffffffffffffffffff81165f908152601060205260408120546114c3836118ec565b610b859190612e5b565b6060600c8054610a2390612e6e565b5f54610100900460ff1615611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001781556115a6611ead565b90505f8134101561167f576115be82600a6064611f58565b90506115ca8183612e48565b34101561167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605b60248201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460448201527f647265737320796f75206e656564206174206c6561737420746865206665652860648201527f2920616d6f756e7420696e206e61746976652063757272656e63790000000000608482015260a401610849565b335f908152600d602052604090205460ff161561171d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54494d453a20746865206164647265737320697320616c726561647920656e6160448201527f626c6564000000000000000000000000000000000000000000000000000000006064820152608401610849565b335f908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556012909152812043905560075434910361178d5761178d3061177b6012600a612fdd565b6117889062186a00612feb565b61282a565b5f61179b8260026064611f58565b90505f6117a9600483612e10565b90506117b481612020565b6117be8284612e48565b92506117cb600284612e10565b60085f8282546117db9190612e5b565b9091555050305f908152600e602052604090205460015461182091670de0b6b3a76400009161180a9190612e48565b611815906001612e5b565b610b3d600287612e10565b60025f8282546118309190612e5b565b90915550506007545f03611848575f60088190556002555b6118506123a8565b60078054905f61185f83613002565b90915550505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050505050565b5f610b813384610bf28560405180606001604052806025815260200161309660259139335f90815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d168452909152902054919061257b565b73ffffffffffffffffffffffffffffffffffffffff81165f908152600f6020526040812054600254610b859161192191612e48565b73ffffffffffffffffffffffffffffffffffffffff84165f908152600e602052604090205490670de0b6b3a7640000611f58565b5f3073ffffffffffffffffffffffffffffffffffffffff8416036119835761197c826110d3565b9050610b85565b610bf73384846120da565b5f54610100900460ff1615611a25576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905534611add576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f54494d453a20706c65617365207370656369667920616e7920616d6f756e742060448201527f796f7520776f756c64206c696b6520746f20646f6e61746500000000000000006064820152608401610849565b60405134815233907f5d8bc849764969eb1bcc6d0a2f55999d0167c1ccec240a4f39cf664ca9c4148e9060200160405180910390a2345f611b218260026064611f58565b90505f611b2f600483612e10565b9050611b3a81612020565b611b448284612e48565b9250611b51600284612e10565b60085f828254611b619190612e5b565b9091555050305f908152600e6020526040902054600154611b9091670de0b6b3a76400009161180a9190612e48565b60025f828254611ba09190612e5b565b90915550611bae90506123a8565b50505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b611be66012600a612fdd565b610f4b9062186a00612feb565b5f54610100900460ff1615611c8a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660448201527f6f7220736563757269747920726561736f6e73000000000000000000000000006064820152608401610849565b5f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155611cbd610eea565b335f908152600e6020526040902054909150811115611d84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152605d60248201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460448201527f647265737320796f75206e656564206174206c6561737420746865206665654960648201527f6e54696d65282920616d6f756e7420696e2054494d4520746f6b656e73000000608482015260a401610849565b335f908152600d602052604090205460ff1615611e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54494d453a20746865206164647265737320697320616c726561647920656e6160448201527f626c6564000000000000000000000000000000000000000000000000000000006064820152608401610849565b611e2c33826125cb565b335f908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055601290915281204390556007805491611e7e83613002565b90915550505f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b5f6007546001611ebd9190612e5b565b611ef3611ecc6012600a612fdd565b611ed99062186a00612feb565b611ee25f6127cb565b6802b5e3af16b18800009190611f58565b610f2c9190612e10565b5f611f0a6012600a612fdd565b611f179062186a00612feb565b600a541115611f5357600354611f2d9043612e48565b611f396012600a612fdd565b611f469062186a00612feb565b600a54611ef39190612e48565b505f90565b5f80807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff858709858702925082811083820303915050805f03611fae57838281611fa457611fa4612db6565b0492505050610bf7565b808411611fb9575f80fd5b5f8486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091025f889003889004909101858311909403939093029303949094049190911702949350505050565b73731591207791a93fb0ec481186fb086e16a7d6d06108fc612043836002612feb565b6040518115909202915f818181858888f19350505050158015612068573d5f803e3d5ffd5b508060085f82825461207a9190612e5b565b9091555050305f908152600e60205260409020546001546120bc91670de0b6b3a7640000916120a99190612e48565b6120b4906001612e5b565b839190611f58565b60025f8282546120cc9190612e5b565b90915550610ee790506123a8565b5f73ffffffffffffffffffffffffffffffffffffffff841661217e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff8316612221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610849565b61222c8484846129a4565b73ffffffffffffffffffffffffffffffffffffffff84165f908152600e6020526040902054828110156122e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff8086165f908152600e6020526040808220868503905591861681529081208054859290612324908490612e5b565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161238a91815260200190565b60405180910390a361239d858585612a03565b506001949350505050565b60085447116123b7575f600955565b6008546123c49047612e48565b600955565b73ffffffffffffffffffffffffffffffffffffffff831661246b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff821661250e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff8381165f8181526013602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f81848411156125b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108499190612c67565b505050900390565b5f610bf78284612e5b565b73ffffffffffffffffffffffffffffffffffffffff821661266e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610849565b612679825f836129a4565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600e60205260409020548181101561272e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610849565b73ffffffffffffffffffffffffffffffffffffffff83165f908152600e60205260408120838303905560018054849290612769908490612e48565b90915550506040518281525f9073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36127c6835f84612a03565b505050565b5f6127d4611efd565b5f036128135781156127fa576127ec6012600a612fdd565b610b8590630249f000612feb565b6128066012600a612fdd565b610b859062186a00612feb565b610b856128226012600a612fdd565b610ae0611efd565b73ffffffffffffffffffffffffffffffffffffffff82166128a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610849565b6128b25f83836129a4565b8060015f8282546128c39190612e5b565b9250508190555080600a5f8282546128db9190612e5b565b909155505073ffffffffffffffffffffffffffffffffffffffff82165f908152600e602052604081208054839290612914908490612e5b565b909155505060405181815273ffffffffffffffffffffffffffffffffffffffff8316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36129715f8383612a03565b5050565b6129993373731591207791a93fb0ec481186fb086e16a7d6d0610990846002612feb565b50610ee733826125cb565b6129ad83612bfa565b6129b682612bfa565b5073ffffffffffffffffffffffffffffffffffffffff9182165f908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b73ffffffffffffffffffffffffffffffffffffffff82165f908152600e602052604090205415801590612a4b575073ffffffffffffffffffffffffffffffffffffffff821615155b8015612a6d575073ffffffffffffffffffffffffffffffffffffffff82163014155b8015612aa8575073ffffffffffffffffffffffffffffffffffffffff82165f908152600e602090815260408083205460119092529091205414155b8015612ad6575073ffffffffffffffffffffffffffffffffffffffff82165f90815260116020526040902054155b15612af05760068054905f612aea83613002565b91905055505b73ffffffffffffffffffffffffffffffffffffffff83165f908152600e6020526040902054158015612b37575073ffffffffffffffffffffffffffffffffffffffff831615155b8015612b59575073ffffffffffffffffffffffffffffffffffffffff82163014155b8015612b94575073ffffffffffffffffffffffffffffffffffffffff83165f908152600e602090815260408083205460119092529091205414155b156129b65760068054905f612ba883613039565b91905055505073ffffffffffffffffffffffffffffffffffffffff9182165f908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b612c03816118ec565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526010602052604081208054909190612c37908490612e5b565b909155505060025473ffffffffffffffffffffffffffffffffffffffff9091165f908152600f6020526040902055565b5f602080835283518060208501525f5b81811015612c9357858101830151858201604001528201612c77565b505f6040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b5f60208284031215612ce1575f80fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b70575f80fd5b5f8060408385031215612d1c575f80fd5b612d2583612ce8565b946020939093013593505050565b5f805f60608486031215612d45575f80fd5b612d4e84612ce8565b9250612d5c60208501612ce8565b9150604084013590509250925092565b5f60208284031215612d7c575f80fd5b610bf782612ce8565b5f8060408385031215612d96575f80fd5b612d9f83612ce8565b9150612dad60208401612ce8565b90509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f82612e43577f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b500490565b81810381811115610b8557610b85612de3565b80820180821115610b8557610b85612de3565b600181811c90821680612e8257607f821691505b602082108103612eb9577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b600181815b80851115612f1857817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612efe57612efe612de3565b80851615612f0b57918102915b93841c9390800290612ec4565b509250929050565b5f82612f2e57506001610b85565b81612f3a57505f610b85565b8160018114612f505760028114612f5a57612f76565b6001915050610b85565b60ff841115612f6b57612f6b612de3565b50506001821b610b85565b5060208310610133831016604e8410600b8410161715612f99575081810a610b85565b612fa38383612ebf565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115612fd557612fd5612de3565b029392505050565b5f610bf760ff841683612f20565b8082028115828204841417610b8557610b85612de3565b5f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361303257613032612de3565b5060010190565b5f8161304757613047612de3565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220919330aa2477359816d2b92616e455217a264ac92695bf246623b9606f11aa2764736f6c63430008180033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a54494d4520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454494d4500000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): TIME Token
Arg [1] : symbol_ (string): TIME

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 54494d4520546f6b656e00000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 54494d4500000000000000000000000000000000000000000000000000000000


Block Transaction 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

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.