ETH Price: $3,129.22 (-0.24%)

Token

Staked BITE (sBITE)
 

Overview

Max Total Supply

6,695,133.502200295858351485 sBITE

Holders

118

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,621.629406965345524289 sBITE

Value
$0.00
0xf3e973aff287dd04bd120bfcb6f4636f94a9344e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
StakingPool

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
constantinople EvmVersion
File 1 of 11 : StakingPool.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

import "openzeppelin-solidity/contracts/math/Math.sol";
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol";
import "openzeppelin-solidity/contracts/utils/ReentrancyGuard.sol";
import "solowei/contracts/AttoDecimal.sol";
import "solowei/contracts/TwoStageOwnable.sol";

contract StakingPool is ERC20, ReentrancyGuard, TwoStageOwnable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using AttoDecimal for AttoDecimal.Instance;

    struct Strategy {
        uint256 endsAt;
        uint256 perSecondReward;
        uint256 startsAt;
    }

    struct Unstake {
        uint256 amount;
        uint256 applicableAt;
    }

    uint256 public constant MIN_STAKE_BALANCE = 10**18;

    uint256 public claimingFeePercent;
    uint256 public lastUpdatedAt;

    uint256 private _feePool;
    uint256 private _lockedRewards;
    uint256 private _totalStaked;
    uint256 private _totalUnstaked;
    uint256 private _unstakingTime;
    IERC20 private _stakingToken;

    AttoDecimal.Instance private _defaultPrice;
    AttoDecimal.Instance private _price;
    Strategy private _currentStrategy;
    Strategy private _nextStrategy;

    mapping(address => Unstake) private _unstakes;

    function getTimestamp() internal view virtual returns (uint256) {
        return block.timestamp;
    }

    function feePool() public view returns (uint256) {
        return _feePool;
    }

    function lockedRewards() public view returns (uint256) {
        return _lockedRewards;
    }

    function totalStaked() public view returns (uint256) {
        return _totalStaked;
    }

    function totalUnstaked() public view returns (uint256) {
        return _totalUnstaked;
    }

    function stakingToken() public view returns (IERC20) {
        return _stakingToken;
    }

    function unstakingTime() public view returns (uint256) {
        return _unstakingTime;
    }

    function currentStrategy() public view returns (Strategy memory) {
        return _currentStrategy;
    }

    function nextStrategy() public view returns (Strategy memory) {
        return _nextStrategy;
    }

    function getUnstake(address account) public view returns (Unstake memory result) {
        result = _unstakes[account];
    }

    function defaultPrice()
        external
        view
        returns (
            uint256 mantissa,
            uint256 base,
            uint256 exponentiation
        )
    {
        return _defaultPrice.toTuple();
    }

    function getCurrentStrategyUnlockedRewards() public view returns (uint256 unlocked) {
        unlocked = _getStrategyUnlockedRewards(_currentStrategy);
    }

    function getUnlockedRewards() public view returns (uint256 unlocked, bool currentStrategyEnded) {
        unlocked = _getStrategyUnlockedRewards(_currentStrategy);
        if (getTimestamp() >= _currentStrategy.endsAt) {
            currentStrategyEnded = true;
            if (_nextStrategy.endsAt != 0) unlocked = unlocked.add(_getStrategyUnlockedRewards(_nextStrategy));
        }
    }

    /// @notice Calculates price of synthetic token for current block
    function price()
        public
        view
        returns (
            uint256 mantissa,
            uint256 base,
            uint256 exponentiation
        )
    {
        (uint256 unlocked, ) = getUnlockedRewards();
        uint256 totalStaked_ = _totalStaked;
        uint256 totalSupply_ = totalSupply();
        AttoDecimal.Instance memory result = _defaultPrice;
        if (totalSupply_ > 0) result = AttoDecimal.div(totalStaked_.add(unlocked), totalSupply_);
        return result.toTuple();
    }

    /// @notice Returns last updated price of synthetic token
    function priceStored()
        public
        view
        returns (
            uint256 mantissa,
            uint256 base,
            uint256 exponentiation
        )
    {
        return _price.toTuple();
    }

    /// @notice Calculates expected result of swapping synthetic tokens for staking tokens
    /// @param account Account that wants to swap
    /// @param amount Minimum amount of staking tokens that should be received at swapping process
    /// @return unstakedAmount Amount of staking tokens that should be received at swapping process
    /// @return burnedAmount Amount of synthetic tokens that should be burned at swapping process
    function calculateUnstake(address account, uint256 amount)
        public
        view
        returns (uint256 unstakedAmount, uint256 burnedAmount)
    {
        (uint256 mantissa_, , ) = price();
        return _calculateUnstake(account, amount, AttoDecimal.Instance(mantissa_));
    }

    event Claimed(
        address indexed account,
        uint256 requestedAmount,
        uint256 claimedAmount,
        uint256 feeAmount,
        uint256 burnedAmount
    );

    event ClaimingFeePercentUpdated(uint256 feePercent);
    event CurrentStrategyUpdated(uint256 perSecondReward, uint256 startsAt, uint256 endsAt);
    event FeeClaimed(address indexed receiver, uint256 amount);
    event NextStrategyUpdated(uint256 perSecondReward, uint256 startsAt, uint256 endsAt);
    event UnstakingTimeUpdated(uint256 unstakingTime);
    event NextStrategyRemoved();
    event PoolDecreased(uint256 amount);
    event PoolIncreased(address indexed payer, uint256 amount);
    event PriceUpdated(uint256 mantissa, uint256 base, uint256 exponentiation);
    event RewardsUnlocked(uint256 amount);
    event Staked(address indexed account, address indexed payer, uint256 stakedAmount, uint256 mintedAmount);
    event Unstaked(address indexed account, uint256 requestedAmount, uint256 unstakedAmount, uint256 burnedAmount);
    event UnstakingCanceled(address indexed account, uint256 amount);
    event Withdrawed(address indexed account, uint256 amount);

    constructor(
        string memory syntheticTokenName,
        string memory syntheticTokenSymbol,
        IERC20 stakingToken_,
        address owner_,
        uint256 claimingFeePercent_,
        uint256 perSecondReward_,
        uint256 startsAt_,
        uint256 duration_,
        uint256 unstakingTime_,
        uint256 defaultPriceMantissa
    ) public TwoStageOwnable(owner_) ERC20(syntheticTokenName, syntheticTokenSymbol) {
        _defaultPrice = AttoDecimal.Instance(defaultPriceMantissa);
        _stakingToken = stakingToken_;
        _setClaimingFeePercent(claimingFeePercent_);
        _validateStrategyParameters(perSecondReward_, startsAt_, duration_);
        _setUnstakingTime(unstakingTime_);
        _setCurrentStrategy(perSecondReward_, startsAt_, startsAt_.add(duration_));
        lastUpdatedAt = getTimestamp();
        _price = _defaultPrice;
    }

    /// @notice Cancels unstaking by staking locked for withdrawals tokens
    /// @param amount Amount of locked for withdrawals tokens
    function cancelUnstaking(uint256 amount) external onlyPositiveAmount(amount) returns (bool success) {
        _update();
        address caller = msg.sender;
        Unstake storage unstake_ = _unstakes[caller];
        uint256 unstakingAmount = unstake_.amount;
        require(unstakingAmount >= amount, "Not enough unstaked balance");
        uint256 stakedAmount = _price.mul(balanceOf(caller)).floor();
        require(stakedAmount.add(amount) >= MIN_STAKE_BALANCE, "Stake balance lt min stake");
        uint256 synthAmount = AttoDecimal.div(amount, _price).floor();
        _mint(caller, synthAmount);
        _totalStaked = _totalStaked.add(amount);
        _totalUnstaked = _totalUnstaked.sub(amount);
        unstake_.amount = unstakingAmount.sub(amount);
        emit Staked(caller, address(0), amount, synthAmount);
        emit UnstakingCanceled(caller, amount);
        return true;
    }

    /// @notice Swaps synthetic tokens for staking tokens and immediately sends them to the caller but takes some fee
    /// @param amount Staking tokens amount to swap for. Fee will be taked from this amount
    /// @return claimedAmount Amount of staking tokens that was been sended to caller
    /// @return burnedAmount Amount of synthetic tokens that was burned while swapping
    function claim(uint256 amount)
        external
        onlyPositiveAmount(amount)
        returns (uint256 claimedAmount, uint256 burnedAmount)
    {
        _update();
        address caller = msg.sender;
        (claimedAmount, burnedAmount) = _calculateUnstake(caller, amount, _price);
        uint256 fee = claimedAmount.mul(claimingFeePercent).div(100);
        _burn(caller, burnedAmount);
        _totalStaked = _totalStaked.sub(claimedAmount);
        claimedAmount = claimedAmount.sub(fee);
        _feePool = _feePool.add(fee);
        emit Claimed(caller, amount, claimedAmount, fee, burnedAmount);
        _stakingToken.safeTransfer(caller, claimedAmount);
    }

    /// @notice Withdraws all staking tokens, that have been accumulated in imidiatly claiming process.
    ///     Allowed to be called only by the owner
    /// @return amount Amount of accumulated and withdrawed tokens
    function claimFees() external onlyOwner returns (uint256 amount) {
        require(_feePool > 0, "No fees");
        amount = _feePool;
        _feePool = 0;
        emit FeeClaimed(owner(), amount);
        _stakingToken.safeTransfer(owner(), amount);
    }

    /// @notice Creates new strategy. Allowed to be called only by the owner
    /// @param perSecondReward_ Reward that should be added to common staking tokens pool every second
    /// @param startsAt_ Timestamp from which strategy should starts
    /// @param duration_ Seconds count for which new strategy should be applied
    function createNewStrategy(
        uint256 perSecondReward_,
        uint256 startsAt_,
        uint256 duration_
    ) public onlyOwner returns (bool success) {
        _update();
        _validateStrategyParameters(perSecondReward_, startsAt_, duration_);
        uint256 endsAt = startsAt_.add(duration_);
        Strategy memory strategy = Strategy({perSecondReward: perSecondReward_, startsAt: startsAt_, endsAt: endsAt});
        if (_currentStrategy.startsAt > getTimestamp()) {
            delete _nextStrategy;
            emit NextStrategyRemoved();
            _currentStrategy = strategy;
            emit CurrentStrategyUpdated(perSecondReward_, startsAt_, endsAt);
        } else {
            emit NextStrategyUpdated(perSecondReward_, startsAt_, endsAt);
            _nextStrategy = strategy;
            if (_currentStrategy.endsAt > startsAt_) {
                _currentStrategy.endsAt = startsAt_;
                emit CurrentStrategyUpdated(_currentStrategy.perSecondReward, _currentStrategy.startsAt, startsAt_);
            }
        }
        return true;
    }

    function decreasePool(uint256 amount) external onlyPositiveAmount(amount) onlyOwner returns (bool success) {
        _update();
        _lockedRewards = _lockedRewards.sub(amount, "Not enough locked rewards");
        emit PoolDecreased(amount);
        _stakingToken.safeTransfer(owner(), amount);
        return true;
    }

    /// @notice Increases pool of rewards
    /// @param amount Amount of staking tokens (in wei) that should be added to rewards pool
    function increasePool(uint256 amount) external onlyPositiveAmount(amount) returns (bool success) {
        _update();
        address payer = msg.sender;
        _lockedRewards = _lockedRewards.add(amount);
        emit PoolIncreased(payer, amount);
        _stakingToken.safeTransferFrom(payer, address(this), amount);
        return true;
    }

    /// @notice Change claiming fee percent. Can be called only by the owner
    /// @param feePercent New claiming fee percent
    function setClaimingFeePercent(uint256 feePercent) external onlyOwner returns (bool success) {
        _setClaimingFeePercent(feePercent);
        return true;
    }

    /// @notice Converts staking tokens to synthetic tokens
    /// @param amount Amount of staking tokens to be swapped
    /// @return mintedAmount Amount of synthetic tokens that was received at swapping process
    function stake(uint256 amount) external onlyPositiveAmount(amount) returns (uint256 mintedAmount) {
        address staker = msg.sender;
        return _stake(staker, staker, amount);
    }

    /// @notice Converts staking tokens to synthetic tokens and sends them to specific account
    /// @param account Receiver of synthetic tokens
    /// @param amount Amount of staking tokens to be swapped
    /// @return mintedAmount Amount of synthetic tokens that was received by specified account at swapping process
    function stakeForUser(address account, uint256 amount)
        external
        onlyPositiveAmount(amount)
        returns (uint256 mintedAmount)
    {
        return _stake(account, msg.sender, amount);
    }

    /// @notice Swapes synthetic tokens for staking tokens and locks them for some period
    /// @param amount Minimum amount of staking tokens that should be locked after swapping process
    /// @return unstakedAmount Amount of staking tokens that was locked
    /// @return burnedAmount Amount of synthetic tokens that was burned
    function unstake(uint256 amount)
        external
        onlyPositiveAmount(amount)
        returns (uint256 unstakedAmount, uint256 burnedAmount)
    {
        _update();
        address caller = msg.sender;
        (unstakedAmount, burnedAmount) = _calculateUnstake(caller, amount, _price);
        _burn(caller, burnedAmount);
        _totalStaked = _totalStaked.sub(unstakedAmount);
        _totalUnstaked = _totalUnstaked.add(unstakedAmount);
        Unstake storage unstake_ = _unstakes[caller];
        unstake_.amount = unstake_.amount.add(unstakedAmount);
        unstake_.applicableAt = getTimestamp().add(_unstakingTime);
        emit Unstaked(caller, amount, unstakedAmount, burnedAmount);
    }

    /// @notice Updates price of synthetic token
    /// @dev Automatically has been called on every contract action, that uses or can affect price
    function update() external returns (bool success) {
        _update();
        return true;
    }

    /// @notice Withdraws unstaked staking tokens
    function withdraw() external returns (bool success) {
        address caller = msg.sender;
        Unstake storage unstake_ = _unstakes[caller];
        uint256 amount = unstake_.amount;
        require(amount > 0, "Not unstaked");
        require(unstake_.applicableAt <= getTimestamp(), "Not released at");
        delete _unstakes[caller];
        _totalUnstaked = _totalUnstaked.sub(amount);
        emit Withdrawed(caller, amount);
        _stakingToken.safeTransfer(caller, amount);
        return true;
    }

    /// @notice Change unstaking time. Can be called only by the owner
    /// @param unstakingTime_ New unstaking process duration in seconds
    function setUnstakingTime(uint256 unstakingTime_) external onlyOwner returns (bool success) {
        _setUnstakingTime(unstakingTime_);
        return true;
    }

    function _getStrategyUnlockedRewards(Strategy memory strategy_) internal view returns (uint256 unlocked) {
        uint256 timestamp = getTimestamp();
        if (timestamp < strategy_.startsAt || timestamp == lastUpdatedAt) {
            return unlocked;
        }
        uint256 lastRewardedSecond = Math.max(lastUpdatedAt, strategy_.startsAt);
        uint256 lastRewardableTimestamp = Math.min(timestamp, strategy_.endsAt);
        if (lastRewardedSecond < lastRewardableTimestamp) {
            uint256 timeDiff = lastRewardableTimestamp.sub(lastRewardedSecond);
            unlocked = unlocked.add(timeDiff.mul(strategy_.perSecondReward));
        }
    }

    function _calculateUnstake(
        address account,
        uint256 amount,
        AttoDecimal.Instance memory price_
    ) internal view returns (uint256 unstakedAmount, uint256 burnedAmount) {
        unstakedAmount = amount;
        burnedAmount = AttoDecimal.div(amount, price_).ceil();
        uint256 balance = balanceOf(account);
        require(burnedAmount > 0, "Too small unstaking amount");
        require(balance >= burnedAmount, "Not enough synthetic tokens");
        uint256 remainingSyntheticBalance = balance.sub(burnedAmount);
        uint256 remainingStake = _price.mul(remainingSyntheticBalance).floor();
        if (remainingStake < 10**18) {
            burnedAmount = balance;
            unstakedAmount = unstakedAmount.add(remainingStake);
        }
    }

    function _unlockRewardsAndStake() internal {
        (uint256 unlocked, bool currentStrategyEnded) = getUnlockedRewards();
        if (currentStrategyEnded) {
            _currentStrategy = _nextStrategy;
            emit NextStrategyRemoved();
            if (_currentStrategy.endsAt != 0) {
                emit CurrentStrategyUpdated(
                    _currentStrategy.perSecondReward,
                    _currentStrategy.startsAt,
                    _currentStrategy.endsAt
                );
            }
            delete _nextStrategy;
        }
        unlocked = Math.min(unlocked, _lockedRewards);
        if (unlocked > 0) {
            emit RewardsUnlocked(unlocked);
            _lockedRewards = _lockedRewards.sub(unlocked);
            _totalStaked = _totalStaked.add(unlocked);
        }
        lastUpdatedAt = getTimestamp();
    }

    function _update() internal {
        if (getTimestamp() <= lastUpdatedAt) return;
        _unlockRewardsAndStake();
        _updatePrice();
    }

    function _updatePrice() internal {
        uint256 totalStaked_ = _totalStaked;
        uint256 totalSupply_ = totalSupply();
        if (totalSupply_ == 0) _price = _defaultPrice;
        else _price = AttoDecimal.div(totalStaked_, totalSupply_);
        emit PriceUpdated(_price.mantissa, AttoDecimal.BASE, AttoDecimal.EXPONENTIATION);
    }

    function _validateStrategyParameters(
        uint256 perSecondReward,
        uint256 startsAt,
        uint256 duration
    ) internal view {
        require(duration > 0, "Duration is zero");
        require(startsAt >= getTimestamp(), "Starting timestamp lt current");
        require(perSecondReward <= 188 * 10**18, "Per second reward overflow");
    }

    function _setClaimingFeePercent(uint256 feePercent) internal {
        require(feePercent >= 0 && feePercent <= 100, "Invalid fee percent");
        claimingFeePercent = feePercent;
        emit ClaimingFeePercentUpdated(feePercent);
    }

    function _setUnstakingTime(uint256 unstakingTime_) internal {
        _unstakingTime = unstakingTime_;
        emit UnstakingTimeUpdated(unstakingTime_);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        _update();
        string memory errorText = "Minimal stake balance should be more or equal to 1 token";
        if (from != address(0)) {
            uint256 fromNewBalance = _price.mul(balanceOf(from).sub(amount)).floor();
            require(fromNewBalance >= MIN_STAKE_BALANCE || fromNewBalance == 0, errorText);
        }
        if (to != address(0)) {
            require(_price.mul(balanceOf(to).add(amount)).floor() >= MIN_STAKE_BALANCE, errorText);
        }
    }

    function _setCurrentStrategy(
        uint256 perSecondReward_,
        uint256 startsAt_,
        uint256 endsAt_
    ) private {
        _currentStrategy = Strategy({perSecondReward: perSecondReward_, startsAt: startsAt_, endsAt: endsAt_});
        emit CurrentStrategyUpdated(perSecondReward_, startsAt_, endsAt_);
    }

    function _stake(
        address staker,
        address payer,
        uint256 amount
    ) private returns (uint256 mintedAmount) {
        _update();
        mintedAmount = AttoDecimal.div(amount, _price).floor();
        require(mintedAmount > 0, "Too small staking amount");
        _mint(staker, mintedAmount);
        _totalStaked = _totalStaked.add(amount);
        emit Staked(staker, payer, amount, mintedAmount);
        _stakingToken.safeTransferFrom(payer, address(this), amount);
    }

    modifier onlyPositiveAmount(uint256 amount) {
        require(amount > 0, "Amount is not positive");
        _;
    }
}

