ETH Price: $1,972.43 (+0.13%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

Transaction Hash
Method
Block
From
To
0x6ff7c5dd87c2138ddd416a9da6ab0fd884465a1318d2eaaa849e1143c3de0233 Buy With Eth(pending)2026-02-19 6:46:153 days ago1771483575IN
0x9D33c9FE...76D91A9B9
0.00005 ETH(Pending)(Pending)
0xf135ae052022dace035c1e39abebf67113ffe95fe2d859ab4bd300b5fdb9e092 Claim And Stake(pending)2026-02-19 4:18:523 days ago1771474732IN
0x9D33c9FE...76D91A9B9
0 ETH(Pending)(Pending)
0x184b530e7f5769d6b3aa8f6efe173e1e94dcd05c6fbe5327311c140477e1da71 Buy With Eth(pending)2026-02-19 4:13:513 days ago1771474431IN
0x9D33c9FE...76D91A9B9
0.0001 ETH(Pending)(Pending)
Buy With Eth245104542026-02-22 5:55:473 hrs ago1771739747IN
0x9D33c9FE...76D91A9B9
0.0012 ETH0.000010260.09329198
Claim And Stake245053082026-02-21 12:42:1120 hrs ago1771677731IN
0x9D33c9FE...76D91A9B9
0 ETH0.000253792.04284643
Buy With USDT245050072026-02-21 11:41:3521 hrs ago1771674095IN
0x9D33c9FE...76D91A9B9
0 ETH0.000552952.04102806
Claim And Stake245043892026-02-21 9:37:4723 hrs ago1771666667IN
0x9D33c9FE...76D91A9B9
0 ETH0.000330392.03783519
Claim And Stake245004192026-02-20 20:21:1136 hrs ago1771618871IN
0x9D33c9FE...76D91A9B9
0 ETH0.000322682.03664037
Claim And Stake244923242026-02-19 17:15:472 days ago1771521347IN
0x9D33c9FE...76D91A9B9
0 ETH0.000350232.1602185
Claim And Stake244898462026-02-19 8:58:113 days ago1771491491IN
0x9D33c9FE...76D91A9B9
0 ETH0.000331532.04488574
Buy With Eth244886822026-02-19 5:04:593 days ago1771477499IN
0x9D33c9FE...76D91A9B9
0.001 ETH0.000063010.57249293
Buy With Eth244794262026-02-17 22:05:594 days ago1771365959IN
0x9D33c9FE...76D91A9B9
0.0097 ETH0.000033310.21833307
Buy With USDT244780942026-02-17 17:38:114 days ago1771349891IN
0x9D33c9FE...76D91A9B9
0 ETH0.000445562.14600758
Claim And Stake244780182026-02-17 17:22:594 days ago1771348979IN
0x9D33c9FE...76D91A9B9
0 ETH0.000347612.1939966
Claim And Stake244763762026-02-17 11:52:594 days ago1771329179IN
0x9D33c9FE...76D91A9B9
0 ETH0.000329792.03418046
Claim And Stake244724852026-02-16 22:51:355 days ago1771282295IN
0x9D33c9FE...76D91A9B9
0 ETH0.000004960.03136357
Buy With Eth244687072026-02-16 10:12:595 days ago1771236779IN
0x9D33c9FE...76D91A9B9
0.0004 ETH0.000022660.08352633
Claim And Stake244587312026-02-15 0:51:357 days ago1771116695IN
0x9D33c9FE...76D91A9B9
0 ETH0.000329742.03385293
Claim And Stake244449552026-02-13 2:43:599 days ago1770950639IN
0x9D33c9FE...76D91A9B9
0 ETH0.000168371.03854264
Claim And Stake244446712026-02-13 1:46:599 days ago1770947219IN
0x9D33c9FE...76D91A9B9
0 ETH0.000019670.12416423
Buy With Eth244347792026-02-11 16:39:3510 days ago1770827975IN
0x9D33c9FE...76D91A9B9
0.119 ETH0.0001381.25370292
Claim And Stake244289652026-02-10 21:10:3511 days ago1770757835IN
0x9D33c9FE...76D91A9B9
0 ETH0.00033092.08854065
Buy With Eth244234512026-02-10 2:41:1112 days ago1770691271IN
0x9D33c9FE...76D91A9B9
0.0522 ETH0.00021751.04526287
Claim And Stake244217492026-02-09 20:58:4712 days ago1770670727IN
0x9D33c9FE...76D91A9B9
0 ETH0.000057322.20414429
Claim And Stake244217482026-02-09 20:58:3512 days ago1770670715IN
0x9D33c9FE...76D91A9B9
0 ETH0.000355172.19068664
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer245104542026-02-22 5:55:473 hrs ago1771739747
0x9D33c9FE...76D91A9B9
0.0012 ETH
Transfer244886822026-02-19 5:04:593 days ago1771477499
0x9D33c9FE...76D91A9B9
0.001 ETH
Transfer244794262026-02-17 22:05:594 days ago1771365959
0x9D33c9FE...76D91A9B9
0.0097 ETH
Transfer244687072026-02-16 10:12:595 days ago1771236779
0x9D33c9FE...76D91A9B9
0.0004 ETH
Transfer244347792026-02-11 16:39:3510 days ago1770827975
0x9D33c9FE...76D91A9B9
0.119 ETH
Transfer244234512026-02-10 2:41:1112 days ago1770691271
0x9D33c9FE...76D91A9B9
0.0522 ETH
Transfer244013642026-02-07 0:28:3515 days ago1770424115
0x9D33c9FE...76D91A9B9
0.0172 ETH
Transfer243990882026-02-06 16:50:1115 days ago1770396611
0x9D33c9FE...76D91A9B9
0.02 ETH
Transfer243926002026-02-05 19:04:4716 days ago1770318287
0x9D33c9FE...76D91A9B9
0.045 ETH
Transfer243900502026-02-05 10:31:3516 days ago1770287495
0x9D33c9FE...76D91A9B9
0.0275 ETH
Transfer243874352026-02-05 1:44:3517 days ago1770255875
0x9D33c9FE...76D91A9B9
0.026 ETH
Transfer243871492026-02-05 0:47:1117 days ago1770252431
0x9D33c9FE...76D91A9B9
0.00004 ETH
Transfer243826172026-02-04 9:33:3517 days ago1770197615
0x9D33c9FE...76D91A9B9
0.025 ETH
Transfer243818372026-02-04 6:56:5918 days ago1770188219
0x9D33c9FE...76D91A9B9
0.0007 ETH
Transfer243817852026-02-04 6:46:3518 days ago1770187595
0x9D33c9FE...76D91A9B9
0.0007 ETH
Transfer243817122026-02-04 6:31:5918 days ago1770186719
0x9D33c9FE...76D91A9B9
0.00004 ETH
Transfer243812682026-02-04 5:02:1118 days ago1770181331
0x9D33c9FE...76D91A9B9
0.00003 ETH
Transfer243810472026-02-04 4:17:3518 days ago1770178655
0x9D33c9FE...76D91A9B9
0.2113 ETH
Transfer243806872026-02-04 3:05:1118 days ago1770174311
0x9D33c9FE...76D91A9B9
0.1777 ETH
Transfer243503972026-01-30 21:33:2322 days ago1769808803
0x9D33c9FE...76D91A9B9
0.0075 ETH
Transfer243472372026-01-30 10:58:4722 days ago1769770727
0x9D33c9FE...76D91A9B9
0.07 ETH
Transfer243411742026-01-29 14:41:3523 days ago1769697695
0x9D33c9FE...76D91A9B9
0.0044 ETH
Transfer243286922026-01-27 20:55:2325 days ago1769547323
0x9D33c9FE...76D91A9B9
0.03 ETH
Transfer243222552026-01-26 23:22:2326 days ago1769469743
0x9D33c9FE...76D91A9B9
0.0005 ETH
Transfer243216092026-01-26 21:12:4726 days ago1769461967
0x9D33c9FE...76D91A9B9
0.05 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x5b64F5A7...57E6Fd4E7
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
LayerBrett_Presale

Compiler Version
v0.8.30+commit.73712a01

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts@4.9.3/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts@4.9.3/access/Ownable.sol";
import "@openzeppelin/contracts@4.9.3/utils/Address.sol";
import "@openzeppelin/contracts@4.9.3/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts@4.9.3/interfaces/IERC20.sol";
import "@openzeppelin/contracts@4.9.3/interfaces/IERC20Metadata.sol";

interface Aggregator {
    function latestRoundData()
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        );
}

interface ILayerBrett_Staking {
  function depositByPresale(address _user, uint256 _amount) external;
}

