FTM Price: $0.692012 (+1.64%)
 

Sponsored

Transaction Hash
Method
Block
From
To
Withdraw910370382024-09-08 3:46:4435 days ago1725767204IN
0xE239138d...d0234cD92
0 FTM0.0002763.32311934
Withdraw Partial...818118592024-05-29 9:56:13137 days ago1716976573IN
0xE239138d...d0234cD92
0 FTM0.0011007413.25454156
Withdraw Partial...493234942022-10-16 18:40:17727 days ago1665945617IN
0xE239138d...d0234cD92
0 FTM0.000255163.5
Withdraw438022022022-07-29 15:57:36806 days ago1659110256IN
0xE239138d...d0234cD92
0 FTM0.000282153.23249976
Withdraw Partial...402106482022-06-10 12:50:14855 days ago1654865414IN
0xE239138d...d0234cD92
0 FTM0.0018654621.37628017
Withdraw380974842022-05-12 13:01:59884 days ago1652360519IN
0xE239138d...d0234cD92
0 FTM0.103367791,417.5118
Withdraw Partial...371813092022-04-29 0:58:23898 days ago1651193903IN
0xE239138d...d0234cD92
0 FTM0.01151785197.1392
Migrate357391642022-04-10 19:45:36916 days ago1649619936IN
0xE239138d...d0234cD92
0 FTM0.01739922216.8668
Set Migrator357227332022-04-10 14:32:17916 days ago1649601137IN
0xE239138d...d0234cD92
0 FTM0.01317451288.3205
Withdraw Partial...346935062022-03-29 9:08:20929 days ago1648544900IN
0xE239138d...d0234cD92
0 FTM0.01744373284.3083
Lock Tokens343502072022-03-25 9:07:32933 days ago1648199252IN
0xE239138d...d0234cD92
22.2 FTM0.06937614257.1182
Withdraw Partial...342641092022-03-24 8:37:37934 days ago1648111057IN
0xE239138d...d0234cD92
0 FTM0.01962901319.894
Withdraw Partial...342638722022-03-24 8:33:28934 days ago1648110808IN
0xE239138d...d0234cD92
0 FTM0.02078194338.6833
Lock Tokens341471962022-03-23 0:19:20935 days ago1647994760IN
0xE239138d...d0234cD92
444 FTM0.14217303606.4652
Lock Tokens338208132022-03-19 7:10:50939 days ago1647673850IN
0xE239138d...d0234cD92
22.2 FTM0.03607725133.7076
Lock Tokens336926042022-03-17 20:36:04940 days ago1647549364IN
0xE239138d...d0234cD92
22.2 FTM0.06733982249.5713
Withdraw Partial...323887392022-03-02 21:33:37955 days ago1646256817IN
0xE239138d...d0234cD92
0 FTM0.09205051,500
Lock Tokens320462522022-02-26 21:33:44959 days ago1645911224IN
0xE239138d...d0234cD92
22.2 FTM0.27540511,020.6464
Extend Lock Time308519992022-02-13 14:27:36972 days ago1644762456IN
0xE239138d...d0234cD92
0 FTM0.00596084172.2937
Lock Tokens303915812022-02-08 20:59:23977 days ago1644353963IN
0xE239138d...d0234cD92
22.2 FTM0.07741384286.8667
Withdraw Partial...303057422022-02-07 22:15:11978 days ago1644272111IN
0xE239138d...d0234cD92
0 FTM0.02539945474.8272
Lock Tokens302941702022-02-07 19:09:29978 days ago1644260969IN
0xE239138d...d0234cD92
22.2 FTM0.08463752313.621
Lock Tokens302509272022-02-07 8:12:56979 days ago1644221576IN
0xE239138d...d0234cD92
22.2 FTM0.0488304180.9559
Lock Tokens301003802022-02-05 19:04:50980 days ago1644087890IN
0xE239138d...d0234cD92
22.2 FTM0.08980485315.2884
Lock Tokens298976462022-02-03 17:05:48982 days ago1643907948IN
0xE239138d...d0234cD92
22.2 FTM0.08393485294.6799
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
343502072022-03-25 9:07:32933 days ago1648199252
0xE239138d...d0234cD92
22.2 FTM
341471962022-03-23 0:19:20935 days ago1647994760
0xE239138d...d0234cD92
444 FTM
338208132022-03-19 7:10:50939 days ago1647673850
0xE239138d...d0234cD92
22.2 FTM
336926042022-03-17 20:36:04940 days ago1647549364
0xE239138d...d0234cD92
22.2 FTM
320462522022-02-26 21:33:44959 days ago1645911224
0xE239138d...d0234cD92
22.2 FTM
303915812022-02-08 20:59:23977 days ago1644353963
0xE239138d...d0234cD92
22.2 FTM
302941702022-02-07 19:09:29978 days ago1644260969
0xE239138d...d0234cD92
22.2 FTM
302509272022-02-07 8:12:56979 days ago1644221576
0xE239138d...d0234cD92
22.2 FTM
301003802022-02-05 19:04:50980 days ago1644087890
0xE239138d...d0234cD92
22.2 FTM
298976462022-02-03 17:05:48982 days ago1643907948
0xE239138d...d0234cD92
22.2 FTM
293289272022-01-28 23:43:58988 days ago1643413438
0xE239138d...d0234cD92
22.2 FTM
284816872022-01-19 22:13:36997 days ago1642630416
0xE239138d...d0234cD92
22.2 FTM
279587692022-01-14 18:30:491002 days ago1642185049
0xE239138d...d0234cD92
444 FTM
275825602022-01-10 20:09:391006 days ago1641845379
0xE239138d...d0234cD92
22.2 FTM
274654422022-01-09 15:38:361007 days ago1641742716
0xE239138d...d0234cD92
22.2 FTM
273812582022-01-08 18:53:291008 days ago1641668009
0xE239138d...d0234cD92
22.2 FTM
271847012022-01-06 18:10:051010 days ago1641492605
0xE239138d...d0234cD92
22.2 FTM
270988572022-01-05 21:07:451011 days ago1641416865
0xE239138d...d0234cD92
22.2 FTM
268841702022-01-03 17:14:341013 days ago1641230074
0xE239138d...d0234cD92
22.2 FTM
246833412021-12-11 20:51:441036 days ago1639255904
0xE239138d...d0234cD92
22.2 FTM
243725072021-12-08 17:10:281039 days ago1638983428
0xE239138d...d0234cD92
22.2 FTM
238909832021-12-03 17:15:171044 days ago1638551717
0xE239138d...d0234cD92
22.2 FTM
238127692021-12-02 21:48:461045 days ago1638481726
0xE239138d...d0234cD92
22.2 FTM
230277442021-11-24 21:26:461053 days ago1637789206
0xE239138d...d0234cD92
22.2 FTM
220472892021-11-14 17:48:191063 days ago1636912099
0xE239138d...d0234cD92
22.2 FTM
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CryptExLpTokenLockerV3

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : CryptExLpTokenLocker.sol
/*

        ░█████╗░██████╗░██╗░░░██╗██████╗░████████╗███████╗██╗░░██╗
        ██╔══██╗██╔══██╗╚██╗░██╔╝██╔══██╗╚══██╔══╝██╔════╝╚██╗██╔╝
        ██║░░╚═╝██████╔╝░╚████╔╝░██████╔╝░░░██║░░░█████╗░░░╚███╔╝░
        ██║░░██╗██╔══██╗░░╚██╔╝░░██╔═══╝░░░░██║░░░██╔══╝░░░██╔██╗░
        ╚█████╔╝██║░░██║░░░██║░░░██║░░░░░░░░██║░░░███████╗██╔╝╚██╗
        ░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░░░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝

This contract locks liquidity tokens. Locked liquidity cannot be removed from DEX
until the specified unlock date has been reached.

 • website:                           https://cryptexlock.me
 • medium:                            https://medium.com/cryptex-locker
 • Telegram Announcements Channel:    https://t.me/CryptExAnnouncements
 • Telegram Main Channel:             https://t.me/cryptexlocker
 • Twitter Page:                      https://twitter.com/ExLocker
 • Reddit:                            https://www.reddit.com/r/CryptExLocker/

*/

// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.7.6;

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/EnumerableSet.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "../interfaces/IPancakeFactory.sol";
import "../interfaces/IPancakePair.sol";
import "../interfaces/IFeesCalculator.sol";
import "../interfaces/IMigrator.sol";

contract CryptExLpTokenLockerV3 is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    using EnumerableSet for EnumerableSet.UintSet;

    IPancakeFactory public factory;
    IFeesCalculator public feesCalculator;
    IMigrator public migrator;

    IERC20 public feeToken;
    address payable public feeReceiver;

    struct TokenLock {
        address lpToken;
        address owner;
        uint256 tokenAmount;
        uint256 unlockTime;
        uint256 lockedCrx;
    }

    uint256 public lockNonce = 0;

    mapping(uint256 => TokenLock) public tokenLocks;

    mapping(address => EnumerableSet.UintSet) private userLocks;

    event OnTokenLock(
        uint256 indexed lockId,
        address indexed tokenAddress,
        address indexed owner,
        uint256 amount,
        uint256 unlockTime
    );
    event OnTokenUnlock(uint256 indexed lockId);
    event OnLockWithdrawal(uint256 indexed lockId, uint256 amount);
    event OnLockAmountIncreased(uint256 indexed lockId, uint256 amount);
    event OnLockDurationIncreased(uint256 indexed lockId, uint256 newUnlockTime);
    event OnLockOwnershipTransferred(uint256 indexed lockId, address indexed newOwner);
    event OnLockMigration(uint256 indexed lockId, address indexed migrator);
    event OnFeeTokenUpdate(address newAddress);

    modifier onlyLockOwner(uint lockId) {
        TokenLock storage lock = tokenLocks[lockId];
        require(lock.owner == address(msg.sender), "NO ACTIVE LOCK OR NOT OWNER");
        _;
    }

    constructor(IPancakeFactory _factory, address _feesCalculator, address payable _feesReceiver,
        address _feeToken) {
        factory = _factory;
        feesCalculator = IFeesCalculator(_feesCalculator);
        feeReceiver = _feesReceiver;
        feeToken = IERC20(_feeToken);
    }

    /**
    * @notice locks liquidity token until specified time
    * @param lpToken token address to lock
    * @param amount amount of tokens to lock
    * @param unlockTime unix time in seconds after that tokens can be withdrawn
    * @param withdrawer account that can withdraw tokens to it's balance
    * @param feePaymentMode 0 - pay fees in ETH + LP token,
    *                       1 - pay fees in CRX + LP token,
    *                       2 - pay fees fully in BNB,
    *                       3 - pay fees fully in CRX
    *                       4 - free lock by locking CRX for the lock lifetime
    * @param referral referral account
    */
    function lockTokens(address lpToken, uint256 amount, uint256 unlockTime,
        address payable withdrawer, uint8 feePaymentMode, address referral) public payable nonReentrant returns (uint256 lockId) {
        require(amount > 0, "ZERO AMOUNT");
        require(lpToken != address(0), "ZERO TOKEN");
        require(unlockTime > block.timestamp, "UNLOCK TIME IN THE PAST");
        require(unlockTime < 10000000000, "INVALID UNLOCK TIME, MUST BE UNIX TIME IN SECONDS");
        require(isLpToken(lpToken), "NOT PANCAKE PAIR");

        //pay fees
        uint256 lpTokenFee;
        uint256 crxToLock;
        { //avoid stack too deep error
            (uint256 ethFee, uint256 tokenFee, uint256 lpTokenFeeAmount, uint256 crxToLockAmount, uint256 referralPercentScaled) =
                feesCalculator.calculateFees(lpToken, amount, unlockTime, feePaymentMode, referral, msg.sender);
            lpTokenFee = lpTokenFeeAmount;
            crxToLock = crxToLockAmount;
            require(lpTokenFee <= amount.div(100), "LP FEE EXCEEDS 1%"); //safeguard for lp token fee
            transferFees(lpToken, ethFee, tokenFee, lpTokenFee, crxToLock, referral, referralPercentScaled);
            if(msg.value > ethFee) { // transfer excess back
                transferBnb(msg.sender, msg.value.sub(ethFee));
            }
        }

        uint256 amountToLock = amount.sub(lpTokenFee);

        TokenLock memory lock = TokenLock({
            lpToken: lpToken,
            owner: withdrawer,
            tokenAmount: amountToLock,
            unlockTime: unlockTime,
            lockedCrx: crxToLock
        });

        lockId = lockNonce++;
        tokenLocks[lockId] = lock;

        userLocks[withdrawer].add(lockId);

        IERC20(lpToken).safeTransferFrom(msg.sender, address(this), amountToLock);
        emit OnTokenLock(lockId, lpToken, withdrawer, amountToLock, unlockTime);
        return lockId;
    }

    function isLpToken(address lpToken) private view returns (bool){
        IPancakePair pair = IPancakePair(lpToken);
        address factoryPair = factory.getPair(pair.token0(), pair.token1());
        return factoryPair == lpToken;
    }

    /**
    * @notice increase unlock time of already locked tokens
    * @param newUnlockTime new unlock time (unix time in seconds)
    */
    function extendLockTime(uint256 lockId, uint256 newUnlockTime) external nonReentrant onlyLockOwner(lockId) {
        require(newUnlockTime > block.timestamp, "UNLOCK TIME IN THE PAST");
        require(newUnlockTime < 10000000000, "INVALID UNLOCK TIME, MUST BE UNIX TIME IN SECONDS");
        TokenLock storage lock = tokenLocks[lockId];
        require(lock.unlockTime < newUnlockTime, "NOT INCREASING UNLOCK TIME");
        lock.unlockTime = newUnlockTime;
        emit OnLockDurationIncreased(lockId, newUnlockTime);
    }

    /**
    * @notice add tokens to an existing lock
    * @param amountToIncrement tokens amount to add
    * @param feePaymentMode fee payment mode
    */
    function increaseLockAmount(uint256 lockId, uint256 amountToIncrement, uint8 feePaymentMode)
    external payable nonReentrant onlyLockOwner(lockId) {
        require(amountToIncrement > 0, "ZERO AMOUNT");
        TokenLock storage lock = tokenLocks[lockId];

        (uint256 ethFee, uint256 tokenFee, uint256 lpTokenFee, uint256 crxToLock) =
            feesCalculator.calculateIncreaseAmountFees(lock.lpToken, amountToIncrement,
                    lock.unlockTime, feePaymentMode, msg.sender);
        require(lpTokenFee <= amountToIncrement.div(100), "LP FEE EXCEEDS 1%"); //safeguard for lp token fee
        transferFees(lock.lpToken, ethFee, tokenFee, lpTokenFee, crxToLock, address(0), 0);
        if(msg.value > ethFee) { // transfer excess back
            transferBnb(msg.sender, msg.value.sub(ethFee));
        }

        uint256 actualIncrementAmount = amountToIncrement.sub(lpTokenFee);
        lock.tokenAmount = lock.tokenAmount.add(actualIncrementAmount);
        lock.lockedCrx = lock.lockedCrx.add(crxToLock);
        IERC20(lock.lpToken).safeTransferFrom(msg.sender, address(this), actualIncrementAmount);
        emit OnLockAmountIncreased(lockId, amountToIncrement);
    }

    /**
    * @notice withdraw all tokens from lock. Current time must be greater than unlock time
    * @param lockId lock id to withdraw
    */
    function withdraw(uint256 lockId) external {
        TokenLock storage lock = tokenLocks[lockId];
        withdrawPartially(lockId, lock.tokenAmount);
    }

    /**
    * @notice withdraw specified amount of tokens from lock. Current time must be greater than unlock time
    * @param lockId lock id to withdraw tokens from
    * @param amount amount of tokens to withdraw
    */
    function withdrawPartially(uint256 lockId, uint256 amount) public nonReentrant onlyLockOwner(lockId) {
        TokenLock storage lock = tokenLocks[lockId];
        require(lock.tokenAmount >= amount, "AMOUNT EXCEEDS LOCKED");
        require(block.timestamp >= lock.unlockTime, "NOT YET UNLOCKED");
        IERC20(lock.lpToken).safeTransfer(lock.owner, amount);

        lock.tokenAmount = lock.tokenAmount.sub(amount);
        if(lock.tokenAmount == 0) {
            if(lock.lockedCrx > 0) {
                feeToken.safeTransfer(lock.owner, lock.lockedCrx);
            }
            //clean up storage to save gas
            userLocks[lock.owner].remove(lockId);
            delete tokenLocks[lockId];
            emit OnTokenUnlock(lockId);
        }
        emit OnLockWithdrawal(lockId, amount);
    }

    /**
    * @notice transfer lock ownership to another account. If crxTokens were locked as a paymentFee, the new owner
    * will receive them after the unlock
    * @param lockId lock id to transfer
    * @param newOwner account to transfer lock
    */
    function transferLock(uint256 lockId, address newOwner) external onlyLockOwner(lockId) {
        require(newOwner != address(0), "ZERO NEW OWNER");
        TokenLock storage lock = tokenLocks[lockId];
        userLocks[lock.owner].remove(lockId);
        userLocks[newOwner].add(lockId);
        lock.owner = newOwner;
        emit OnLockOwnershipTransferred(lockId, newOwner);
    }

    /**
    * @notice sets address of a new contract to calculate fees. Callable only by owner of the contract.
    * @param newFeesCalculator address of new fees calculator contract. Must not be zero address.
    */
    function setFeesCalculator(address newFeesCalculator) external onlyOwner {
        require(newFeesCalculator != address(0), "ZERO ADDRESS");
        feesCalculator = IFeesCalculator(newFeesCalculator);
    }

    function transferFees(
        address lpToken,
        uint256 ethFee,
        uint256 tokenFee,
        uint256 lpTokenFee,
        uint256 crxToLock,
        address referralAddress,
        uint256 referralPercentScaled
    ) private {
        if(ethFee > 0) {
            require(msg.value >= ethFee, "ETH FEES NOT MET");
            if(referralAddress != address(0) && referralPercentScaled > 0) {
                uint256 referralFee = ethFee.mul(referralPercentScaled).div(1e4);
                transferBnb(referralAddress, referralFee);
                transferBnb(feeReceiver, ethFee.sub(referralFee));
            } else {
                transferBnb(feeReceiver, ethFee);
            }
        }
        if(tokenFee > 0) {
            require(address(feeToken) != address(0), "TOKEN FEE TYPE NOT SUPPORTED");
            require(feeToken.allowance(msg.sender, address(this)) >= tokenFee, "TOKEN FEE NOT MET");
            if(referralAddress != address(0) && referralPercentScaled > 0) {
                uint256 referralFee = tokenFee.mul(referralPercentScaled).div(1e4);
                feeToken.safeTransferFrom(msg.sender, referralAddress, referralFee);
                feeToken.safeTransferFrom(msg.sender, feeReceiver, tokenFee.sub(referralFee));
            } else {
                feeToken.safeTransferFrom(msg.sender, feeReceiver, tokenFee);
            }
        }
        if(lpTokenFee > 0) {
            require(IERC20(lpToken).allowance(msg.sender, address(this)) >= lpTokenFee, "LP TOKEN FEE NOT MET");
            IERC20(lpToken).safeTransferFrom(msg.sender, feeReceiver, lpTokenFee);
        }
        if (crxToLock > 0) {
            require(address(feeToken) != address(0), "TOKEN FEE TYPE NOT SUPPORTED");
            feeToken.safeTransferFrom(msg.sender, address(this), crxToLock);
        }
    }

    /**
    * @notice get user's locks number
    * @param user user's address
    */
    function userLocksLength(address user) external view returns (uint256) {
        return userLocks[user].length();
    }

    /**
    * @notice get user lock id at specified index
    * @param user user's address
    * @param index index of lock id
    */
    function userLockAt(address user, uint256 index) external view returns (uint256) {
        return userLocks[user].at(index);
    }

    function transferBnb(address recipient, uint256 amount) private {
        (bool res,  ) = recipient.call{value: amount}("");
        require(res, "BNB TRANSFER FAILED");
    }

    /**
    * @notice Sets the address that will receive lock fees. Callable only by the contract owner.
    * @param newFeeReceiver the address that will receive lock fees. Must not be zero address.
    */
    function setFeeReceiver(address payable newFeeReceiver) external onlyOwner {
        require(newFeeReceiver != address(0), "ZERO ADDRESS");
        feeReceiver = newFeeReceiver;
    }

    /**
    * @notice Sets the migrator contract that will perform the migration in case a new update of Pancake was
    * rolled out. Callable only by the owner of this contract.
    * @param newMigrator address of the migrator contract
    */
    function setMigrator(address newMigrator) external onlyOwner {
        migrator = IMigrator(newMigrator);
    }

    /**
    * @notice migrates liquidity in case new update of Pancake was rolled out.
    * @param lockId id of the lock
    * @param migratorContract address of migrator contract that will perform the migration (prevents frontrun attack
    * if a locker owner changes the migrator contract before the migration function was mined)
    */
    function migrate(uint256 lockId, address migratorContract) external nonReentrant {
        require(address(migrator) != address(0), "NO MIGRATOR");
        require(migratorContract == address(migrator), "WRONG MIGRATOR"); //frontrun prevention

        TokenLock storage lock = tokenLocks[lockId];
        require(lock.owner == msg.sender, "ONLY LOCK OWNER");
        IERC20(lock.lpToken).safeApprove(address(migrator), lock.tokenAmount);
        migrator.migrate(lock.lpToken, lock.tokenAmount, lock.unlockTime, lock.owner);
        emit OnLockMigration(lockId, address(migrator));

        userLocks[lock.owner].remove(lockId);
        delete tokenLocks[lockId];
    }

    /**
    * @notice recover accidentally sent tokens to the contract. Callable only by contract owner
    * @param tokenAddress token address to recover
    */
    function recoverLockedTokens(address tokenAddress) external onlyOwner {
        require(!isLpToken(tokenAddress), "unable to recover LP token");
        IERC20 token = IERC20(tokenAddress);
        token.safeTransfer(owner(), token.balanceOf(address(this)));
    }

    function setFeeTokenAddress(address _feeToken) external onlyOwner {
        require(address(feeToken) == address(0), "already set");
        feeToken = IERC20(_feeToken);
        emit OnFeeTokenUpdate(_feeToken);
    }

    function website() public pure returns (string memory) {
        return "https://cryptexlock.me";
    }

}

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