File 2 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 3 of 11 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

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

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

File 4 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 5 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

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

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

File 6 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

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

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

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

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

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

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

pragma solidity ^0.6.0;

import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 8 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 10 of 11 : AttoDecimal.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

import "openzeppelin-solidity/contracts/math/SafeMath.sol";

library AttoDecimal {
    using SafeMath for uint256;

    struct Instance {
        uint256 mantissa;
    }

    uint256 internal constant BASE = 10;
    uint256 internal constant EXPONENTIATION = 18;
    uint256 internal constant ONE_MANTISSA = BASE**EXPONENTIATION;
    uint256 internal constant ONE_TENTH_MANTISSA = ONE_MANTISSA / 10;
    uint256 internal constant HALF_MANTISSA = ONE_MANTISSA / 2;
    uint256 internal constant SQUARED_ONE_MANTISSA = ONE_MANTISSA * ONE_MANTISSA;
    uint256 internal constant MAX_INTEGER = uint256(-1) / ONE_MANTISSA;

    function maximum() internal pure returns (Instance memory) {
        return Instance({mantissa: uint256(-1)});
    }

    function zero() internal pure returns (Instance memory) {
        return Instance({mantissa: 0});
    }

    function one() internal pure returns (Instance memory) {
        return Instance({mantissa: ONE_MANTISSA});
    }

    function convert(uint256 integer) internal pure returns (Instance memory) {
        return Instance({mantissa: integer.mul(ONE_MANTISSA)});
    }

    function compare(Instance memory a, Instance memory b) internal pure returns (int8) {
        if (a.mantissa < b.mantissa) return -1;
        return int8(a.mantissa > b.mantissa ? 1 : 0);
    }

    function compare(Instance memory a, uint256 b) internal pure returns (int8) {
        return compare(a, convert(b));
    }

    function add(Instance memory a, Instance memory b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.add(b.mantissa)});
    }

    function add(Instance memory a, uint256 b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.add(b.mul(ONE_MANTISSA))});
    }

    function sub(Instance memory a, Instance memory b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.sub(b.mantissa)});
    }

    function sub(Instance memory a, uint256 b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.sub(b.mul(ONE_MANTISSA))});
    }

    function sub(uint256 a, Instance memory b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mul(ONE_MANTISSA).sub(b.mantissa)});
    }

    function mul(Instance memory a, Instance memory b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.mul(b.mantissa) / ONE_MANTISSA});
    }

    function mul(Instance memory a, uint256 b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.mul(b)});
    }

    function div(Instance memory a, Instance memory b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.mul(ONE_MANTISSA).div(b.mantissa)});
    }

    function div(Instance memory a, uint256 b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.mul(ONE_MANTISSA).div(b)});
    }

    function div(uint256 a, Instance memory b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mul(SQUARED_ONE_MANTISSA).div(b.mantissa)});
    }

    function div(uint256 a, uint256 b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mul(ONE_MANTISSA).div(b)});
    }

    function idiv(Instance memory a, Instance memory b) internal pure returns (uint256) {
        return a.mantissa.div(b.mantissa);
    }

    function idiv(Instance memory a, uint256 b) internal pure returns (uint256) {
        return a.mantissa.div(b.mul(ONE_MANTISSA));
    }

    function idiv(uint256 a, Instance memory b) internal pure returns (uint256) {
        return a.mul(ONE_MANTISSA).div(b.mantissa);
    }

    function mod(Instance memory a, Instance memory b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.mod(b.mantissa)});
    }

    function mod(Instance memory a, uint256 b) internal pure returns (Instance memory) {
        return Instance({mantissa: a.mantissa.mod(b.mul(ONE_MANTISSA))});
    }

    function mod(uint256 a, Instance memory b) internal pure returns (Instance memory) {
        if (a > MAX_INTEGER) return Instance({mantissa: a.mod(b.mantissa).mul(ONE_MANTISSA) % b.mantissa});
        return Instance({mantissa: a.mul(ONE_MANTISSA).mod(b.mantissa)});
    }

    function floor(Instance memory a) internal pure returns (uint256) {
        return a.mantissa / ONE_MANTISSA;
    }

    function ceil(Instance memory a) internal pure returns (uint256) {
        return (a.mantissa / ONE_MANTISSA) + (a.mantissa % ONE_MANTISSA > 0 ? 1 : 0);
    }

    function round(Instance memory a) internal pure returns (uint256) {
        return (a.mantissa / ONE_MANTISSA) + ((a.mantissa / ONE_TENTH_MANTISSA) % 10 >= 5 ? 1 : 0);
    }

    function eq(Instance memory a, Instance memory b) internal pure returns (bool) {
        return a.mantissa == b.mantissa;
    }

    function eq(Instance memory a, uint256 b) internal pure returns (bool) {
        if (b > MAX_INTEGER) return false;
        return a.mantissa == b * ONE_MANTISSA;
    }

    function gt(Instance memory a, Instance memory b) internal pure returns (bool) {
        return a.mantissa > b.mantissa;
    }

    function gt(Instance memory a, uint256 b) internal pure returns (bool) {
        if (b > MAX_INTEGER) return false;
        return a.mantissa > b * ONE_MANTISSA;
    }

    function gte(Instance memory a, Instance memory b) internal pure returns (bool) {
        return a.mantissa >= b.mantissa;
    }

    function gte(Instance memory a, uint256 b) internal pure returns (bool) {
        if (b > MAX_INTEGER) return false;
        return a.mantissa >= b * ONE_MANTISSA;
    }

    function lt(Instance memory a, Instance memory b) internal pure returns (bool) {
        return a.mantissa < b.mantissa;
    }

    function lt(Instance memory a, uint256 b) internal pure returns (bool) {
        if (b > MAX_INTEGER) return true;
        return a.mantissa < b * ONE_MANTISSA;
    }

    function lte(Instance memory a, Instance memory b) internal pure returns (bool) {
        return a.mantissa <= b.mantissa;
    }

    function lte(Instance memory a, uint256 b) internal pure returns (bool) {
        if (b > MAX_INTEGER) return true;
        return a.mantissa <= b * ONE_MANTISSA;
    }

    function isInteger(Instance memory a) internal pure returns (bool) {
        return a.mantissa % ONE_MANTISSA == 0;
    }

    function isPositive(Instance memory a) internal pure returns (bool) {
        return a.mantissa > 0;
    }

    function isZero(Instance memory a) internal pure returns (bool) {
        return a.mantissa == 0;
    }

    function sum(Instance[] memory array) internal pure returns (Instance memory result) {
        uint256 length = array.length;
        for (uint256 index = 0; index < length; index++) result = add(result, array[index]);
    }

    function toTuple(Instance memory a)
        internal
        pure
        returns (
            uint256 mantissa,
            uint256 base,
            uint256 exponentiation
        )
    {
        return (a.mantissa, BASE, EXPONENTIATION);
    }
}