contract LayerBrett_Presale is ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;

    uint256 public totalUsdRaised;
    uint256 public totalTokenSold;
    uint256 public totalBoughtAndStaked;
    uint256 public presaleId;
    uint256 public USDT_MULTIPLIER;
    uint256 public ETH_MULTIPLIER;
    address public fundReceiver;
    uint256 public uniqueBuyers;

    struct PresaleData {
        uint256 startTime;
        uint256 endTime;
        uint256 price;
        uint256 nextStagePrice;
        uint256 tokensSold;
        uint256 tokensToSell;
        uint256 usdtHardcap;
        uint256 amountRaised;
        bool active;
    }

    struct UserData {
        uint256 depositUsdAmount;
        uint256 claimableTokenAmount;
    }
    
    struct CrossStagePurchase {
        uint256 currentStageAmount;
        uint256 nextStageAmount;
        uint256 currentStagePrice;
        uint256 nextStagePrice;
    }

    IERC20Metadata public USDTInterface;
    Aggregator internal aggregatorInterface;
    ILayerBrett_Staking public stakingManagerInterface;

    mapping(uint256 => bool) public paused;
    mapping(uint256 => PresaleData) public presale;
    mapping(uint256 => uint256) public nextStageId;
    mapping(address => UserData) public userData;
    mapping(address => bool) public isExist;
    mapping(address => bool) public hasClaimed;
    bool public claimStart;

    uint256 public maxTokensToBuy;
    uint256 public currentSale;
    address public saleToken;

    event PresaleCreated(
        uint256 indexed _id,
        uint256 _price,
        uint256 _startTime,
        uint256 _endTime
    );

    event PresaleUpdated(
        uint256 indexed _id,
        uint256 _price,
        uint256 _startTime,
        uint256 _endTime
    );

    event TokensBought(
        address indexed user,
        uint256 indexed id,
        address indexed purchaseToken,
        uint256 tokensBought,
        uint256 amountPaid,
        uint256 timestamp
    );

    event TokensBoughtAndStaked(
        address indexed user,
        uint256 indexed id,
        address indexed purchaseToken,
        uint256 tokensBought,
        uint256 amountPaid,
        uint256 timestamp
    );

    event TokensClaimed(
        address indexed user,
        uint256 amount,
        uint256 timestamp
    );

    event TokensClaimedAndStaked(
        address indexed user,
        uint256 amount,
        uint256 timestamp
    );

    event PresalePaused(uint256 indexed id, uint256 timestamp);

    event PresaleUnpaused(uint256 indexed id, uint256 timestamp);

    modifier checkAutoTransition(uint256 _id) {
        _;
        if (presale[_id].tokensSold >= presale[_id].tokensToSell && nextStageId[_id] != 0) {
            _autoTransition(_id);
        }
    }

    function _autoTransition(uint256 _id) internal {
        presale[_id].endTime = block.timestamp;
        presale[_id].active = false;
        presale[nextStageId[_id]].startTime = block.timestamp;
        presale[nextStageId[_id]].active = true;
        currentSale = nextStageId[_id];
        
        emit PresaleUpdated(
            nextStageId[_id],
            presale[nextStageId[_id]].price,
            block.timestamp,
            0
        );
    }

    constructor(
        address _oracle,
        address _usdt,
        address _saleToken,
        address _fundReceiver,
        uint256 _maxTokensToBuy
    ) {
        aggregatorInterface = Aggregator(_oracle);
        USDTInterface = IERC20Metadata(_usdt);
        saleToken = _saleToken;
        fundReceiver = _fundReceiver;
        maxTokensToBuy = _maxTokensToBuy;
        ETH_MULTIPLIER = (10**18);
        USDT_MULTIPLIER = (10**6);
    }

    function createPresale(
        uint256 _price,
        uint256 _nextStagePrice,
        uint256 _tokensToSell,
        uint256 _usdtHardcap,
        uint256 _previousStageId
    ) external onlyOwner {
        require(_price > 0, "Zero price");
        require(_tokensToSell > 0, "Zero tokens to sell");

        presaleId++;

        if (_previousStageId != 0) {
            nextStageId[_previousStageId] = presaleId;
        }

        presale[presaleId] = PresaleData(
            0,
            0,
            _price,
            _nextStagePrice,
            0,
            _tokensToSell,
            _usdtHardcap,
            0,
            false
        );

        emit PresaleCreated(presaleId, _price, 0, 0);
    }

    function setPresaleStage(uint256 _id) public onlyOwner {
        require(presale[_id].tokensToSell > 0, "Presale don't exist");
        if (currentSale != 0) {
            presale[currentSale].endTime = block.timestamp;
            presale[currentSale].active = false;
        }
        presale[_id].startTime = block.timestamp;
        presale[_id].active = true;
        currentSale = _id;
    }

    function updatePresale(
        uint256 _id,
        uint256 _price,
        uint256 _nextStagePrice,
        uint256 _tokensToSell,
        uint256 _usdtHardcap
    ) external onlyOwner {
        require(_price > 0, "Zero price");
        require(_tokensToSell > 0, "Zero tokens to sell");
        require(_usdtHardcap > 0, "Zero harcap");
        presale[_id].price = _price;
        presale[_id].nextStagePrice = _nextStagePrice;
        presale[_id].tokensToSell = _tokensToSell;
        presale[_id].usdtHardcap = _usdtHardcap;
    }

    function changeFundWallet(address _wallet) external onlyOwner {
        require(_wallet != address(0), "Invalid parameters");
        fundReceiver = _wallet;
    }

    function changeUSDTToken(address _newAddress) external onlyOwner {
        require(_newAddress != address(0), "Zero token address");
        USDTInterface = IERC20Metadata(_newAddress);
    }

    function pausePresale(uint256 _id) external checkPresaleId(_id) onlyOwner {
        require(!paused[_id], "Already paused");
        paused[_id] = true;
        emit PresalePaused(_id, block.timestamp);
    }

    function unPausePresale(uint256 _id)
        external
        checkPresaleId(_id)
        onlyOwner
    {
        require(paused[_id], "Not paused");
        paused[_id] = false;
        emit PresaleUnpaused(_id, block.timestamp);
    }

    function getLatestPrice() public view returns (uint256) {
        (, int256 price, , , ) = aggregatorInterface.latestRoundData();
        price = (price * (10**10));
        return uint256(price);
    }

    modifier checkPresaleId(uint256 _id) {
        require(_id > 0 && _id == currentSale, "Invalid presale id");
        _;
    }

    function calculateCrossStagePurchase(uint256 _id, uint256 usdAmount) 
        public 
        view 
        returns (CrossStagePurchase memory) 
    {
        require(_id > 0 && presale[_id].tokensToSell > 0, "Invalid presale id");
        
        CrossStagePurchase memory purchase;
        purchase.currentStagePrice = presale[_id].price;
        
        uint256 remainingInCurrent = presale[_id].tokensToSell - presale[_id].tokensSold;
        uint256 tokensFromCurrent = (usdAmount * presale[_id].price) / USDT_MULTIPLIER;
        
        if (tokensFromCurrent <= remainingInCurrent) {
            purchase.currentStageAmount = tokensFromCurrent;
            return purchase;
        }
        
        purchase.currentStageAmount = remainingInCurrent;
        uint256 usdUsedInCurrent = (remainingInCurrent * USDT_MULTIPLIER) / presale[_id].price;
        uint256 remainingUSD = usdAmount - usdUsedInCurrent;
        
        uint256 nextId = nextStageId[_id];
        if (nextId != 0 && presale[nextId].tokensToSell > 0) {
            purchase.nextStagePrice = presale[nextId].price;
            purchase.nextStageAmount = (remainingUSD * presale[nextId].price) / USDT_MULTIPLIER;
        }
        
        return purchase;
    }

    function buyWithUSDT(uint256 usdAmount, bool stake)
        external
        checkPresaleId(currentSale)
        nonReentrant
        returns (bool)
    {
        require(!paused[currentSale], "Presale paused");
        require(
            presale[currentSale].active == true,
            "Presale is not active yet"
        );
        
        CrossStagePurchase memory purchase = calculateCrossStagePurchase(currentSale, usdAmount);
        require(purchase.currentStageAmount > 0, "No tokens available");
        
        if (!isExist[msg.sender]) {
            isExist[msg.sender] = true;
            uniqueBuyers++;
        }

        presale[currentSale].tokensSold += purchase.currentStageAmount;
        presale[currentSale].amountRaised += (purchase.currentStageAmount * USDT_MULTIPLIER) / presale[currentSale].price;
        totalUsdRaised += (purchase.currentStageAmount * USDT_MULTIPLIER) / presale[currentSale].price;
        totalTokenSold += purchase.currentStageAmount;
        
        if (purchase.nextStageAmount > 0) {
            uint256 nextId = nextStageId[currentSale];
            presale[nextId].tokensSold += purchase.nextStageAmount;
            presale[nextId].amountRaised += (purchase.nextStageAmount * USDT_MULTIPLIER) / presale[nextId].price;
            totalUsdRaised += (purchase.nextStageAmount * USDT_MULTIPLIER) / presale[nextId].price;
            totalTokenSold += purchase.nextStageAmount;
        }
        
        uint256 ourAllowance = USDTInterface.allowance(
            _msgSender(),
            address(this)
        );
        require(usdAmount <= ourAllowance, "Make sure to add enough allowance");
        (bool success, ) = address(USDTInterface).call(
            abi.encodeWithSignature(
                "transferFrom(address,address,uint256)",
                _msgSender(),
                fundReceiver,
                usdAmount
            )
        );
        require(success, "Token payment failed");

        uint256 totalTokens = purchase.currentStageAmount + purchase.nextStageAmount;
        if (stake) {
            stakingManagerInterface.depositByPresale(_msgSender(), totalTokens);
            totalBoughtAndStaked += totalTokens;
        
            emit TokensBought(
                _msgSender(),
                currentSale,
                address(USDTInterface),
                totalTokens,
                usdAmount,
                block.timestamp
            );
        } else {
            userData[_msgSender()].claimableTokenAmount += totalTokens;

            emit TokensBought(
                _msgSender(),
                currentSale,
                address(USDTInterface),
                totalTokens,
                usdAmount,
                block.timestamp
            );
        }
        
        if (presale[currentSale].tokensSold >= presale[currentSale].tokensToSell && 
            nextStageId[currentSale] != 0) {
            _autoTransition(currentSale);
        }
        
        return true;
    }

    function buyWithEth(bool stake)
        external
        payable
        checkPresaleId(currentSale)
        nonReentrant
        returns (bool)
    {
        uint256 usdAmount = (msg.value * getLatestPrice() * USDT_MULTIPLIER) /
            (ETH_MULTIPLIER * ETH_MULTIPLIER);
        require(!paused[currentSale], "Presale paused");
        require(
            presale[currentSale].active == true,
            "Presale is not active yet"
        );

        CrossStagePurchase memory purchase = calculateCrossStagePurchase(currentSale, usdAmount);
        require(purchase.currentStageAmount > 0, "No tokens available");

        if (!isExist[msg.sender]) {
            isExist[msg.sender] = true;
            uniqueBuyers++;
        }
                
        presale[currentSale].tokensSold += purchase.currentStageAmount;
        presale[currentSale].amountRaised += (purchase.currentStageAmount * USDT_MULTIPLIER) / presale[currentSale].price;
        totalUsdRaised += (purchase.currentStageAmount * USDT_MULTIPLIER) / presale[currentSale].price;
        totalTokenSold += purchase.currentStageAmount;

        if (purchase.nextStageAmount > 0) {
            uint256 nextId = nextStageId[currentSale];
            presale[nextId].tokensSold += purchase.nextStageAmount;
            presale[nextId].amountRaised += (purchase.nextStageAmount * USDT_MULTIPLIER) / presale[nextId].price;
            totalUsdRaised += (purchase.nextStageAmount * USDT_MULTIPLIER) / presale[nextId].price;
            totalTokenSold += purchase.nextStageAmount;
        }
        
        sendValue(payable(fundReceiver), msg.value);

        uint256 totalTokens = purchase.currentStageAmount + purchase.nextStageAmount;

        if (stake) {
            stakingManagerInterface.depositByPresale(_msgSender(), totalTokens);
            totalBoughtAndStaked += totalTokens;

            emit TokensBoughtAndStaked(
                _msgSender(),
                currentSale,
                address(0),
                totalTokens,
                msg.value,
                block.timestamp
            );
        } else {
            userData[_msgSender()].claimableTokenAmount += totalTokens;

            emit TokensBought(
                _msgSender(),
                currentSale,
                address(0),
                totalTokens,
                msg.value,
                block.timestamp
            );
        }
        return true;
    }

    function ethBuyHelper(uint256 _id, uint256 amount)
        external
        view
        returns (uint256 ethAmount)
    {
        uint256 usdPrice = (amount * presale[_id].price);
        ethAmount =
            (usdPrice * ETH_MULTIPLIER) /
            (getLatestPrice() * 10**IERC20Metadata(saleToken).decimals());
    }

    function usdBuyHelper(uint256 _id, uint256 amount)
        external
        view
        returns (uint256 usdPrice)
    {
        usdPrice =
            (amount * presale[_id].price) /
            10**IERC20Metadata(saleToken).decimals();
    }

    function claim()
        external
        returns (bool)
    {
        require(saleToken != address(0), "Sale token not added");
        require(claimStart, "Claim has not started yet");
        require(!hasClaimed[_msgSender()], "Already claimed");
        uint256 amount = userData[_msgSender()].claimableTokenAmount;
        require(amount > 0, "Nothing to claim");
        bool success = IERC20Metadata(saleToken).transfer(_msgSender(), amount);
        require(success, "Token transfer failed");
        userData[_msgSender()].claimableTokenAmount = 0;
        emit TokensClaimed(_msgSender(), amount, block.timestamp);
        return true;
    }

    function claimAndStake()
        external
        returns (bool)
    {
        require(saleToken != address(0), "Sale token not added");
        uint256 amount = userData[_msgSender()].claimableTokenAmount;
        require(amount > 0, "Nothing to stake");
        stakingManagerInterface.depositByPresale(_msgSender(), amount);
        userData[_msgSender()].claimableTokenAmount = 0;
        emit TokensClaimedAndStaked(_msgSender(), amount, block.timestamp);
        return true;
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Low balance");
        (bool success, ) = recipient.call{value: amount}("");
        require(success, "ETH Payment failed");
    }

    function setStakingManager(address _stakingManagerAddress) external onlyOwner {
        require(_stakingManagerAddress != address(0), "staking manager cannot be inatialized with zero address");
        stakingManagerInterface = ILayerBrett_Staking(_stakingManagerAddress);
        IERC20Metadata(saleToken).approve(_stakingManagerAddress, type(uint256).max);
    }

    function WithdrawTokens(address _token, uint256 amount) external onlyOwner {
        IERC20(_token).safeTransfer(fundReceiver, amount);
    }

    function WithdrawContractFunds(uint256 amount) external onlyOwner {
        sendValue(payable(fundReceiver), amount);
    }

    function ChangesaleToken(address _token) public onlyOwner {
        saleToken = _token;
    }

    function ChangeMaxTokensToBuy(uint256 _amount) public onlyOwner {
        maxTokensToBuy = _amount;
    }

    function ChangeOracleAddress(address _oracle) public onlyOwner {
        aggregatorInterface = Aggregator(_oracle);
    }

    function ChangeClaimStart(bool _claimStart) public onlyOwner {
        claimStart = _claimStart;
    }

    function blockTimeStamp() public view returns(uint256) {
        return block.timestamp;
    }
}