pragma solidity >=0.6.0 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

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

File 3 of 13 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

File 4 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

File 5 of 13 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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 6 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.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].
 */
abstract 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 8 of 13 : IPancakeFactory.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.0;

interface IPancakeFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 9 of 13 : IPancakePair.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.5.0;

interface IPancakePair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 10 of 13 : IFeesCalculator.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

interface IFeesCalculator {

    function calculateFees(
        address token,
        uint256 amount,
        uint256 unlockTime,
        uint8 paymentMode,
        address referrer,
        address sender
    ) external view
    returns(uint256 ethFee, uint256 systemTokenFee, uint256 tokenFee, uint256 lockAmount, uint256 referralPercentScaled);

    function calculateIncreaseAmountFees(
        address token,
        uint256 amount,
        uint256 unlockTime,
        uint8 paymentMode,
        address sender
    ) external view
    returns(uint256 ethFee, uint256 systemTokenFee, uint256 tokenFee, uint256 lockAmount);

}

File 11 of 13 : IMigrator.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

interface IMigrator {

    function migrate(address lpToken, uint256 amount, uint256 unlockTime, address owner) external;

}

File 12 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @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 on 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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 13 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IPancakeFactory","name":"_factory","type":"address"},{"internalType":"address","name":"_feesCalculator","type":"address"},{"internalType":"address payable","name":"_feesReceiver","type":"address"},{"internalType":"address","name":"_feeToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"OnFeeTokenUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OnLockAmountIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newUnlockTime","type":"uint256"}],"name":"OnLockDurationIncreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockId","type":"uint256"},{"indexed":true,"internalType":"address","name":"migrator","type":"address"}],"name":"OnLockMigration","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockId","type":"uint256"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OnLockOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OnLockWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockId","type":"uint256"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"unlockTime","type":"uint256"}],"name":"OnTokenLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"lockId","type":"uint256"}],"name":"OnTokenUnlock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"},{"internalType":"uint256","name":"newUnlockTime","type":"uint256"}],"name":"extendLockTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IPancakeFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesCalculator","outputs":[{"internalType":"contract IFeesCalculator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"},{"internalType":"uint256","name":"amountToIncrement","type":"uint256"},{"internalType":"uint8","name":"feePaymentMode","type":"uint8"}],"name":"increaseLockAmount","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"lockNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"lpToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"address payable","name":"withdrawer","type":"address"},{"internalType":"uint8","name":"feePaymentMode","type":"uint8"},{"internalType":"address","name":"referral","type":"address"}],"name":"lockTokens","outputs":[{"internalType":"uint256","name":"lockId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"},{"internalType":"address","name":"migratorContract","type":"address"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigrator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"recoverLockedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeReceiver","type":"address"}],"name":"setFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeToken","type":"address"}],"name":"setFeeTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newFeesCalculator","type":"address"}],"name":"setFeesCalculator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMigrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenLocks","outputs":[{"internalType":"address","name":"lpToken","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"lockedCrx","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"userLockAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"userLocksLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"website","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"lockId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawPartially","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006007553480156200001657600080fd5b5060405162004e9c38038062004e9c833981810160405260808110156200003c57600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919050505060006200007d6200023060201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000238565b600033905090565b614c5480620002486000396000f3fe6080604052600436106101665760003560e01c8063946ca949116100d1578063b6fffbf01161008a578063c45a015511610064578063c45a015514610859578063cf351c1d1461089a578063efdcd974146108eb578063f2fde38b1461093c57610166565b8063b6fffbf01461071f578063beb0a41614610764578063c28aa3d8146107f457610166565b8063946ca94914610537578063a4a99b69146105ce578063a695585714610613578063b3f0067414610658578063b48dd3be14610699578063b5a9096e146106f457610166565b8063405b84fa11610123578063405b84fa146103b1578063647846a51461040c5780636c7156411461044d578063715018a61461049e5780637cd07e47146104b55780638da5cb5b146104f657610166565b80630dd60c701461016b57806323cf31181461022457806324e2a8211461027557806328a2e7f0146102e45780632e1a7d4d1461033557806335a03bfa14610370575b600080fd5b61020e600480360360c081101561018157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061098d565b6040518082815260200191505060405180910390f35b34801561023057600080fd5b506102736004803603602081101561024757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110dc565b005b34801561028157600080fd5b506102ce6004803603604081101561029857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111cf565b6040518082815260200191505060405180910390f35b3480156102f057600080fd5b506103336004803603602081101561030757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061122a565b005b34801561034157600080fd5b5061036e6004803603602081101561035857600080fd5b8101908080359060200190929190505050611431565b005b34801561037c57600080fd5b5061038561145a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103bd57600080fd5b5061040a600480360360408110156103d457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611480565b005b34801561041857600080fd5b50610421611a5f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561045957600080fd5b5061049c6004803603602081101561047057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a85565b005b3480156104aa57600080fd5b506104b3611c1b565b005b3480156104c157600080fd5b506104ca611d88565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561050257600080fd5b5061050b611dae565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561054357600080fd5b506105706004803603602081101561055a57600080fd5b8101908080359060200190929190505050611dd7565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060405180910390f35b610611600480360360608110156105e457600080fd5b810190808035906020019092919080359060200190929190803560ff169060200190929190505050611e4d565b005b34801561061f57600080fd5b506106566004803603604081101561063657600080fd5b81019080803590602001909291908035906020019092919050505061235d565b005b34801561066457600080fd5b5061066d61284e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156106a557600080fd5b506106f2600480360360408110156106bc57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612874565b005b34801561070057600080fd5b50610709612b61565b6040518082815260200191505060405180910390f35b34801561072b57600080fd5b506107626004803603604081101561074257600080fd5b810190808035906020019092919080359060200190929190505050612b67565b005b34801561077057600080fd5b50610779612e76565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107b957808201518184015260208101905061079e565b50505050905090810190601f1680156107e65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561080057600080fd5b506108436004803603602081101561081757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612eb3565b6040518082815260200191505060405180910390f35b34801561086557600080fd5b5061086e612f03565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108a657600080fd5b506108e9600480360360208110156108bd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f29565b005b3480156108f757600080fd5b5061093a6004803603602081101561090e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061312d565b005b34801561094857600080fd5b5061098b6004803603602081101561095f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506132c3565b005b600060026001541415610a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060008611610a86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a45524f20414d4f554e5400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610b29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f5a45524f20544f4b454e0000000000000000000000000000000000000000000081525060200191505060405180910390fd5b428511610b9e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f554e4c4f434b2054494d4520494e20544845205041535400000000000000000081525060200191505060405180910390fd5b6402540be4008510610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614b6d6031913960400191505060405180910390fd5b610c04876134b5565b610c76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f4e4f542050414e43414b4520504149520000000000000000000000000000000081525060200191505060405180910390fd5b6000806000806000806000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dc7595978f8f8f8e8e336040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018460ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001965050505050505060a06040518083038186803b158015610d6157600080fd5b505afa158015610d75573d6000803e3d6000fd5b505050506040513d60a0811015610d8b57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505094509450945094509450829650819550610de860648e6136d990919063ffffffff16565b871115610e5d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4c5020464545204558434545445320312500000000000000000000000000000081525060200191505060405180910390fd5b610e6c8e86868a8a8e87613762565b84341115610e9157610e9033610e8b8734613f5c90919063ffffffff16565b613fdf565b5b50505050506000610eab838a613f5c90919063ffffffff16565b905060006040518060a001604052808c73ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018a815260200184815250905060076000815480929190600101919050559450806008600087815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015590505061102b85600960008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206140c090919063ffffffff16565b506110593330848e73ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b8773ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff16867f601e52fd7ec7840490f1ae9c376bc3b32f6a6a6aac8dc10db76d87ef0fa45d32858d604051808381526020018281526020019250505060405180910390a450505050600180819055509695505050505050565b6110e461419b565b73ffffffffffffffffffffffffffffffffffffffff16611102611dae565b73ffffffffffffffffffffffffffffffffffffffff161461118b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061122282600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206141a390919063ffffffff16565b905092915050565b61123261419b565b73ffffffffffffffffffffffffffffffffffffffff16611250611dae565b73ffffffffffffffffffffffffffffffffffffffff16146112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6112e2816134b5565b15611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f756e61626c6520746f207265636f766572204c5020746f6b656e00000000000081525060200191505060405180910390fd5b600081905061142d611365611dae565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156113cc57600080fd5b505afa1580156113e0573d6000803e3d6000fd5b505050506040513d60208110156113f657600080fd5b81019080805190602001909291905050508373ffffffffffffffffffffffffffffffffffffffff166141bd9092919063ffffffff16565b5050565b600060086000838152602001908152602001600020905061145682826002015461235d565b5050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260015414156114f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156115c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e4f204d49475241544f5200000000000000000000000000000000000000000081525060200191505060405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f57524f4e47204d49475241544f5200000000000000000000000000000000000081525060200191505060405180910390fd5b60006008600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4f4e4c59204c4f434b204f574e4552000000000000000000000000000000000081525060200191505060405180910390fd5b6117da600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600201548360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661425f9092919063ffffffff16565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663db5ecd3f8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002015484600301548560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff168152602001945050505050600060405180830381600087803b1580156118e357600080fd5b505af11580156118f7573d6000803e3d6000fd5b50505050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16837f0bef3dfd2c699190b6fbc19bd6141032806b257965fe4fd1fb461d4712d2e12960405160405180910390a36119d683600960008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061442490919063ffffffff16565b5060086000848152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000905560038201600090556004820160009055505050600180819055505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a8d61419b565b73ffffffffffffffffffffffffffffffffffffffff16611aab611dae565b73ffffffffffffffffffffffffffffffffffffffff1614611b34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f2041444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c2361419b565b73ffffffffffffffffffffffffffffffffffffffff16611c41611dae565b73ffffffffffffffffffffffffffffffffffffffff1614611cca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154905085565b60026001541415611ec6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055508260006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b60008411612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a45524f20414d4f554e5400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600860008781526020019081526020016000209050600080600080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ca1556c18660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168b88600301548c336040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018360ff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060806040518083038186803b15801561212857600080fd5b505afa15801561213c573d6000803e3d6000fd5b505050506040513d608081101561215257600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190505050935093509350935061219d60648a6136d990919063ffffffff16565b821115612212576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4c5020464545204558434545445320312500000000000000000000000000000081525060200191505060405180910390fd5b6122468560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685858585600080613762565b8334111561226b5761226a336122658634613f5c90919063ffffffff16565b613fdf565b5b6000612280838b613f5c90919063ffffffff16565b905061229981876002015461443e90919063ffffffff16565b86600201819055506122b882876004015461443e90919063ffffffff16565b86600401819055506123113330838960000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b8a7f726a87743148b6d1e89b17e740a496a48f2515cab6794def6e92b1765b773a6a8b6040518082815260200191505060405180910390a2505050505050505060018081905550505050565b600260015414156123d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055508160006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b6000600860008681526020019081526020016000209050838160020154101561254c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f414d4f554e542045584345454453204c4f434b4544000000000000000000000081525060200191505060405180910390fd5b80600301544210156125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f4e4f542059455420554e4c4f434b45440000000000000000000000000000000081525060200191505060405180910390fd5b6126398160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16858360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166141bd9092919063ffffffff16565b612650848260020154613f5c90919063ffffffff16565b8160020181905550600081600201541415612808576000816004015411156126e8576126e78160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260040154600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166141bd9092919063ffffffff16565b5b61275d85600960008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061442490919063ffffffff16565b5060086000868152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160009055600382016000905560048201600090555050847f474ad196311b1b95407b51dc0515179f4a588c875f35e1d5b4a2d963e6cdd79160405160405180910390a25b847f4741c0a61cf65d0435cc6b57d59b9203082089e8911228f3b6b0031cc2e95b91856040518082815260200191505060405180910390a2505050600180819055505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8160006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612951576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f5a45524f204e4557204f574e455200000000000000000000000000000000000081525060200191505060405180910390fd5b6000600860008681526020019081526020016000209050612a8085600960008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061442490919063ffffffff16565b50612ad285600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206140c090919063ffffffff16565b50838160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff16857ffd9536909af70d0956b4cd5199aea8fa73c2c76717d789c3fa99427fca1ebf5960405160405180910390a35050505050565b60075481565b60026001541415612be0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055508160006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612cc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b428311612d3a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f554e4c4f434b2054494d4520494e20544845205041535400000000000000000081525060200191505060405180910390fd5b6402540be4008310612d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614b6d6031913960400191505060405180910390fd5b600060086000868152602001908152602001600020905083816003015410612e27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4e4f5420494e4352454153494e4720554e4c4f434b2054494d4500000000000081525060200191505060405180910390fd5b838160030181905550847f9a0a6aaaf60f7e2d9b37efb62343fd4bd400065be75ad75116551ab82aa123ec856040518082815260200191505060405180910390a2505050600180819055505050565b60606040518060400160405280601681526020017f68747470733a2f2f637279707465786c6f636b2e6d6500000000000000000000815250905090565b6000612efc600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206144c6565b9050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612f3161419b565b73ffffffffffffffffffffffffffffffffffffffff16612f4f611dae565b73ffffffffffffffffffffffffffffffffffffffff1614612fd8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461309c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f616c72656164792073657400000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe036741a59ec0d11dc644db37c368902dbacee321a73534e1bfae9d8f4c920ff81604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b61313561419b565b73ffffffffffffffffffffffffffffffffffffffff16613153611dae565b73ffffffffffffffffffffffffffffffffffffffff16146131dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561327f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f2041444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6132cb61419b565b73ffffffffffffffffffffffffffffffffffffffff166132e9611dae565b73ffffffffffffffffffffffffffffffffffffffff1614613372576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156133f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614b216026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808290506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a439058373ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561354157600080fd5b505afa158015613555573d6000803e3d6000fd5b505050506040513d602081101561356b57600080fd5b81019080805190602001909291905050508473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156135c257600080fd5b505afa1580156135d6573d6000803e3d6000fd5b505050506040513d60208110156135ec57600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561366457600080fd5b505afa158015613678573d6000803e3d6000fd5b505050506040513d602081101561368e57600080fd5b810190808051906020019092919050505090508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161492505050919050565b6000808211613750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161375957fe5b04905092915050565b60008611156138ca57853410156137e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f4554482046454553204e4f54204d45540000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561381e5750600081115b1561389c57600061384c61271061383e848a6144db90919063ffffffff16565b6136d990919063ffffffff16565b90506138588382613fdf565b613896600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613891838a613f5c90919063ffffffff16565b613fdf565b506138c9565b6138c8600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687613fdf565b5b5b6000851115613ca757600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f544f4b454e204645452054595045204e4f5420535550504f525445440000000081525060200191505060405180910390fd5b84600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015613a4057600080fd5b505afa158015613a54573d6000803e3d6000fd5b505050506040513d6020811015613a6a57600080fd5b81019080805190602001909291905050501015613aef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f544f4b454e20464545204e4f54204d455400000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015613b2c5750600081115b15613c34576000613b5a612710613b4c84896144db90919063ffffffff16565b6136d990919063ffffffff16565b9050613bab338483600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b613c2e33600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613be5848a613f5c90919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b50613ca6565b613ca533600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b5b5b6000841115613e3557838773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015613d3657600080fd5b505afa158015613d4a573d6000803e3d6000fd5b505050506040513d6020811015613d6057600080fd5b81019080805190602001909291905050501015613de5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5020544f4b454e20464545204e4f54204d455400000000000000000000000081525060200191505060405180910390fd5b613e3433600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16868a73ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b5b6000831115613f5357600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613f03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f544f4b454e204645452054595045204e4f5420535550504f525445440000000081525060200191505060405180910390fd5b613f52333085600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b5b50505050505050565b600082821115613fd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d806000811461403f576040519150601f19603f3d011682016040523d82523d6000602084013e614044565b606091505b50509050806140bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f424e42205452414e53464552204641494c45440000000000000000000000000081525060200191505060405180910390fd5b505050565b60006140d2836000018360001b614561565b905092915050565b614195846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506145d1565b50505050565b600033905090565b60006141b283600001836146c0565b60001c905092915050565b61425a8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506145d1565b505050565b600081148061432d575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156142f057600080fd5b505afa158015614304573d6000803e3d6000fd5b505050506040513d602081101561431a57600080fd5b8101908080519060200190929190505050145b614382576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614be96036913960400191505060405180910390fd5b61441f8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506145d1565b505050565b6000614436836000018360001b614743565b905092915050565b6000808284019050838110156144bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006144d48260000161482b565b9050919050565b6000808314156144ee576000905061455b565b60008284029050828482816144ff57fe5b0414614556576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614b9e6021913960400191505060405180910390fd5b809150505b92915050565b600061456d838361483c565b6145c65782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506145cb565b600090505b92915050565b6000614633826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661485f9092919063ffffffff16565b90506000815111156146bb5780806020019051602081101561465457600080fd5b81019080805190602001909291905050506146ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614bbf602a913960400191505060405180910390fd5b5b505050565b600081836000018054905011614721576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614aff6022913960400191505060405180910390fd5b82600001828154811061473057fe5b9060005260206000200154905092915050565b6000808360010160008481526020019081526020016000205490506000811461481f576000600182039050600060018660000180549050039050600086600001828154811061478e57fe5b90600052602060002001549050808760000184815481106147ab57fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806147e357fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050614825565b60009150505b92915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b606061486e8484600085614877565b90509392505050565b6060824710156148d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614b476026913960400191505060405180910390fd5b6148db85614a1f565b61494d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061499c5780518252602082019150602081019050602083039250614979565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146149fe576040519150601f19603f3d011682016040523d82523d6000602084013e614a03565b606091505b5091509150614a13828286614a32565b92505050949350505050565b600080823b905060008111915050919050565b60608315614a4257829050614af7565b600083511115614a555782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614abc578082015181840152602081019050614aa1565b50505050905090810190601f168015614ae95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c494e56414c494420554e4c4f434b2054494d452c204d55535420424520554e49582054494d4520494e205345434f4e4453536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220572dea30fe26f5534f54627fac7dc11cf01801f41072ff604e0d2852786d57f964736f6c63430007060033000000000000000000000000152ee697f2e276fa89e96742e9bb9ab1f2e61be300000000000000000000000097a30c692ece9c317235d48287d23d358170fc40000000000000000000000000e92651c0a980f60a7f352a4cbb06e8a429876d240000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101665760003560e01c8063946ca949116100d1578063b6fffbf01161008a578063c45a015511610064578063c45a015514610859578063cf351c1d1461089a578063efdcd974146108eb578063f2fde38b1461093c57610166565b8063b6fffbf01461071f578063beb0a41614610764578063c28aa3d8146107f457610166565b8063946ca94914610537578063a4a99b69146105ce578063a695585714610613578063b3f0067414610658578063b48dd3be14610699578063b5a9096e146106f457610166565b8063405b84fa11610123578063405b84fa146103b1578063647846a51461040c5780636c7156411461044d578063715018a61461049e5780637cd07e47146104b55780638da5cb5b146104f657610166565b80630dd60c701461016b57806323cf31181461022457806324e2a8211461027557806328a2e7f0146102e45780632e1a7d4d1461033557806335a03bfa14610370575b600080fd5b61020e600480360360c081101561018157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803560ff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061098d565b6040518082815260200191505060405180910390f35b34801561023057600080fd5b506102736004803603602081101561024757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110dc565b005b34801561028157600080fd5b506102ce6004803603604081101561029857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111cf565b6040518082815260200191505060405180910390f35b3480156102f057600080fd5b506103336004803603602081101561030757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061122a565b005b34801561034157600080fd5b5061036e6004803603602081101561035857600080fd5b8101908080359060200190929190505050611431565b005b34801561037c57600080fd5b5061038561145a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103bd57600080fd5b5061040a600480360360408110156103d457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611480565b005b34801561041857600080fd5b50610421611a5f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561045957600080fd5b5061049c6004803603602081101561047057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a85565b005b3480156104aa57600080fd5b506104b3611c1b565b005b3480156104c157600080fd5b506104ca611d88565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561050257600080fd5b5061050b611dae565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561054357600080fd5b506105706004803603602081101561055a57600080fd5b8101908080359060200190929190505050611dd7565b604051808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060405180910390f35b610611600480360360608110156105e457600080fd5b810190808035906020019092919080359060200190929190803560ff169060200190929190505050611e4d565b005b34801561061f57600080fd5b506106566004803603604081101561063657600080fd5b81019080803590602001909291908035906020019092919050505061235d565b005b34801561066457600080fd5b5061066d61284e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156106a557600080fd5b506106f2600480360360408110156106bc57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612874565b005b34801561070057600080fd5b50610709612b61565b6040518082815260200191505060405180910390f35b34801561072b57600080fd5b506107626004803603604081101561074257600080fd5b810190808035906020019092919080359060200190929190505050612b67565b005b34801561077057600080fd5b50610779612e76565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107b957808201518184015260208101905061079e565b50505050905090810190601f1680156107e65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561080057600080fd5b506108436004803603602081101561081757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612eb3565b6040518082815260200191505060405180910390f35b34801561086557600080fd5b5061086e612f03565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156108a657600080fd5b506108e9600480360360208110156108bd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612f29565b005b3480156108f757600080fd5b5061093a6004803603602081101561090e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061312d565b005b34801561094857600080fd5b5061098b6004803603602081101561095f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506132c3565b005b600060026001541415610a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060008611610a86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a45524f20414d4f554e5400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff161415610b29576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f5a45524f20544f4b454e0000000000000000000000000000000000000000000081525060200191505060405180910390fd5b428511610b9e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f554e4c4f434b2054494d4520494e20544845205041535400000000000000000081525060200191505060405180910390fd5b6402540be4008510610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614b6d6031913960400191505060405180910390fd5b610c04876134b5565b610c76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f4e4f542050414e43414b4520504149520000000000000000000000000000000081525060200191505060405180910390fd5b6000806000806000806000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dc7595978f8f8f8e8e336040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018460ff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001965050505050505060a06040518083038186803b158015610d6157600080fd5b505afa158015610d75573d6000803e3d6000fd5b505050506040513d60a0811015610d8b57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505094509450945094509450829650819550610de860648e6136d990919063ffffffff16565b871115610e5d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4c5020464545204558434545445320312500000000000000000000000000000081525060200191505060405180910390fd5b610e6c8e86868a8a8e87613762565b84341115610e9157610e9033610e8b8734613f5c90919063ffffffff16565b613fdf565b5b50505050506000610eab838a613f5c90919063ffffffff16565b905060006040518060a001604052808c73ffffffffffffffffffffffffffffffffffffffff1681526020018973ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018a815260200184815250905060076000815480929190600101919050559450806008600087815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020155606082015181600301556080820151816004015590505061102b85600960008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206140c090919063ffffffff16565b506110593330848e73ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b8773ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff16867f601e52fd7ec7840490f1ae9c376bc3b32f6a6a6aac8dc10db76d87ef0fa45d32858d604051808381526020018281526020019250505060405180910390a450505050600180819055509695505050505050565b6110e461419b565b73ffffffffffffffffffffffffffffffffffffffff16611102611dae565b73ffffffffffffffffffffffffffffffffffffffff161461118b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061122282600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206141a390919063ffffffff16565b905092915050565b61123261419b565b73ffffffffffffffffffffffffffffffffffffffff16611250611dae565b73ffffffffffffffffffffffffffffffffffffffff16146112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6112e2816134b5565b15611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f756e61626c6520746f207265636f766572204c5020746f6b656e00000000000081525060200191505060405180910390fd5b600081905061142d611365611dae565b8273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156113cc57600080fd5b505afa1580156113e0573d6000803e3d6000fd5b505050506040513d60208110156113f657600080fd5b81019080805190602001909291905050508373ffffffffffffffffffffffffffffffffffffffff166141bd9092919063ffffffff16565b5050565b600060086000838152602001908152602001600020905061145682826002015461235d565b5050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260015414156114f9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156115c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f4e4f204d49475241544f5200000000000000000000000000000000000000000081525060200191505060405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f57524f4e47204d49475241544f5200000000000000000000000000000000000081525060200191505060405180910390fd5b60006008600084815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4f4e4c59204c4f434b204f574e4552000000000000000000000000000000000081525060200191505060405180910390fd5b6117da600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600201548360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661425f9092919063ffffffff16565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663db5ecd3f8260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836002015484600301548560010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff168152602001945050505050600060405180830381600087803b1580156118e357600080fd5b505af11580156118f7573d6000803e3d6000fd5b50505050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16837f0bef3dfd2c699190b6fbc19bd6141032806b257965fe4fd1fb461d4712d2e12960405160405180910390a36119d683600960008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061442490919063ffffffff16565b5060086000848152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600282016000905560038201600090556004820160009055505050600180819055505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a8d61419b565b73ffffffffffffffffffffffffffffffffffffffff16611aab611dae565b73ffffffffffffffffffffffffffffffffffffffff1614611b34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f2041444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c2361419b565b73ffffffffffffffffffffffffffffffffffffffff16611c41611dae565b73ffffffffffffffffffffffffffffffffffffffff1614611cca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154908060030154908060040154905085565b60026001541415611ec6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055508260006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611fab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b60008411612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f5a45524f20414d4f554e5400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600860008781526020019081526020016000209050600080600080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ca1556c18660000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168b88600301548c336040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018481526020018360ff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019550505050505060806040518083038186803b15801561212857600080fd5b505afa15801561213c573d6000803e3d6000fd5b505050506040513d608081101561215257600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190505050935093509350935061219d60648a6136d990919063ffffffff16565b821115612212576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4c5020464545204558434545445320312500000000000000000000000000000081525060200191505060405180910390fd5b6122468560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685858585600080613762565b8334111561226b5761226a336122658634613f5c90919063ffffffff16565b613fdf565b5b6000612280838b613f5c90919063ffffffff16565b905061229981876002015461443e90919063ffffffff16565b86600201819055506122b882876004015461443e90919063ffffffff16565b86600401819055506123113330838960000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b8a7f726a87743148b6d1e89b17e740a496a48f2515cab6794def6e92b1765b773a6a8b6040518082815260200191505060405180910390a2505050505050505060018081905550505050565b600260015414156123d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055508160006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146124bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b6000600860008681526020019081526020016000209050838160020154101561254c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f414d4f554e542045584345454453204c4f434b4544000000000000000000000081525060200191505060405180910390fd5b80600301544210156125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f4e4f542059455420554e4c4f434b45440000000000000000000000000000000081525060200191505060405180910390fd5b6126398160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16858360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166141bd9092919063ffffffff16565b612650848260020154613f5c90919063ffffffff16565b8160020181905550600081600201541415612808576000816004015411156126e8576126e78160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260040154600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166141bd9092919063ffffffff16565b5b61275d85600960008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061442490919063ffffffff16565b5060086000868152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556002820160009055600382016000905560048201600090555050847f474ad196311b1b95407b51dc0515179f4a588c875f35e1d5b4a2d963e6cdd79160405160405180910390a25b847f4741c0a61cf65d0435cc6b57d59b9203082089e8911228f3b6b0031cc2e95b91856040518082815260200191505060405180910390a2505050600180819055505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b8160006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612951576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f5a45524f204e4557204f574e455200000000000000000000000000000000000081525060200191505060405180910390fd5b6000600860008681526020019081526020016000209050612a8085600960008460010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061442490919063ffffffff16565b50612ad285600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206140c090919063ffffffff16565b50838160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff16857ffd9536909af70d0956b4cd5199aea8fa73c2c76717d789c3fa99427fca1ebf5960405160405180910390a35050505050565b60075481565b60026001541415612be0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026001819055508160006008600083815260200190815260200160002090503373ffffffffffffffffffffffffffffffffffffffff168160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612cc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e4f20414354495645204c4f434b204f52204e4f54204f574e4552000000000081525060200191505060405180910390fd5b428311612d3a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f554e4c4f434b2054494d4520494e20544845205041535400000000000000000081525060200191505060405180910390fd5b6402540be4008310612d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614b6d6031913960400191505060405180910390fd5b600060086000868152602001908152602001600020905083816003015410612e27576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f4e4f5420494e4352454153494e4720554e4c4f434b2054494d4500000000000081525060200191505060405180910390fd5b838160030181905550847f9a0a6aaaf60f7e2d9b37efb62343fd4bd400065be75ad75116551ab82aa123ec856040518082815260200191505060405180910390a2505050600180819055505050565b60606040518060400160405280601681526020017f68747470733a2f2f637279707465786c6f636b2e6d6500000000000000000000815250905090565b6000612efc600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206144c6565b9050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612f3161419b565b73ffffffffffffffffffffffffffffffffffffffff16612f4f611dae565b73ffffffffffffffffffffffffffffffffffffffff1614612fd8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461309c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f616c72656164792073657400000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe036741a59ec0d11dc644db37c368902dbacee321a73534e1bfae9d8f4c920ff81604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b61313561419b565b73ffffffffffffffffffffffffffffffffffffffff16613153611dae565b73ffffffffffffffffffffffffffffffffffffffff16146131dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561327f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f2041444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6132cb61419b565b73ffffffffffffffffffffffffffffffffffffffff166132e9611dae565b73ffffffffffffffffffffffffffffffffffffffff1614613372576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156133f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614b216026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000808290506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e6a439058373ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561354157600080fd5b505afa158015613555573d6000803e3d6000fd5b505050506040513d602081101561356b57600080fd5b81019080805190602001909291905050508473ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156135c257600080fd5b505afa1580156135d6573d6000803e3d6000fd5b505050506040513d60208110156135ec57600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561366457600080fd5b505afa158015613678573d6000803e3d6000fd5b505050506040513d602081101561368e57600080fd5b810190808051906020019092919050505090508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161492505050919050565b6000808211613750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161375957fe5b04905092915050565b60008611156138ca57853410156137e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f4554482046454553204e4f54204d45540000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561381e5750600081115b1561389c57600061384c61271061383e848a6144db90919063ffffffff16565b6136d990919063ffffffff16565b90506138588382613fdf565b613896600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613891838a613f5c90919063ffffffff16565b613fdf565b506138c9565b6138c8600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687613fdf565b5b5b6000851115613ca757600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f544f4b454e204645452054595045204e4f5420535550504f525445440000000081525060200191505060405180910390fd5b84600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015613a4057600080fd5b505afa158015613a54573d6000803e3d6000fd5b505050506040513d6020811015613a6a57600080fd5b81019080805190602001909291905050501015613aef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f544f4b454e20464545204e4f54204d455400000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015613b2c5750600081115b15613c34576000613b5a612710613b4c84896144db90919063ffffffff16565b6136d990919063ffffffff16565b9050613bab338483600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b613c2e33600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16613be5848a613f5c90919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b50613ca6565b613ca533600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b5b5b6000841115613e3557838773ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015613d3657600080fd5b505afa158015613d4a573d6000803e3d6000fd5b505050506040513d6020811015613d6057600080fd5b81019080805190602001909291905050501015613de5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f4c5020544f4b454e20464545204e4f54204d455400000000000000000000000081525060200191505060405180910390fd5b613e3433600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16868a73ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b5b6000831115613f5357600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613f03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f544f4b454e204645452054595045204e4f5420535550504f525445440000000081525060200191505060405180910390fd5b613f52333085600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140da909392919063ffffffff16565b5b50505050505050565b600082821115613fd4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d806000811461403f576040519150601f19603f3d011682016040523d82523d6000602084013e614044565b606091505b50509050806140bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f424e42205452414e53464552204641494c45440000000000000000000000000081525060200191505060405180910390fd5b505050565b60006140d2836000018360001b614561565b905092915050565b614195846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506145d1565b50505050565b600033905090565b60006141b283600001836146c0565b60001c905092915050565b61425a8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506145d1565b505050565b600081148061432d575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156142f057600080fd5b505afa158015614304573d6000803e3d6000fd5b505050506040513d602081101561431a57600080fd5b8101908080519060200190929190505050145b614382576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614be96036913960400191505060405180910390fd5b61441f8363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506145d1565b505050565b6000614436836000018360001b614743565b905092915050565b6000808284019050838110156144bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b60006144d48260000161482b565b9050919050565b6000808314156144ee576000905061455b565b60008284029050828482816144ff57fe5b0414614556576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614b9e6021913960400191505060405180910390fd5b809150505b92915050565b600061456d838361483c565b6145c65782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506145cb565b600090505b92915050565b6000614633826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661485f9092919063ffffffff16565b90506000815111156146bb5780806020019051602081101561465457600080fd5b81019080805190602001909291905050506146ba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614bbf602a913960400191505060405180910390fd5b5b505050565b600081836000018054905011614721576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614aff6022913960400191505060405180910390fd5b82600001828154811061473057fe5b9060005260206000200154905092915050565b6000808360010160008481526020019081526020016000205490506000811461481f576000600182039050600060018660000180549050039050600086600001828154811061478e57fe5b90600052602060002001549050808760000184815481106147ab57fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806147e357fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050614825565b60009150505b92915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b606061486e8484600085614877565b90509392505050565b6060824710156148d2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614b476026913960400191505060405180910390fd5b6148db85614a1f565b61494d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061499c5780518252602082019150602081019050602083039250614979565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146149fe576040519150601f19603f3d011682016040523d82523d6000602084013e614a03565b606091505b5091509150614a13828286614a32565b92505050949350505050565b600080823b905060008111915050919050565b60608315614a4257829050614af7565b600083511115614a555782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614abc578082015181840152602081019050614aa1565b50505050905090810190601f168015614ae95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c494e56414c494420554e4c4f434b2054494d452c204d55535420424520554e49582054494d4520494e205345434f4e4453536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220572dea30fe26f5534f54627fac7dc11cf01801f41072ff604e0d2852786d57f964736f6c63430007060033

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

000000000000000000000000152ee697f2e276fa89e96742e9bb9ab1f2e61be300000000000000000000000097a30c692ece9c317235d48287d23d358170fc40000000000000000000000000e92651c0a980f60a7f352a4cbb06e8a429876d240000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _factory (address): 0x152eE697f2E276fA89E96742e9bB9aB1F2E61bE3
Arg [1] : _feesCalculator (address): 0x97a30C692eCe9C317235d48287d23d358170FC40
Arg [2] : _feesReceiver (address): 0xE92651C0A980f60A7F352a4CBB06E8a429876D24
Arg [3] : _feeToken (address): 0x0000000000000000000000000000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000152ee697f2e276fa89e96742e9bb9ab1f2e61be3
Arg [1] : 00000000000000000000000097a30c692ece9c317235d48287d23d358170fc40
Arg [2] : 000000000000000000000000e92651c0a980f60a7f352a4cbb06e8a429876d24
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.