File 11 of 11 : TwoStageOwnable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;

abstract contract TwoStageOwnable {
    address private _nominatedOwner;
    address private _owner;

    function nominatedOwner() public view returns (address) {
        return _nominatedOwner;
    }

    function owner() public view returns (address) {
        return _owner;
    }

    event OwnerChanged(address indexed newOwner);
    event OwnerNominated(address indexed nominatedOwner);

    constructor(address owner_) internal {
        require(owner_ != address(0), "Owner is zero");
        _setOwner(owner_);
    }

    function acceptOwnership() external returns (bool success) {
        require(msg.sender == _nominatedOwner, "Not nominated to ownership");
        _setOwner(_nominatedOwner);
        return true;
    }

    function nominateNewOwner(address owner_) external onlyOwner returns (bool success) {
        _nominateNewOwner(owner_);
        return true;
    }

    modifier onlyOwner {
        require(msg.sender == _owner, "Not owner");
        _;
    }

    function _nominateNewOwner(address owner_) internal {
        if (_nominatedOwner == owner_) return;
        require(_owner != owner_, "Already owner");
        _nominatedOwner = owner_;
        emit OwnerNominated(owner_);
    }

    function _setOwner(address newOwner) internal {
        if (_owner == newOwner) return;
        _owner = newOwner;
        _nominatedOwner = address(0);
        emit OwnerChanged(newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "constantinople",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"syntheticTokenName","type":"string"},{"internalType":"string","name":"syntheticTokenSymbol","type":"string"},{"internalType":"contract IERC20","name":"stakingToken_","type":"address"},{"internalType":"address","name":"owner_","type":"address"},{"internalType":"uint256","name":"claimingFeePercent_","type":"uint256"},{"internalType":"uint256","name":"perSecondReward_","type":"uint256"},{"internalType":"uint256","name":"startsAt_","type":"uint256"},{"internalType":"uint256","name":"duration_","type":"uint256"},{"internalType":"uint256","name":"unstakingTime_","type":"uint256"},{"internalType":"uint256","name":"defaultPriceMantissa","type":"uint256"}],"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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"requestedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnedAmount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feePercent","type":"uint256"}],"name":"ClaimingFeePercentUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"perSecondReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startsAt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endsAt","type":"uint256"}],"name":"CurrentStrategyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeeClaimed","type":"event"},{"anonymous":false,"inputs":[],"name":"NextStrategyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"perSecondReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startsAt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endsAt","type":"uint256"}],"name":"NextStrategyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nominatedOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PoolDecreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"payer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PoolIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"mantissa","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"base","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"exponentiation","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsUnlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"payer","type":"address"},{"indexed":false,"internalType":"uint256","name":"stakedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintedAmount","type":"uint256"}],"name":"Staked","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"requestedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"unstakedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnedAmount","type":"uint256"}],"name":"Unstaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnstakingCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"unstakingTime","type":"uint256"}],"name":"UnstakingTimeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawed","type":"event"},{"inputs":[],"name":"MIN_STAKE_BALANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateUnstake","outputs":[{"internalType":"uint256","name":"unstakedAmount","type":"uint256"},{"internalType":"uint256","name":"burnedAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"cancelUnstaking","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claim","outputs":[{"internalType":"uint256","name":"claimedAmount","type":"uint256"},{"internalType":"uint256","name":"burnedAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimFees","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimingFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"perSecondReward_","type":"uint256"},{"internalType":"uint256","name":"startsAt_","type":"uint256"},{"internalType":"uint256","name":"duration_","type":"uint256"}],"name":"createNewStrategy","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentStrategy","outputs":[{"components":[{"internalType":"uint256","name":"endsAt","type":"uint256"},{"internalType":"uint256","name":"perSecondReward","type":"uint256"},{"internalType":"uint256","name":"startsAt","type":"uint256"}],"internalType":"struct StakingPool.Strategy","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"decreasePool","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPrice","outputs":[{"internalType":"uint256","name":"mantissa","type":"uint256"},{"internalType":"uint256","name":"base","type":"uint256"},{"internalType":"uint256","name":"exponentiation","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentStrategyUnlockedRewards","outputs":[{"internalType":"uint256","name":"unlocked","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnlockedRewards","outputs":[{"internalType":"uint256","name":"unlocked","type":"uint256"},{"internalType":"bool","name":"currentStrategyEnded","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getUnstake","outputs":[{"components":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"applicableAt","type":"uint256"}],"internalType":"struct StakingPool.Unstake","name":"result","type":"tuple"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"increasePool","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastUpdatedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextStrategy","outputs":[{"components":[{"internalType":"uint256","name":"endsAt","type":"uint256"},{"internalType":"uint256","name":"perSecondReward","type":"uint256"},{"internalType":"uint256","name":"startsAt","type":"uint256"}],"internalType":"struct StakingPool.Strategy","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"nominateNewOwner","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"mantissa","type":"uint256"},{"internalType":"uint256","name":"base","type":"uint256"},{"internalType":"uint256","name":"exponentiation","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceStored","outputs":[{"internalType":"uint256","name":"mantissa","type":"uint256"},{"internalType":"uint256","name":"base","type":"uint256"},{"internalType":"uint256","name":"exponentiation","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"feePercent","type":"uint256"}],"name":"setClaimingFeePercent","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"unstakingTime_","type":"uint256"}],"name":"setUnstakingTime","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[{"internalType":"uint256","name":"mintedAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stakeForUser","outputs":[{"internalType":"uint256","name":"mintedAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalUnstaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unstake","outputs":[{"internalType":"uint256","name":"unstakedAmount","type":"uint256"},{"internalType":"uint256","name":"burnedAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstakingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"update","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162005cd338038062005cd3833981810160405281019062000037919062000726565b868a8a816003908051906020019062000052929190620005df565b5080600490805190602001906200006b929190620005df565b506012600560006101000a81548160ff021916908360ff16021790555050506001600681905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000105576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000fc9062000a07565b60405180910390fd5b62000116816200020e60201b60201c565b5060405180602001604052808281525060116000820151816000015590505087601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000187866200033560201b60201c565b6200019a858585620003cd60201b60201c565b620001ab82620004bc60201b60201c565b620001d78585620001cb8688620004ff60201b620024211790919060201c565b6200055760201b60201c565b620001e7620005d760201b60201c565b600a8190555060116012600082015481600001559050505050505050505050505062000c4d565b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156200026b5762000332565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3660405160405180910390a25b50565b6000811015801562000348575060648111155b6200038a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003819062000a8f565b60405180910390fd5b806009819055507fcd36e83aa831664c67a318291b1d97d2741c9ea9d5a49f66e29e28541b3c06e981604051620003c2919062000ab1565b60405180910390a150565b6000811162000413576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040a90620009e5565b60405180910390fd5b62000423620005d760201b60201c565b82101562000468576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200045f9062000a6d565b60405180910390fd5b680a31062beeed700000831115620004b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ae9062000a4b565b60405180910390fd5b505050565b80600f819055507f7f7d5eb76787d9279c88eb7f18c26b33761ae038bbd802551a7c6aa2f9f8dd1281604051620004f4919062000ab1565b60405180910390a150565b6000808284019050838110156200054d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005449062000a29565b60405180910390fd5b8091505092915050565b60405180606001604052808281526020018481526020018381525060136000820151816000015560208201518160010155604082015181600201559050507f2fa40e2e6101b8bae833c4716c3c36b1e15938b1aaa699ec9896bb2d836c9492838383604051620005ca9392919062000ace565b60405180910390a1505050565b600042905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200062257805160ff191683800117855562000653565b8280016001018555821562000653579182015b828111156200065257825182559160200191906001019062000635565b5b50905062000662919062000666565b5090565b5b808211156200068157600081600090555060010162000667565b5090565b600081519050620006968162000bff565b92915050565b600081519050620006ad8162000c19565b92915050565b600082601f830112620006c557600080fd5b8151620006dc620006d68262000b39565b62000b0b565b91508082526020830160208301858383011115620006f957600080fd5b6200070683828462000bc9565b50505092915050565b600081519050620007208162000c33565b92915050565b6000806000806000806000806000806101408b8d0312156200074757600080fd5b60008b015167ffffffffffffffff8111156200076257600080fd5b620007708d828e01620006b3565b9a505060208b015167ffffffffffffffff8111156200078e57600080fd5b6200079c8d828e01620006b3565b9950506040620007af8d828e016200069c565b9850506060620007c28d828e0162000685565b9750506080620007d58d828e016200070f565b96505060a0620007e88d828e016200070f565b95505060c0620007fb8d828e016200070f565b94505060e06200080e8d828e016200070f565b935050610100620008228d828e016200070f565b925050610120620008368d828e016200070f565b9150509295989b9194979a5092959850565b60006200085760108362000b66565b91507f4475726174696f6e206973207a65726f000000000000000000000000000000006000830152602082019050919050565b600062000899600d8362000b66565b91507f4f776e6572206973207a65726f000000000000000000000000000000000000006000830152602082019050919050565b6000620008db601b8362000b66565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b60006200091d601a8362000b66565b91507f506572207365636f6e6420726577617264206f766572666c6f770000000000006000830152602082019050919050565b60006200095f601d8362000b66565b91507f5374617274696e672074696d657374616d70206c742063757272656e740000006000830152602082019050919050565b6000620009a160138362000b66565b91507f496e76616c6964206665652070657263656e74000000000000000000000000006000830152602082019050919050565b620009df8162000bbf565b82525050565b6000602082019050818103600083015262000a008162000848565b9050919050565b6000602082019050818103600083015262000a22816200088a565b9050919050565b6000602082019050818103600083015262000a4481620008cc565b9050919050565b6000602082019050818103600083015262000a66816200090e565b9050919050565b6000602082019050818103600083015262000a888162000950565b9050919050565b6000602082019050818103600083015262000aaa8162000992565b9050919050565b600060208201905062000ac86000830184620009d4565b92915050565b600060608201905062000ae56000830186620009d4565b62000af46020830185620009d4565b62000b036040830184620009d4565b949350505050565b6000604051905081810181811067ffffffffffffffff8211171562000b2f57600080fd5b8060405250919050565b600067ffffffffffffffff82111562000b5157600080fd5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b600062000b848262000b9f565b9050919050565b600062000b988262000b77565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000be957808201518184015260208101905062000bcc565b8381111562000bf9576000848401525b50505050565b62000c0a8162000b77565b811462000c1657600080fd5b50565b62000c248162000b8b565b811462000c3057600080fd5b50565b62000c3e8162000bbf565b811462000c4a57600080fd5b50565b6150768062000c5d6000396000f3fe608060405234801561001057600080fd5b506004361061028a5760003560e01c806372f702f31161015c578063a694fc3a116100ce578063dd62ed3e11610087578063dd62ed3e1461088b578063e175ae13146108bb578063e2fd6ff9146108d9578063e69e04b3146108f7578063e928ce7214610917578063fd79c6a2146109355761028a565b8063a694fc3a146107a1578063a9059cbb146107d1578063ae2e933b14610801578063af1c7f201461081f578063d294f0931461083d578063d708120e1461085b5761028a565b80638da5cb5b116101205780638da5cb5b146106c7578063947ae12a146106e557806395d89b4114610715578063a035b1fe14610733578063a2e6204514610753578063a457c2d7146107715761028a565b806372f702f31461060d57806379ba50971461062b5780637ee3beb914610649578063817b1cd214610679578063833e8bb6146106975761028a565b806332a6bf43116102005780635235934d116101b95780635235934d1461053557806353a47bb71461055357806354aea12714610571578063551fdc461461058f5780636a1ceb2d146105bf57806370a08231146105dd5761028a565b806332a6bf4314610447578063379607f5146104675780633950935114610498578063396f55d0146104c85780633ccfd60b146104e657806346267a93146105045761028a565b80631627540c116102525780631627540c1461034a57806318160ddd1461037a5780632059ba6f1461039857806323b872dd146103c85780632e17de78146103f8578063313ce567146104295761028a565b806301a563831461028f57806306fdde03146102ad578063095ea7b3146102cb5780630be4bc0d146102fb57806314cb97d71461031a575b600080fd5b610297610965565b6040516102a49190614d3b565b60405180910390f35b6102b561096b565b6040516102c291906149a3565b60405180910390f35b6102e560048036038101906102e09190613f3f565b610a0d565b6040516102f2919061496d565b60405180910390f35b610303610a2b565b604051610311929190614d56565b60405180910390f35b610334600480360381019061032f9190613fa4565b610ad4565b604051610341919061496d565b60405180910390f35b610364600480360381019061035f9190613e8b565b610b78565b604051610371919061496d565b60405180910390f35b610382610c1c565b60405161038f9190614d3b565b60405180910390f35b6103b260048036038101906103ad9190613fa4565b610c26565b6040516103bf919061496d565b60405180910390f35b6103e260048036038101906103dd9190613ef0565b610cca565b6040516103ef919061496d565b60405180910390f35b610412600480360381019061040d9190613fa4565b610da3565b604051610420929190614d7f565b60405180910390f35b610431610f40565b60405161043e9190614e24565b60405180910390f35b61044f610f57565b60405161045e93929190614da8565b60405180910390f35b610481600480360381019061047c9190613fa4565b610f86565b60405161048f929190614d7f565b60405180910390f35b6104b260048036038101906104ad9190613f3f565b61112d565b6040516104bf919061496d565b60405180910390f35b6104d06111e0565b6040516104dd9190614d3b565b60405180910390f35b6104ee6111ec565b6040516104fb919061496d565b60405180910390f35b61051e60048036038101906105199190613f3f565b6113e1565b60405161052c929190614d7f565b60405180910390f35b61053d611417565b60405161054a9190614d3b565b60405180910390f35b61055b611421565b60405161056891906148f2565b60405180910390f35b61057961144b565b6040516105869190614d3b565b60405180910390f35b6105a960048036038101906105a49190613fa4565b611451565b6040516105b6919061496d565b60405180910390f35b6105c7611616565b6040516105d49190614d05565b60405180910390f35b6105f760048036038101906105f29190613e8b565b61164e565b6040516106049190614d3b565b60405180910390f35b610615611696565b6040516106229190614988565b60405180910390f35b6106336116c0565b604051610640919061496d565b60405180910390f35b610663600480360381019061065e9190613fa4565b611784565b604051610670919061496d565b60405180910390f35b610681611a4c565b60405161068e9190614d3b565b60405180910390f35b6106b160048036038101906106ac9190613fa4565b611a56565b6040516106be919061496d565b60405180910390f35b6106cf611b6c565b6040516106dc91906148f2565b60405180910390f35b6106ff60048036038101906106fa9190613e8b565b611b96565b60405161070c9190614d20565b60405180910390f35b61071d611c03565b60405161072a91906149a3565b60405180910390f35b61073b611ca5565b60405161074a93929190614da8565b60405180910390f35b61075b611d2a565b604051610768919061496d565b60405180910390f35b61078b60048036038101906107869190613f3f565b611d3b565b604051610798919061496d565b60405180910390f35b6107bb60048036038101906107b69190613fa4565b611e08565b6040516107c89190614d3b565b60405180910390f35b6107eb60048036038101906107e69190613f3f565b611e67565b6040516107f8919061496d565b60405180910390f35b610809611e85565b6040516108169190614d3b565b60405180910390f35b610827611e8f565b6040516108349190614d3b565b60405180910390f35b610845611e99565b6040516108529190614d3b565b60405180910390f35b61087560048036038101906108709190613fcd565b612029565b604051610882919061496d565b60405180910390f35b6108a560048036038101906108a09190613eb4565b612295565b6040516108b29190614d3b565b60405180910390f35b6108c361231c565b6040516108d09190614d05565b60405180910390f35b6108e1612354565b6040516108ee9190614d3b565b60405180910390f35b6108ff61238e565b60405161090e93929190614da8565b60405180910390f35b61091f6123bd565b60405161092c9190614d3b565b60405180910390f35b61094f600480360381019061094a9190613f3f565b6123c7565b60405161095c9190614d3b565b60405180910390f35b60095481565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a035780601f106109d857610100808354040283529160200191610a03565b820191906000526020600020905b8154815290600101906020018083116109e657829003601f168201915b5050505050905090565b6000610a21610a1a612476565b848461247e565b6001905092915050565b600080610a6160136040518060600160405290816000820154815260200160018201548152602001600282015481525050612649565b9150601360000154610a716126ef565b10610ad05760019050600060166000015414610acf57610acc610abd60166040518060600160405290816000820154815260200160018201548152602001600282015481525050612649565b8361242190919063ffffffff16565b91505b5b9091565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90614be5565b60405180910390fd5b610b6f826126f7565b60019050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190614be5565b60405180910390fd5b610c1382612789565b60019050919050565b6000600254905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90614be5565b60405180910390fd5b610cc1826128fd565b60019050919050565b6000610cd784848461293e565b610d9884610ce3612476565b610d9385604051806060016040528060288152602001614fbc60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610d49612476565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b61247e565b600190509392505050565b6000808260008111610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190614aa5565b60405180910390fd5b610df2612c2e565b6000339050610e1881866012604051806020016040529081600082015481525050612c56565b8094508195505050610e2a8184612d83565b610e3f84600d54612f3190919063ffffffff16565b600d81905550610e5a84600e5461242190919063ffffffff16565b600e819055506000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610eba85826000015461242190919063ffffffff16565b8160000181905550610ede600f54610ed06126ef565b61242190919063ffffffff16565b81600101819055508173ffffffffffffffffffffffffffffffffffffffff167f204fccf0d92ed8d48f204adb39b2e81e92bad0dedb93f5716ca9478cfb57de00878787604051610f3093929190614da8565b60405180910390a2505050915091565b6000600560009054906101000a900460ff16905090565b6000806000610f7b6012604051806020016040529081600082015481525050612f7b565b925092509250909192565b6000808260008111610fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc490614aa5565b60405180910390fd5b610fd5612c2e565b6000339050610ffb81866012604051806020016040529081600082015481525050612c56565b8094508195505050600061102d606461101f60095488612f9690919063ffffffff16565b61300690919063ffffffff16565b90506110398285612d83565b61104e85600d54612f3190919063ffffffff16565b600d819055506110678186612f3190919063ffffffff16565b945061107e81600b5461242190919063ffffffff16565b600b819055508173ffffffffffffffffffffffffffffffffffffffff167f7708755c9b641bf197be5047b04002d2e88fa658c173a351067747eb5dfc568a878784886040516110d09493929190614ddf565b60405180910390a26111258286601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b505050915091565b60006111d661113a612476565b846111d1856001600061114b612476565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461242190919063ffffffff16565b61247e565b6001905092915050565b670de0b6b3a764000081565b6000803390506000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008111611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614a65565b60405180910390fd5b6112896126ef565b826001015411156112cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c690614b05565b60405180910390fd5b601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055505061133681600e54612f3190919063ffffffff16565b600e819055508273ffffffffffffffffffffffffffffffffffffffff167f6cca423c6ffc06e62a0acc433965e074b11c28479b0449250ce3ff65ac9e39fe826040516113829190614d3b565b60405180910390a26113d78382601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b6001935050505090565b60008060006113ee611ca5565b5050905061140b8585604051806020016040528085815250612c56565b92509250509250929050565b6000600e54905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b60008160008111611497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148e90614aa5565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90614be5565b60405180910390fd5b61152f612c2e565b61157b836040518060400160405280601981526020017f4e6f7420656e6f756768206c6f636b6564207265776172647300000000000000815250600c54612bd39092919063ffffffff16565b600c819055507fcb871ad2b15bb3b1869f4566fd37fc75eb21cc32e880568fc6a73aae7939c5d2836040516115b09190614d3b565b60405180910390a161160c6115c3611b6c565b84601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b6001915050919050565b61161e613dfe565b60136040518060600160405290816000820154815260200160018201548152602001600282015481525050905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990614b65565b60405180910390fd5b61177d600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166130d6565b6001905090565b600081600081116117ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c190614aa5565b60405180910390fd5b6117d2612c2e565b60003390506000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905085811015611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d90614c45565b60405180910390fd5b60006118a161189c6118778661164e565b60126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b9050670de0b6b3a76400006118bf888361242190919063ffffffff16565b1015611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790614bc5565b60405180910390fd5b600061192a61192589601260405180602001604052908160008201548152505061324b565b613230565b9050611936858261329c565b61194b88600d5461242190919063ffffffff16565b600d8190555061196688600e54612f3190919063ffffffff16565b600e8190555061197f8884612f3190919063ffffffff16565b8460000181905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f6c86f3fd5118b3aa8bb4f389a617046de0a3d3d477de1a1673d227f802f616dc8a846040516119e7929190614d7f565b60405180910390a38473ffffffffffffffffffffffffffffffffffffffff167f6a6d5d5933544e2f8792a55eb024869c9b2fa719fd6b231725a991198658f94e89604051611a359190614d3b565b60405180910390a260019650505050505050919050565b6000600d54905090565b60008160008111611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390614aa5565b60405180910390fd5b611aa4612c2e565b6000339050611abe84600c5461242190919063ffffffff16565b600c819055508073ffffffffffffffffffffffffffffffffffffffff167f457b865678556d8d0f459b359ad2daa4638a33e4616c48e9c501f28ef8b673c485604051611b0a9190614d3b565b60405180910390a2611b61813086601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613430909392919063ffffffff16565b600192505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b9e613e1f565b601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050919050565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c9b5780601f10611c7057610100808354040283529160200191611c9b565b820191906000526020600020905b815481529060010190602001808311611c7e57829003601f168201915b5050505050905090565b600080600080611cb3610a2b565b5090506000600d5490506000611cc7610c1c565b9050611cd1613e39565b601160405180602001604052908160008201548152505090506000821115611d1257611d0f611d09858561242190919063ffffffff16565b836134b9565b90505b611d1b81612f7b565b96509650965050505050909192565b6000611d34612c2e565b6001905090565b6000611dfe611d48612476565b84611df98560405180606001604052806025815260200161501c6025913960016000611d72612476565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b61247e565b6001905092915050565b60008160008111611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590614aa5565b60405180910390fd5b6000339050611e5e818286613500565b92505050919050565b6000611e7b611e74612476565b848461293e565b6001905092915050565b6000600b54905090565b6000600f54905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290614be5565b60405180910390fd5b6000600b5411611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6790614a85565b60405180910390fd5b600b5490506000600b81905550611f85611b6c565b73ffffffffffffffffffffffffffffffffffffffff167f20ca5094f3a20c321cbe4123d0f01b276b81df0fa24cd4d83d9253956035d86382604051611fca9190614d3b565b60405180910390a2612026611fdd611b6c565b82601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b90565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b290614be5565b60405180910390fd5b6120c3612c2e565b6120ce848484613659565b60006120e3838561242190919063ffffffff16565b90506120ed613dfe565b60405180606001604052808381526020018781526020018681525090506121126126ef565b60136002015411156121cb5760166000808201600090556001820160009055600282016000905550507fe58d04c6069251e310ede9daae36efbc408e81b8bebd9915bf5a7e6e7ca95d9860405160405180910390a18060136000820151816000015560208201518160010155604082015181600201559050507f2fa40e2e6101b8bae833c4716c3c36b1e15938b1aaa699ec9896bb2d836c94928686846040516121be93929190614da8565b60405180910390a1612288565b7f1355800f5bff457ad5c5a51017502bef53351bc3e3575eaf67c1f768b2101b758686846040516121fe93929190614da8565b60405180910390a180601660008201518160000155602082015181600101556040820151816002015590505084601360000154111561228757846013600001819055507f2fa40e2e6101b8bae833c4716c3c36b1e15938b1aaa699ec9896bb2d836c94926013600101546013600201548760405161227e93929190614da8565b60405180910390a15b5b6001925050509392505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612324613dfe565b60166040518060600160405290816000820154815260200160018201548152602001600282015481525050905090565b600061238960136040518060600160405290816000820154815260200160018201548152602001600282015481525050612649565b905090565b60008060006123b26011604051806020016040529081600082015481525050612f7b565b925092509250909192565b6000600c54905090565b6000816000811161240d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240490614aa5565b60405180910390fd5b612418843385613500565b91505092915050565b60008082840190508381101561246c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246390614a25565b60405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614c05565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561255e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255590614a05565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161263c9190614d3b565b60405180910390a3505050565b6000806126546126ef565b905082604001518110806126695750600a5481145b1561267457506126ea565b6000612686600a548560400151613737565b90506000612698838660000151613751565b9050808210156126e65760006126b78383612f3190919063ffffffff16565b90506126e26126d3876020015183612f9690919063ffffffff16565b8661242190919063ffffffff16565b9450505b5050505b919050565b600042905090565b60008110158015612709575060648111155b612748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273f90614c65565b60405180910390fd5b806009819055507fcd36e83aa831664c67a318291b1d97d2741c9ea9d5a49f66e29e28541b3c06e98160405161277e9190614d3b565b60405180910390a150565b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156127e4576128fa565b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286c90614b45565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce2260405160405180910390a25b50565b80600f819055507f7f7d5eb76787d9279c88eb7f18c26b33761ae038bbd802551a7c6aa2f9f8dd12816040516129339190614d3b565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a590614ba5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a15906149c5565b60405180910390fd5b612a2983838361376a565b612a9481604051806060016040528060268152602001614f96602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612b27816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461242190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612bc69190614d3b565b60405180910390a3505050565b6000838311158290612c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1291906149a3565b60405180910390fd5b5060008385039050809150509392505050565b600a54612c396126ef565b11612c4357612c54565b612c4b613942565b612c53613ab5565b5b565b600080839150612c6e612c69858561324b565b613b47565b90506000612c7b8661164e565b905060008211612cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb790614cc5565b60405180910390fd5b81811015612d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa90614ca5565b60405180910390fd5b6000612d188383612f3190919063ffffffff16565b90506000612d4d612d488360126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b9050670de0b6b3a7640000811015612d7857829350612d75818661242190919063ffffffff16565b94505b505050935093915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dea90614b85565b60405180910390fd5b612dff8260008361376a565b612e6a81604051806060016040528060228152602001614f74602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612ec181600254612f3190919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612f259190614d3b565b60405180910390a35050565b6000612f7383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bd3565b905092915050565b60008060008360000151600a60129250925092509193909250565b600080831415612fa95760009050613000565b6000828402905082848281612fba57fe5b0414612ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff290614ae5565b60405180910390fd5b809150505b92915050565b600061304883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b88565b905092915050565b6130d18363a9059cbb60e01b848460405160240161306f929190614944565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613be9565b505050565b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613131576131f8565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3660405160405180910390a25b50565b613203613e39565b6040518060200160405280613225848660000151612f9690919063ffffffff16565b815250905092915050565b60006012600a0a82600001518161324357fe5b049050919050565b613253613e39565b604051806020016040528061329184600001516132836012600a0a6012600a0a0288612f9690919063ffffffff16565b61300690919063ffffffff16565b815250905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561330c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330390614ce5565b60405180910390fd5b6133186000838361376a565b61332d8160025461242190919063ffffffff16565b600281905550613384816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461242190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516134249190614d3b565b60405180910390a35050565b6134b3846323b872dd60e01b8585856040516024016134519392919061490d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613be9565b50505050565b6134c1613e39565b60405180602001604052806134f5846134e76012600a0a88612f9690919063ffffffff16565b61300690919063ffffffff16565b815250905092915050565b600061350a612c2e565b61353261352d83601260405180602001604052908160008201548152505061324b565b613230565b905060008111613577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356e90614b25565b60405180910390fd5b613581848261329c565b61359682600d5461242190919063ffffffff16565b600d819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f6c86f3fd5118b3aa8bb4f389a617046de0a3d3d477de1a1673d227f802f616dc84846040516135fb929190614d7f565b60405180910390a3613652833084601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613430909392919063ffffffff16565b9392505050565b6000811161369c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613693906149e5565b60405180910390fd5b6136a46126ef565b8210156136e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136dd90614ac5565b60405180910390fd5b680a31062beeed700000831115613732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372990614a45565b60405180910390fd5b505050565b6000818310156137475781613749565b825b905092915050565b60008183106137605781613762565b825b905092915050565b613772612c2e565b6060604051806060016040528060388152602001614fe4603891399050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461386e57600061381061380b6137e6856137d88961164e565b612f3190919063ffffffff16565b60126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b9050670de0b6b3a7640000811015806138295750600081145b829061386b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386291906149a3565b60405180910390fd5b50505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461393c57670de0b6b3a76400006138f66138f16138cc856138be8861164e565b61242190919063ffffffff16565b60126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b1015819061393a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393191906149a3565b60405180910390fd5b505b50505050565b60008061394d610a2b565b915091508015613a1e57601660136000820154816000015560018201548160010155600282015481600201559050507fe58d04c6069251e310ede9daae36efbc408e81b8bebd9915bf5a7e6e7ca95d9860405160405180910390a1600060136000015414613a00577f2fa40e2e6101b8bae833c4716c3c36b1e15938b1aaa699ec9896bb2d836c94926013600101546013600201546013600001546040516139f793929190614da8565b60405180910390a15b60166000808201600090556001820160009055600282016000905550505b613a2a82600c54613751565b91506000821115613aa3577f01feb0f24c52736758ca404486734e6287175eb5c93aa090f0ab371665231d7282604051613a649190614d3b565b60405180910390a1613a8182600c54612f3190919063ffffffff16565b600c81905550613a9c82600d5461242190919063ffffffff16565b600d819055505b613aab6126ef565b600a819055505050565b6000600d5490506000613ac6610c1c565b90506000811415613ae7576011601260008201548160000155905050613b01565b613af182826134b9565b6012600082015181600001559050505b7f15819dd2fd9f6418b142e798d08a18d0bf06ea368f4480b7b0d3f75bd966bc48601260000154600a6012604051613b3b93929190614da8565b60405180910390a15050565b6000806012600a0a836000015181613b5b57fe5b0611613b68576000613b6b565b60015b60ff166012600a0a836000015181613b7f57fe5b04019050919050565b60008083118290613bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc691906149a3565b60405180910390fd5b506000838581613bdb57fe5b049050809150509392505050565b6060613c4b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613cb09092919063ffffffff16565b9050600081511115613cab5780806020019051810190613c6b9190613f7b565b613caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ca190614c85565b60405180910390fd5b5b505050565b6060613cbf8484600085613cc8565b90509392505050565b6060613cd385613deb565b613d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d0990614c25565b60405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051613d3c91906148db565b60006040518083038185875af1925050503d8060008114613d79576040519150601f19603f3d011682016040523d82523d6000602084013e613d7e565b606091505b50915091508115613d93578092505050613de3565b600081511115613da65780518082602001fd5b836040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dda91906149a3565b60405180910390fd5b949350505050565b600080823b905060008111915050919050565b60405180606001604052806000815260200160008152602001600081525090565b604051806040016040528060008152602001600081525090565b6040518060200160405280600081525090565b600081359050613e5b81614f2e565b92915050565b600081519050613e7081614f45565b92915050565b600081359050613e8581614f5c565b92915050565b600060208284031215613e9d57600080fd5b6000613eab84828501613e4c565b91505092915050565b60008060408385031215613ec757600080fd5b6000613ed585828601613e4c565b9250506020613ee685828601613e4c565b9150509250929050565b600080600060608486031215613f0557600080fd5b6000613f1386828701613e4c565b9350506020613f2486828701613e4c565b9250506040613f3586828701613e76565b9150509250925092565b60008060408385031215613f5257600080fd5b6000613f6085828601613e4c565b9250506020613f7185828601613e76565b9150509250929050565b600060208284031215613f8d57600080fd5b6000613f9b84828501613e61565b91505092915050565b600060208284031215613fb657600080fd5b6000613fc484828501613e76565b91505092915050565b600080600060608486031215613fe257600080fd5b6000613ff086828701613e76565b935050602061400186828701613e76565b925050604061401286828701613e76565b9150509250925092565b61402581614e71565b82525050565b61403481614e83565b82525050565b600061404582614e3f565b61404f8185614e55565b935061405f818560208601614eea565b80840191505092915050565b61407481614ec6565b82525050565b600061408582614e4a565b61408f8185614e60565b935061409f818560208601614eea565b6140a881614f1d565b840191505092915050565b60006140c0602383614e60565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614126601083614e60565b91507f4475726174696f6e206973207a65726f000000000000000000000000000000006000830152602082019050919050565b6000614166602283614e60565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141cc601b83614e60565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b600061420c601a83614e60565b91507f506572207365636f6e6420726577617264206f766572666c6f770000000000006000830152602082019050919050565b600061424c600c83614e60565b91507f4e6f7420756e7374616b656400000000000000000000000000000000000000006000830152602082019050919050565b600061428c600783614e60565b91507f4e6f2066656573000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006142cc601683614e60565b91507f416d6f756e74206973206e6f7420706f736974697665000000000000000000006000830152602082019050919050565b600061430c601d83614e60565b91507f5374617274696e672074696d657374616d70206c742063757272656e740000006000830152602082019050919050565b600061434c602183614e60565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143b2600f83614e60565b91507f4e6f742072656c656173656420617400000000000000000000000000000000006000830152602082019050919050565b60006143f2601883614e60565b91507f546f6f20736d616c6c207374616b696e6720616d6f756e7400000000000000006000830152602082019050919050565b6000614432600d83614e60565b91507f416c7265616479206f776e6572000000000000000000000000000000000000006000830152602082019050919050565b6000614472601a83614e60565b91507f4e6f74206e6f6d696e6174656420746f206f776e6572736869700000000000006000830152602082019050919050565b60006144b2602183614e60565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614518602583614e60565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061457e601a83614e60565b91507f5374616b652062616c616e6365206c74206d696e207374616b650000000000006000830152602082019050919050565b60006145be600983614e60565b91507f4e6f74206f776e657200000000000000000000000000000000000000000000006000830152602082019050919050565b60006145fe602483614e60565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614664601d83614e60565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b60006146a4601b83614e60565b91507f4e6f7420656e6f75676820756e7374616b65642062616c616e636500000000006000830152602082019050919050565b60006146e4601383614e60565b91507f496e76616c6964206665652070657263656e74000000000000000000000000006000830152602082019050919050565b6000614724602a83614e60565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b600061478a601b83614e60565b91507f4e6f7420656e6f7567682073796e74686574696320746f6b656e7300000000006000830152602082019050919050565b60006147ca601a83614e60565b91507f546f6f20736d616c6c20756e7374616b696e6720616d6f756e740000000000006000830152602082019050919050565b600061480a601f83614e60565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b60608201600082015161485360008501826148ae565b50602082015161486660208501826148ae565b50604082015161487960408501826148ae565b50505050565b60408201600082015161489560008501826148ae565b5060208201516148a860208501826148ae565b50505050565b6148b781614eaf565b82525050565b6148c681614eaf565b82525050565b6148d581614eb9565b82525050565b60006148e7828461403a565b915081905092915050565b6000602082019050614907600083018461401c565b92915050565b6000606082019050614922600083018661401c565b61492f602083018561401c565b61493c60408301846148bd565b949350505050565b6000604082019050614959600083018561401c565b61496660208301846148bd565b9392505050565b6000602082019050614982600083018461402b565b92915050565b600060208201905061499d600083018461406b565b92915050565b600060208201905081810360008301526149bd818461407a565b905092915050565b600060208201905081810360008301526149de816140b3565b9050919050565b600060208201905081810360008301526149fe81614119565b9050919050565b60006020820190508181036000830152614a1e81614159565b9050919050565b60006020820190508181036000830152614a3e816141bf565b9050919050565b60006020820190508181036000830152614a5e816141ff565b9050919050565b60006020820190508181036000830152614a7e8161423f565b9050919050565b60006020820190508181036000830152614a9e8161427f565b9050919050565b60006020820190508181036000830152614abe816142bf565b9050919050565b60006020820190508181036000830152614ade816142ff565b9050919050565b60006020820190508181036000830152614afe8161433f565b9050919050565b60006020820190508181036000830152614b1e816143a5565b9050919050565b60006020820190508181036000830152614b3e816143e5565b9050919050565b60006020820190508181036000830152614b5e81614425565b9050919050565b60006020820190508181036000830152614b7e81614465565b9050919050565b60006020820190508181036000830152614b9e816144a5565b9050919050565b60006020820190508181036000830152614bbe8161450b565b9050919050565b60006020820190508181036000830152614bde81614571565b9050919050565b60006020820190508181036000830152614bfe816145b1565b9050919050565b60006020820190508181036000830152614c1e816145f1565b9050919050565b60006020820190508181036000830152614c3e81614657565b9050919050565b60006020820190508181036000830152614c5e81614697565b9050919050565b60006020820190508181036000830152614c7e816146d7565b9050919050565b60006020820190508181036000830152614c9e81614717565b9050919050565b60006020820190508181036000830152614cbe8161477d565b9050919050565b60006020820190508181036000830152614cde816147bd565b9050919050565b60006020820190508181036000830152614cfe816147fd565b9050919050565b6000606082019050614d1a600083018461483d565b92915050565b6000604082019050614d35600083018461487f565b92915050565b6000602082019050614d5060008301846148bd565b92915050565b6000604082019050614d6b60008301856148bd565b614d78602083018461402b565b9392505050565b6000604082019050614d9460008301856148bd565b614da160208301846148bd565b9392505050565b6000606082019050614dbd60008301866148bd565b614dca60208301856148bd565b614dd760408301846148bd565b949350505050565b6000608082019050614df460008301876148bd565b614e0160208301866148bd565b614e0e60408301856148bd565b614e1b60608301846148bd565b95945050505050565b6000602082019050614e3960008301846148cc565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000614e7c82614e8f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614ed182614ed8565b9050919050565b6000614ee382614e8f565b9050919050565b60005b83811015614f08578082015181840152602081019050614eed565b83811115614f17576000848401525b50505050565b6000601f19601f8301169050919050565b614f3781614e71565b8114614f4257600080fd5b50565b614f4e81614e83565b8114614f5957600080fd5b50565b614f6581614eaf565b8114614f7057600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654d696e696d616c207374616b652062616c616e63652073686f756c64206265206d6f7265206f7220657175616c20746f203120746f6b656e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c06510fd5760b7875a5f46d105b7c36c439a1d312eff9ff8e2a54170a921cb4f64736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000004eed0fa8de12d5a86517f214c2f11586ba2ed88d000000000000000000000000d4eee3d50588d7dee8dcc42635e50093e0aa8cc0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060c9e7c0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000a8c000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000b5374616b6564204249544500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057342495445000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061028a5760003560e01c806372f702f31161015c578063a694fc3a116100ce578063dd62ed3e11610087578063dd62ed3e1461088b578063e175ae13146108bb578063e2fd6ff9146108d9578063e69e04b3146108f7578063e928ce7214610917578063fd79c6a2146109355761028a565b8063a694fc3a146107a1578063a9059cbb146107d1578063ae2e933b14610801578063af1c7f201461081f578063d294f0931461083d578063d708120e1461085b5761028a565b80638da5cb5b116101205780638da5cb5b146106c7578063947ae12a146106e557806395d89b4114610715578063a035b1fe14610733578063a2e6204514610753578063a457c2d7146107715761028a565b806372f702f31461060d57806379ba50971461062b5780637ee3beb914610649578063817b1cd214610679578063833e8bb6146106975761028a565b806332a6bf43116102005780635235934d116101b95780635235934d1461053557806353a47bb71461055357806354aea12714610571578063551fdc461461058f5780636a1ceb2d146105bf57806370a08231146105dd5761028a565b806332a6bf4314610447578063379607f5146104675780633950935114610498578063396f55d0146104c85780633ccfd60b146104e657806346267a93146105045761028a565b80631627540c116102525780631627540c1461034a57806318160ddd1461037a5780632059ba6f1461039857806323b872dd146103c85780632e17de78146103f8578063313ce567146104295761028a565b806301a563831461028f57806306fdde03146102ad578063095ea7b3146102cb5780630be4bc0d146102fb57806314cb97d71461031a575b600080fd5b610297610965565b6040516102a49190614d3b565b60405180910390f35b6102b561096b565b6040516102c291906149a3565b60405180910390f35b6102e560048036038101906102e09190613f3f565b610a0d565b6040516102f2919061496d565b60405180910390f35b610303610a2b565b604051610311929190614d56565b60405180910390f35b610334600480360381019061032f9190613fa4565b610ad4565b604051610341919061496d565b60405180910390f35b610364600480360381019061035f9190613e8b565b610b78565b604051610371919061496d565b60405180910390f35b610382610c1c565b60405161038f9190614d3b565b60405180910390f35b6103b260048036038101906103ad9190613fa4565b610c26565b6040516103bf919061496d565b60405180910390f35b6103e260048036038101906103dd9190613ef0565b610cca565b6040516103ef919061496d565b60405180910390f35b610412600480360381019061040d9190613fa4565b610da3565b604051610420929190614d7f565b60405180910390f35b610431610f40565b60405161043e9190614e24565b60405180910390f35b61044f610f57565b60405161045e93929190614da8565b60405180910390f35b610481600480360381019061047c9190613fa4565b610f86565b60405161048f929190614d7f565b60405180910390f35b6104b260048036038101906104ad9190613f3f565b61112d565b6040516104bf919061496d565b60405180910390f35b6104d06111e0565b6040516104dd9190614d3b565b60405180910390f35b6104ee6111ec565b6040516104fb919061496d565b60405180910390f35b61051e60048036038101906105199190613f3f565b6113e1565b60405161052c929190614d7f565b60405180910390f35b61053d611417565b60405161054a9190614d3b565b60405180910390f35b61055b611421565b60405161056891906148f2565b60405180910390f35b61057961144b565b6040516105869190614d3b565b60405180910390f35b6105a960048036038101906105a49190613fa4565b611451565b6040516105b6919061496d565b60405180910390f35b6105c7611616565b6040516105d49190614d05565b60405180910390f35b6105f760048036038101906105f29190613e8b565b61164e565b6040516106049190614d3b565b60405180910390f35b610615611696565b6040516106229190614988565b60405180910390f35b6106336116c0565b604051610640919061496d565b60405180910390f35b610663600480360381019061065e9190613fa4565b611784565b604051610670919061496d565b60405180910390f35b610681611a4c565b60405161068e9190614d3b565b60405180910390f35b6106b160048036038101906106ac9190613fa4565b611a56565b6040516106be919061496d565b60405180910390f35b6106cf611b6c565b6040516106dc91906148f2565b60405180910390f35b6106ff60048036038101906106fa9190613e8b565b611b96565b60405161070c9190614d20565b60405180910390f35b61071d611c03565b60405161072a91906149a3565b60405180910390f35b61073b611ca5565b60405161074a93929190614da8565b60405180910390f35b61075b611d2a565b604051610768919061496d565b60405180910390f35b61078b60048036038101906107869190613f3f565b611d3b565b604051610798919061496d565b60405180910390f35b6107bb60048036038101906107b69190613fa4565b611e08565b6040516107c89190614d3b565b60405180910390f35b6107eb60048036038101906107e69190613f3f565b611e67565b6040516107f8919061496d565b60405180910390f35b610809611e85565b6040516108169190614d3b565b60405180910390f35b610827611e8f565b6040516108349190614d3b565b60405180910390f35b610845611e99565b6040516108529190614d3b565b60405180910390f35b61087560048036038101906108709190613fcd565b612029565b604051610882919061496d565b60405180910390f35b6108a560048036038101906108a09190613eb4565b612295565b6040516108b29190614d3b565b60405180910390f35b6108c361231c565b6040516108d09190614d05565b60405180910390f35b6108e1612354565b6040516108ee9190614d3b565b60405180910390f35b6108ff61238e565b60405161090e93929190614da8565b60405180910390f35b61091f6123bd565b60405161092c9190614d3b565b60405180910390f35b61094f600480360381019061094a9190613f3f565b6123c7565b60405161095c9190614d3b565b60405180910390f35b60095481565b606060038054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a035780601f106109d857610100808354040283529160200191610a03565b820191906000526020600020905b8154815290600101906020018083116109e657829003601f168201915b5050505050905090565b6000610a21610a1a612476565b848461247e565b6001905092915050565b600080610a6160136040518060600160405290816000820154815260200160018201548152602001600282015481525050612649565b9150601360000154610a716126ef565b10610ad05760019050600060166000015414610acf57610acc610abd60166040518060600160405290816000820154815260200160018201548152602001600282015481525050612649565b8361242190919063ffffffff16565b91505b5b9091565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90614be5565b60405180910390fd5b610b6f826126f7565b60019050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190614be5565b60405180910390fd5b610c1382612789565b60019050919050565b6000600254905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610caf90614be5565b60405180910390fd5b610cc1826128fd565b60019050919050565b6000610cd784848461293e565b610d9884610ce3612476565b610d9385604051806060016040528060288152602001614fbc60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610d49612476565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b61247e565b600190509392505050565b6000808260008111610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190614aa5565b60405180910390fd5b610df2612c2e565b6000339050610e1881866012604051806020016040529081600082015481525050612c56565b8094508195505050610e2a8184612d83565b610e3f84600d54612f3190919063ffffffff16565b600d81905550610e5a84600e5461242190919063ffffffff16565b600e819055506000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050610eba85826000015461242190919063ffffffff16565b8160000181905550610ede600f54610ed06126ef565b61242190919063ffffffff16565b81600101819055508173ffffffffffffffffffffffffffffffffffffffff167f204fccf0d92ed8d48f204adb39b2e81e92bad0dedb93f5716ca9478cfb57de00878787604051610f3093929190614da8565b60405180910390a2505050915091565b6000600560009054906101000a900460ff16905090565b6000806000610f7b6012604051806020016040529081600082015481525050612f7b565b925092509250909192565b6000808260008111610fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc490614aa5565b60405180910390fd5b610fd5612c2e565b6000339050610ffb81866012604051806020016040529081600082015481525050612c56565b8094508195505050600061102d606461101f60095488612f9690919063ffffffff16565b61300690919063ffffffff16565b90506110398285612d83565b61104e85600d54612f3190919063ffffffff16565b600d819055506110678186612f3190919063ffffffff16565b945061107e81600b5461242190919063ffffffff16565b600b819055508173ffffffffffffffffffffffffffffffffffffffff167f7708755c9b641bf197be5047b04002d2e88fa658c173a351067747eb5dfc568a878784886040516110d09493929190614ddf565b60405180910390a26111258286601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b505050915091565b60006111d661113a612476565b846111d1856001600061114b612476565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461242190919063ffffffff16565b61247e565b6001905092915050565b670de0b6b3a764000081565b6000803390506000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008111611281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127890614a65565b60405180910390fd5b6112896126ef565b826001015411156112cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c690614b05565b60405180910390fd5b601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808201600090556001820160009055505061133681600e54612f3190919063ffffffff16565b600e819055508273ffffffffffffffffffffffffffffffffffffffff167f6cca423c6ffc06e62a0acc433965e074b11c28479b0449250ce3ff65ac9e39fe826040516113829190614d3b565b60405180910390a26113d78382601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b6001935050505090565b60008060006113ee611ca5565b5050905061140b8585604051806020016040528085815250612c56565b92509250509250929050565b6000600e54905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b60008160008111611497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148e90614aa5565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90614be5565b60405180910390fd5b61152f612c2e565b61157b836040518060400160405280601981526020017f4e6f7420656e6f756768206c6f636b6564207265776172647300000000000000815250600c54612bd39092919063ffffffff16565b600c819055507fcb871ad2b15bb3b1869f4566fd37fc75eb21cc32e880568fc6a73aae7939c5d2836040516115b09190614d3b565b60405180910390a161160c6115c3611b6c565b84601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b6001915050919050565b61161e613dfe565b60136040518060600160405290816000820154815260200160018201548152602001600282015481525050905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990614b65565b60405180910390fd5b61177d600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166130d6565b6001905090565b600081600081116117ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c190614aa5565b60405180910390fd5b6117d2612c2e565b60003390506000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905085811015611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d90614c45565b60405180910390fd5b60006118a161189c6118778661164e565b60126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b9050670de0b6b3a76400006118bf888361242190919063ffffffff16565b1015611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790614bc5565b60405180910390fd5b600061192a61192589601260405180602001604052908160008201548152505061324b565b613230565b9050611936858261329c565b61194b88600d5461242190919063ffffffff16565b600d8190555061196688600e54612f3190919063ffffffff16565b600e8190555061197f8884612f3190919063ffffffff16565b8460000181905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f6c86f3fd5118b3aa8bb4f389a617046de0a3d3d477de1a1673d227f802f616dc8a846040516119e7929190614d7f565b60405180910390a38473ffffffffffffffffffffffffffffffffffffffff167f6a6d5d5933544e2f8792a55eb024869c9b2fa719fd6b231725a991198658f94e89604051611a359190614d3b565b60405180910390a260019650505050505050919050565b6000600d54905090565b60008160008111611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390614aa5565b60405180910390fd5b611aa4612c2e565b6000339050611abe84600c5461242190919063ffffffff16565b600c819055508073ffffffffffffffffffffffffffffffffffffffff167f457b865678556d8d0f459b359ad2daa4638a33e4616c48e9c501f28ef8b673c485604051611b0a9190614d3b565b60405180910390a2611b61813086601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613430909392919063ffffffff16565b600192505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b9e613e1f565b601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050919050565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c9b5780601f10611c7057610100808354040283529160200191611c9b565b820191906000526020600020905b815481529060010190602001808311611c7e57829003601f168201915b5050505050905090565b600080600080611cb3610a2b565b5090506000600d5490506000611cc7610c1c565b9050611cd1613e39565b601160405180602001604052908160008201548152505090506000821115611d1257611d0f611d09858561242190919063ffffffff16565b836134b9565b90505b611d1b81612f7b565b96509650965050505050909192565b6000611d34612c2e565b6001905090565b6000611dfe611d48612476565b84611df98560405180606001604052806025815260200161501c6025913960016000611d72612476565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b61247e565b6001905092915050565b60008160008111611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4590614aa5565b60405180910390fd5b6000339050611e5e818286613500565b92505050919050565b6000611e7b611e74612476565b848461293e565b6001905092915050565b6000600b54905090565b6000600f54905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2290614be5565b60405180910390fd5b6000600b5411611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6790614a85565b60405180910390fd5b600b5490506000600b81905550611f85611b6c565b73ffffffffffffffffffffffffffffffffffffffff167f20ca5094f3a20c321cbe4123d0f01b276b81df0fa24cd4d83d9253956035d86382604051611fca9190614d3b565b60405180910390a2612026611fdd611b6c565b82601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130509092919063ffffffff16565b90565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b290614be5565b60405180910390fd5b6120c3612c2e565b6120ce848484613659565b60006120e3838561242190919063ffffffff16565b90506120ed613dfe565b60405180606001604052808381526020018781526020018681525090506121126126ef565b60136002015411156121cb5760166000808201600090556001820160009055600282016000905550507fe58d04c6069251e310ede9daae36efbc408e81b8bebd9915bf5a7e6e7ca95d9860405160405180910390a18060136000820151816000015560208201518160010155604082015181600201559050507f2fa40e2e6101b8bae833c4716c3c36b1e15938b1aaa699ec9896bb2d836c94928686846040516121be93929190614da8565b60405180910390a1612288565b7f1355800f5bff457ad5c5a51017502bef53351bc3e3575eaf67c1f768b2101b758686846040516121fe93929190614da8565b60405180910390a180601660008201518160000155602082015181600101556040820151816002015590505084601360000154111561228757846013600001819055507f2fa40e2e6101b8bae833c4716c3c36b1e15938b1aaa699ec9896bb2d836c94926013600101546013600201548760405161227e93929190614da8565b60405180910390a15b5b6001925050509392505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612324613dfe565b60166040518060600160405290816000820154815260200160018201548152602001600282015481525050905090565b600061238960136040518060600160405290816000820154815260200160018201548152602001600282015481525050612649565b905090565b60008060006123b26011604051806020016040529081600082015481525050612f7b565b925092509250909192565b6000600c54905090565b6000816000811161240d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240490614aa5565b60405180910390fd5b612418843385613500565b91505092915050565b60008082840190508381101561246c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246390614a25565b60405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614c05565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561255e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255590614a05565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161263c9190614d3b565b60405180910390a3505050565b6000806126546126ef565b905082604001518110806126695750600a5481145b1561267457506126ea565b6000612686600a548560400151613737565b90506000612698838660000151613751565b9050808210156126e65760006126b78383612f3190919063ffffffff16565b90506126e26126d3876020015183612f9690919063ffffffff16565b8661242190919063ffffffff16565b9450505b5050505b919050565b600042905090565b60008110158015612709575060648111155b612748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273f90614c65565b60405180910390fd5b806009819055507fcd36e83aa831664c67a318291b1d97d2741c9ea9d5a49f66e29e28541b3c06e98160405161277e9190614d3b565b60405180910390a150565b8073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156127e4576128fa565b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286c90614b45565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce2260405160405180910390a25b50565b80600f819055507f7f7d5eb76787d9279c88eb7f18c26b33761ae038bbd802551a7c6aa2f9f8dd12816040516129339190614d3b565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a590614ba5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a15906149c5565b60405180910390fd5b612a2983838361376a565b612a9481604051806060016040528060268152602001614f96602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612b27816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461242190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612bc69190614d3b565b60405180910390a3505050565b6000838311158290612c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1291906149a3565b60405180910390fd5b5060008385039050809150509392505050565b600a54612c396126ef565b11612c4357612c54565b612c4b613942565b612c53613ab5565b5b565b600080839150612c6e612c69858561324b565b613b47565b90506000612c7b8661164e565b905060008211612cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb790614cc5565b60405180910390fd5b81811015612d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa90614ca5565b60405180910390fd5b6000612d188383612f3190919063ffffffff16565b90506000612d4d612d488360126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b9050670de0b6b3a7640000811015612d7857829350612d75818661242190919063ffffffff16565b94505b505050935093915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dea90614b85565b60405180910390fd5b612dff8260008361376a565b612e6a81604051806060016040528060228152602001614f74602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bd39092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612ec181600254612f3190919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612f259190614d3b565b60405180910390a35050565b6000612f7383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bd3565b905092915050565b60008060008360000151600a60129250925092509193909250565b600080831415612fa95760009050613000565b6000828402905082848281612fba57fe5b0414612ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff290614ae5565b60405180910390fd5b809150505b92915050565b600061304883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613b88565b905092915050565b6130d18363a9059cbb60e01b848460405160240161306f929190614944565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613be9565b505050565b8073ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613131576131f8565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3660405160405180910390a25b50565b613203613e39565b6040518060200160405280613225848660000151612f9690919063ffffffff16565b815250905092915050565b60006012600a0a82600001518161324357fe5b049050919050565b613253613e39565b604051806020016040528061329184600001516132836012600a0a6012600a0a0288612f9690919063ffffffff16565b61300690919063ffffffff16565b815250905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561330c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330390614ce5565b60405180910390fd5b6133186000838361376a565b61332d8160025461242190919063ffffffff16565b600281905550613384816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461242190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516134249190614d3b565b60405180910390a35050565b6134b3846323b872dd60e01b8585856040516024016134519392919061490d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613be9565b50505050565b6134c1613e39565b60405180602001604052806134f5846134e76012600a0a88612f9690919063ffffffff16565b61300690919063ffffffff16565b815250905092915050565b600061350a612c2e565b61353261352d83601260405180602001604052908160008201548152505061324b565b613230565b905060008111613577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356e90614b25565b60405180910390fd5b613581848261329c565b61359682600d5461242190919063ffffffff16565b600d819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f6c86f3fd5118b3aa8bb4f389a617046de0a3d3d477de1a1673d227f802f616dc84846040516135fb929190614d7f565b60405180910390a3613652833084601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613430909392919063ffffffff16565b9392505050565b6000811161369c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613693906149e5565b60405180910390fd5b6136a46126ef565b8210156136e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136dd90614ac5565b60405180910390fd5b680a31062beeed700000831115613732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372990614a45565b60405180910390fd5b505050565b6000818310156137475781613749565b825b905092915050565b60008183106137605781613762565b825b905092915050565b613772612c2e565b6060604051806060016040528060388152602001614fe4603891399050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461386e57600061381061380b6137e6856137d88961164e565b612f3190919063ffffffff16565b60126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b9050670de0b6b3a7640000811015806138295750600081145b829061386b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386291906149a3565b60405180910390fd5b50505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461393c57670de0b6b3a76400006138f66138f16138cc856138be8861164e565b61242190919063ffffffff16565b60126040518060200160405290816000820154815250506131fb90919063ffffffff16565b613230565b1015819061393a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393191906149a3565b60405180910390fd5b505b50505050565b60008061394d610a2b565b915091508015613a1e57601660136000820154816000015560018201548160010155600282015481600201559050507fe58d04c6069251e310ede9daae36efbc408e81b8bebd9915bf5a7e6e7ca95d9860405160405180910390a1600060136000015414613a00577f2fa40e2e6101b8bae833c4716c3c36b1e15938b1aaa699ec9896bb2d836c94926013600101546013600201546013600001546040516139f793929190614da8565b60405180910390a15b60166000808201600090556001820160009055600282016000905550505b613a2a82600c54613751565b91506000821115613aa3577f01feb0f24c52736758ca404486734e6287175eb5c93aa090f0ab371665231d7282604051613a649190614d3b565b60405180910390a1613a8182600c54612f3190919063ffffffff16565b600c81905550613a9c82600d5461242190919063ffffffff16565b600d819055505b613aab6126ef565b600a819055505050565b6000600d5490506000613ac6610c1c565b90506000811415613ae7576011601260008201548160000155905050613b01565b613af182826134b9565b6012600082015181600001559050505b7f15819dd2fd9f6418b142e798d08a18d0bf06ea368f4480b7b0d3f75bd966bc48601260000154600a6012604051613b3b93929190614da8565b60405180910390a15050565b6000806012600a0a836000015181613b5b57fe5b0611613b68576000613b6b565b60015b60ff166012600a0a836000015181613b7f57fe5b04019050919050565b60008083118290613bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bc691906149a3565b60405180910390fd5b506000838581613bdb57fe5b049050809150509392505050565b6060613c4b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613cb09092919063ffffffff16565b9050600081511115613cab5780806020019051810190613c6b9190613f7b565b613caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ca190614c85565b60405180910390fd5b5b505050565b6060613cbf8484600085613cc8565b90509392505050565b6060613cd385613deb565b613d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d0990614c25565b60405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051613d3c91906148db565b60006040518083038185875af1925050503d8060008114613d79576040519150601f19603f3d011682016040523d82523d6000602084013e613d7e565b606091505b50915091508115613d93578092505050613de3565b600081511115613da65780518082602001fd5b836040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dda91906149a3565b60405180910390fd5b949350505050565b600080823b905060008111915050919050565b60405180606001604052806000815260200160008152602001600081525090565b604051806040016040528060008152602001600081525090565b6040518060200160405280600081525090565b600081359050613e5b81614f2e565b92915050565b600081519050613e7081614f45565b92915050565b600081359050613e8581614f5c565b92915050565b600060208284031215613e9d57600080fd5b6000613eab84828501613e4c565b91505092915050565b60008060408385031215613ec757600080fd5b6000613ed585828601613e4c565b9250506020613ee685828601613e4c565b9150509250929050565b600080600060608486031215613f0557600080fd5b6000613f1386828701613e4c565b9350506020613f2486828701613e4c565b9250506040613f3586828701613e76565b9150509250925092565b60008060408385031215613f5257600080fd5b6000613f6085828601613e4c565b9250506020613f7185828601613e76565b9150509250929050565b600060208284031215613f8d57600080fd5b6000613f9b84828501613e61565b91505092915050565b600060208284031215613fb657600080fd5b6000613fc484828501613e76565b91505092915050565b600080600060608486031215613fe257600080fd5b6000613ff086828701613e76565b935050602061400186828701613e76565b925050604061401286828701613e76565b9150509250925092565b61402581614e71565b82525050565b61403481614e83565b82525050565b600061404582614e3f565b61404f8185614e55565b935061405f818560208601614eea565b80840191505092915050565b61407481614ec6565b82525050565b600061408582614e4a565b61408f8185614e60565b935061409f818560208601614eea565b6140a881614f1d565b840191505092915050565b60006140c0602383614e60565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614126601083614e60565b91507f4475726174696f6e206973207a65726f000000000000000000000000000000006000830152602082019050919050565b6000614166602283614e60565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006141cc601b83614e60565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b600061420c601a83614e60565b91507f506572207365636f6e6420726577617264206f766572666c6f770000000000006000830152602082019050919050565b600061424c600c83614e60565b91507f4e6f7420756e7374616b656400000000000000000000000000000000000000006000830152602082019050919050565b600061428c600783614e60565b91507f4e6f2066656573000000000000000000000000000000000000000000000000006000830152602082019050919050565b60006142cc601683614e60565b91507f416d6f756e74206973206e6f7420706f736974697665000000000000000000006000830152602082019050919050565b600061430c601d83614e60565b91507f5374617274696e672074696d657374616d70206c742063757272656e740000006000830152602082019050919050565b600061434c602183614e60565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143b2600f83614e60565b91507f4e6f742072656c656173656420617400000000000000000000000000000000006000830152602082019050919050565b60006143f2601883614e60565b91507f546f6f20736d616c6c207374616b696e6720616d6f756e7400000000000000006000830152602082019050919050565b6000614432600d83614e60565b91507f416c7265616479206f776e6572000000000000000000000000000000000000006000830152602082019050919050565b6000614472601a83614e60565b91507f4e6f74206e6f6d696e6174656420746f206f776e6572736869700000000000006000830152602082019050919050565b60006144b2602183614e60565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614518602583614e60565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061457e601a83614e60565b91507f5374616b652062616c616e6365206c74206d696e207374616b650000000000006000830152602082019050919050565b60006145be600983614e60565b91507f4e6f74206f776e657200000000000000000000000000000000000000000000006000830152602082019050919050565b60006145fe602483614e60565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614664601d83614e60565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b60006146a4601b83614e60565b91507f4e6f7420656e6f75676820756e7374616b65642062616c616e636500000000006000830152602082019050919050565b60006146e4601383614e60565b91507f496e76616c6964206665652070657263656e74000000000000000000000000006000830152602082019050919050565b6000614724602a83614e60565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b600061478a601b83614e60565b91507f4e6f7420656e6f7567682073796e74686574696320746f6b656e7300000000006000830152602082019050919050565b60006147ca601a83614e60565b91507f546f6f20736d616c6c20756e7374616b696e6720616d6f756e740000000000006000830152602082019050919050565b600061480a601f83614e60565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b60608201600082015161485360008501826148ae565b50602082015161486660208501826148ae565b50604082015161487960408501826148ae565b50505050565b60408201600082015161489560008501826148ae565b5060208201516148a860208501826148ae565b50505050565b6148b781614eaf565b82525050565b6148c681614eaf565b82525050565b6148d581614eb9565b82525050565b60006148e7828461403a565b915081905092915050565b6000602082019050614907600083018461401c565b92915050565b6000606082019050614922600083018661401c565b61492f602083018561401c565b61493c60408301846148bd565b949350505050565b6000604082019050614959600083018561401c565b61496660208301846148bd565b9392505050565b6000602082019050614982600083018461402b565b92915050565b600060208201905061499d600083018461406b565b92915050565b600060208201905081810360008301526149bd818461407a565b905092915050565b600060208201905081810360008301526149de816140b3565b9050919050565b600060208201905081810360008301526149fe81614119565b9050919050565b60006020820190508181036000830152614a1e81614159565b9050919050565b60006020820190508181036000830152614a3e816141bf565b9050919050565b60006020820190508181036000830152614a5e816141ff565b9050919050565b60006020820190508181036000830152614a7e8161423f565b9050919050565b60006020820190508181036000830152614a9e8161427f565b9050919050565b60006020820190508181036000830152614abe816142bf565b9050919050565b60006020820190508181036000830152614ade816142ff565b9050919050565b60006020820190508181036000830152614afe8161433f565b9050919050565b60006020820190508181036000830152614b1e816143a5565b9050919050565b60006020820190508181036000830152614b3e816143e5565b9050919050565b60006020820190508181036000830152614b5e81614425565b9050919050565b60006020820190508181036000830152614b7e81614465565b9050919050565b60006020820190508181036000830152614b9e816144a5565b9050919050565b60006020820190508181036000830152614bbe8161450b565b9050919050565b60006020820190508181036000830152614bde81614571565b9050919050565b60006020820190508181036000830152614bfe816145b1565b9050919050565b60006020820190508181036000830152614c1e816145f1565b9050919050565b60006020820190508181036000830152614c3e81614657565b9050919050565b60006020820190508181036000830152614c5e81614697565b9050919050565b60006020820190508181036000830152614c7e816146d7565b9050919050565b60006020820190508181036000830152614c9e81614717565b9050919050565b60006020820190508181036000830152614cbe8161477d565b9050919050565b60006020820190508181036000830152614cde816147bd565b9050919050565b60006020820190508181036000830152614cfe816147fd565b9050919050565b6000606082019050614d1a600083018461483d565b92915050565b6000604082019050614d35600083018461487f565b92915050565b6000602082019050614d5060008301846148bd565b92915050565b6000604082019050614d6b60008301856148bd565b614d78602083018461402b565b9392505050565b6000604082019050614d9460008301856148bd565b614da160208301846148bd565b9392505050565b6000606082019050614dbd60008301866148bd565b614dca60208301856148bd565b614dd760408301846148bd565b949350505050565b6000608082019050614df460008301876148bd565b614e0160208301866148bd565b614e0e60408301856148bd565b614e1b60608301846148bd565b95945050505050565b6000602082019050614e3960008301846148cc565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000614e7c82614e8f565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614ed182614ed8565b9050919050565b6000614ee382614e8f565b9050919050565b60005b83811015614f08578082015181840152602081019050614eed565b83811115614f17576000848401525b50505050565b6000601f19601f8301169050919050565b614f3781614e71565b8114614f4257600080fd5b50565b614f4e81614e83565b8114614f5957600080fd5b50565b614f6581614eaf565b8114614f7057600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654d696e696d616c207374616b652062616c616e63652073686f756c64206265206d6f7265206f7220657175616c20746f203120746f6b656e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c06510fd5760b7875a5f46d105b7c36c439a1d312eff9ff8e2a54170a921cb4f64736f6c634300060c0033

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

000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000004eed0fa8de12d5a86517f214c2f11586ba2ed88d000000000000000000000000d4eee3d50588d7dee8dcc42635e50093e0aa8cc0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060c9e7c0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000a8c000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000b5374616b6564204249544500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057342495445000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : syntheticTokenName (string): Staked BITE
Arg [1] : syntheticTokenSymbol (string): sBITE
Arg [2] : stakingToken_ (address): 0x4eED0fa8dE12D5a86517f214C2f11586Ba2ED88D
Arg [3] : owner_ (address): 0xd4eeE3D50588D7dee8Dcc42635E50093E0AA8Cc0
Arg [4] : claimingFeePercent_ (uint256): 2
Arg [5] : perSecondReward_ (uint256): 0
Arg [6] : startsAt_ (uint256): 1623844800
Arg [7] : duration_ (uint256): 1
Arg [8] : unstakingTime_ (uint256): 691200
Arg [9] : defaultPriceMantissa (uint256): 1000000000000000000

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000004eed0fa8de12d5a86517f214c2f11586ba2ed88d
Arg [3] : 000000000000000000000000d4eee3d50588d7dee8dcc42635e50093e0aa8cc0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000060c9e7c0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 00000000000000000000000000000000000000000000000000000000000a8c00
Arg [9] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [11] : 5374616b65642042495445000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [13] : 7342495445000000000000000000000000000000000000000000000000000000


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

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