File 2 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/extensions/IERC20Metadata.sol";

File 3 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.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 Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    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'
        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));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^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() {
        _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 making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_usdt","type":"address"},{"internalType":"address","name":"_saleToken","type":"address"},{"internalType":"address","name":"_fundReceiver","type":"address"},{"internalType":"uint256","name":"_maxTokensToBuy","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"PresaleCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"PresalePaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"PresaleUnpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"PresaleUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"purchaseToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensBought","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"purchaseToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensBought","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBoughtAndStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensClaimedAndStaked","type":"event"},{"inputs":[{"internalType":"bool","name":"_claimStart","type":"bool"}],"name":"ChangeClaimStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ChangeMaxTokensToBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"ChangeOracleAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"ChangesaleToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ETH_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDTInterface","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDT_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawContractFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blockTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"stake","type":"bool"}],"name":"buyWithEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"usdAmount","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"buyWithUSDT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"usdAmount","type":"uint256"}],"name":"calculateCrossStagePurchase","outputs":[{"components":[{"internalType":"uint256","name":"currentStageAmount","type":"uint256"},{"internalType":"uint256","name":"nextStageAmount","type":"uint256"},{"internalType":"uint256","name":"currentStagePrice","type":"uint256"},{"internalType":"uint256","name":"nextStagePrice","type":"uint256"}],"internalType":"struct LayerBrett_Presale.CrossStagePurchase","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"changeFundWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"changeUSDTToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAndStake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_nextStagePrice","type":"uint256"},{"internalType":"uint256","name":"_tokensToSell","type":"uint256"},{"internalType":"uint256","name":"_usdtHardcap","type":"uint256"},{"internalType":"uint256","name":"_previousStageId","type":"uint256"}],"name":"createPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ethBuyHelper","outputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensToBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nextStageId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"pausePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"presale","outputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"nextStagePrice","type":"uint256"},{"internalType":"uint256","name":"tokensSold","type":"uint256"},{"internalType":"uint256","name":"tokensToSell","type":"uint256"},{"internalType":"uint256","name":"usdtHardcap","type":"uint256"},{"internalType":"uint256","name":"amountRaised","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"setPresaleStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingManagerAddress","type":"address"}],"name":"setStakingManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingManagerInterface","outputs":[{"internalType":"contract ILayerBrett_Staking","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBoughtAndStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalUsdRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"unPausePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniqueBuyers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_nextStagePrice","type":"uint256"},{"internalType":"uint256","name":"_tokensToSell","type":"uint256"},{"internalType":"uint256","name":"_usdtHardcap","type":"uint256"}],"name":"updatePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"usdBuyHelper","outputs":[{"internalType":"uint256","name":"usdPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userData","outputs":[{"internalType":"uint256","name":"depositUsdAmount","type":"uint256"},{"internalType":"uint256","name":"claimableTokenAmount","type":"uint256"}],"stateMutability":"view","type":"function"}]

