MATIC Price: $0.702418 (-2.44%)
Gas: 36 GWei
 

Overview

Max Total Supply

1,335,797,983.789875729369055455 TIME

Holders

919 ( 2.067%)

Market

Price

$0.00 @ 0.000000 MATIC

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,000.12 TIME

Value
$0.00
0x88C5e96c1459d224383DcB1FE0CEdD1FCee25ffb
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

TIME tokenizes time on the blockchain, enabling various use cases. It also exchanges locally with the native cryptocurrency, providing open solution.

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 = 10 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 = 200000 * D; // 200000 * D; (Polygon and BSC) | 400000 * D; (Fantom) | 40000 * D; (Ethereum)
    uint256 public constant TIME_BASE_FEE = 4800000 * 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"}]

60806040526000805460ff19169055600b60045560146005553480156200002557600080fd5b50604051620034af380380620034af8339810160408190526200004891620001d1565b81516200005d90600b90602085019062000080565b5080516200007390600c90602084019062000080565b50504360035550620002bd565b8280546200008e9062000238565b90600052602060002090601f016020900481019282620000b25760008555620000fd565b82601f10620000cd57805160ff1916838001178555620000fd565b82800160010185558215620000fd579182015b82811115620000fd578251825591602001919060010190620000e0565b506200010b9291506200010f565b5090565b5b808211156200010b576000815560010162000110565b600082601f83011262000137578081fd5b81516001604060020a03808211156200015457620001546200028e565b6040516020601f8401601f19168201810183811183821017156200017c576200017c6200028e565b604052838252858401810187101562000193578485fd5b8492505b83831015620001b6578583018101518284018201529182019162000197565b83831115620001c757848185840101525b5095945050505050565b60008060408385031215620001e4578182fd5b82516001604060020a0380821115620001fb578384fd5b620002098683870162000126565b935060208501519150808211156200021f578283fd5b506200022e8582860162000126565b9150509250929050565b6002810460018216806200024d57607f821691505b6020821081141562000288577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131e280620002cd6000396000f3fe6080604052600436106102fd576000357c010000000000000000000000000000000000000000000000000000000090048063734cbb6a116101a1578063aadd1b03116100f3578063dcd310c9116100a7578063f1a10a7e11610081578063f1a10a7e14610727578063fb7e5ad01461073c578063fe9636d3146107515761030d565b8063dcd310c9146106dd578063dd62ed3e146106f2578063ddca3f43146107125761030d565b8063b845ead7116100d8578063b845ead714610693578063bdeef6db146106b3578063c3497b09146106c85761030d565b8063aadd1b0314610676578063b52d5b1e1461067e5761030d565b806396365d4411610155578063a457c2d71161012f578063a457c2d714610616578063a88f713314610636578063a9059cbb146106565761030d565b806396365d44146105e4578063a2309ff8146105f9578063a3e7f6dd1461060e5761030d565b80638faefa42116101865780638faefa421461058f578063901362bd146105af57806395d89b41146105cf5761030d565b8063734cbb6a1461056557806377ec0feb1461057a5761030d565b8063395093511161025a578063542d199c1161020e578063685b9325116101e8578063685b9325146105105780636a089b711461052557806370a08231146105455761030d565b8063542d199c146104d1578063657b1eb8146104e6578063662fac39146104fb5761030d565b80634003d22e1161023f5780634003d22e1461047a57806342966c681461048f578063454e66c8146104af5761030d565b806339509351146104455780633d18651e146104655761030d565b806318160ddd116102b157806323b872dd1161029657806323b872dd146103ec578063243496711461040c578063313ce567146104235761030d565b806318160ddd146103c2578063231b0268146103d75761030d565b80630774c059116102e25780630774c0591461036d578063095ea7b31461038d57806310e7b9f2146103ba5761030d565b80630199c7b21461032057806306fdde031461034b5761030d565b3661030d5761030a610766565b50005b361561031857600080fd5b61030a610766565b34801561032c57600080fd5b5061033561095a565b6040516103429190612e6d565b60405180910390f35b34801561035757600080fd5b50610360610960565b60405161034291906127a9565b34801561037957600080fd5b50610335610388366004612765565b6109f3565b34801561039957600080fd5b506103ad6103a836600461273c565b610add565b604051610342919061279e565b6103ad610766565b3480156103ce57600080fd5b50610335610af4565b3480156103e357600080fd5b50610335610afa565b3480156103f857600080fd5b506103ad610407366004612701565b610b00565b34801561041857600080fd5b50610421610b75565b005b34801561042f57600080fd5b50610438610d11565b6040516103429190612e84565b34801561045157600080fd5b506103ad61046036600461273c565b610d16565b34801561047157600080fd5b50610335610d59565b34801561048657600080fd5b50610335610d65565b34801561049b57600080fd5b506104216104aa366004612765565b610d6a565b3480156104bb57600080fd5b506104c4610d77565b604051610342919061277d565b3480156104dd57600080fd5b50610335610d8f565b3480156104f257600080fd5b50610335610de6565b34801561050757600080fd5b50610421610e02565b34801561051c57600080fd5b50610335610f57565b34801561053157600080fd5b506103ad610540366004612765565b610f5d565b34801561055157600080fd5b506103356105603660046126b5565b6111b4565b34801561057157600080fd5b506103356111dc565b34801561058657600080fd5b506103356111e2565b34801561059b57600080fd5b506103356105aa366004612765565b6111e8565b3480156105bb57600080fd5b506103356105ca3660046126b5565b6112a7565b3480156105db57600080fd5b506103606112e0565b3480156105f057600080fd5b506103356112ef565b34801561060557600080fd5b506103356112f5565b6104216112fb565b34801561062257600080fd5b506103ad61063136600461273c565b6115e8565b34801561064257600080fd5b506103356106513660046126b5565b611644565b34801561066257600080fd5b506103ad61067136600461273c565b6116ba565b6104216116f5565b34801561068a57600080fd5b50610335611901565b34801561069f57600080fd5b506103ad6106ae3660046126b5565b611906565b3480156106bf57600080fd5b5061033561191b565b3480156106d457600080fd5b50610335611921565b3480156106e957600080fd5b5061042161193a565b3480156106fe57600080fd5b5061033561070d3660046126cf565b611ad3565b34801561071e57600080fd5b50610335611b0b565b34801561073357600080fd5b50610335611b5b565b34801561074857600080fd5b50610335611bcb565b34801561075d57600080fd5b50610335611bd0565b60008054610100900460ff16156107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055341561092f57600060646107f360023461301a565b6107fd9190612eaa565b9050600061080c600483612eaa565b90506000670de0b6b3a7640000610822346111e8565b61082c903461301a565b6108369190612eaa565b306000908152600e6020526040902054909150811115610882576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf9565b61088b82611bd6565b6108c230336004606461089f60028761301a565b6108a99190612eaa565b6108b39190612eaa565b6108bd9085613057565b611d20565b93506108ce8334613057565b600960008282546108df9190612e92565b90915550506004546014116108f657600454610904565b600454610904906001612e92565b600455600554600b1061091957600554610928565b60016005546109289190613057565b6005555050505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905590565b60065481565b6060600b805461096f906130a3565b80601f016020809104026020016040519081016040528092919081815260200182805461099b906130a3565b80156109e85780601f106109bd576101008083540402835291602001916109e8565b820191906000526020600020905b8154815290600101906020018083116109cb57829003601f168201915b505050505090505b90565b600080600954118015610a145750306000908152600e602052604090205415155b15610ad4576000610a26836001612e92565b306000908152600e6020526040902054610a4990670de0b6b3a76400009061301a565b610a539190612eaa565b90506000600a60055485610a67919061301a565b610a719190612eaa565b306000908152600e6020526040902054610a8b9190612e92565b8285600954610a9a919061301a565b610aa4919061301a565b610aae9190612eaa565b306000908152600e6020526040902054909150610acb9082612eaa565b92505050610ad8565b5060015b919050565b6000610aea338484611eed565b5060015b92915050565b60015490565b60035481565b6000610b0d848484611d20565b9050610b6e8433610b69856040518060600160405280602881526020016131606028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526013602090815260408083203384529091529020549190611ffc565b611eed565b9392505050565b600054610100900460ff1615610bb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155610bec33611644565b33600090815260106020526040902054909150610c099082612e92565b905060008111610c45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612877565b600854811115610c81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906129eb565b336000908152601060209081526040808320839055600254600f90925282205560088054839290610cb3908490613057565b9091555050604051339082156108fc029083906000818181858888f19350505050158015610ce5573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b601290565b33600081815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610aea918590610b699086612042565b678ac7230489e8000081565b600481565b610d74338261204e565b50565b73731591207791a93fb0ec481186fb086e16a7d6d081565b6000610d9b60016121ac565b610da76012600a612f2b565b610db49062493e0061301a565b610dc06012600a612f2b565b610dcd9062493e0061301a565b610dd7919061301a565b610de19190612eaa565b905090565b610df26012600a612f2b565b610dff9062493e0061301a565b81565b600054610100900460ff1615610e44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600d602052604090205460ff1615610f2d576000610e936012600a612f2b565b33600090815260126020526040902054610ead9043613057565b610eb7919061301a565b9050610ec33382612231565b4115610edd57610edd41610ed8606484612eaa565b612231565b3360008181526012602052604090819020439081905590517fe3984b193af5ec77cff31edaae343c16170c91f8a89ef6accdd4ded0959f195991610f2391859190612e76565b60405180910390a2505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b60055481565b60008054610100900460ff1615610fa0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600e6020526040902054821115611012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906128d4565b60006004606461102360028661301a565b61102d9190612eaa565b6110379190612eaa565b90506000670de0b6b3a764000061104d856109f3565b611057908661301a565b6110619190612eaa565b905060095481111561109f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf9565b6110a882612357565b6110b38260036123b7565b6110bd9085613057565b93506110ca333086611d20565b925080600960008282546110de9190613057565b909155503390506108fc600460646110f760028661301a565b6111019190612eaa565b61110b9190612eaa565b6111159084613057565b6040518115909202916000818181858888f1935050505015801561113d573d6000803e3d6000fd5b506014600554106111505760055461115e565b60055461115e906001612e92565b600555600454600b1061117357600454611182565b60016004546111829190613057565b6004555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055919050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602052604090205490565b60045481565b60025481565b6000806009541180156112095750306000908152600e602052604090205415155b15610ad457600061121b836001612e92565b670de0b6b3a7640000600954611231919061301a565b61123b9190612eaa565b90506000600a6004548561124f919061301a565b6112599190612eaa565b6009546112669190612e92565b306000908152600e6020526040902054839061128390879061301a565b61128d919061301a565b6112979190612eaa565b905060095481610acb9190612eaa565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601060205260408120546112d683611644565b610aee9190612e92565b6060600c805461096f906130a3565b60095481565b600a5481565b600054610100900460ff161561133d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155611371611b0b565b90506000813410156113d957606461138a600a8461301a565b6113949190612eaa565b90506113a08183613057565b3410156113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b5f565b336000908152600d602052604090205460ff1615611423576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612aa5565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560129091529020439055600754349061148e5761148e306114816012600a612f2b565b610ed89062030d4061301a565b6000606461149d60028461301a565b6114a79190612eaa565b905060006114b6600483612eaa565b90506114c181611bd6565b6114cb8284613057565b92506114d8600284612eaa565b600860008282546114e99190612e92565b9091555050306000908152600e602052604090205460015461150b9190613057565b611516906001612e92565b670de0b6b3a764000061152a600286612eaa565b611534919061301a565b61153e9190612eaa565b6002600082825461154f9190612e92565b909155506115609050600284612eaa565b925082600960008282546115749190612e92565b90915550506007546115a457600854600960008282546115949190612e92565b9091555050600060088190556002555b600780549060006115b4836130f7565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050505050565b6000610aea3384610b69856040518060600160405280602581526020016131886025913933600090815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529020549190611ffc565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600f6020526040812054600254670de0b6b3a76400009161168091613057565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e60205260409020546116b0919061301a565b610aee9190612eaa565b600073ffffffffffffffffffffffffffffffffffffffff83163014156116ea576116e382610f5d565b9050610aee565b610b6e338484611d20565b600054610100900460ff1615611737576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790553461179a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612d56565b3373ffffffffffffffffffffffffffffffffffffffff167f5d8bc849764969eb1bcc6d0a2f55999d0167c1ccec240a4f39cf664ca9c4148e346040516117e09190612e6d565b60405180910390a234600060646117f860028461301a565b6118029190612eaa565b90506000611811600483612eaa565b905061181c81611bd6565b6118268284613057565b9250611833600284612eaa565b600860008282546118449190612e92565b9091555050306000908152600e60205260409020546001546118669190613057565b611871906001612e92565b670de0b6b3a7640000611885600286612eaa565b61188f919061301a565b6118999190612eaa565b600260008282546118aa9190612e92565b909155506118bb9050600284612eaa565b925082600960008282546118cf9190612e92565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055505050565b600a81565b600d6020526000908152604090205460ff1681565b60075481565b61192d6012600a612f2b565b610dff9062030d4061301a565b600054610100900460ff161561197c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001781556119b0610d8f565b336000908152600e60205260409020549091508111156119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612dea565b336000908152600d602052604090205460ff1615611a46576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612aa5565b611a50338261204e565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055601290915281204390556007805491611aa3836130f7565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260136020908152604080832093909416825291909152205490565b60006007546001611b1c9190612e92565b611b2660006121ac565b611b326012600a612f2b565b611b3f9062030d4061301a565b611b5190678ac7230489e8000061301a565b610dd79190612eaa565b6000611b696012600a612f2b565b611b769062030d4061301a565b600a541115611bc357600354611b8c9043613057565b611b986012600a612f2b565b611ba59062030d4061301a565b600a54611bb29190613057565b611bbc9190612eaa565b90506109f0565b5060006109f0565b600281565b60085481565b60405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c17573d6000803e3d6000fd5b5041611c645760405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c5e573d6000803e3d6000fd5b50611c93565b604051419082156108fc029083906000818181858888f19350505050158015611c91573d6000803e3d6000fd5b505b8060086000828254611ca59190612e92565b925050819055508060096000828254611cbe9190612e92565b9091555050306000908152600e6020526040902054600154611ce09190613057565b611ceb906001612e92565b611cfd670de0b6b3a76400008361301a565b611d079190612eaa565b60026000828254611d189190612e92565b909155505050565b600073ffffffffffffffffffffffffffffffffffffffff8416611d6f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c3f565b73ffffffffffffffffffffffffffffffffffffffff8316611dbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a99061281a565b611dc78484846123c3565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e602052604090205482811015611e27576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a48565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600e6020526040808220868503905591861681529081208054859290611e6b908490612e92565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611ecf9190612e6d565b60405180910390a3611ee2858585612423565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8316611f3a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c9c565b73ffffffffffffffffffffffffffffffffffffffff8216611f87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a99061298e565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526013602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611fef908590612e6d565b60405180910390a3505050565b6000818484111561203a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a991906127a9565b505050900390565b6000610b6e8284612e92565b73ffffffffffffffffffffffffffffffffffffffff821661209b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612be2565b6120a7826000836123c3565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604090205481811015612107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612931565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e60205260408120838303905560018054849290612143908490613057565b909155505060405160009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612193908690612e6d565b60405180910390a36121a783600084612423565b505050565b60006121b6611b5b565b6121f95781156121e0576121cc6012600a612f2b565b6121d99062493e0061301a565b9050610ad8565b6121ec6012600a612f2b565b6121d99062030d4061301a565b612201611b5b565b61220d6012600a612f2b565b306000908152600e6020526040902054612227919061301a565b6121d99190612eaa565b73ffffffffffffffffffffffffffffffffffffffff821661227e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612db3565b61228a600083836123c3565b806001600082825461229c9190612e92565b9250508190555080600a60008282546122b59190612e92565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600e6020526040812080548392906122ef908490612e92565b909155505060405173ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061233f908590612e6d565b60405180910390a361235360008383612423565b5050565b6123763373731591207791a93fb0ec481186fb086e16a7d6d083611d20565b50416123a15761239b3373731591207791a93fb0ec481186fb086e16a7d6d083611d20565b50610d6a565b6123ac334183611d20565b50610d74338261204e565b6000610b6e828461301a565b6123cc83612622565b6123d582612622565b5073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e60205260409020541580159061246c575073ffffffffffffffffffffffffffffffffffffffff821615155b801561248e575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156124ca575073ffffffffffffffffffffffffffffffffffffffff82166000908152600e602090815260408083205460119092529091205414155b80156124f9575073ffffffffffffffffffffffffffffffffffffffff8216600090815260116020526040902054155b15612514576006805490600061250e836130f7565b91905055505b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e602052604090205415801561255c575073ffffffffffffffffffffffffffffffffffffffff831615155b801561257e575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156125ba575073ffffffffffffffffffffffffffffffffffffffff83166000908152600e602090815260408083205460119092529091205414155b156123d557600680549060006125cf8361306e565b91905055505073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b61262b81611644565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054909190612660908490612e92565b909155505060025473ffffffffffffffffffffffffffffffffffffffff9091166000908152600f6020526040902055565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ad857600080fd5b6000602082840312156126c6578081fd5b610b6e82612691565b600080604083850312156126e1578081fd5b6126ea83612691565b91506126f860208401612691565b90509250929050565b600080600060608486031215612715578081fd5b61271e84612691565b925061272c60208501612691565b9150604084013590509250925092565b6000806040838503121561274e578182fd5b61275783612691565b946020939093013593505050565b600060208284031215612776578081fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156127d5578581018301518582016040015282016127b9565b818111156127e65783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f54494d453a20796f7520646f6e2774206861766520616e7920616d6f756e742060408201527f746f207769746864726177000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f54494d453a207468657265206973206e6f20656e6f7567682074696d6520746f60408201527f207370656e640000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60408201527f6365000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f54494d453a207468657265206973206e6f20656e6f7567682062616c616e636560408201527f20746f2073686172650000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f54494d453a20746865206164647265737320697320616c726561647920656e6160408201527f626c656400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526033908201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660408201527f6f7220736563757269747920726561736f6e7300000000000000000000000000606082015260800190565b6020808252605b908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665652860608201527f2920616d6f756e7420696e206e61746976652063757272656e63790000000000608082015260a00190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526039908201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360408201527f756666696369656e7420616d6f756e7420746f20747261646500000000000000606082015260800190565b60208082526038908201527f54494d453a20706c65617365207370656369667920616e7920616d6f756e742060408201527f796f7520776f756c64206c696b6520746f20646f6e6174650000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252605d908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665654960608201527f6e54696d65282920616d6f756e7420696e2054494d4520746f6b656e73000000608082015260a00190565b90815260200190565b918252602082015260400190565b60ff91909116815260200190565b60008219821115612ea557612ea5613130565b500190565b600082612ede577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b80825b6001808611612ef55750612f22565b818704821115612f0757612f07613130565b80861615612f1457918102915b506002909404938002612ee6565b94509492505050565b6000610b6e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60ff851684600082612f6557506001610b6e565b81612f7257506000610b6e565b8160018114612f885760028114612f9257612fbf565b6001915050610b6e565b60ff841115612fa357612fa3613130565b8360020a915084821115612fb957612fb9613130565b50610b6e565b5060208310610133831016604e8410600b8410161715612ff2575081810a83811115612fed57612fed613130565b610b6e565b612fff8484846001612ee3565b80860482111561301157613011613130565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561305257613052613130565b500290565b60008282101561306957613069613130565b500390565b60008161307d5761307d613130565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6002810460018216806130b757607f821691505b602082108114156130f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561312957613129613130565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122065a340a13522fa1ed4f6cb3b8a9089ebae0f416d351a743c8eb4187528d8b27a64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a54494d4520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454494d4500000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102fd576000357c010000000000000000000000000000000000000000000000000000000090048063734cbb6a116101a1578063aadd1b03116100f3578063dcd310c9116100a7578063f1a10a7e11610081578063f1a10a7e14610727578063fb7e5ad01461073c578063fe9636d3146107515761030d565b8063dcd310c9146106dd578063dd62ed3e146106f2578063ddca3f43146107125761030d565b8063b845ead7116100d8578063b845ead714610693578063bdeef6db146106b3578063c3497b09146106c85761030d565b8063aadd1b0314610676578063b52d5b1e1461067e5761030d565b806396365d4411610155578063a457c2d71161012f578063a457c2d714610616578063a88f713314610636578063a9059cbb146106565761030d565b806396365d44146105e4578063a2309ff8146105f9578063a3e7f6dd1461060e5761030d565b80638faefa42116101865780638faefa421461058f578063901362bd146105af57806395d89b41146105cf5761030d565b8063734cbb6a1461056557806377ec0feb1461057a5761030d565b8063395093511161025a578063542d199c1161020e578063685b9325116101e8578063685b9325146105105780636a089b711461052557806370a08231146105455761030d565b8063542d199c146104d1578063657b1eb8146104e6578063662fac39146104fb5761030d565b80634003d22e1161023f5780634003d22e1461047a57806342966c681461048f578063454e66c8146104af5761030d565b806339509351146104455780633d18651e146104655761030d565b806318160ddd116102b157806323b872dd1161029657806323b872dd146103ec578063243496711461040c578063313ce567146104235761030d565b806318160ddd146103c2578063231b0268146103d75761030d565b80630774c059116102e25780630774c0591461036d578063095ea7b31461038d57806310e7b9f2146103ba5761030d565b80630199c7b21461032057806306fdde031461034b5761030d565b3661030d5761030a610766565b50005b361561031857600080fd5b61030a610766565b34801561032c57600080fd5b5061033561095a565b6040516103429190612e6d565b60405180910390f35b34801561035757600080fd5b50610360610960565b60405161034291906127a9565b34801561037957600080fd5b50610335610388366004612765565b6109f3565b34801561039957600080fd5b506103ad6103a836600461273c565b610add565b604051610342919061279e565b6103ad610766565b3480156103ce57600080fd5b50610335610af4565b3480156103e357600080fd5b50610335610afa565b3480156103f857600080fd5b506103ad610407366004612701565b610b00565b34801561041857600080fd5b50610421610b75565b005b34801561042f57600080fd5b50610438610d11565b6040516103429190612e84565b34801561045157600080fd5b506103ad61046036600461273c565b610d16565b34801561047157600080fd5b50610335610d59565b34801561048657600080fd5b50610335610d65565b34801561049b57600080fd5b506104216104aa366004612765565b610d6a565b3480156104bb57600080fd5b506104c4610d77565b604051610342919061277d565b3480156104dd57600080fd5b50610335610d8f565b3480156104f257600080fd5b50610335610de6565b34801561050757600080fd5b50610421610e02565b34801561051c57600080fd5b50610335610f57565b34801561053157600080fd5b506103ad610540366004612765565b610f5d565b34801561055157600080fd5b506103356105603660046126b5565b6111b4565b34801561057157600080fd5b506103356111dc565b34801561058657600080fd5b506103356111e2565b34801561059b57600080fd5b506103356105aa366004612765565b6111e8565b3480156105bb57600080fd5b506103356105ca3660046126b5565b6112a7565b3480156105db57600080fd5b506103606112e0565b3480156105f057600080fd5b506103356112ef565b34801561060557600080fd5b506103356112f5565b6104216112fb565b34801561062257600080fd5b506103ad61063136600461273c565b6115e8565b34801561064257600080fd5b506103356106513660046126b5565b611644565b34801561066257600080fd5b506103ad61067136600461273c565b6116ba565b6104216116f5565b34801561068a57600080fd5b50610335611901565b34801561069f57600080fd5b506103ad6106ae3660046126b5565b611906565b3480156106bf57600080fd5b5061033561191b565b3480156106d457600080fd5b50610335611921565b3480156106e957600080fd5b5061042161193a565b3480156106fe57600080fd5b5061033561070d3660046126cf565b611ad3565b34801561071e57600080fd5b50610335611b0b565b34801561073357600080fd5b50610335611b5b565b34801561074857600080fd5b50610335611bcb565b34801561075d57600080fd5b50610335611bd0565b60008054610100900460ff16156107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055341561092f57600060646107f360023461301a565b6107fd9190612eaa565b9050600061080c600483612eaa565b90506000670de0b6b3a7640000610822346111e8565b61082c903461301a565b6108369190612eaa565b306000908152600e6020526040902054909150811115610882576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf9565b61088b82611bd6565b6108c230336004606461089f60028761301a565b6108a99190612eaa565b6108b39190612eaa565b6108bd9085613057565b611d20565b93506108ce8334613057565b600960008282546108df9190612e92565b90915550506004546014116108f657600454610904565b600454610904906001612e92565b600455600554600b1061091957600554610928565b60016005546109289190613057565b6005555050505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905590565b60065481565b6060600b805461096f906130a3565b80601f016020809104026020016040519081016040528092919081815260200182805461099b906130a3565b80156109e85780601f106109bd576101008083540402835291602001916109e8565b820191906000526020600020905b8154815290600101906020018083116109cb57829003601f168201915b505050505090505b90565b600080600954118015610a145750306000908152600e602052604090205415155b15610ad4576000610a26836001612e92565b306000908152600e6020526040902054610a4990670de0b6b3a76400009061301a565b610a539190612eaa565b90506000600a60055485610a67919061301a565b610a719190612eaa565b306000908152600e6020526040902054610a8b9190612e92565b8285600954610a9a919061301a565b610aa4919061301a565b610aae9190612eaa565b306000908152600e6020526040902054909150610acb9082612eaa565b92505050610ad8565b5060015b919050565b6000610aea338484611eed565b5060015b92915050565b60015490565b60035481565b6000610b0d848484611d20565b9050610b6e8433610b69856040518060600160405280602881526020016131606028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526013602090815260408083203384529091529020549190611ffc565b611eed565b9392505050565b600054610100900460ff1615610bb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155610bec33611644565b33600090815260106020526040902054909150610c099082612e92565b905060008111610c45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612877565b600854811115610c81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906129eb565b336000908152601060209081526040808320839055600254600f90925282205560088054839290610cb3908490613057565b9091555050604051339082156108fc029083906000818181858888f19350505050158015610ce5573d6000803e3d6000fd5b5050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b601290565b33600081815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610aea918590610b699086612042565b678ac7230489e8000081565b600481565b610d74338261204e565b50565b73731591207791a93fb0ec481186fb086e16a7d6d081565b6000610d9b60016121ac565b610da76012600a612f2b565b610db49062493e0061301a565b610dc06012600a612f2b565b610dcd9062493e0061301a565b610dd7919061301a565b610de19190612eaa565b905090565b610df26012600a612f2b565b610dff9062493e0061301a565b81565b600054610100900460ff1615610e44576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600d602052604090205460ff1615610f2d576000610e936012600a612f2b565b33600090815260126020526040902054610ead9043613057565b610eb7919061301a565b9050610ec33382612231565b4115610edd57610edd41610ed8606484612eaa565b612231565b3360008181526012602052604090819020439081905590517fe3984b193af5ec77cff31edaae343c16170c91f8a89ef6accdd4ded0959f195991610f2391859190612e76565b60405180910390a2505b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055565b60055481565b60008054610100900460ff1615610fa0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155338152600e6020526040902054821115611012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a9906128d4565b60006004606461102360028661301a565b61102d9190612eaa565b6110379190612eaa565b90506000670de0b6b3a764000061104d856109f3565b611057908661301a565b6110619190612eaa565b905060095481111561109f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612cf9565b6110a882612357565b6110b38260036123b7565b6110bd9085613057565b93506110ca333086611d20565b925080600960008282546110de9190613057565b909155503390506108fc600460646110f760028661301a565b6111019190612eaa565b61110b9190612eaa565b6111159084613057565b6040518115909202916000818181858888f1935050505015801561113d573d6000803e3d6000fd5b506014600554106111505760055461115e565b60055461115e906001612e92565b600555600454600b1061117357600454611182565b60016004546111829190613057565b6004555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055919050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602052604090205490565b60045481565b60025481565b6000806009541180156112095750306000908152600e602052604090205415155b15610ad457600061121b836001612e92565b670de0b6b3a7640000600954611231919061301a565b61123b9190612eaa565b90506000600a6004548561124f919061301a565b6112599190612eaa565b6009546112669190612e92565b306000908152600e6020526040902054839061128390879061301a565b61128d919061301a565b6112979190612eaa565b905060095481610acb9190612eaa565b73ffffffffffffffffffffffffffffffffffffffff81166000908152601060205260408120546112d683611644565b610aee9190612e92565b6060600c805461096f906130a3565b60095481565b600a5481565b600054610100900460ff161561133d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100178155611371611b0b565b90506000813410156113d957606461138a600a8461301a565b6113949190612eaa565b90506113a08183613057565b3410156113d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b5f565b336000908152600d602052604090205460ff1615611423576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612aa5565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560129091529020439055600754349061148e5761148e306114816012600a612f2b565b610ed89062030d4061301a565b6000606461149d60028461301a565b6114a79190612eaa565b905060006114b6600483612eaa565b90506114c181611bd6565b6114cb8284613057565b92506114d8600284612eaa565b600860008282546114e99190612e92565b9091555050306000908152600e602052604090205460015461150b9190613057565b611516906001612e92565b670de0b6b3a764000061152a600286612eaa565b611534919061301a565b61153e9190612eaa565b6002600082825461154f9190612e92565b909155506115609050600284612eaa565b925082600960008282546115749190612e92565b90915550506007546115a457600854600960008282546115949190612e92565b9091555050600060088190556002555b600780549060006115b4836130f7565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555050505050565b6000610aea3384610b69856040518060600160405280602581526020016131886025913933600090815260136020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529020549190611ffc565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600f6020526040812054600254670de0b6b3a76400009161168091613057565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e60205260409020546116b0919061301a565b610aee9190612eaa565b600073ffffffffffffffffffffffffffffffffffffffff83163014156116ea576116e382610f5d565b9050610aee565b610b6e338484611d20565b600054610100900460ff1615611737576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790553461179a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612d56565b3373ffffffffffffffffffffffffffffffffffffffff167f5d8bc849764969eb1bcc6d0a2f55999d0167c1ccec240a4f39cf664ca9c4148e346040516117e09190612e6d565b60405180910390a234600060646117f860028461301a565b6118029190612eaa565b90506000611811600483612eaa565b905061181c81611bd6565b6118268284613057565b9250611833600284612eaa565b600860008282546118449190612e92565b9091555050306000908152600e60205260409020546001546118669190613057565b611871906001612e92565b670de0b6b3a7640000611885600286612eaa565b61188f919061301a565b6118999190612eaa565b600260008282546118aa9190612e92565b909155506118bb9050600284612eaa565b925082600960008282546118cf9190612e92565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055505050565b600a81565b600d6020526000908152604090205460ff1681565b60075481565b61192d6012600a612f2b565b610dff9062030d4061301a565b600054610100900460ff161561197c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612b02565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001781556119b0610d8f565b336000908152600e60205260409020549091508111156119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612dea565b336000908152600d602052604090205460ff1615611a46576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612aa5565b611a50338261204e565b336000908152600d6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055601290915281204390556007805491611aa3836130f7565b9091555050600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260136020908152604080832093909416825291909152205490565b60006007546001611b1c9190612e92565b611b2660006121ac565b611b326012600a612f2b565b611b3f9062030d4061301a565b611b5190678ac7230489e8000061301a565b610dd79190612eaa565b6000611b696012600a612f2b565b611b769062030d4061301a565b600a541115611bc357600354611b8c9043613057565b611b986012600a612f2b565b611ba59062030d4061301a565b600a54611bb29190613057565b611bbc9190612eaa565b90506109f0565b5060006109f0565b600281565b60085481565b60405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c17573d6000803e3d6000fd5b5041611c645760405173731591207791a93fb0ec481186fb086e16a7d6d09082156108fc029083906000818181858888f19350505050158015611c5e573d6000803e3d6000fd5b50611c93565b604051419082156108fc029083906000818181858888f19350505050158015611c91573d6000803e3d6000fd5b505b8060086000828254611ca59190612e92565b925050819055508060096000828254611cbe9190612e92565b9091555050306000908152600e6020526040902054600154611ce09190613057565b611ceb906001612e92565b611cfd670de0b6b3a76400008361301a565b611d079190612eaa565b60026000828254611d189190612e92565b909155505050565b600073ffffffffffffffffffffffffffffffffffffffff8416611d6f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c3f565b73ffffffffffffffffffffffffffffffffffffffff8316611dbc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a99061281a565b611dc78484846123c3565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e602052604090205482811015611e27576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612a48565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600e6020526040808220868503905591861681529081208054859290611e6b908490612e92565b925050819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611ecf9190612e6d565b60405180910390a3611ee2858585612423565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8316611f3a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612c9c565b73ffffffffffffffffffffffffffffffffffffffff8216611f87576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a99061298e565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526013602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611fef908590612e6d565b60405180910390a3505050565b6000818484111561203a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a991906127a9565b505050900390565b6000610b6e8284612e92565b73ffffffffffffffffffffffffffffffffffffffff821661209b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612be2565b6120a7826000836123c3565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e602052604090205481811015612107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612931565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e60205260408120838303905560018054849290612143908490613057565b909155505060405160009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612193908690612e6d565b60405180910390a36121a783600084612423565b505050565b60006121b6611b5b565b6121f95781156121e0576121cc6012600a612f2b565b6121d99062493e0061301a565b9050610ad8565b6121ec6012600a612f2b565b6121d99062030d4061301a565b612201611b5b565b61220d6012600a612f2b565b306000908152600e6020526040902054612227919061301a565b6121d99190612eaa565b73ffffffffffffffffffffffffffffffffffffffff821661227e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990612db3565b61228a600083836123c3565b806001600082825461229c9190612e92565b9250508190555080600a60008282546122b59190612e92565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600e6020526040812080548392906122ef908490612e92565b909155505060405173ffffffffffffffffffffffffffffffffffffffff8316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061233f908590612e6d565b60405180910390a361235360008383612423565b5050565b6123763373731591207791a93fb0ec481186fb086e16a7d6d083611d20565b50416123a15761239b3373731591207791a93fb0ec481186fb086e16a7d6d083611d20565b50610d6a565b6123ac334183611d20565b50610d74338261204e565b6000610b6e828461301a565b6123cc83612622565b6123d582612622565b5073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600e60205260409020541580159061246c575073ffffffffffffffffffffffffffffffffffffffff821615155b801561248e575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156124ca575073ffffffffffffffffffffffffffffffffffffffff82166000908152600e602090815260408083205460119092529091205414155b80156124f9575073ffffffffffffffffffffffffffffffffffffffff8216600090815260116020526040902054155b15612514576006805490600061250e836130f7565b91905055505b73ffffffffffffffffffffffffffffffffffffffff83166000908152600e602052604090205415801561255c575073ffffffffffffffffffffffffffffffffffffffff831615155b801561257e575073ffffffffffffffffffffffffffffffffffffffff82163014155b80156125ba575073ffffffffffffffffffffffffffffffffffffffff83166000908152600e602090815260408083205460119092529091205414155b156123d557600680549060006125cf8361306e565b91905055505073ffffffffffffffffffffffffffffffffffffffff9182166000908152600e6020818152604080842054601180845282862091909155949095168352908152838220549290529190912055565b61262b81611644565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054909190612660908490612e92565b909155505060025473ffffffffffffffffffffffffffffffffffffffff9091166000908152600f6020526040902055565b803573ffffffffffffffffffffffffffffffffffffffff81168114610ad857600080fd5b6000602082840312156126c6578081fd5b610b6e82612691565b600080604083850312156126e1578081fd5b6126ea83612691565b91506126f860208401612691565b90509250929050565b600080600060608486031215612715578081fd5b61271e84612691565b925061272c60208501612691565b9150604084013590509250925092565b6000806040838503121561274e578182fd5b61275783612691565b946020939093013593505050565b600060208284031215612776578081fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b901515815260200190565b6000602080835283518082850152825b818110156127d5578581018301518582016040015282016127b9565b818111156127e65783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602b908201527f54494d453a20796f7520646f6e2774206861766520616e7920616d6f756e742060408201527f746f207769746864726177000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f54494d453a207468657265206973206e6f20656e6f7567682074696d6520746f60408201527f207370656e640000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60408201527f6365000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f54494d453a207468657265206973206e6f20656e6f7567682062616c616e636560408201527f20746f2073686172650000000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260408201527f616c616e63650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f54494d453a20746865206164647265737320697320616c726561647920656e6160408201527f626c656400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526033908201527f54494d453a2054686973206f7065726174696f6e206973206c6f636b6564206660408201527f6f7220736563757269747920726561736f6e7300000000000000000000000000606082015260800190565b6020808252605b908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665652860608201527f2920616d6f756e7420696e206e61746976652063757272656e63790000000000608082015260a00190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526039908201527f54494d453a2074686520706f6f6c20646f6573206e6f7420686176652061207360408201527f756666696369656e7420616d6f756e7420746f20747261646500000000000000606082015260800190565b60208082526038908201527f54494d453a20706c65617365207370656369667920616e7920616d6f756e742060408201527f796f7520776f756c64206c696b6520746f20646f6e6174650000000000000000606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252605d908201527f54494d453a20746f20656e61626c65206d696e696e6720666f7220616e20616460408201527f647265737320796f75206e656564206174206c6561737420746865206665654960608201527f6e54696d65282920616d6f756e7420696e2054494d4520746f6b656e73000000608082015260a00190565b90815260200190565b918252602082015260400190565b60ff91909116815260200190565b60008219821115612ea557612ea5613130565b500190565b600082612ede577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b80825b6001808611612ef55750612f22565b818704821115612f0757612f07613130565b80861615612f1457918102915b506002909404938002612ee6565b94509492505050565b6000610b6e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60ff851684600082612f6557506001610b6e565b81612f7257506000610b6e565b8160018114612f885760028114612f9257612fbf565b6001915050610b6e565b60ff841115612fa357612fa3613130565b8360020a915084821115612fb957612fb9613130565b50610b6e565b5060208310610133831016604e8410600b8410161715612ff2575081810a83811115612fed57612fed613130565b610b6e565b612fff8484846001612ee3565b80860482111561301157613011613130565b02949350505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561305257613052613130565b500290565b60008282101561306957613069613130565b500390565b60008161307d5761307d613130565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b6002810460018216806130b757607f821691505b602082108114156130f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561312957613129613130565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122065a340a13522fa1ed4f6cb3b8a9089ebae0f416d351a743c8eb4187528d8b27a64736f6c63430008000033

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
[ 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.