ETH Price: $3,255.69 (-4.54%)
Gas: 9 Gwei

Token

TIME Token (TIME)
 

Overview

Max Total Supply

3,102,390.789451621676764035 TIME

Holders

14

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Flashbots: Builder
Balance
0.58 TIME

Value
$0.00
0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TimeToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 2000000 runs

Other Settings:
byzantium EvmVersion
File 1 of 3 : TimeToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.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 TimeToken is IERC20 {

    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 = 0.01 ether; // 10 ether; (Polygon) | 0.1 ether; (BSC) | 20 ether; (Fantom) | 0.01 ether; (Ethereum)
    uint256 public constant COMISSION_RATE = 2;
    uint256 public constant SHARE_RATE = 4;
    uint256 public constant TIME_BASE_LIQUIDITY = 40000 * D; // 200000 * D; (Polygon and BSC) | 400000 * D; (Fantom) | 40000 * D; (Ethereum)
    uint256 public constant TIME_BASE_FEE = 960000 * D; // 4800000 * D; (Polygon and BSC) | 9600000 * D; (Fantom) | 960000 * D; (Ethereum)
    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)] * 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);
        if (block.coinbase == address(0))
            payable(DEVELOPER_ADDRESS).transfer(comissionAmount);
        else
            payable(block.coinbase).transfer(comissionAmount);

        sharedBalance += comissionAmount;
        poolBalance += comissionAmount;
        dividendPerToken += ((comissionAmount * FACTOR) / (_totalSupply - _balances[address(this)] + 1));
    }

    /**
     * @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);
        if (block.coinbase == address(0))
            _transfer(msg.sender, DEVELOPER_ADDRESS, comissionAmount);
        else
            _transfer(msg.sender, block.coinbase, comissionAmount);

        _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 * COMISSION_RATE) / 100;
        uint256 comission = totalComission / SHARE_RATE;
        _payComission(comission);
        remaining -= totalComission;
        sharedBalance += (remaining / 2);
        dividendPerToken += (((remaining / 2) * FACTOR) / (_totalSupply - _balances[address(this)] + 1));
        remaining /= 2;
        poolBalance += remaining;
    }

    /** 
     * @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 * 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 * COMISSION_RATE) / 100);
        uint256 comission = totalComission / SHARE_RATE;
        _payComission(comission);
        remaining -= totalComission;
        sharedBalance += (remaining / 2);
        dividendPerToken += (((remaining / 2) * FACTOR) / (_totalSupply - _balances[address(this)] + 1));
        remaining /= 2;
        poolBalance += remaining;
        if (numberOfMiners == 0) {
            poolBalance += sharedBalance;
            sharedBalance = 0;
            dividendPerToken = 0;
        }
        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 * 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 * 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]) * D;
            _mint(msg.sender, miningAmount);
            if (block.coinbase != address(0))
                _mint(block.coinbase, (miningAmount / 100));
            _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 * COMISSION_RATE) / 100);
            uint256 comission = totalComission / SHARE_RATE;
            uint256 nativeAmountTimeValue = (msg.value * 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 * COMISSION_RATE) / 100) / SHARE_RATE));
            poolBalance += (msg.value - totalComission);
            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 * COMISSION_RATE) / 100) / SHARE_RATE;
        uint256 timeAmountNativeValue = (timeAmount * swapPriceTimeInverse(timeAmount)) / FACTOR;
        require(timeAmountNativeValue <= poolBalance, "TIME: the pool does not have a sufficient amount to trade");
        _payComissionInTime(comission);
        timeAmount -= comission.mul(3);
        success = _transfer(msg.sender, address(this), timeAmount);
        poolBalance -= timeAmountNativeValue;
        payable(msg.sender).transfer(timeAmountNativeValue - (((timeAmountNativeValue * COMISSION_RATE) / 100) / SHARE_RATE));
        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 * FACTOR) / (amountNative + 1);
            uint256 deltaSupply = (_balances[address(this)] * amountNative * ratio) / (poolBalance + ((amountNative * 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)] * FACTOR) / (amountTime + 1);
            uint256 deltaBalance = (poolBalance * amountTime * ratio) / (_balances[address(this)] + ((amountTime * 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] * (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);
    }
}

File 2 of 3 : 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 3 : 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
{
  "evmVersion": "byzantium",
  "optimizer": {
    "enabled": true,
    "runs": 2000000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"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"}]

60806040526000805460ff19169055600b60045560146005553480156200002557600080fd5b50604051620034a7380380620034a78339810160408190526200004891620001d1565b81516200005d90600b90602085019062000080565b5080516200007390600c90602084019062000080565b50504360035550620002bd565b8280546200008e9062000238565b90600052602060002090601f016020900481019282620000b25760008555620000fd565b82601f10620000cd57805160ff1916838001178555620000fd565b82800160010185558215620000fd579182015b82811115620000fd578251825591602001919060010190620000e0565b506200010b9291506200010f565b5090565b5b808211156200010b576000815560010162000110565b600082601f83011262000137578081fd5b81516001604060020a03808211156200015457620001546200028e565b6040516020601f8401601f19168201810183811183821017156200017c576200017c6200028e565b604052838252858401810187101562000193578485fd5b8492505b83831015620001b6578583018101518284018201529182019162000197565b83831115620001c757848185840101525b5095945050505050565b60008060408385031215620001e4578182fd5b82516001604060020a0380821115620001fb578384fd5b620002098683870162000126565b935060208501519150808211156200021f578283fd5b506200022e8582860162000126565b9150509250929050565b6002810460018216806200024d57607f821691505b6020821081141562000288577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131da80620002cd6000396000f3fe6080604052600436106102fd576000357c010000000000000000000000000000000000000000000000000000000090048063734cbb6a116101a1578063aadd1b03116100f3578063dcd310c9116100a7578063f1a10a7e11610081578063f1a10a7e14610727578063fb7e5ad01461073c578063fe9636d3146107515761030d565b8063dcd310c9146106dd578063dd62ed3e146106f2578063ddca3f43146107125761030d565b8063b845ead7116100d8578063b845ead714610693578063bdeef6db146106b3578063c3497b09146106c85761030d565b8063aadd1b0314610676578063b52d5b1e1461067e5761030d565b806396365d4411610155578063a457c2d71161012f578063a457c2d714610616578063a88f713314610636578063a9059cbb146106565761030d565b806396365d44146105e4578063a2309ff8146105f9578063a3e7f6dd1461060e5761030d565b80638faefa42116101865780638faefa421461058f578063901362bd146105af57806395d89b41146105cf5761030d565b8063734cbb6a1461056557806377ec0feb1461057a5761030d565b8063395093511161025a578063542d199c1161020e578063685b9325116101e8578063685b9325146105105780636a089b711461052557806370a08231146105455761030d565b8063542d199c146104d1578063657b1eb8146104e6578063662fac39146104fb5761030d565b80634003d22e1161023f5780634003d22e1461047a57806342966c681461048f578063454e66c8146104af5761030d565b806339509351146104455780633d18651e146104655761030d565b806318160ddd116102b157806323b872dd1161029657806323b872dd146103ec578063243496711461040c578063313ce567146104235761030d565b806318160ddd146103c2578063231b0268146103d75761030d565b80630774c059116102e25780630774c0591461036d578063095ea7b31461038d57806310e7b9f2146103ba5761030d565b80630199c7b21461032057806306fdde031461034b5761030d565b3661030d5761030a610766565b50005b361561031857600080fd5b61030a610766565b34801561032c57600080fd5b5061033561095a565b6040516103429190612e65565b60405180910390f35b34801561035757600080fd5b50610360610960565b60405161034291906127a1565b34801561037957600080fd5b5061033561038836600461275d565b6109f3565b34801561039957600080fd5b506103ad6103a8366004612734565b610add565b6040516103429190612796565b6103ad610766565b3480156103ce57600080fd5b50610335610af4565b3480156103e357600080fd5b50610335610afa565b3480156103f857600080fd5b506103ad6104073660046126f9565b610b00565b34801561041857600080fd5b50610421610b75565b005b34801561042f57600080fd5b50610438610d11565b6040516103429190612e7c565b34801561045157600080fd5b506103ad610460366004612734565b610d16565b34801561047157600080fd5b50610335610d59565b34801561048657600080fd5b50610335610d64565b34801561049b57600080fd5b506104216104aa36600461275d565b610d69565b3480156104bb57600080fd5b506104c4610d76565b6040516103429190612775565b3480156104dd57600080fd5b50610335610d8e565b3480156104f257600080fd5b50610335610de5565b34801561050757600080fd5b50610421610e01565b34801561051c57600080fd5b50610335610f56565b34801561053157600080fd5b506103ad61054036600461275d565b610f5c565b34801561055157600080fd5b506103356105603660046126ad565b6111b3565b34801561057157600080fd5b506103356111db565b34801561058657600080fd5b506103356111e1565b34801561059b57600080fd5b506103356105aa36600461275d565b6111e7565b3480156105bb57600080fd5b506103356105ca3660046126ad565b6112a6565b3480156105db57600080fd5b506103606112df565b3480156105f057600080fd5b506103356112ee565b34801561060557600080fd5b506103356112f4565b6104216112fa565b34801561062257600080fd5b506103ad610631366004612734565b6115e6565b34801561064257600080fd5b506103356106513660046126ad565b611642565b34801561066257600080fd5b506103ad610671366004612734565b6116b8565b6104216116f3565b34801561068a57600080fd5b506103356118ff565b34801561069f57600080fd5b506103ad6106ae3660046126ad565b611904565b3480156106bf57600080fd5b50610335611919565b3480156106d457600080fd5b5061033561191f565b3480156106e957600080fd5b50610421611937565b3480156106fe57600080fd5b5061033561070d3660046126c7565b611ad0565b34801561071e57600080fd5b50610335611b08565b34801561073357600080fd5b50610335611b56565b34801561074857600080fd5b50610335611bc4565b34801561075d57600080fd5b50610335611bc9565b60008054610100900460ff16156107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055341561092f57600060646107f3600234613012565b6107fd9190612ea2565b9050600061080c600483612ea2565b90506000670de0b6b3a7640000610822346111e7565b61082c9034613012565b6108369190612ea2565b306000908152600e6020526040902054909150811115610882576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf1565b61088b82611bcf565b6108c230336004606461089f600287613012565b6108a99190612ea2565b6108b39190612ea2565b6108bd908561304f565b611d19565b93506108ce833461304f565b600960008282546108df9190612e8a565b90915550506004546014116108f657600454610904565b600454610904906001612e8a565b600455600554600b1061091957600554610928565b6001600554610928919061304f565b6005555050505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905590565b60065481565b6060600b805461096f9061309b565b80601f016020809104026020016040519081016040528092919081815260200182805461099b9061309b565b80156109e85780601f106109bd576101008083540402835291602001916109e8565b820191906000526020600020905b8154815290600101906020018083116109cb57829003601f168201915b505050505090505b90565b600080600954118015610a145750306000908152600e602052604090205415155b15610ad4576000610a26836001612e8a565b306000908152600e6020526040902054610a4990670de0b6b3a764000090613012565b610a539190612ea2565b90506000600a60055485610a679190613012565b610a719190612ea2565b306000908152600e6020526040902054610a8b9190612e8a565b8285600954610a9a9190613012565b610aa49190613012565b610aae9190612ea2565b306000908152600e6020526040902054909150610acb9082612ea2565b92505050610ad8565b5060015b919050565b6000610aea338484611ee6565b5060015b92915050565b60015490565b60035481565b6000610b0d848484611d19565b9050610b6e8433610b69856040518060600160405280602881526020016131586028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526013602090815260408083203384529091529020549190611ff5565b611ee6565b9392505050565b600054610100900460ff1615610bb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155610bec33611642565b33600090815260106020526040902054909150610c099082612e8a565b905060008111610c45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a99061286f565b600854811115610c81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906129e3565b336000908152601060209081526040808320839055600254600f90925282205560088054839290610cb390849061304f565b9091555050604051339082156108fc029083906000818181858888f19350505050158015610ce5573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b601290565b33600081815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610aea918590610b69908661203b565b662386f26fc1000081565b600481565b610d733382612047565b50565b73731591207791a93fb0ec481186fb086e16a7d6d081565b6000610d9a60016121a5565b610da66012600a612f23565b610db390620ea600613012565b610dbf6012600a612f23565b610dcc90620ea600613012565b610dd69190613012565b610de09190612ea2565b905090565b610df16012600a612f23565b610dfe90620ea600613012565b81565b600054610100900460ff1615610e43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600d602052604090205460ff1615610f2c576000610e926012600a612f23565b33600090815260126020526040902054610eac904361304f565b610eb69190613012565b9050610ec23382612229565b4115610edc57610edc41610ed7606484612ea2565b612229565b3360008181526012602052604090819020439081905590517fe3984b193af5ec77cff31edaae343c16170c91f8a89ef6accdd4ded0959f195991610f2291859190612e6e565b60405180910390a2505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b60055481565b60008054610100900460ff1615610f9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600e6020526040902054821115611011576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906128cc565b600060046064611022600286613012565b61102c9190612ea2565b6110369190612ea2565b90506000670de0b6b3a764000061104c856109f3565b6110569086613012565b6110609190612ea2565b905060095481111561109e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf1565b6110a78261234f565b6110b28260036123af565b6110bc908561304f565b93506110c9333086611d19565b925080600960008282546110dd919061304f565b909155503390506108fc600460646110f6600286613012565b6111009190612ea2565b61110a9190612ea2565b611114908461304f565b6040518115909202916000818181858888f1935050505015801561113c573d6000803e3d6000fd5b5060146005541061114f5760055461115d565b60055461115d906001612e8a565b600555600454600b1061117257600454611181565b6001600454611181919061304f565b6004555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055919050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602052604090205490565b60045481565b60025481565b6000806009541180156112085750306000908152600e602052604090205415155b15610ad457600061121a836001612e8a565b670de0b6b3a76400006009546112309190613012565b61123a9190612ea2565b90506000600a6004548561124e9190613012565b6112589190612ea2565b6009546112659190612e8a565b306000908152600e60205260409020548390611282908790613012565b61128c9190613012565b6112969190612ea2565b905060095481610acb9190612ea2565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601060205260408120546112d583611642565b610aee9190612e8a565b6060600c805461096f9061309b565b60095481565b600a5481565b600054610100900460ff161561133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155611370611b08565b90506000813410156113d8576064611389600a84613012565b6113939190612ea2565b905061139f818361304f565b3410156113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b57565b336000908152600d602052604090205460ff1615611422576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a9d565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560129091529020439055600754349061148c5761148c306114806012600a612f23565b610ed790619c40613012565b6000606461149b600284613012565b6114a59190612ea2565b905060006114b4600483612ea2565b90506114bf81611bcf565b6114c9828461304f565b92506114d6600284612ea2565b600860008282546114e79190612e8a565b9091555050306000908152600e6020526040902054600154611509919061304f565b611514906001612e8a565b670de0b6b3a7640000611528600286612ea2565b6115329190613012565b61153c9190612ea2565b6002600082825461154d9190612e8a565b9091555061155e9050600284612ea2565b925082600960008282546115729190612e8a565b90915550506007546115a257600854600960008282546115929190612e8a565b9091555050600060088190556002555b600780549060006115b2836130ef565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050505050565b6000610aea3384610b69856040518060600160405280602581526020016131806025913933600090815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529020549190611ff5565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600f6020526040812054600254670de0b6b3a76400009161167e9161304f565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e60205260409020546116ae9190613012565b610aee9190612ea2565b600073ffffffffffffffffffffffffffffffffffffffff83163014156116e8576116e182610f5c565b9050610aee565b610b6e338484611d19565b600054610100900460ff1615611735576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905534611798576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612d4e565b3373ffffffffffffffffffffffffffffffffffffffff167f5d8bc849764969eb1bcc6d0a2f55999d0167c1ccec240a4f39cf664ca9c4148e346040516117de9190612e65565b60405180910390a234600060646117f6600284613012565b6118009190612ea2565b9050600061180f600483612ea2565b905061181a81611bcf565b611824828461304f565b9250611831600284612ea2565b600860008282546118429190612e8a565b9091555050306000908152600e6020526040902054600154611864919061304f565b61186f906001612e8a565b670de0b6b3a7640000611883600286612ea2565b61188d9190613012565b6118979190612ea2565b600260008282546118a89190612e8a565b909155506118b99050600284612ea2565b925082600960008282546118cd9190612e8a565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055505050565b600a81565b600d6020526000908152604090205460ff1681565b60075481565b61192b6012600a612f23565b610dfe90619c40613012565b600054610100900460ff1615611979576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001781556119ad610d8e565b336000908152600e60205260409020549091508111156119f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612de2565b336000908152600d602052604090205460ff1615611a43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a9d565b611a4d3382612047565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055601290915281204390556007805491611aa0836130ef565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260136020908152604080832093909416825291909152205490565b60006007546001611b199190612e8a565b611b2360006121a5565b611b2f6012600a612f23565b611b3b90619c40613012565b611b4c90662386f26fc10000613012565b610dd69190612ea2565b6000611b646012600a612f23565b611b7090619c40613012565b600a541115611bbc57600354611b86904361304f565b611b926012600a612f23565b611b9e90619c40613012565b600a54611bab919061304f565b611bb59190612ea2565b90506109f0565b5060006109f0565b600281565b60085481565b60405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c10573d6000803e3d6000fd5b5041611c5d5760405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c57573d6000803e3d6000fd5b50611c8c565b604051419082156108fc029083906000818181858888f19350505050158015611c8a573d6000803e3d6000fd5b505b8060086000828254611c9e9190612e8a565b925050819055508060096000828254611cb79190612e8a565b9091555050306000908152600e6020526040902054600154611cd9919061304f565b611ce4906001612e8a565b611cf6670de0b6b3a764000083613012565b611d009190612ea2565b60026000828254611d119190612e8a565b909155505050565b600073ffffffffffffffffffffffffffffffffffffffff8416611d68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c37565b73ffffffffffffffffffffffffffffffffffffffff8316611db5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612812565b611dc08484846123bb565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e602052604090205482811015611e20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a40565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600e6020526040808220868503905591861681529081208054859290611e64908490612e8a565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611ec89190612e65565b60405180910390a3611edb85858561241b565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8316611f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c94565b73ffffffffffffffffffffffffffffffffffffffff8216611f80576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612986565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526013602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611fe8908590612e65565b60405180910390a3505050565b60008184841115612033576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a991906127a1565b505050900390565b6000610b6e8284612e8a565b73ffffffffffffffffffffffffffffffffffffffff8216612094576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612bda565b6120a0826000836123bb565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604090205481811015612100576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612929565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e6020526040812083830390556001805484929061213c90849061304f565b909155505060405160009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061218c908690612e65565b60405180910390a36121a08360008461241b565b505050565b60006121af611b56565b6121f15781156121d9576121c56012600a612f23565b6121d290620ea600613012565b9050610ad8565b6121e56012600a612f23565b6121d290619c40613012565b6121f9611b56565b6122056012600a612f23565b306000908152600e602052604090205461221f9190613012565b6121d29190612ea2565b73ffffffffffffffffffffffffffffffffffffffff8216612276576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612dab565b612282600083836123bb565b80600160008282546122949190612e8a565b9250508190555080600a60008282546122ad9190612e8a565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600e6020526040812080548392906122e7908490612e8a565b909155505060405173ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612337908590612e65565b60405180910390a361234b6000838361241b565b5050565b61236e3373731591207791a93fb0ec481186fb086e16a7d6d083611d19565b5041612399576123933373731591207791a93fb0ec481186fb086e16a7d6d083611d19565b50610d69565b6123a4334183611d19565b50610d733382612047565b6000610b6e8284613012565b6123c48361261a565b6123cd8261261a565b5073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604090205415801590612464575073ffffffffffffffffffffffffffffffffffffffff821615155b8015612486575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156124c2575073ffffffffffffffffffffffffffffffffffffffff82166000908152600e602090815260408083205460119092529091205414155b80156124f1575073ffffffffffffffffffffffffffffffffffffffff8216600090815260116020526040902054155b1561250c5760068054906000612506836130ef565b91905055505b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e6020526040902054158015612554575073ffffffffffffffffffffffffffffffffffffffff831615155b8015612576575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156125b2575073ffffffffffffffffffffffffffffffffffffffff83166000908152600e602090815260408083205460119092529091205414155b156123cd57600680549060006125c783613066565b91905055505073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b61262381611642565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054909190612658908490612e8a565b909155505060025473ffffffffffffffffffffffffffffffffffffffff9091166000908152600f6020526040902055565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ad857600080fd5b6000602082840312156126be578081fd5b610b6e82612689565b600080604083850312156126d9578081fd5b6126e283612689565b91506126f060208401612689565b90509250929050565b60008060006060848603121561270d578081fd5b61271684612689565b925061272460208501612689565b9150604084013590509250925092565b60008060408385031215612746578182fd5b61274f83612689565b946020939093013593505050565b60006020828403121561276e578081fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156127cd578581018301518582016040015282016127b1565b818111156127de5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f54494d453a20796f7520646f6e2774206861766520616e7920616d6f756e742060408201527f746f207769746864726177000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f54494d453a207468657265206973206e6f20656e6f7567682074696d6520746f60408201527f207370656e640000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60408201527f6365000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f54494d453a207468657265206973206e6f20656e6f7567682062616c616e636560408201527f20746f2073686172650000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f54494d453a20746865206164647265737320697320616c726561647920656e6160408201527f626c656400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526033908201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660408201527f6f7220736563757269747920726561736f6e7300000000000000000000000000606082015260800190565b6020808252605b908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665652860608201527f2920616d6f756e7420696e206e61746976652063757272656e63790000000000608082015260a00190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526039908201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360408201527f756666696369656e7420616d6f756e7420746f20747261646500000000000000606082015260800190565b60208082526038908201527f54494d453a20706c65617365207370656369667920616e7920616d6f756e742060408201527f796f7520776f756c64206c696b6520746f20646f6e6174650000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252605d908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665654960608201527f6e54696d65282920616d6f756e7420696e2054494d4520746f6b656e73000000608082015260a00190565b90815260200190565b918252602082015260400190565b60ff91909116815260200190565b60008219821115612e9d57612e9d613128565b500190565b600082612ed6577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b80825b6001808611612eed5750612f1a565b818704821115612eff57612eff613128565b80861615612f0c57918102915b506002909404938002612ede565b94509492505050565b6000610b6e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60ff851684600082612f5d57506001610b6e565b81612f6a57506000610b6e565b8160018114612f805760028114612f8a57612fb7565b6001915050610b6e565b60ff841115612f9b57612f9b613128565b8360020a915084821115612fb157612fb1613128565b50610b6e565b5060208310610133831016604e8410600b8410161715612fea575081810a83811115612fe557612fe5613128565b610b6e565b612ff78484846001612edb565b80860482111561300957613009613128565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561304a5761304a613128565b500290565b60008282101561306157613061613128565b500390565b60008161307557613075613128565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6002810460018216806130af57607f821691505b602082108114156130e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561312157613121613128565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d64cdd61978e22ae69dcb579d8e53bdbe64b47367d14563f416e45be8f25068c64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a54494d4520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454494d4500000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102fd576000357c010000000000000000000000000000000000000000000000000000000090048063734cbb6a116101a1578063aadd1b03116100f3578063dcd310c9116100a7578063f1a10a7e11610081578063f1a10a7e14610727578063fb7e5ad01461073c578063fe9636d3146107515761030d565b8063dcd310c9146106dd578063dd62ed3e146106f2578063ddca3f43146107125761030d565b8063b845ead7116100d8578063b845ead714610693578063bdeef6db146106b3578063c3497b09146106c85761030d565b8063aadd1b0314610676578063b52d5b1e1461067e5761030d565b806396365d4411610155578063a457c2d71161012f578063a457c2d714610616578063a88f713314610636578063a9059cbb146106565761030d565b806396365d44146105e4578063a2309ff8146105f9578063a3e7f6dd1461060e5761030d565b80638faefa42116101865780638faefa421461058f578063901362bd146105af57806395d89b41146105cf5761030d565b8063734cbb6a1461056557806377ec0feb1461057a5761030d565b8063395093511161025a578063542d199c1161020e578063685b9325116101e8578063685b9325146105105780636a089b711461052557806370a08231146105455761030d565b8063542d199c146104d1578063657b1eb8146104e6578063662fac39146104fb5761030d565b80634003d22e1161023f5780634003d22e1461047a57806342966c681461048f578063454e66c8146104af5761030d565b806339509351146104455780633d18651e146104655761030d565b806318160ddd116102b157806323b872dd1161029657806323b872dd146103ec578063243496711461040c578063313ce567146104235761030d565b806318160ddd146103c2578063231b0268146103d75761030d565b80630774c059116102e25780630774c0591461036d578063095ea7b31461038d57806310e7b9f2146103ba5761030d565b80630199c7b21461032057806306fdde031461034b5761030d565b3661030d5761030a610766565b50005b361561031857600080fd5b61030a610766565b34801561032c57600080fd5b5061033561095a565b6040516103429190612e65565b60405180910390f35b34801561035757600080fd5b50610360610960565b60405161034291906127a1565b34801561037957600080fd5b5061033561038836600461275d565b6109f3565b34801561039957600080fd5b506103ad6103a8366004612734565b610add565b6040516103429190612796565b6103ad610766565b3480156103ce57600080fd5b50610335610af4565b3480156103e357600080fd5b50610335610afa565b3480156103f857600080fd5b506103ad6104073660046126f9565b610b00565b34801561041857600080fd5b50610421610b75565b005b34801561042f57600080fd5b50610438610d11565b6040516103429190612e7c565b34801561045157600080fd5b506103ad610460366004612734565b610d16565b34801561047157600080fd5b50610335610d59565b34801561048657600080fd5b50610335610d64565b34801561049b57600080fd5b506104216104aa36600461275d565b610d69565b3480156104bb57600080fd5b506104c4610d76565b6040516103429190612775565b3480156104dd57600080fd5b50610335610d8e565b3480156104f257600080fd5b50610335610de5565b34801561050757600080fd5b50610421610e01565b34801561051c57600080fd5b50610335610f56565b34801561053157600080fd5b506103ad61054036600461275d565b610f5c565b34801561055157600080fd5b506103356105603660046126ad565b6111b3565b34801561057157600080fd5b506103356111db565b34801561058657600080fd5b506103356111e1565b34801561059b57600080fd5b506103356105aa36600461275d565b6111e7565b3480156105bb57600080fd5b506103356105ca3660046126ad565b6112a6565b3480156105db57600080fd5b506103606112df565b3480156105f057600080fd5b506103356112ee565b34801561060557600080fd5b506103356112f4565b6104216112fa565b34801561062257600080fd5b506103ad610631366004612734565b6115e6565b34801561064257600080fd5b506103356106513660046126ad565b611642565b34801561066257600080fd5b506103ad610671366004612734565b6116b8565b6104216116f3565b34801561068a57600080fd5b506103356118ff565b34801561069f57600080fd5b506103ad6106ae3660046126ad565b611904565b3480156106bf57600080fd5b50610335611919565b3480156106d457600080fd5b5061033561191f565b3480156106e957600080fd5b50610421611937565b3480156106fe57600080fd5b5061033561070d3660046126c7565b611ad0565b34801561071e57600080fd5b50610335611b08565b34801561073357600080fd5b50610335611b56565b34801561074857600080fd5b50610335611bc4565b34801561075d57600080fd5b50610335611bc9565b60008054610100900460ff16156107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055341561092f57600060646107f3600234613012565b6107fd9190612ea2565b9050600061080c600483612ea2565b90506000670de0b6b3a7640000610822346111e7565b61082c9034613012565b6108369190612ea2565b306000908152600e6020526040902054909150811115610882576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf1565b61088b82611bcf565b6108c230336004606461089f600287613012565b6108a99190612ea2565b6108b39190612ea2565b6108bd908561304f565b611d19565b93506108ce833461304f565b600960008282546108df9190612e8a565b90915550506004546014116108f657600454610904565b600454610904906001612e8a565b600455600554600b1061091957600554610928565b6001600554610928919061304f565b6005555050505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905590565b60065481565b6060600b805461096f9061309b565b80601f016020809104026020016040519081016040528092919081815260200182805461099b9061309b565b80156109e85780601f106109bd576101008083540402835291602001916109e8565b820191906000526020600020905b8154815290600101906020018083116109cb57829003601f168201915b505050505090505b90565b600080600954118015610a145750306000908152600e602052604090205415155b15610ad4576000610a26836001612e8a565b306000908152600e6020526040902054610a4990670de0b6b3a764000090613012565b610a539190612ea2565b90506000600a60055485610a679190613012565b610a719190612ea2565b306000908152600e6020526040902054610a8b9190612e8a565b8285600954610a9a9190613012565b610aa49190613012565b610aae9190612ea2565b306000908152600e6020526040902054909150610acb9082612ea2565b92505050610ad8565b5060015b919050565b6000610aea338484611ee6565b5060015b92915050565b60015490565b60035481565b6000610b0d848484611d19565b9050610b6e8433610b69856040518060600160405280602881526020016131586028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526013602090815260408083203384529091529020549190611ff5565b611ee6565b9392505050565b600054610100900460ff1615610bb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155610bec33611642565b33600090815260106020526040902054909150610c099082612e8a565b905060008111610c45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a99061286f565b600854811115610c81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906129e3565b336000908152601060209081526040808320839055600254600f90925282205560088054839290610cb390849061304f565b9091555050604051339082156108fc029083906000818181858888f19350505050158015610ce5573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b601290565b33600081815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610aea918590610b69908661203b565b662386f26fc1000081565b600481565b610d733382612047565b50565b73731591207791a93fb0ec481186fb086e16a7d6d081565b6000610d9a60016121a5565b610da66012600a612f23565b610db390620ea600613012565b610dbf6012600a612f23565b610dcc90620ea600613012565b610dd69190613012565b610de09190612ea2565b905090565b610df16012600a612f23565b610dfe90620ea600613012565b81565b600054610100900460ff1615610e43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600d602052604090205460ff1615610f2c576000610e926012600a612f23565b33600090815260126020526040902054610eac904361304f565b610eb69190613012565b9050610ec23382612229565b4115610edc57610edc41610ed7606484612ea2565b612229565b3360008181526012602052604090819020439081905590517fe3984b193af5ec77cff31edaae343c16170c91f8a89ef6accdd4ded0959f195991610f2291859190612e6e565b60405180910390a2505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b60055481565b60008054610100900460ff1615610f9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600e6020526040902054821115611011576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906128cc565b600060046064611022600286613012565b61102c9190612ea2565b6110369190612ea2565b90506000670de0b6b3a764000061104c856109f3565b6110569086613012565b6110609190612ea2565b905060095481111561109e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf1565b6110a78261234f565b6110b28260036123af565b6110bc908561304f565b93506110c9333086611d19565b925080600960008282546110dd919061304f565b909155503390506108fc600460646110f6600286613012565b6111009190612ea2565b61110a9190612ea2565b611114908461304f565b6040518115909202916000818181858888f1935050505015801561113c573d6000803e3d6000fd5b5060146005541061114f5760055461115d565b60055461115d906001612e8a565b600555600454600b1061117257600454611181565b6001600454611181919061304f565b6004555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055919050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602052604090205490565b60045481565b60025481565b6000806009541180156112085750306000908152600e602052604090205415155b15610ad457600061121a836001612e8a565b670de0b6b3a76400006009546112309190613012565b61123a9190612ea2565b90506000600a6004548561124e9190613012565b6112589190612ea2565b6009546112659190612e8a565b306000908152600e60205260409020548390611282908790613012565b61128c9190613012565b6112969190612ea2565b905060095481610acb9190612ea2565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601060205260408120546112d583611642565b610aee9190612e8a565b6060600c805461096f9061309b565b60095481565b600a5481565b600054610100900460ff161561133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155611370611b08565b90506000813410156113d8576064611389600a84613012565b6113939190612ea2565b905061139f818361304f565b3410156113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b57565b336000908152600d602052604090205460ff1615611422576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a9d565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560129091529020439055600754349061148c5761148c306114806012600a612f23565b610ed790619c40613012565b6000606461149b600284613012565b6114a59190612ea2565b905060006114b4600483612ea2565b90506114bf81611bcf565b6114c9828461304f565b92506114d6600284612ea2565b600860008282546114e79190612e8a565b9091555050306000908152600e6020526040902054600154611509919061304f565b611514906001612e8a565b670de0b6b3a7640000611528600286612ea2565b6115329190613012565b61153c9190612ea2565b6002600082825461154d9190612e8a565b9091555061155e9050600284612ea2565b925082600960008282546115729190612e8a565b90915550506007546115a257600854600960008282546115929190612e8a565b9091555050600060088190556002555b600780549060006115b2836130ef565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050505050565b6000610aea3384610b69856040518060600160405280602581526020016131806025913933600090815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529020549190611ff5565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600f6020526040812054600254670de0b6b3a76400009161167e9161304f565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e60205260409020546116ae9190613012565b610aee9190612ea2565b600073ffffffffffffffffffffffffffffffffffffffff83163014156116e8576116e182610f5c565b9050610aee565b610b6e338484611d19565b600054610100900460ff1615611735576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661010017905534611798576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612d4e565b3373ffffffffffffffffffffffffffffffffffffffff167f5d8bc849764969eb1bcc6d0a2f55999d0167c1ccec240a4f39cf664ca9c4148e346040516117de9190612e65565b60405180910390a234600060646117f6600284613012565b6118009190612ea2565b9050600061180f600483612ea2565b905061181a81611bcf565b611824828461304f565b9250611831600284612ea2565b600860008282546118429190612e8a565b9091555050306000908152600e6020526040902054600154611864919061304f565b61186f906001612e8a565b670de0b6b3a7640000611883600286612ea2565b61188d9190613012565b6118979190612ea2565b600260008282546118a89190612e8a565b909155506118b99050600284612ea2565b925082600960008282546118cd9190612e8a565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055505050565b600a81565b600d6020526000908152604090205460ff1681565b60075481565b61192b6012600a612f23565b610dfe90619c40613012565b600054610100900460ff1615611979576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612afa565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001781556119ad610d8e565b336000908152600e60205260409020549091508111156119f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612de2565b336000908152600d602052604090205460ff1615611a43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a9d565b611a4d3382612047565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055601290915281204390556007805491611aa0836130ef565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260136020908152604080832093909416825291909152205490565b60006007546001611b199190612e8a565b611b2360006121a5565b611b2f6012600a612f23565b611b3b90619c40613012565b611b4c90662386f26fc10000613012565b610dd69190612ea2565b6000611b646012600a612f23565b611b7090619c40613012565b600a541115611bbc57600354611b86904361304f565b611b926012600a612f23565b611b9e90619c40613012565b600a54611bab919061304f565b611bb59190612ea2565b90506109f0565b5060006109f0565b600281565b60085481565b60405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c10573d6000803e3d6000fd5b5041611c5d5760405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c57573d6000803e3d6000fd5b50611c8c565b604051419082156108fc029083906000818181858888f19350505050158015611c8a573d6000803e3d6000fd5b505b8060086000828254611c9e9190612e8a565b925050819055508060096000828254611cb79190612e8a565b9091555050306000908152600e6020526040902054600154611cd9919061304f565b611ce4906001612e8a565b611cf6670de0b6b3a764000083613012565b611d009190612ea2565b60026000828254611d119190612e8a565b909155505050565b600073ffffffffffffffffffffffffffffffffffffffff8416611d68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c37565b73ffffffffffffffffffffffffffffffffffffffff8316611db5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612812565b611dc08484846123bb565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e602052604090205482811015611e20576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a40565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600e6020526040808220868503905591861681529081208054859290611e64908490612e8a565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611ec89190612e65565b60405180910390a3611edb85858561241b565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8316611f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c94565b73ffffffffffffffffffffffffffffffffffffffff8216611f80576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612986565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526013602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611fe8908590612e65565b60405180910390a3505050565b60008184841115612033576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a991906127a1565b505050900390565b6000610b6e8284612e8a565b73ffffffffffffffffffffffffffffffffffffffff8216612094576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612bda565b6120a0826000836123bb565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604090205481811015612100576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612929565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e6020526040812083830390556001805484929061213c90849061304f565b909155505060405160009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061218c908690612e65565b60405180910390a36121a08360008461241b565b505050565b60006121af611b56565b6121f15781156121d9576121c56012600a612f23565b6121d290620ea600613012565b9050610ad8565b6121e56012600a612f23565b6121d290619c40613012565b6121f9611b56565b6122056012600a612f23565b306000908152600e602052604090205461221f9190613012565b6121d29190612ea2565b73ffffffffffffffffffffffffffffffffffffffff8216612276576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612dab565b612282600083836123bb565b80600160008282546122949190612e8a565b9250508190555080600a60008282546122ad9190612e8a565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600e6020526040812080548392906122e7908490612e8a565b909155505060405173ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612337908590612e65565b60405180910390a361234b6000838361241b565b5050565b61236e3373731591207791a93fb0ec481186fb086e16a7d6d083611d19565b5041612399576123933373731591207791a93fb0ec481186fb086e16a7d6d083611d19565b50610d69565b6123a4334183611d19565b50610d733382612047565b6000610b6e8284613012565b6123c48361261a565b6123cd8261261a565b5073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604090205415801590612464575073ffffffffffffffffffffffffffffffffffffffff821615155b8015612486575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156124c2575073ffffffffffffffffffffffffffffffffffffffff82166000908152600e602090815260408083205460119092529091205414155b80156124f1575073ffffffffffffffffffffffffffffffffffffffff8216600090815260116020526040902054155b1561250c5760068054906000612506836130ef565b91905055505b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e6020526040902054158015612554575073ffffffffffffffffffffffffffffffffffffffff831615155b8015612576575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156125b2575073ffffffffffffffffffffffffffffffffffffffff83166000908152600e602090815260408083205460119092529091205414155b156123cd57600680549060006125c783613066565b91905055505073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b61262381611642565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054909190612658908490612e8a565b909155505060025473ffffffffffffffffffffffffffffffffffffffff9091166000908152600f6020526040902055565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ad857600080fd5b6000602082840312156126be578081fd5b610b6e82612689565b600080604083850312156126d9578081fd5b6126e283612689565b91506126f060208401612689565b90509250929050565b60008060006060848603121561270d578081fd5b61271684612689565b925061272460208501612689565b9150604084013590509250925092565b60008060408385031215612746578182fd5b61274f83612689565b946020939093013593505050565b60006020828403121561276e578081fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156127cd578581018301518582016040015282016127b1565b818111156127de5783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f54494d453a20796f7520646f6e2774206861766520616e7920616d6f756e742060408201527f746f207769746864726177000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f54494d453a207468657265206973206e6f20656e6f7567682074696d6520746f60408201527f207370656e640000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60408201527f6365000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f54494d453a207468657265206973206e6f20656e6f7567682062616c616e636560408201527f20746f2073686172650000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f54494d453a20746865206164647265737320697320616c726561647920656e6160408201527f626c656400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526033908201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660408201527f6f7220736563757269747920726561736f6e7300000000000000000000000000606082015260800190565b6020808252605b908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665652860608201527f2920616d6f756e7420696e206e61746976652063757272656e63790000000000608082015260a00190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526039908201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360408201527f756666696369656e7420616d6f756e7420746f20747261646500000000000000606082015260800190565b60208082526038908201527f54494d453a20706c65617365207370656369667920616e7920616d6f756e742060408201527f796f7520776f756c64206c696b6520746f20646f6e6174650000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252605d908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665654960608201527f6e54696d65282920616d6f756e7420696e2054494d4520746f6b656e73000000608082015260a00190565b90815260200190565b918252602082015260400190565b60ff91909116815260200190565b60008219821115612e9d57612e9d613128565b500190565b600082612ed6577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b80825b6001808611612eed5750612f1a565b818704821115612eff57612eff613128565b80861615612f0c57918102915b506002909404938002612ede565b94509492505050565b6000610b6e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60ff851684600082612f5d57506001610b6e565b81612f6a57506000610b6e565b8160018114612f805760028114612f8a57612fb7565b6001915050610b6e565b60ff841115612f9b57612f9b613128565b8360020a915084821115612fb157612fb1613128565b50610b6e565b5060208310610133831016604e8410600b8410161715612fea575081810a83811115612fe557612fe5613128565b610b6e565b612ff78484846001612edb565b80860482111561300957613009613128565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561304a5761304a613128565b500290565b60008282101561306157613061613128565b500390565b60008161307557613075613128565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6002810460018216806130af57607f821691505b602082108114156130e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561312157613121613128565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d64cdd61978e22ae69dcb579d8e53bdbe64b47367d14563f416e45be8f25068c64736f6c63430008000033

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


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.