0x608060405234801561000f575f5ffd5b50604051615591380380615591833981810160405281019061003191906102d9565b60015f8190555061005461004961017e60201b60201c565b61018560201b60201c565b84600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260165f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601481905550670de0b6b3a7640000600781905550620f42406006819055505050505050610350565b5f33905090565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6102758261024c565b9050919050565b6102858161026b565b811461028f575f5ffd5b50565b5f815190506102a08161027c565b92915050565b5f819050919050565b6102b8816102a6565b81146102c2575f5ffd5b50565b5f815190506102d3816102af565b92915050565b5f5f5f5f5f60a086880312156102f2576102f1610248565b5b5f6102ff88828901610292565b955050602061031088828901610292565b945050604061032188828901610292565b935050606061033288828901610292565b9250506080610343888289016102c5565b9150509295509295909350565b6152348061035d5f395ff3fe60806040526004361061027a575f3560e01c80637f6fb2531161014e578063c1d23706116100c0578063e6ab143411610079578063e6ab143414610987578063e985e367146109cb578063f04d688f146109f5578063f2fde38b14610a1f578063f597573f14610a47578063fb4aa0a114610a715761027a565b8063c1d237061461086a578063c891091314610892578063cb1a4fc0146108cf578063d01608c1146108f9578063df5bc83b14610921578063e18e84f91461095d5761027a565b80639cfa0f7c116101125780639cfa0f7c1461075e578063a05d03fd14610788578063aa1c3aa5146107b2578063aecb2e91146107dc578063b00bba6a14610818578063b5f7f636146108405761027a565b80637f6fb253146106905780638561c315146106ba5780638da5cb5b146106e25780638e15f4731461070c5780639752f3cb146107365761027a565b80634a6413f7116101f25780636f891f82116101ab5780636f891f821461059c5780636fb4adff146105c6578063715018a6146105ee57806373b2e80e146106045780637bbc76ad146106405780637cde403d146106685761027a565b80634a6413f7146104965780634e71d92d146104be578063582b5723146104e857806360491a7014610510578063680f2e4f14610538578063682eff6f146105605761027a565b806328749cdc1161024457806328749cdc146103965780632cea9442146103c65780632d391e54146103f05780633864660814610418578063397643631461044257806348bf4fcf1461046c5761027a565b806213eb4b1461027e578062dde10e146102ba5780630d07cc30146102f6578063136021d91461031e5780632127fe041461035a575b5f5ffd5b348015610289575f5ffd5b506102a4600480360381019061029f9190613961565b610a9b565b6040516102b191906139a6565b60405180910390f35b3480156102c5575f5ffd5b506102e060048036038101906102db91906139f2565b610ab8565b6040516102ed91906139a6565b60405180910390f35b348015610301575f5ffd5b5061031c60048036038101906103179190613961565b610ad5565b005b348015610329575f5ffd5b50610344600480360381019061033f9190613a47565b610b20565b60405161035191906139a6565b60405180910390f35b348015610365575f5ffd5b50610380600480360381019061037b9190613a85565b611484565b60405161038d9190613ad2565b60405180910390f35b6103b060048036038101906103ab9190613aeb565b611575565b6040516103bd91906139a6565b60405180910390f35b3480156103d1575f5ffd5b506103da611c33565b6040516103e79190613ad2565b60405180910390f35b3480156103fb575f5ffd5b5061041660048036038101906104119190613961565b611c39565b005b348015610423575f5ffd5b5061042c611c84565b6040516104399190613b71565b60405180910390f35b34801561044d575f5ffd5b50610456611ca9565b6040516104639190613ad2565b60405180910390f35b348015610477575f5ffd5b50610480611caf565b60405161048d9190613ad2565b60405180910390f35b3480156104a1575f5ffd5b506104bc60048036038101906104b791906139f2565b611cb5565b005b3480156104c9575f5ffd5b506104d2611dd0565b6040516104df91906139a6565b60405180910390f35b3480156104f3575f5ffd5b5061050e600480360381019061050991906139f2565b61215e565b005b34801561051b575f5ffd5b5061053660048036038101906105319190613b8a565b612194565b005b348015610543575f5ffd5b5061055e60048036038101906105599190613c01565b612362565b005b34801561056b575f5ffd5b50610586600480360381019061058191906139f2565b6123ba565b6040516105939190613ad2565b60405180910390f35b3480156105a7575f5ffd5b506105b06123cf565b6040516105bd9190613ad2565b60405180910390f35b3480156105d1575f5ffd5b506105ec60048036038101906105e79190613961565b6123d6565b005b3480156105f9575f5ffd5b5061060261248f565b005b34801561060f575f5ffd5b5061062a60048036038101906106259190613961565b6124a2565b60405161063791906139a6565b60405180910390f35b34801561064b575f5ffd5b50610666600480360381019061066191906139f2565b6124bf565b005b348015610673575f5ffd5b5061068e600480360381019061068991906139f2565b6124d1565b005b34801561069b575f5ffd5b506106a46125cf565b6040516106b19190613ad2565b60405180910390f35b3480156106c5575f5ffd5b506106e060048036038101906106db9190613961565b6125d5565b005b3480156106ed575f5ffd5b506106f661268e565b6040516107039190613c4e565b60405180910390f35b348015610717575f5ffd5b506107206126b6565b60405161072d9190613ad2565b60405180910390f35b348015610741575f5ffd5b5061075c60048036038101906107579190613b8a565b612766565b005b348015610769575f5ffd5b5061077261289f565b60405161077f9190613ad2565b60405180910390f35b348015610793575f5ffd5b5061079c6128a5565b6040516107a99190613ad2565b60405180910390f35b3480156107bd575f5ffd5b506107c66128ab565b6040516107d39190613ad2565b60405180910390f35b3480156107e7575f5ffd5b5061080260048036038101906107fd9190613a85565b6128b1565b60405161080f9190613cc9565b60405180910390f35b348015610823575f5ffd5b5061083e60048036038101906108399190613961565b612aac565b005b34801561084b575f5ffd5b50610854612c22565b6040516108619190613ad2565b60405180910390f35b348015610875575f5ffd5b50610890600480360381019061088b9190613aeb565b612c28565b005b34801561089d575f5ffd5b506108b860048036038101906108b39190613961565b612c4c565b6040516108c6929190613ce2565b60405180910390f35b3480156108da575f5ffd5b506108e3612c6c565b6040516108f091906139a6565b60405180910390f35b348015610904575f5ffd5b5061091f600480360381019061091a91906139f2565b612ec4565b005b34801561092c575f5ffd5b5061094760048036038101906109429190613a85565b612fdd565b6040516109549190613ad2565b60405180910390f35b348015610968575f5ffd5b506109716130aa565b60405161097e9190613ad2565b60405180910390f35b348015610992575f5ffd5b506109ad60048036038101906109a891906139f2565b6130b0565b6040516109c299989796959493929190613d09565b60405180910390f35b3480156109d6575f5ffd5b506109df613106565b6040516109ec9190613c4e565b60405180910390f35b348015610a00575f5ffd5b50610a0961312b565b604051610a1691906139a6565b60405180910390f35b348015610a2a575f5ffd5b50610a456004803603810190610a409190613961565b61313d565b005b348015610a52575f5ffd5b50610a5b6131bf565b604051610a689190613db4565b60405180910390f35b348015610a7c575f5ffd5b50610a856131e4565b604051610a929190613c4e565b60405180910390f35b6011602052805f5260405f205f915054906101000a900460ff1681565b600d602052805f5260405f205f915054906101000a900460ff1681565b610add613209565b80600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f6015545f81118015610b34575060155481145b610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a90613e27565b60405180910390fd5b610b7b613287565b600d5f60155481526020019081526020015f205f9054906101000a900460ff1615610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290613e8f565b60405180910390fd5b60011515600e5f60155481526020019081526020015f206008015f9054906101000a900460ff16151514610c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3b90613ef7565b60405180910390fd5b5f610c51601554866128b1565b90505f815f015111610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f90613f5f565b60405180910390fd5b60115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610d5357600160115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f815480929190610d4d90613faa565b91905055505b805f0151600e5f60155481526020019081526020015f206004015f828254610d7b9190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f0151610daa9190614024565b610db49190614092565b600e5f60155481526020019081526020015f206007015f828254610dd89190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f0151610e079190614024565b610e119190614092565b60025f828254610e219190613ff1565b92505081905550805f015160035f828254610e3c9190613ff1565b925050819055505f81602001511115610f54575f600f5f60155481526020019081526020015f205490508160200151600e5f8381526020019081526020015f206004015f828254610e8d9190613ff1565b92505081905550600e5f8281526020019081526020015f20600201546006548360200151610ebb9190614024565b610ec59190614092565b600e5f8381526020019081526020015f206007015f828254610ee79190613ff1565b92505081905550600e5f8281526020019081526020015f20600201546006548360200151610f159190614024565b610f1f9190614092565b60025f828254610f2f9190613ff1565b92505081905550816020015160035f828254610f4b9190613ff1565b92505081905550505b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e610f9a6132d4565b306040518363ffffffff1660e01b8152600401610fb89291906140c2565b602060405180830381865afa158015610fd3573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff791906140fd565b90508086111561103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390614198565b60405180910390fd5b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661107d6132d4565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16896040516024016110b2939291906141b6565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161113c919061423d565b5f604051808303815f865af19150503d805f8114611175576040519150601f19603f3d011682016040523d82523d5f602084013e61117a565b606091505b50509050806111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b59061429d565b60405180910390fd5b5f8360200151845f01516111d29190613ff1565b9050861561131b57600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391c6196661121f6132d4565b836040518363ffffffff1660e01b815260040161123d9291906142bb565b5f604051808303815f87803b158015611254575f5ffd5b505af1158015611266573d5f5f3e3d5ffd5b505050508060045f82825461127b9190613ff1565b92505081905550600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166015546112c56132d4565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36848c4260405161130e939291906142e2565b60405180910390a461140d565b8060105f6113276132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015f8282546113719190613ff1565b92505081905550600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166015546113bb6132d4565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36848c42604051611404939291906142e2565b60405180910390a45b600e5f60155481526020019081526020015f2060050154600e5f60155481526020019081526020015f20600401541015801561145c57505f600f5f60155481526020019081526020015f205414155b1561146d5761146c6015546132db565b5b600195505050505061147d613412565b5092915050565b5f5f600e5f8581526020019081526020015f2060020154836114a69190614024565b905060165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611512573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611536919061434d565b600a61154291906144a7565b61154a6126b6565b6115549190614024565b600754826115629190614024565b61156c9190614092565b91505092915050565b5f6015545f81118015611589575060155481145b6115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90613e27565b60405180910390fd5b6115d0613287565b5f6007546007546115e19190614024565b6006546115ec6126b6565b346115f79190614024565b6116019190614024565b61160b9190614092565b9050600d5f60155481526020019081526020015f205f9054906101000a900460ff161561166d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166490613e8f565b60405180910390fd5b60011515600e5f60155481526020019081526020015f206008015f9054906101000a900460ff161515146116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90613ef7565b60405180910390fd5b5f6116e3601554836128b1565b90505f815f01511161172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190613f5f565b60405180910390fd5b60115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166117e557600160115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f8154809291906117df90613faa565b91905055505b805f0151600e5f60155481526020019081526020015f206004015f82825461180d9190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f015161183c9190614024565b6118469190614092565b600e5f60155481526020019081526020015f206007015f82825461186a9190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f01516118999190614024565b6118a39190614092565b60025f8282546118b39190613ff1565b92505081905550805f015160035f8282546118ce9190613ff1565b925050819055505f816020015111156119e6575f600f5f60155481526020019081526020015f205490508160200151600e5f8381526020019081526020015f206004015f82825461191f9190613ff1565b92505081905550600e5f8281526020019081526020015f2060020154600654836020015161194d9190614024565b6119579190614092565b600e5f8381526020019081526020015f206007015f8282546119799190613ff1565b92505081905550600e5f8281526020019081526020015f206002015460065483602001516119a79190614024565b6119b19190614092565b60025f8282546119c19190613ff1565b92505081905550816020015160035f8282546119dd9190613ff1565b92505081905550505b611a1160085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff163461341b565b5f8160200151825f0151611a259190613ff1565b90508515611b4d57600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391c61966611a726132d4565b836040518363ffffffff1660e01b8152600401611a909291906142bb565b5f604051808303815f87803b158015611aa7575f5ffd5b505af1158015611ab9573d5f5f3e3d5ffd5b505050508060045f828254611ace9190613ff1565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff16601554611af76132d4565b73ffffffffffffffffffffffffffffffffffffffff167f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a843442604051611b40939291906142e2565b60405180910390a4611c1e565b8060105f611b596132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015f828254611ba39190613ff1565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff16601554611bcc6132d4565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36843442604051611c15939291906142e2565b60405180910390a45b60019450505050611c2d613412565b50919050565b60025481565b611c41613209565b8060165f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60065481565b805f81118015611cc6575060155481145b611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc90613e27565b60405180910390fd5b611d0d613209565b600d5f8381526020019081526020015f205f9054906101000a900460ff1615611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d629061453b565b60405180910390fd5b6001600d5f8481526020019081526020015f205f6101000a81548160ff021916908315150217905550817f927e6cd2dce24f32508868820cdc35f09d9de0f4b44e945114110125196fba9f42604051611dc49190613ad2565b60405180910390a25050565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e57906145a3565b60405180910390fd5b60135f9054906101000a900460ff16611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea59061460b565b60405180910390fd5b60125f611eb96132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3690614673565b60405180910390fd5b5f60105f611f4b6132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015490505f8111611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc3906146db565b60405180910390fd5b5f60165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6120126132d4565b846040518363ffffffff1660e01b81526004016120309291906142bb565b6020604051808303815f875af115801561204c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612070919061470d565b9050806120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990614782565b60405180910390fd5b5f60105f6120be6132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600101819055506121066132d4565b73ffffffffffffffffffffffffffffffffffffffff167f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b834260405161214d929190613ce2565b60405180910390a260019250505090565b612166613209565b61219160085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168261341b565b50565b61219c613209565b5f85116121de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d5906147ea565b60405180910390fd5b5f8311612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221790614852565b60405180910390fd5b60055f81548092919061223290613faa565b91905055505f811461225757600554600f5f8381526020019081526020015f20819055505b6040518061012001604052805f81526020015f81526020018681526020018581526020015f81526020018481526020018381526020015f81526020015f1515815250600e5f60055481526020019081526020015f205f820151815f01556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e08201518160070155610100820151816008015f6101000a81548160ff0219169083151502179055509050506005547f6a00651728a92841411081673eaa4eddbed06d102a590e050c22def40d4dd0b8865f5f604051612353939291906148a9565b60405180910390a25050505050565b61236a613209565b6123b660085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff1661350b9092919063ffffffff16565b5050565b600f602052805f5260405f205f915090505481565b5f42905090565b6123de613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244390614928565b60405180910390fd5b8060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612497613209565b6124a05f613591565b565b6012602052805f5260405f205f915054906101000a900460ff1681565b6124c7613209565b8060148190555050565b6124d9613209565b5f600e5f8381526020019081526020015f20600501541161252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252690614990565b60405180910390fd5b5f601554146125815742600e5f60155481526020019081526020015f20600101819055505f600e5f60155481526020019081526020015f206008015f6101000a81548160ff0219169083151502179055505b42600e5f8381526020019081526020015f205f01819055506001600e5f8381526020019081526020015f206008015f6101000a81548160ff0219169083151502179055508060158190555050565b60045481565b6125dd613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361264b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612642906149f8565b60405180910390fd5b80600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f5f600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015612722573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127469190614a88565b5050509150506402540be4008161275d9190614aff565b90508091505090565b61276e613209565b5f84116127b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a7906147ea565b60405180910390fd5b5f82116127f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e990614852565b60405180910390fd5b5f8111612834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282b90614bbf565b60405180910390fd5b83600e5f8781526020019081526020015f206002018190555082600e5f8781526020019081526020015f206003018190555081600e5f8781526020019081526020015f206005018190555080600e5f8781526020019081526020015f20600601819055505050505050565b60145481565b60155481565b60095481565b6128b96138df565b5f831180156128db57505f600e5f8581526020019081526020015f2060050154115b61291a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291190613e27565b60405180910390fd5b6129226138df565b600e5f8581526020019081526020015f20600201548160400181815250505f600e5f8681526020019081526020015f2060040154600e5f8781526020019081526020015f20600501546129759190614bdd565b90505f600654600e5f8881526020019081526020015f20600201548661299b9190614024565b6129a59190614092565b90508181116129c25780835f018181525050829350505050612aa6565b81835f0181815250505f600e5f8881526020019081526020015f2060020154600654846129ef9190614024565b6129f99190614092565b90505f8187612a089190614bdd565b90505f600f5f8a81526020019081526020015f205490505f8114158015612a4257505f600e5f8381526020019081526020015f2060050154115b15612a9c57600e5f8281526020019081526020015f2060020154866060018181525050600654600e5f8381526020019081526020015f206002015483612a889190614024565b612a929190614092565b8660200181815250505b8596505050505050505b92915050565b612ab4613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1990614c80565b60405180910390fd5b80600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401612bde9291906142bb565b6020604051808303815f875af1158015612bfa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1e919061470d565b5050565b60035481565b612c30613209565b8060135f6101000a81548160ff02191690831515021790555050565b6010602052805f5260405f205f91509050805f0154908060010154905082565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf3906145a3565b60405180910390fd5b5f60105f612d086132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015490505f8111612d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8090614ce8565b60405180910390fd5b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391c61966612dce6132d4565b836040518363ffffffff1660e01b8152600401612dec9291906142bb565b5f604051808303815f87803b158015612e03575f5ffd5b505af1158015612e15573d5f5f3e3d5ffd5b505050505f60105f612e256132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2060010181905550612e6d6132d4565b73ffffffffffffffffffffffffffffffffffffffff167ffa4ec67f9254455933eb145bae864b26f29dd0a7bbb76eb11e4d6b8b9b184c2b8242604051612eb4929190613ce2565b60405180910390a2600191505090565b805f81118015612ed5575060155481145b612f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0b90613e27565b60405180910390fd5b612f1c613209565b600d5f8381526020019081526020015f205f9054906101000a900460ff16612f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7090614d50565b60405180910390fd5b5f600d5f8481526020019081526020015f205f6101000a81548160ff021916908315150217905550817ff608654a6d8e1785594639dd55babb61d7ae157382015f904a24224e50333b1d42604051612fd19190613ad2565b60405180910390a25050565b5f60165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613048573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061306c919061434d565b600a61307891906144a7565b600e5f8581526020019081526020015f2060020154836130989190614024565b6130a29190614092565b905092915050565b60055481565b600e602052805f5260405f205f91509050805f015490806001015490806002015490806003015490806004015490806005015490806006015490806007015490806008015f9054906101000a900460ff16905089565b60165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135f9054906101000a900460ff1681565b613145613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131aa90614dde565b60405180910390fd5b6131bc81613591565b50565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6132116132d4565b73ffffffffffffffffffffffffffffffffffffffff1661322f61268e565b73ffffffffffffffffffffffffffffffffffffffff1614613285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327c90614e46565b60405180910390fd5b565b60025f54036132cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c290614eae565b60405180910390fd5b60025f81905550565b5f33905090565b42600e5f8381526020019081526020015f20600101819055505f600e5f8381526020019081526020015f206008015f6101000a81548160ff02191690831515021790555042600e5f600f5f8581526020019081526020015f205481526020019081526020015f205f01819055506001600e5f600f5f8581526020019081526020015f205481526020019081526020015f206008015f6101000a81548160ff021916908315150217905550600f5f8281526020019081526020015f2054601581905550600f5f8281526020019081526020015f20547f53d40cdc44099a485e4bd412927ab85ec13803cd49c29d9cda74f3cb223953b0600e5f600f5f8681526020019081526020015f205481526020019081526020015f2060020154425f60405161340793929190614ecc565b60405180910390a250565b60015f81905550565b8047101561345e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345590614f4b565b60405180910390fd5b5f8273ffffffffffffffffffffffffffffffffffffffff168260405161348390614f8c565b5f6040518083038185875af1925050503d805f81146134bd576040519150601f19603f3d011682016040523d82523d5f602084013e6134c2565b606091505b5050905080613506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fd90614fea565b60405180910390fd5b505050565b61358c8363a9059cbb60e01b848460405160240161352a9291906142bb565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613654565b505050565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6136b5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661371a9092919063ffffffff16565b90505f815114806136d65750808060200190518101906136d5919061470d565b5b613715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370c90615078565b60405180910390fd5b505050565b606061372884845f85613731565b90509392505050565b606082471015613776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376d90615106565b60405180910390fd5b5f5f8673ffffffffffffffffffffffffffffffffffffffff16858760405161379e919061423d565b5f6040518083038185875af1925050503d805f81146137d8576040519150601f19603f3d011682016040523d82523d5f602084013e6137dd565b606091505b50915091506137ee878383876137fa565b92505050949350505050565b6060831561385b575f835103613853576138138561386e565b613852576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138499061516e565b60405180910390fd5b5b829050613866565b6138658383613890565b5b949350505050565b5f5f8273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f825111156138a25781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d691906151de565b60405180910390fd5b60405180608001604052805f81526020015f81526020015f81526020015f81525090565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61393082613907565b9050919050565b61394081613926565b811461394a575f5ffd5b50565b5f8135905061395b81613937565b92915050565b5f6020828403121561397657613975613903565b5b5f6139838482850161394d565b91505092915050565b5f8115159050919050565b6139a08161398c565b82525050565b5f6020820190506139b95f830184613997565b92915050565b5f819050919050565b6139d1816139bf565b81146139db575f5ffd5b50565b5f813590506139ec816139c8565b92915050565b5f60208284031215613a0757613a06613903565b5b5f613a14848285016139de565b91505092915050565b613a268161398c565b8114613a30575f5ffd5b50565b5f81359050613a4181613a1d565b92915050565b5f5f60408385031215613a5d57613a5c613903565b5b5f613a6a858286016139de565b9250506020613a7b85828601613a33565b9150509250929050565b5f5f60408385031215613a9b57613a9a613903565b5b5f613aa8858286016139de565b9250506020613ab9858286016139de565b9150509250929050565b613acc816139bf565b82525050565b5f602082019050613ae55f830184613ac3565b92915050565b5f60208284031215613b0057613aff613903565b5b5f613b0d84828501613a33565b91505092915050565b5f819050919050565b5f613b39613b34613b2f84613907565b613b16565b613907565b9050919050565b5f613b4a82613b1f565b9050919050565b5f613b5b82613b40565b9050919050565b613b6b81613b51565b82525050565b5f602082019050613b845f830184613b62565b92915050565b5f5f5f5f5f60a08688031215613ba357613ba2613903565b5b5f613bb0888289016139de565b9550506020613bc1888289016139de565b9450506040613bd2888289016139de565b9350506060613be3888289016139de565b9250506080613bf4888289016139de565b9150509295509295909350565b5f5f60408385031215613c1757613c16613903565b5b5f613c248582860161394d565b9250506020613c35858286016139de565b9150509250929050565b613c4881613926565b82525050565b5f602082019050613c615f830184613c3f565b92915050565b613c70816139bf565b82525050565b608082015f820151613c8a5f850182613c67565b506020820151613c9d6020850182613c67565b506040820151613cb06040850182613c67565b506060820151613cc36060850182613c67565b50505050565b5f608082019050613cdc5f830184613c76565b92915050565b5f604082019050613cf55f830185613ac3565b613d026020830184613ac3565b9392505050565b5f61012082019050613d1d5f83018c613ac3565b613d2a602083018b613ac3565b613d37604083018a613ac3565b613d446060830189613ac3565b613d516080830188613ac3565b613d5e60a0830187613ac3565b613d6b60c0830186613ac3565b613d7860e0830185613ac3565b613d86610100830184613997565b9a9950505050505050505050565b5f613d9e82613b40565b9050919050565b613dae81613d94565b82525050565b5f602082019050613dc75f830184613da5565b92915050565b5f82825260208201905092915050565b7f496e76616c69642070726573616c6520696400000000000000000000000000005f82015250565b5f613e11601283613dcd565b9150613e1c82613ddd565b602082019050919050565b5f6020820190508181035f830152613e3e81613e05565b9050919050565b7f50726573616c65207061757365640000000000000000000000000000000000005f82015250565b5f613e79600e83613dcd565b9150613e8482613e45565b602082019050919050565b5f6020820190508181035f830152613ea681613e6d565b9050919050565b7f50726573616c65206973206e6f742061637469766520796574000000000000005f82015250565b5f613ee1601983613dcd565b9150613eec82613ead565b602082019050919050565b5f6020820190508181035f830152613f0e81613ed5565b9050919050565b7f4e6f20746f6b656e7320617661696c61626c65000000000000000000000000005f82015250565b5f613f49601383613dcd565b9150613f5482613f15565b602082019050919050565b5f6020820190508181035f830152613f7681613f3d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613fb4826139bf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fe657613fe5613f7d565b5b600182019050919050565b5f613ffb826139bf565b9150614006836139bf565b925082820190508082111561401e5761401d613f7d565b5b92915050565b5f61402e826139bf565b9150614039836139bf565b9250828202614047816139bf565b9150828204841483151761405e5761405d613f7d565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61409c826139bf565b91506140a7836139bf565b9250826140b7576140b6614065565b5b828204905092915050565b5f6040820190506140d55f830185613c3f565b6140e26020830184613c3f565b9392505050565b5f815190506140f7816139c8565b92915050565b5f6020828403121561411257614111613903565b5b5f61411f848285016140e9565b91505092915050565b7f4d616b65207375726520746f2061646420656e6f75676820616c6c6f77616e635f8201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b5f614182602183613dcd565b915061418d82614128565b604082019050919050565b5f6020820190508181035f8301526141af81614176565b9050919050565b5f6060820190506141c95f830186613c3f565b6141d66020830185613c3f565b6141e36040830184613ac3565b949350505050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f614217826141eb565b61422181856141f5565b93506142318185602086016141ff565b80840191505092915050565b5f614248828461420d565b915081905092915050565b7f546f6b656e207061796d656e74206661696c65640000000000000000000000005f82015250565b5f614287601483613dcd565b915061429282614253565b602082019050919050565b5f6020820190508181035f8301526142b48161427b565b9050919050565b5f6040820190506142ce5f830185613c3f565b6142db6020830184613ac3565b9392505050565b5f6060820190506142f55f830186613ac3565b6143026020830185613ac3565b61430f6040830184613ac3565b949350505050565b5f60ff82169050919050565b61432c81614317565b8114614336575f5ffd5b50565b5f8151905061434781614323565b92915050565b5f6020828403121561436257614361613903565b5b5f61436f84828501614339565b91505092915050565b5f8160011c9050919050565b5f5f8291508390505b60018511156143cd578086048111156143a9576143a8613f7d565b5b60018516156143b85780820291505b80810290506143c685614378565b945061438d565b94509492505050565b5f826143e557600190506144a0565b816143f2575f90506144a0565b8160018114614408576002811461441257614441565b60019150506144a0565b60ff84111561442457614423613f7d565b5b8360020a91508482111561443b5761443a613f7d565b5b506144a0565b5060208310610133831016604e8410600b84101617156144765782820a90508381111561447157614470613f7d565b5b6144a0565b6144838484846001614384565b9250905081840481111561449a57614499613f7d565b5b81810290505b9392505050565b5f6144b1826139bf565b91506144bc83614317565b92506144e97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846143d6565b905092915050565b7f416c7265616479207061757365640000000000000000000000000000000000005f82015250565b5f614525600e83613dcd565b9150614530826144f1565b602082019050919050565b5f6020820190508181035f83015261455281614519565b9050919050565b7f53616c6520746f6b656e206e6f742061646465640000000000000000000000005f82015250565b5f61458d601483613dcd565b915061459882614559565b602082019050919050565b5f6020820190508181035f8301526145ba81614581565b9050919050565b7f436c61696d20686173206e6f74207374617274656420796574000000000000005f82015250565b5f6145f5601983613dcd565b9150614600826145c1565b602082019050919050565b5f6020820190508181035f830152614622816145e9565b9050919050565b7f416c726561647920636c61696d656400000000000000000000000000000000005f82015250565b5f61465d600f83613dcd565b915061466882614629565b602082019050919050565b5f6020820190508181035f83015261468a81614651565b9050919050565b7f4e6f7468696e6720746f20636c61696d000000000000000000000000000000005f82015250565b5f6146c5601083613dcd565b91506146d082614691565b602082019050919050565b5f6020820190508181035f8301526146f2816146b9565b9050919050565b5f8151905061470781613a1d565b92915050565b5f6020828403121561472257614721613903565b5b5f61472f848285016146f9565b91505092915050565b7f546f6b656e207472616e73666572206661696c656400000000000000000000005f82015250565b5f61476c601583613dcd565b915061477782614738565b602082019050919050565b5f6020820190508181035f83015261479981614760565b9050919050565b7f5a65726f207072696365000000000000000000000000000000000000000000005f82015250565b5f6147d4600a83613dcd565b91506147df826147a0565b602082019050919050565b5f6020820190508181035f830152614801816147c8565b9050919050565b7f5a65726f20746f6b656e7320746f2073656c6c000000000000000000000000005f82015250565b5f61483c601383613dcd565b915061484782614808565b602082019050919050565b5f6020820190508181035f83015261486981614830565b9050919050565b5f819050919050565b5f61489361488e61488984614870565b613b16565b6139bf565b9050919050565b6148a381614879565b82525050565b5f6060820190506148bc5f830186613ac3565b6148c9602083018561489a565b6148d6604083018461489a565b949350505050565b7f496e76616c696420706172616d657465727300000000000000000000000000005f82015250565b5f614912601283613dcd565b915061491d826148de565b602082019050919050565b5f6020820190508181035f83015261493f81614906565b9050919050565b7f50726573616c6520646f6e2774206578697374000000000000000000000000005f82015250565b5f61497a601383613dcd565b915061498582614946565b602082019050919050565b5f6020820190508181035f8301526149a78161496e565b9050919050565b7f5a65726f20746f6b656e206164647265737300000000000000000000000000005f82015250565b5f6149e2601283613dcd565b91506149ed826149ae565b602082019050919050565b5f6020820190508181035f830152614a0f816149d6565b9050919050565b5f69ffffffffffffffffffff82169050919050565b614a3481614a16565b8114614a3e575f5ffd5b50565b5f81519050614a4f81614a2b565b92915050565b5f819050919050565b614a6781614a55565b8114614a71575f5ffd5b50565b5f81519050614a8281614a5e565b92915050565b5f5f5f5f5f60a08688031215614aa157614aa0613903565b5b5f614aae88828901614a41565b9550506020614abf88828901614a74565b9450506040614ad0888289016140e9565b9350506060614ae1888289016140e9565b9250506080614af288828901614a41565b9150509295509295909350565b5f614b0982614a55565b9150614b1483614a55565b9250828202614b2281614a55565b91507f800000000000000000000000000000000000000000000000000000000000000084145f84121615614b5957614b58613f7d565b5b8282058414831517614b6e57614b6d613f7d565b5b5092915050565b7f5a65726f206861726361700000000000000000000000000000000000000000005f82015250565b5f614ba9600b83613dcd565b9150614bb482614b75565b602082019050919050565b5f6020820190508181035f830152614bd681614b9d565b9050919050565b5f614be7826139bf565b9150614bf2836139bf565b9250828203905081811115614c0a57614c09613f7d565b5b92915050565b7f7374616b696e67206d616e616765722063616e6e6f7420626520696e617469615f8201527f6c697a65642077697468207a65726f2061646472657373000000000000000000602082015250565b5f614c6a603783613dcd565b9150614c7582614c10565b604082019050919050565b5f6020820190508181035f830152614c9781614c5e565b9050919050565b7f4e6f7468696e6720746f207374616b65000000000000000000000000000000005f82015250565b5f614cd2601083613dcd565b9150614cdd82614c9e565b602082019050919050565b5f6020820190508181035f830152614cff81614cc6565b9050919050565b7f4e6f7420706175736564000000000000000000000000000000000000000000005f82015250565b5f614d3a600a83613dcd565b9150614d4582614d06565b602082019050919050565b5f6020820190508181035f830152614d6781614d2e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f614dc8602683613dcd565b9150614dd382614d6e565b604082019050919050565b5f6020820190508181035f830152614df581614dbc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f614e30602083613dcd565b9150614e3b82614dfc565b602082019050919050565b5f6020820190508181035f830152614e5d81614e24565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f614e98601f83613dcd565b9150614ea382614e64565b602082019050919050565b5f6020820190508181035f830152614ec581614e8c565b9050919050565b5f606082019050614edf5f830186613ac3565b614eec6020830185613ac3565b614ef9604083018461489a565b949350505050565b7f4c6f772062616c616e63650000000000000000000000000000000000000000005f82015250565b5f614f35600b83613dcd565b9150614f4082614f01565b602082019050919050565b5f6020820190508181035f830152614f6281614f29565b9050919050565b50565b5f614f775f836141f5565b9150614f8282614f69565b5f82019050919050565b5f614f9682614f6c565b9150819050919050565b7f455448205061796d656e74206661696c656400000000000000000000000000005f82015250565b5f614fd4601283613dcd565b9150614fdf82614fa0565b602082019050919050565b5f6020820190508181035f83015261500181614fc8565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f615062602a83613dcd565b915061506d82615008565b604082019050919050565b5f6020820190508181035f83015261508f81615056565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f6150f0602683613dcd565b91506150fb82615096565b604082019050919050565b5f6020820190508181035f83015261511d816150e4565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f615158601d83613dcd565b915061516382615124565b602082019050919050565b5f6020820190508181035f8301526151858161514c565b9050919050565b5f81519050919050565b5f601f19601f8301169050919050565b5f6151b08261518c565b6151ba8185613dcd565b93506151ca8185602086016141ff565b6151d381615196565b840191505092915050565b5f6020820190508181035f8301526151f681846151a6565b90509291505056fea26469706673582212207fd987d5b38852a32291b94106fa6d95b8d577f6841c49d18cf2b5c8a9d664c664736f6c634300081e00330000000000000000000000005f4ec3df9cbd43714fe2740f5e3616155c5b8419000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec700000000000000000000000011a8e4b44d3ba2e0b367cd55df83539c215b261000000000000000000000000070140cafccd83e941cb067b427a96bcc4fe6797c0000000000000000000000000000000000000000204fce5e3e25026110000000

Deployed Bytecode

0x60806040526004361061027a575f3560e01c80637f6fb2531161014e578063c1d23706116100c0578063e6ab143411610079578063e6ab143414610987578063e985e367146109cb578063f04d688f146109f5578063f2fde38b14610a1f578063f597573f14610a47578063fb4aa0a114610a715761027a565b8063c1d237061461086a578063c891091314610892578063cb1a4fc0146108cf578063d01608c1146108f9578063df5bc83b14610921578063e18e84f91461095d5761027a565b80639cfa0f7c116101125780639cfa0f7c1461075e578063a05d03fd14610788578063aa1c3aa5146107b2578063aecb2e91146107dc578063b00bba6a14610818578063b5f7f636146108405761027a565b80637f6fb253146106905780638561c315146106ba5780638da5cb5b146106e25780638e15f4731461070c5780639752f3cb146107365761027a565b80634a6413f7116101f25780636f891f82116101ab5780636f891f821461059c5780636fb4adff146105c6578063715018a6146105ee57806373b2e80e146106045780637bbc76ad146106405780637cde403d146106685761027a565b80634a6413f7146104965780634e71d92d146104be578063582b5723146104e857806360491a7014610510578063680f2e4f14610538578063682eff6f146105605761027a565b806328749cdc1161024457806328749cdc146103965780632cea9442146103c65780632d391e54146103f05780633864660814610418578063397643631461044257806348bf4fcf1461046c5761027a565b806213eb4b1461027e578062dde10e146102ba5780630d07cc30146102f6578063136021d91461031e5780632127fe041461035a575b5f5ffd5b348015610289575f5ffd5b506102a4600480360381019061029f9190613961565b610a9b565b6040516102b191906139a6565b60405180910390f35b3480156102c5575f5ffd5b506102e060048036038101906102db91906139f2565b610ab8565b6040516102ed91906139a6565b60405180910390f35b348015610301575f5ffd5b5061031c60048036038101906103179190613961565b610ad5565b005b348015610329575f5ffd5b50610344600480360381019061033f9190613a47565b610b20565b60405161035191906139a6565b60405180910390f35b348015610365575f5ffd5b50610380600480360381019061037b9190613a85565b611484565b60405161038d9190613ad2565b60405180910390f35b6103b060048036038101906103ab9190613aeb565b611575565b6040516103bd91906139a6565b60405180910390f35b3480156103d1575f5ffd5b506103da611c33565b6040516103e79190613ad2565b60405180910390f35b3480156103fb575f5ffd5b5061041660048036038101906104119190613961565b611c39565b005b348015610423575f5ffd5b5061042c611c84565b6040516104399190613b71565b60405180910390f35b34801561044d575f5ffd5b50610456611ca9565b6040516104639190613ad2565b60405180910390f35b348015610477575f5ffd5b50610480611caf565b60405161048d9190613ad2565b60405180910390f35b3480156104a1575f5ffd5b506104bc60048036038101906104b791906139f2565b611cb5565b005b3480156104c9575f5ffd5b506104d2611dd0565b6040516104df91906139a6565b60405180910390f35b3480156104f3575f5ffd5b5061050e600480360381019061050991906139f2565b61215e565b005b34801561051b575f5ffd5b5061053660048036038101906105319190613b8a565b612194565b005b348015610543575f5ffd5b5061055e60048036038101906105599190613c01565b612362565b005b34801561056b575f5ffd5b50610586600480360381019061058191906139f2565b6123ba565b6040516105939190613ad2565b60405180910390f35b3480156105a7575f5ffd5b506105b06123cf565b6040516105bd9190613ad2565b60405180910390f35b3480156105d1575f5ffd5b506105ec60048036038101906105e79190613961565b6123d6565b005b3480156105f9575f5ffd5b5061060261248f565b005b34801561060f575f5ffd5b5061062a60048036038101906106259190613961565b6124a2565b60405161063791906139a6565b60405180910390f35b34801561064b575f5ffd5b50610666600480360381019061066191906139f2565b6124bf565b005b348015610673575f5ffd5b5061068e600480360381019061068991906139f2565b6124d1565b005b34801561069b575f5ffd5b506106a46125cf565b6040516106b19190613ad2565b60405180910390f35b3480156106c5575f5ffd5b506106e060048036038101906106db9190613961565b6125d5565b005b3480156106ed575f5ffd5b506106f661268e565b6040516107039190613c4e565b60405180910390f35b348015610717575f5ffd5b506107206126b6565b60405161072d9190613ad2565b60405180910390f35b348015610741575f5ffd5b5061075c60048036038101906107579190613b8a565b612766565b005b348015610769575f5ffd5b5061077261289f565b60405161077f9190613ad2565b60405180910390f35b348015610793575f5ffd5b5061079c6128a5565b6040516107a99190613ad2565b60405180910390f35b3480156107bd575f5ffd5b506107c66128ab565b6040516107d39190613ad2565b60405180910390f35b3480156107e7575f5ffd5b5061080260048036038101906107fd9190613a85565b6128b1565b60405161080f9190613cc9565b60405180910390f35b348015610823575f5ffd5b5061083e60048036038101906108399190613961565b612aac565b005b34801561084b575f5ffd5b50610854612c22565b6040516108619190613ad2565b60405180910390f35b348015610875575f5ffd5b50610890600480360381019061088b9190613aeb565b612c28565b005b34801561089d575f5ffd5b506108b860048036038101906108b39190613961565b612c4c565b6040516108c6929190613ce2565b60405180910390f35b3480156108da575f5ffd5b506108e3612c6c565b6040516108f091906139a6565b60405180910390f35b348015610904575f5ffd5b5061091f600480360381019061091a91906139f2565b612ec4565b005b34801561092c575f5ffd5b5061094760048036038101906109429190613a85565b612fdd565b6040516109549190613ad2565b60405180910390f35b348015610968575f5ffd5b506109716130aa565b60405161097e9190613ad2565b60405180910390f35b348015610992575f5ffd5b506109ad60048036038101906109a891906139f2565b6130b0565b6040516109c299989796959493929190613d09565b60405180910390f35b3480156109d6575f5ffd5b506109df613106565b6040516109ec9190613c4e565b60405180910390f35b348015610a00575f5ffd5b50610a0961312b565b604051610a1691906139a6565b60405180910390f35b348015610a2a575f5ffd5b50610a456004803603810190610a409190613961565b61313d565b005b348015610a52575f5ffd5b50610a5b6131bf565b604051610a689190613db4565b60405180910390f35b348015610a7c575f5ffd5b50610a856131e4565b604051610a929190613c4e565b60405180910390f35b6011602052805f5260405f205f915054906101000a900460ff1681565b600d602052805f5260405f205f915054906101000a900460ff1681565b610add613209565b80600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f6015545f81118015610b34575060155481145b610b73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6a90613e27565b60405180910390fd5b610b7b613287565b600d5f60155481526020019081526020015f205f9054906101000a900460ff1615610bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd290613e8f565b60405180910390fd5b60011515600e5f60155481526020019081526020015f206008015f9054906101000a900460ff16151514610c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3b90613ef7565b60405180910390fd5b5f610c51601554866128b1565b90505f815f015111610c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8f90613f5f565b60405180910390fd5b60115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610d5357600160115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f815480929190610d4d90613faa565b91905055505b805f0151600e5f60155481526020019081526020015f206004015f828254610d7b9190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f0151610daa9190614024565b610db49190614092565b600e5f60155481526020019081526020015f206007015f828254610dd89190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f0151610e079190614024565b610e119190614092565b60025f828254610e219190613ff1565b92505081905550805f015160035f828254610e3c9190613ff1565b925050819055505f81602001511115610f54575f600f5f60155481526020019081526020015f205490508160200151600e5f8381526020019081526020015f206004015f828254610e8d9190613ff1565b92505081905550600e5f8281526020019081526020015f20600201546006548360200151610ebb9190614024565b610ec59190614092565b600e5f8381526020019081526020015f206007015f828254610ee79190613ff1565b92505081905550600e5f8281526020019081526020015f20600201546006548360200151610f159190614024565b610f1f9190614092565b60025f828254610f2f9190613ff1565b92505081905550816020015160035f828254610f4b9190613ff1565b92505081905550505b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e610f9a6132d4565b306040518363ffffffff1660e01b8152600401610fb89291906140c2565b602060405180830381865afa158015610fd3573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff791906140fd565b90508086111561103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390614198565b60405180910390fd5b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661107d6132d4565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16896040516024016110b2939291906141b6565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161113c919061423d565b5f604051808303815f865af19150503d805f8114611175576040519150601f19603f3d011682016040523d82523d5f602084013e61117a565b606091505b50509050806111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b59061429d565b60405180910390fd5b5f8360200151845f01516111d29190613ff1565b9050861561131b57600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391c6196661121f6132d4565b836040518363ffffffff1660e01b815260040161123d9291906142bb565b5f604051808303815f87803b158015611254575f5ffd5b505af1158015611266573d5f5f3e3d5ffd5b505050508060045f82825461127b9190613ff1565b92505081905550600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166015546112c56132d4565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36848c4260405161130e939291906142e2565b60405180910390a461140d565b8060105f6113276132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015f8282546113719190613ff1565b92505081905550600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166015546113bb6132d4565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36848c42604051611404939291906142e2565b60405180910390a45b600e5f60155481526020019081526020015f2060050154600e5f60155481526020019081526020015f20600401541015801561145c57505f600f5f60155481526020019081526020015f205414155b1561146d5761146c6015546132db565b5b600195505050505061147d613412565b5092915050565b5f5f600e5f8581526020019081526020015f2060020154836114a69190614024565b905060165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611512573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611536919061434d565b600a61154291906144a7565b61154a6126b6565b6115549190614024565b600754826115629190614024565b61156c9190614092565b91505092915050565b5f6015545f81118015611589575060155481145b6115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90613e27565b60405180910390fd5b6115d0613287565b5f6007546007546115e19190614024565b6006546115ec6126b6565b346115f79190614024565b6116019190614024565b61160b9190614092565b9050600d5f60155481526020019081526020015f205f9054906101000a900460ff161561166d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166490613e8f565b60405180910390fd5b60011515600e5f60155481526020019081526020015f206008015f9054906101000a900460ff161515146116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90613ef7565b60405180910390fd5b5f6116e3601554836128b1565b90505f815f01511161172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190613f5f565b60405180910390fd5b60115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166117e557600160115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555060095f8154809291906117df90613faa565b91905055505b805f0151600e5f60155481526020019081526020015f206004015f82825461180d9190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f015161183c9190614024565b6118469190614092565b600e5f60155481526020019081526020015f206007015f82825461186a9190613ff1565b92505081905550600e5f60155481526020019081526020015f2060020154600654825f01516118999190614024565b6118a39190614092565b60025f8282546118b39190613ff1565b92505081905550805f015160035f8282546118ce9190613ff1565b925050819055505f816020015111156119e6575f600f5f60155481526020019081526020015f205490508160200151600e5f8381526020019081526020015f206004015f82825461191f9190613ff1565b92505081905550600e5f8281526020019081526020015f2060020154600654836020015161194d9190614024565b6119579190614092565b600e5f8381526020019081526020015f206007015f8282546119799190613ff1565b92505081905550600e5f8281526020019081526020015f206002015460065483602001516119a79190614024565b6119b19190614092565b60025f8282546119c19190613ff1565b92505081905550816020015160035f8282546119dd9190613ff1565b92505081905550505b611a1160085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff163461341b565b5f8160200151825f0151611a259190613ff1565b90508515611b4d57600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391c61966611a726132d4565b836040518363ffffffff1660e01b8152600401611a909291906142bb565b5f604051808303815f87803b158015611aa7575f5ffd5b505af1158015611ab9573d5f5f3e3d5ffd5b505050508060045f828254611ace9190613ff1565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff16601554611af76132d4565b73ffffffffffffffffffffffffffffffffffffffff167f6f225532a9c33b023b8e48247ad8df9d98f132ae17c769b97ff22d2b278fa73a843442604051611b40939291906142e2565b60405180910390a4611c1e565b8060105f611b596132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015f828254611ba39190613ff1565b925050819055505f73ffffffffffffffffffffffffffffffffffffffff16601554611bcc6132d4565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36843442604051611c15939291906142e2565b60405180910390a45b60019450505050611c2d613412565b50919050565b60025481565b611c41613209565b8060165f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b60065481565b805f81118015611cc6575060155481145b611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc90613e27565b60405180910390fd5b611d0d613209565b600d5f8381526020019081526020015f205f9054906101000a900460ff1615611d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d629061453b565b60405180910390fd5b6001600d5f8481526020019081526020015f205f6101000a81548160ff021916908315150217905550817f927e6cd2dce24f32508868820cdc35f09d9de0f4b44e945114110125196fba9f42604051611dc49190613ad2565b60405180910390a25050565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e57906145a3565b60405180910390fd5b60135f9054906101000a900460ff16611eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea59061460b565b60405180910390fd5b60125f611eb96132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3690614673565b60405180910390fd5b5f60105f611f4b6132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015490505f8111611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc3906146db565b60405180910390fd5b5f60165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6120126132d4565b846040518363ffffffff1660e01b81526004016120309291906142bb565b6020604051808303815f875af115801561204c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612070919061470d565b9050806120b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a990614782565b60405180910390fd5b5f60105f6120be6132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20600101819055506121066132d4565b73ffffffffffffffffffffffffffffffffffffffff167f9923b4306c6c030f2bdfbf156517d5983b87e15b96176da122cd4f2effa4ba7b834260405161214d929190613ce2565b60405180910390a260019250505090565b612166613209565b61219160085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168261341b565b50565b61219c613209565b5f85116121de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d5906147ea565b60405180910390fd5b5f8311612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221790614852565b60405180910390fd5b60055f81548092919061223290613faa565b91905055505f811461225757600554600f5f8381526020019081526020015f20819055505b6040518061012001604052805f81526020015f81526020018681526020018581526020015f81526020018481526020018381526020015f81526020015f1515815250600e5f60055481526020019081526020015f205f820151815f01556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e08201518160070155610100820151816008015f6101000a81548160ff0219169083151502179055509050506005547f6a00651728a92841411081673eaa4eddbed06d102a590e050c22def40d4dd0b8865f5f604051612353939291906148a9565b60405180910390a25050505050565b61236a613209565b6123b660085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff1661350b9092919063ffffffff16565b5050565b600f602052805f5260405f205f915090505481565b5f42905090565b6123de613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244390614928565b60405180910390fd5b8060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612497613209565b6124a05f613591565b565b6012602052805f5260405f205f915054906101000a900460ff1681565b6124c7613209565b8060148190555050565b6124d9613209565b5f600e5f8381526020019081526020015f20600501541161252f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252690614990565b60405180910390fd5b5f601554146125815742600e5f60155481526020019081526020015f20600101819055505f600e5f60155481526020019081526020015f206008015f6101000a81548160ff0219169083151502179055505b42600e5f8381526020019081526020015f205f01819055506001600e5f8381526020019081526020015f206008015f6101000a81548160ff0219169083151502179055508060158190555050565b60045481565b6125dd613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361264b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612642906149f8565b60405180910390fd5b80600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f5f600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015612722573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127469190614a88565b5050509150506402540be4008161275d9190614aff565b90508091505090565b61276e613209565b5f84116127b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a7906147ea565b60405180910390fd5b5f82116127f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e990614852565b60405180910390fd5b5f8111612834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282b90614bbf565b60405180910390fd5b83600e5f8781526020019081526020015f206002018190555082600e5f8781526020019081526020015f206003018190555081600e5f8781526020019081526020015f206005018190555080600e5f8781526020019081526020015f20600601819055505050505050565b60145481565b60155481565b60095481565b6128b96138df565b5f831180156128db57505f600e5f8581526020019081526020015f2060050154115b61291a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291190613e27565b60405180910390fd5b6129226138df565b600e5f8581526020019081526020015f20600201548160400181815250505f600e5f8681526020019081526020015f2060040154600e5f8781526020019081526020015f20600501546129759190614bdd565b90505f600654600e5f8881526020019081526020015f20600201548661299b9190614024565b6129a59190614092565b90508181116129c25780835f018181525050829350505050612aa6565b81835f0181815250505f600e5f8881526020019081526020015f2060020154600654846129ef9190614024565b6129f99190614092565b90505f8187612a089190614bdd565b90505f600f5f8a81526020019081526020015f205490505f8114158015612a4257505f600e5f8381526020019081526020015f2060050154115b15612a9c57600e5f8281526020019081526020015f2060020154866060018181525050600654600e5f8381526020019081526020015f206002015483612a889190614024565b612a929190614092565b8660200181815250505b8596505050505050505b92915050565b612ab4613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1990614c80565b60405180910390fd5b80600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401612bde9291906142bb565b6020604051808303815f875af1158015612bfa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1e919061470d565b5050565b60035481565b612c30613209565b8060135f6101000a81548160ff02191690831515021790555050565b6010602052805f5260405f205f91509050805f0154908060010154905082565b5f5f73ffffffffffffffffffffffffffffffffffffffff1660165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf3906145a3565b60405180910390fd5b5f60105f612d086132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f206001015490505f8111612d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8090614ce8565b60405180910390fd5b600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391c61966612dce6132d4565b836040518363ffffffff1660e01b8152600401612dec9291906142bb565b5f604051808303815f87803b158015612e03575f5ffd5b505af1158015612e15573d5f5f3e3d5ffd5b505050505f60105f612e256132d4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2060010181905550612e6d6132d4565b73ffffffffffffffffffffffffffffffffffffffff167ffa4ec67f9254455933eb145bae864b26f29dd0a7bbb76eb11e4d6b8b9b184c2b8242604051612eb4929190613ce2565b60405180910390a2600191505090565b805f81118015612ed5575060155481145b612f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0b90613e27565b60405180910390fd5b612f1c613209565b600d5f8381526020019081526020015f205f9054906101000a900460ff16612f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7090614d50565b60405180910390fd5b5f600d5f8481526020019081526020015f205f6101000a81548160ff021916908315150217905550817ff608654a6d8e1785594639dd55babb61d7ae157382015f904a24224e50333b1d42604051612fd19190613ad2565b60405180910390a25050565b5f60165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015613048573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061306c919061434d565b600a61307891906144a7565b600e5f8581526020019081526020015f2060020154836130989190614024565b6130a29190614092565b905092915050565b60055481565b600e602052805f5260405f205f91509050805f015490806001015490806002015490806003015490806004015490806005015490806006015490806007015490806008015f9054906101000a900460ff16905089565b60165f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135f9054906101000a900460ff1681565b613145613209565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036131b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131aa90614dde565b60405180910390fd5b6131bc81613591565b50565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6132116132d4565b73ffffffffffffffffffffffffffffffffffffffff1661322f61268e565b73ffffffffffffffffffffffffffffffffffffffff1614613285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327c90614e46565b60405180910390fd5b565b60025f54036132cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c290614eae565b60405180910390fd5b60025f81905550565b5f33905090565b42600e5f8381526020019081526020015f20600101819055505f600e5f8381526020019081526020015f206008015f6101000a81548160ff02191690831515021790555042600e5f600f5f8581526020019081526020015f205481526020019081526020015f205f01819055506001600e5f600f5f8581526020019081526020015f205481526020019081526020015f206008015f6101000a81548160ff021916908315150217905550600f5f8281526020019081526020015f2054601581905550600f5f8281526020019081526020015f20547f53d40cdc44099a485e4bd412927ab85ec13803cd49c29d9cda74f3cb223953b0600e5f600f5f8681526020019081526020015f205481526020019081526020015f2060020154425f60405161340793929190614ecc565b60405180910390a250565b60015f81905550565b8047101561345e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345590614f4b565b60405180910390fd5b5f8273ffffffffffffffffffffffffffffffffffffffff168260405161348390614f8c565b5f6040518083038185875af1925050503d805f81146134bd576040519150601f19603f3d011682016040523d82523d5f602084013e6134c2565b606091505b5050905080613506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fd90614fea565b60405180910390fd5b505050565b61358c8363a9059cbb60e01b848460405160240161352a9291906142bb565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613654565b505050565b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6136b5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661371a9092919063ffffffff16565b90505f815114806136d65750808060200190518101906136d5919061470d565b5b613715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370c90615078565b60405180910390fd5b505050565b606061372884845f85613731565b90509392505050565b606082471015613776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376d90615106565b60405180910390fd5b5f5f8673ffffffffffffffffffffffffffffffffffffffff16858760405161379e919061423d565b5f6040518083038185875af1925050503d805f81146137d8576040519150601f19603f3d011682016040523d82523d5f602084013e6137dd565b606091505b50915091506137ee878383876137fa565b92505050949350505050565b6060831561385b575f835103613853576138138561386e565b613852576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138499061516e565b60405180910390fd5b5b829050613866565b6138658383613890565b5b949350505050565b5f5f8273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f825111156138a25781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d691906151de565b60405180910390fd5b60405180608001604052805f81526020015f81526020015f81526020015f81525090565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61393082613907565b9050919050565b61394081613926565b811461394a575f5ffd5b50565b5f8135905061395b81613937565b92915050565b5f6020828403121561397657613975613903565b5b5f6139838482850161394d565b91505092915050565b5f8115159050919050565b6139a08161398c565b82525050565b5f6020820190506139b95f830184613997565b92915050565b5f819050919050565b6139d1816139bf565b81146139db575f5ffd5b50565b5f813590506139ec816139c8565b92915050565b5f60208284031215613a0757613a06613903565b5b5f613a14848285016139de565b91505092915050565b613a268161398c565b8114613a30575f5ffd5b50565b5f81359050613a4181613a1d565b92915050565b5f5f60408385031215613a5d57613a5c613903565b5b5f613a6a858286016139de565b9250506020613a7b85828601613a33565b9150509250929050565b5f5f60408385031215613a9b57613a9a613903565b5b5f613aa8858286016139de565b9250506020613ab9858286016139de565b9150509250929050565b613acc816139bf565b82525050565b5f602082019050613ae55f830184613ac3565b92915050565b5f60208284031215613b0057613aff613903565b5b5f613b0d84828501613a33565b91505092915050565b5f819050919050565b5f613b39613b34613b2f84613907565b613b16565b613907565b9050919050565b5f613b4a82613b1f565b9050919050565b5f613b5b82613b40565b9050919050565b613b6b81613b51565b82525050565b5f602082019050613b845f830184613b62565b92915050565b5f5f5f5f5f60a08688031215613ba357613ba2613903565b5b5f613bb0888289016139de565b9550506020613bc1888289016139de565b9450506040613bd2888289016139de565b9350506060613be3888289016139de565b9250506080613bf4888289016139de565b9150509295509295909350565b5f5f60408385031215613c1757613c16613903565b5b5f613c248582860161394d565b9250506020613c35858286016139de565b9150509250929050565b613c4881613926565b82525050565b5f602082019050613c615f830184613c3f565b92915050565b613c70816139bf565b82525050565b608082015f820151613c8a5f850182613c67565b506020820151613c9d6020850182613c67565b506040820151613cb06040850182613c67565b506060820151613cc36060850182613c67565b50505050565b5f608082019050613cdc5f830184613c76565b92915050565b5f604082019050613cf55f830185613ac3565b613d026020830184613ac3565b9392505050565b5f61012082019050613d1d5f83018c613ac3565b613d2a602083018b613ac3565b613d37604083018a613ac3565b613d446060830189613ac3565b613d516080830188613ac3565b613d5e60a0830187613ac3565b613d6b60c0830186613ac3565b613d7860e0830185613ac3565b613d86610100830184613997565b9a9950505050505050505050565b5f613d9e82613b40565b9050919050565b613dae81613d94565b82525050565b5f602082019050613dc75f830184613da5565b92915050565b5f82825260208201905092915050565b7f496e76616c69642070726573616c6520696400000000000000000000000000005f82015250565b5f613e11601283613dcd565b9150613e1c82613ddd565b602082019050919050565b5f6020820190508181035f830152613e3e81613e05565b9050919050565b7f50726573616c65207061757365640000000000000000000000000000000000005f82015250565b5f613e79600e83613dcd565b9150613e8482613e45565b602082019050919050565b5f6020820190508181035f830152613ea681613e6d565b9050919050565b7f50726573616c65206973206e6f742061637469766520796574000000000000005f82015250565b5f613ee1601983613dcd565b9150613eec82613ead565b602082019050919050565b5f6020820190508181035f830152613f0e81613ed5565b9050919050565b7f4e6f20746f6b656e7320617661696c61626c65000000000000000000000000005f82015250565b5f613f49601383613dcd565b9150613f5482613f15565b602082019050919050565b5f6020820190508181035f830152613f7681613f3d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613fb4826139bf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fe657613fe5613f7d565b5b600182019050919050565b5f613ffb826139bf565b9150614006836139bf565b925082820190508082111561401e5761401d613f7d565b5b92915050565b5f61402e826139bf565b9150614039836139bf565b9250828202614047816139bf565b9150828204841483151761405e5761405d613f7d565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61409c826139bf565b91506140a7836139bf565b9250826140b7576140b6614065565b5b828204905092915050565b5f6040820190506140d55f830185613c3f565b6140e26020830184613c3f565b9392505050565b5f815190506140f7816139c8565b92915050565b5f6020828403121561411257614111613903565b5b5f61411f848285016140e9565b91505092915050565b7f4d616b65207375726520746f2061646420656e6f75676820616c6c6f77616e635f8201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b5f614182602183613dcd565b915061418d82614128565b604082019050919050565b5f6020820190508181035f8301526141af81614176565b9050919050565b5f6060820190506141c95f830186613c3f565b6141d66020830185613c3f565b6141e36040830184613ac3565b949350505050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f614217826141eb565b61422181856141f5565b93506142318185602086016141ff565b80840191505092915050565b5f614248828461420d565b915081905092915050565b7f546f6b656e207061796d656e74206661696c65640000000000000000000000005f82015250565b5f614287601483613dcd565b915061429282614253565b602082019050919050565b5f6020820190508181035f8301526142b48161427b565b9050919050565b5f6040820190506142ce5f830185613c3f565b6142db6020830184613ac3565b9392505050565b5f6060820190506142f55f830186613ac3565b6143026020830185613ac3565b61430f6040830184613ac3565b949350505050565b5f60ff82169050919050565b61432c81614317565b8114614336575f5ffd5b50565b5f8151905061434781614323565b92915050565b5f6020828403121561436257614361613903565b5b5f61436f84828501614339565b91505092915050565b5f8160011c9050919050565b5f5f8291508390505b60018511156143cd578086048111156143a9576143a8613f7d565b5b60018516156143b85780820291505b80810290506143c685614378565b945061438d565b94509492505050565b5f826143e557600190506144a0565b816143f2575f90506144a0565b8160018114614408576002811461441257614441565b60019150506144a0565b60ff84111561442457614423613f7d565b5b8360020a91508482111561443b5761443a613f7d565b5b506144a0565b5060208310610133831016604e8410600b84101617156144765782820a90508381111561447157614470613f7d565b5b6144a0565b6144838484846001614384565b9250905081840481111561449a57614499613f7d565b5b81810290505b9392505050565b5f6144b1826139bf565b91506144bc83614317565b92506144e97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846143d6565b905092915050565b7f416c7265616479207061757365640000000000000000000000000000000000005f82015250565b5f614525600e83613dcd565b9150614530826144f1565b602082019050919050565b5f6020820190508181035f83015261455281614519565b9050919050565b7f53616c6520746f6b656e206e6f742061646465640000000000000000000000005f82015250565b5f61458d601483613dcd565b915061459882614559565b602082019050919050565b5f6020820190508181035f8301526145ba81614581565b9050919050565b7f436c61696d20686173206e6f74207374617274656420796574000000000000005f82015250565b5f6145f5601983613dcd565b9150614600826145c1565b602082019050919050565b5f6020820190508181035f830152614622816145e9565b9050919050565b7f416c726561647920636c61696d656400000000000000000000000000000000005f82015250565b5f61465d600f83613dcd565b915061466882614629565b602082019050919050565b5f6020820190508181035f83015261468a81614651565b9050919050565b7f4e6f7468696e6720746f20636c61696d000000000000000000000000000000005f82015250565b5f6146c5601083613dcd565b91506146d082614691565b602082019050919050565b5f6020820190508181035f8301526146f2816146b9565b9050919050565b5f8151905061470781613a1d565b92915050565b5f6020828403121561472257614721613903565b5b5f61472f848285016146f9565b91505092915050565b7f546f6b656e207472616e73666572206661696c656400000000000000000000005f82015250565b5f61476c601583613dcd565b915061477782614738565b602082019050919050565b5f6020820190508181035f83015261479981614760565b9050919050565b7f5a65726f207072696365000000000000000000000000000000000000000000005f82015250565b5f6147d4600a83613dcd565b91506147df826147a0565b602082019050919050565b5f6020820190508181035f830152614801816147c8565b9050919050565b7f5a65726f20746f6b656e7320746f2073656c6c000000000000000000000000005f82015250565b5f61483c601383613dcd565b915061484782614808565b602082019050919050565b5f6020820190508181035f83015261486981614830565b9050919050565b5f819050919050565b5f61489361488e61488984614870565b613b16565b6139bf565b9050919050565b6148a381614879565b82525050565b5f6060820190506148bc5f830186613ac3565b6148c9602083018561489a565b6148d6604083018461489a565b949350505050565b7f496e76616c696420706172616d657465727300000000000000000000000000005f82015250565b5f614912601283613dcd565b915061491d826148de565b602082019050919050565b5f6020820190508181035f83015261493f81614906565b9050919050565b7f50726573616c6520646f6e2774206578697374000000000000000000000000005f82015250565b5f61497a601383613dcd565b915061498582614946565b602082019050919050565b5f6020820190508181035f8301526149a78161496e565b9050919050565b7f5a65726f20746f6b656e206164647265737300000000000000000000000000005f82015250565b5f6149e2601283613dcd565b91506149ed826149ae565b602082019050919050565b5f6020820190508181035f830152614a0f816149d6565b9050919050565b5f69ffffffffffffffffffff82169050919050565b614a3481614a16565b8114614a3e575f5ffd5b50565b5f81519050614a4f81614a2b565b92915050565b5f819050919050565b614a6781614a55565b8114614a71575f5ffd5b50565b5f81519050614a8281614a5e565b92915050565b5f5f5f5f5f60a08688031215614aa157614aa0613903565b5b5f614aae88828901614a41565b9550506020614abf88828901614a74565b9450506040614ad0888289016140e9565b9350506060614ae1888289016140e9565b9250506080614af288828901614a41565b9150509295509295909350565b5f614b0982614a55565b9150614b1483614a55565b9250828202614b2281614a55565b91507f800000000000000000000000000000000000000000000000000000000000000084145f84121615614b5957614b58613f7d565b5b8282058414831517614b6e57614b6d613f7d565b5b5092915050565b7f5a65726f206861726361700000000000000000000000000000000000000000005f82015250565b5f614ba9600b83613dcd565b9150614bb482614b75565b602082019050919050565b5f6020820190508181035f830152614bd681614b9d565b9050919050565b5f614be7826139bf565b9150614bf2836139bf565b9250828203905081811115614c0a57614c09613f7d565b5b92915050565b7f7374616b696e67206d616e616765722063616e6e6f7420626520696e617469615f8201527f6c697a65642077697468207a65726f2061646472657373000000000000000000602082015250565b5f614c6a603783613dcd565b9150614c7582614c10565b604082019050919050565b5f6020820190508181035f830152614c9781614c5e565b9050919050565b7f4e6f7468696e6720746f207374616b65000000000000000000000000000000005f82015250565b5f614cd2601083613dcd565b9150614cdd82614c9e565b602082019050919050565b5f6020820190508181035f830152614cff81614cc6565b9050919050565b7f4e6f7420706175736564000000000000000000000000000000000000000000005f82015250565b5f614d3a600a83613dcd565b9150614d4582614d06565b602082019050919050565b5f6020820190508181035f830152614d6781614d2e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f614dc8602683613dcd565b9150614dd382614d6e565b604082019050919050565b5f6020820190508181035f830152614df581614dbc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f614e30602083613dcd565b9150614e3b82614dfc565b602082019050919050565b5f6020820190508181035f830152614e5d81614e24565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f614e98601f83613dcd565b9150614ea382614e64565b602082019050919050565b5f6020820190508181035f830152614ec581614e8c565b9050919050565b5f606082019050614edf5f830186613ac3565b614eec6020830185613ac3565b614ef9604083018461489a565b949350505050565b7f4c6f772062616c616e63650000000000000000000000000000000000000000005f82015250565b5f614f35600b83613dcd565b9150614f4082614f01565b602082019050919050565b5f6020820190508181035f830152614f6281614f29565b9050919050565b50565b5f614f775f836141f5565b9150614f8282614f69565b5f82019050919050565b5f614f9682614f6c565b9150819050919050565b7f455448205061796d656e74206661696c656400000000000000000000000000005f82015250565b5f614fd4601283613dcd565b9150614fdf82614fa0565b602082019050919050565b5f6020820190508181035f83015261500181614fc8565b9050919050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f615062602a83613dcd565b915061506d82615008565b604082019050919050565b5f6020820190508181035f83015261508f81615056565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f6150f0602683613dcd565b91506150fb82615096565b604082019050919050565b5f6020820190508181035f83015261511d816150e4565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f615158601d83613dcd565b915061516382615124565b602082019050919050565b5f6020820190508181035f8301526151858161514c565b9050919050565b5f81519050919050565b5f601f19601f8301169050919050565b5f6151b08261518c565b6151ba8185613dcd565b93506151ca8185602086016141ff565b6151d381615196565b840191505092915050565b5f6020820190508181035f8301526151f681846151a6565b90509291505056fea26469706673582212207fd987d5b38852a32291b94106fa6d95b8d577f6841c49d18cf2b5c8a9d664c664736f6c634300081e0033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.