Contract 0x43f816682850B1e7AC8b075aa1Bd2BA309ACF5c9

 
 
Txn Hash
Method
Block
From
To
Value
0x58c4f5aa6c66c739add131fd800a2291a9ff0b0f95d5d21a254c21aab9e2b017__callback125829932021-06-06 19:59:20430 days 22 hrs ago0x000042427b681ccf127a5112923322629183b109 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0004925910
0x70fa1616d8bdea02df719446607c7cbf58e1c003052114d2ef2e319285602dc4__callback125829932021-06-06 19:59:20430 days 22 hrs ago0x000042427b681ccf127a5112923322629183b109 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0004928310
0x45e8433e56fbee09f53905e9476b1361674407f9cdbac1bb654ca7b3b74c12d9Request Team Fun...115890082021-01-04 16:14:07584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01288217231
0xf40997d9f63f1096a3d489cfecb50a4de178f4473c2e26b082b3d69e11655e84Forward Liquidit...115889602021-01-04 16:03:22584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍04006947167
0x2a301c4c49a760538af09a1f31c47d5b342b0d0165ef6958e23a1ae317814a9cPrepare Referral...115889202021-01-04 15:53:58584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍07429888164
0x5a4b97d392b9f24e1f652c0c9ee0d922fcf995b76ab8e208e1a41c2400a511f4Prepare Referral...115889122021-01-04 15:52:35584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0193727153
0x76e8a9505a856d021cd9293509f42bd9573ca33cef7527812c7a3e95270e6b85Prepare Referral...115889032021-01-04 15:50:03584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0108672160
0x9f3bef21f5897800474e799cbcac783f21343a8c6c3832aa1d432ca63307336e__callback115889012021-01-04 15:49:15584 days 2 hrs ago0x00004242938574472829001998841cece6f4d548 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0150258150
0x2ac6757c9d9423c371d35fcb3518a51f68acca034905752f0fdc15dd318488fbGenerate Supply115889002021-01-04 15:49:08584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍02190192160
0x805c782657b2b95b5893766433dcf2e97ffb5413490c2c6fcf76cf56d66ff551__callback115888972021-01-04 15:48:26584 days 2 hrs ago0x00004242977623206f68ede3bf63c82887fb8849 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01443195150
0x45b1c6167197085878a88b773a50ec2bb5fdd5efcd5ee323a4df76174c7e5068Generate Supply115888942021-01-04 15:48:02584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍02190192160
0x28862e6a16bd313be173960cdbcde42e56fb3b80687774c4d3ab370ce4552fe3Generate Supply115888912021-01-04 15:47:27584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01111802167
0x8332f6d7b3cf77f0d18bf2f73d1cfef4b6a8b55183aa903cef2915c86e40189a__callback115888882021-01-04 15:47:03584 days 2 hrs ago0x00004242cf379f962c40b48be1026e2ada8cf082 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01500735150
0xdc08ddb2125a4f529e16f81e20046a6f1b33649f387ec4ef0b86d0d1aea6d397Generate Supply115888872021-01-04 15:46:57584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍02286012167
0x1b7abc36440d6f54b63e5dbb1ac4dfdd119819a8ed834fe1915b3c0ce97db5dfGenerate Supply115888852021-01-04 15:46:34584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01111802167
0x0843894836b3f01b1d7894c7e52bc5751e1413be5ec4e0fcaf0824af7ab2e82a__callback115888822021-01-04 15:45:53584 days 2 hrs ago0x00004242938574472829001998841cece6f4d548 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01500915150
0x8847e125158796b9e42076d35381dbbb582ccc9cc4e2630ec0efd5eef717d320Generate Supply115888802021-01-04 15:45:28584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍02149125157
0xb524d7148339d688dfe60257f397ded958db15443631ab84a63936f46976060c__callback115888772021-01-04 15:44:25584 days 2 hrs ago0x00004242ddf19cafbca1cbb606c47a2b3825681b IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01443375150
0x1c3d60bc8c03f7a4d458cd5849eba323a757454021b88eb719241942522e2acbGenerate Supply115888752021-01-04 15:44:01584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍00423808160
0xe1b882520b5ca7121e17a57d7a057ad22501912468b6cc982039d1286d15e65dGenerate Supply115888752021-01-04 15:44:01584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍02162814158
0x010f8bd4fba261a4f6fd3862441571f17c9256fd5d40f0d6fadc22975f35f05c__callback115888692021-01-04 15:42:25584 days 2 hrs ago0x0000424230410f5528e795a9ebba571476f611ca IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍01443555150
0xbe5dafe3d062df47ad87fcae5d66f9eda43d172243ad5bf04cf6e87c99dd1533Generate Supply115888682021-01-04 15:42:22584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍02258635165
0xc17d3d81070070d02d4051eb980d3a7af6d02c931eeafc5a4b931abfcd26a383Generate Supply115888612021-01-04 15:41:07584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0103857156
0x1f6422d3fb13cfd94b141163614ec286039477f1fbe1a43c8f77ef7c318e2ab4Generate Supply115888572021-01-04 15:40:20584 days 2 hrs ago0x48f8bc095353b1652568012d7d74553d431a0317 IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0103857156
0x7be966efc2cd6150f6f6513380159787101421edfeda55155a76f74ab8dc2371__callback115888552021-01-04 15:40:09584 days 2 hrs ago0x0000424237e78d9272d4dc766e18f2fb8fd4706f IN  0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90 Ether0.‍0150294150
[ Download CSV Export 
Latest 17 internal transactions
Parent Txn Hash Block From To Value
0x45e8433e56fbee09f53905e9476b1361674407f9cdbac1bb654ca7b3b74c12d9115890082021-01-04 16:14:07584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c90x94c0904e6a37ab6b94145267b1855e59c4579da710.‍42 Ether
0xf40997d9f63f1096a3d489cfecb50a4de178f4473c2e26b082b3d69e11655e84115889602021-01-04 16:03:22584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 Uniswap V2: Router 294.‍1148 Ether
0x2ac6757c9d9423c371d35fcb3518a51f68acca034905752f0fdc15dd318488fb115889002021-01-04 15:49:08584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x45b1c6167197085878a88b773a50ec2bb5fdd5efcd5ee323a4df76174c7e5068115888942021-01-04 15:48:02584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0xdc08ddb2125a4f529e16f81e20046a6f1b33649f387ec4ef0b86d0d1aea6d397115888872021-01-04 15:46:57584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x8847e125158796b9e42076d35381dbbb582ccc9cc4e2630ec0efd5eef717d320115888802021-01-04 15:45:28584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0xe1b882520b5ca7121e17a57d7a057ad22501912468b6cc982039d1286d15e65d115888752021-01-04 15:44:01584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0xbe5dafe3d062df47ad87fcae5d66f9eda43d172243ad5bf04cf6e87c99dd1533115888682021-01-04 15:42:22584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0xf1d2280799f97af36e562c56178d23f3bbb0693776af4e0d35d62768b9cbfe1f115888522021-01-04 15:39:52584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x864c39f41954bb666f7387efbdf9a9e4f0372976e2319b99c372930c8d8fc2bb115888442021-01-04 15:37:38584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x9f140da456efa3ab302a57724d48bf34f4cdc4e901d4c332e27c05e2e9063aaf115888402021-01-04 15:37:19584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0xa61d73d485478bf12018c6aeb0797642a064a89b7e3b1f6bad72c84e9302cede115888302021-01-04 15:35:24584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0xda645065e4cac46d12ff04e96c6a32e9972bc7df35f01e996c8d8e78ccc8c93d115888202021-01-04 15:32:00584 days 2 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x1f7b88a398000212c6ac6541c9c697609cba84bad074c4547856f595d3174a86115846732021-01-04 0:08:27584 days 18 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x35ae27d76367e7917b99bb3fc335b5b04493d1deafc44f98cc6ba9c5cb1bf46e115653182021-01-01 1:07:09587 days 17 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x39bd786dc64e0d05f7a1e410297b15a62667c29c6add08e3af370e1470d6c4fe115585252020-12-31 0:01:19588 days 18 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
0x582433a7fdd7d9807c156e5a2b233f7b1b57f870dd632553403d7df7678b0739115398462020-12-28 3:10:32591 days 15 hrs ago 0x43f816682850b1e7ac8b075aa1bd2ba309acf5c9 0x3dbdc81a6edc94c720b0b88fb65dbd7e395fdcf60.‍00207524 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LiquidityTransformer

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 2 of 3: LiquidityTransformer.sol
// SPDX-License-Identifier: --🥺--

pragma solidity =0.7.0;

import './ITFToken.sol';

contract LiquidityTransformer is usingProvable {
    using SafeMathLT for uint256;
    using SafeMathLT for uint128;

    ITFToken public TF_CONTRACT;
    UniswapV2Pair public UNISWAP_PAIR;

    UniswapRouterV2 public constant UNISWAP_ROUTER = UniswapRouterV2(
        0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D // mainnet
        // 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D // rinkeby
   );

    RefundSponsorI public constant REFUND_SPONSOR = RefundSponsorI(
        0x162b53D630977D90FCa9e0b8Bbc165DF9598b88a // mainnet
        // 0x9CA1e4C129Cfc97a4d0Cc5E3Bfca4B4ed0579FC2 // rinkeby
   );

    address payable constant TEAM_ADDRESS = 0x94C0904e6a37AB6B94145267b1855e59c4579DA7;
    address public TOKEN_OWNER = 0x48F8bc095353B1652568012d7d74553d431a0317;

    address constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // mainnet
    // address constant WETH = 0x3235625666b458a8881100f689152aCa023ae778; // rinkeby

    uint8 constant INVESTMENT_DAYS = 30;
    
    uint128 constant THRESHOLD_LIMIT_MIN = 1 ether;
    uint128 constant THRESHOLD_LIMIT_MAX = 50 ether;
    uint128 constant MIN_INVEST = 50000000 gwei;
    uint128 constant DAILY_MAX_SUPPLY = 10000000;

    uint256 constant CROP_PER_TF = 10 ** uint256(18);
    uint256 constant NUM_RANDOM_BYTES_REQUESTED = 7;

    struct Globals {
        uint64 generatedDays;
        uint64 generationDayBuffer;
        uint64 generationTimeout;
        uint64 preparedReferrals;
        uint256 totalTransferTokens;
        uint256 totalWeiContributed;
        uint256 totalReferralTokens;
    }

    Globals public g;

    mapping(uint256 => uint256) dailyMinSupply;
    mapping(uint256 => uint256) public dailyTotalSupply;
    mapping(uint256 => uint256) public dailyTotalInvestment;

    mapping(uint256 => uint256) public investorAccountCount;
    mapping(uint256 => mapping(uint256 => address)) public investorAccounts;
    mapping(address => mapping(uint256 => uint256)) public investorBalances;

    mapping(address => uint256) public referralAmount;
    mapping(address => uint256) public referralTokens;
    mapping(address => uint256) public investorTotalBalance;
    mapping(address => uint256) originalInvestment;

    uint256 public referralAccountCount;
    uint256 public uniqueInvestorCount;

    mapping (uint256 => address) public uniqueInvestors;
    mapping (uint256 => address) public referralAccounts;

    event GeneratingRandomSupply(uint256 indexed investmentDay);
    event GeneratedRandomSupply(uint256 indexed investmentDay, uint256 randomSupply);
    event GeneratedStaticSupply(uint256 indexed investmentDay, uint256 staticSupply);
    event GenerationStatus(uint64 indexed investmentDay, bool result);
    event LogNewProvableQuery(string description);
    event ReferralAdded(address indexed referral, address indexed referee, uint256 amount);
    event UniSwapResult(uint256 amountToken, uint256 amountETH, uint256 liquidity);
    event TFReservation(address indexed sender, uint256 indexed investmentDay, uint256 amount);

    modifier afterInvestmentPhase() {
        require(_currentTFDay() > INVESTMENT_DAYS, 'ongoing investment phase');
        _;
    }

    modifier afterUniswapTransfer() {
        require(g.generatedDays > 0 && g.totalWeiContributed == 0, 'forward liquidity first');
        _;
    }

    modifier afterInvestmentDaysRange(uint256 _investmentDay) {
        require(_investmentDay > 0 && _investmentDay <= INVESTMENT_DAYS, 'not in initial investment days range');
        _;
    }

    modifier afterInvestmentEntryAmount(uint256 _days) {
        require(msg.value >= MIN_INVEST * _days, 'investment below minimum');
        _;
    }

    modifier afterFundedDays(uint256 _investmentDay) {
        require(dailyTotalInvestment[_investmentDay] > 0, 'no investments on that day');
        _;
    }

    modifier afterTokenOwner() {
        require(msg.sender == TOKEN_OWNER, 'wrong sender');
        _;
    }

    modifier useRefundSponsorDynamic() {
        uint256 gasStart = gasleft();
        _;
        uint256 gasSpent = (21000 + gasStart - gasleft()).mul(tx.gasprice);
        gasSpent = msg.value.div(10) > gasSpent ? gasSpent : msg.value.div(10);
        REFUND_SPONSOR.addGasRefund(msg.sender, gasSpent);
    }

    modifier useRefundSponsorFixed() {
        uint256 gasStart = gasleft();
        _;
        uint256 gasSpent = (21000 + gasStart - gasleft()).mul(tx.gasprice);
        gasSpent = gasSpent > 5000000000000000 ? 5000000000000000 : gasSpent;
        REFUND_SPONSOR.addGasRefund(msg.sender, gasSpent);
    }

    receive() external payable {
        require(msg.sender == address(UNISWAP_ROUTER) || msg.sender == TEAM_ADDRESS || msg.sender == TOKEN_OWNER, 'direct deposits disabled');
    }

    function resetToken(address _tfToken, address _uniswapPair ) external afterTokenOwner {
        TF_CONTRACT = ITFToken(_tfToken);
        UNISWAP_PAIR = UniswapV2Pair(_uniswapPair);
    }

    function revokeAccess() external afterTokenOwner {
        TOKEN_OWNER = address(0x0);
    }

    constructor(address _tfToken, address _uniswapPair) {
        TF_CONTRACT = ITFToken(_tfToken);
        UNISWAP_PAIR = UniswapV2Pair(_uniswapPair);

        // OAR = OracleAddrResolverI(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475);

        provable_setProof(proofType_Ledger);
        provable_setCustomGasPrice(10000000000);

        dailyMinSupply[1] = 5000000;
        dailyMinSupply[2] = 10000000;
        dailyMinSupply[3] = 5000000;
        dailyMinSupply[4] = 1;
        dailyMinSupply[5] = 5000000;
        dailyMinSupply[6] = 5000000;
        dailyMinSupply[7] = 4000000;

        dailyMinSupply[8] = 2500000;
        dailyMinSupply[9] = 10000000;
        dailyMinSupply[10] = 5000000;

        dailyMinSupply[11] = 1;
        dailyMinSupply[12] = 2500000;
        dailyMinSupply[13] = 5000000;
        dailyMinSupply[14] = 5000000;
        dailyMinSupply[15] = 4000000;
        dailyMinSupply[16] = 5000000;
        dailyMinSupply[17] = 2500000;

        dailyMinSupply[18] = 1;
        dailyMinSupply[19] = 5000000;
        dailyMinSupply[20] = 4000000;
        dailyMinSupply[21] = 5000000;
        dailyMinSupply[22] = 5000000;
        dailyMinSupply[23] = 2500000;
        dailyMinSupply[24] = 4000000;

        dailyMinSupply[25] = 1;
        dailyMinSupply[26] = 5000000;
        dailyMinSupply[27] = 2500000;
        dailyMinSupply[28] = 5000000;
        dailyMinSupply[29] = 4000000;
        dailyMinSupply[30] = 1;
    }


    //  TF RESERVATION (EXTERNAL FUNCTIONS)  //
    //  -------------------------------------  //

    /** @dev Performs reservation of TF tokens with ETH
      * @param _investmentDays array of reservation days.
      * @param _referralAddress referral address for bonus.
      */
    function reserveTF(uint8[] calldata _investmentDays, address _referralAddress ) external payable useRefundSponsorDynamic afterInvestmentEntryAmount(_investmentDays.length) {
        checkInvestmentDays(_investmentDays, _currentTFDay());

        _reserveTF(_investmentDays, _referralAddress, msg.sender, msg.value);
    }

    /** @notice Allows reservation of TF tokens with other ERC20 tokens
      * @dev this will require LT contract to be approved as spender
      * @param _tokenAddress address of an ERC20 token to use
      * @param _tokenAmount amount of tokens to use for reservation
      * @param _investmentDays array of reservation days
      * @param _referralAddress referral address for bonus
      */
    function reserveTFWithToken(address _tokenAddress, uint256 _tokenAmount, uint8[] calldata _investmentDays, address _referralAddress ) external useRefundSponsorFixed {
        IERC20Token _token = IERC20Token(_tokenAddress);

        _token.transferFrom(msg.sender, address(this), _tokenAmount);
        _token.approve(address(UNISWAP_ROUTER), _tokenAmount);

        address[] memory _path = preparePath(_tokenAddress);
        uint256[] memory amounts = UNISWAP_ROUTER.swapExactTokensForETH(_tokenAmount, 0, _path, address(this), block.timestamp.add(2 hours));

        require(amounts[1] >= MIN_INVEST * _investmentDays.length, 'investment below minimum');

        checkInvestmentDays(_investmentDays, _currentTFDay());
        _reserveTF(_investmentDays, _referralAddress, msg.sender, amounts[1]);
    }

    //  TF RESERVATION (INTERNAL FUNCTIONS)  //
    //  -------------------------------------  //

    /** @notice Distributes ETH equaly between selected reservation days
      * @dev this will require LT contract to be approved as a spender
      * @param _investmentDays array of selected reservation days
      * @param _referralAddress referral address for bonus
      * @param _senderAddress address of the investor
      * @param _senderValue amount of ETH contributed
      */
    function _reserveTF(uint8[] memory _investmentDays, address _referralAddress, address _senderAddress, uint256 _senderValue ) internal {
        require(_senderAddress != _referralAddress, 'must be a different address');
        require(notContract(_referralAddress), 'invalid referral address');

        uint256 _investmentBalance = _referralAddress == address(0x0)
            ? _senderValue // no referral bonus
            : _senderValue.mul(1100).div(1000);

        uint256 _totalDays = _investmentDays.length;
        uint256 _dailyAmount = _investmentBalance.div(_totalDays);
        uint256 _leftOver = _investmentBalance.mod(_totalDays);

        _addBalance(_senderAddress, _investmentDays[0], _dailyAmount.add(_leftOver));

        for (uint8 _i = 1; _i < _totalDays; _i++) {
            _addBalance(_senderAddress, _investmentDays[_i], _dailyAmount);
        }

        _trackInvestors(_senderAddress, _investmentBalance);

        if (_referralAddress != address(0x0)) {
            _trackReferrals(_referralAddress, _senderValue);

            emit ReferralAdded(_referralAddress, _senderAddress, _senderValue);
        }

        originalInvestment[_senderAddress] += _senderValue;
        g.totalWeiContributed += _senderValue;
    }

    /** @notice Allocates investors balance to specific day
      * @param _senderAddress investors wallet address
      * @param _investmentDay selected investment day
      * @param _investmentBalance amount invested (with bonus)
      */
    function _addBalance(address _senderAddress, uint256 _investmentDay, uint256 _investmentBalance ) internal {
        if (investorBalances[_senderAddress][_investmentDay] == 0) {
            investorAccounts[_investmentDay][investorAccountCount[_investmentDay]] = _senderAddress;
            investorAccountCount[_investmentDay]++;
        }

        investorBalances[_senderAddress][_investmentDay] += _investmentBalance;
        dailyTotalInvestment[_investmentDay] += _investmentBalance;

        emit TFReservation(_senderAddress, _investmentDay, _investmentBalance);
    }

    //  TF RESERVATION (PRIVATE FUNCTIONS)  //
    //  ------------------------------------  //

    /** @notice Tracks investorTotalBalance and uniqueInvestors
      * @dev used in _reserveTF() internal function
      * @param _investorAddress address of the investor
      * @param _value ETH amount invested (with bonus)
      */
    function _trackInvestors(address _investorAddress, uint256 _value) private {
        // if (investorTotalBalance[_investorAddress] == 0) uniqueInvestors.push(_investorAddress);
        if (investorTotalBalance[_investorAddress] == 0) {
            uniqueInvestors[
            uniqueInvestorCount] = _investorAddress;
            uniqueInvestorCount++;
        }
        investorTotalBalance[_investorAddress] += _value;
    }

    /** @notice Tracks referralAmount and referralAccounts
      * @dev used in _reserveTF() internal function
      * @param _referralAddress address of the referrer
      * @param _value ETH amount referred during reservation
      */
    function _trackReferrals(address _referralAddress, uint256 _value) private {
        if (referralAmount[_referralAddress] == 0) {
            referralAccounts[
            referralAccountCount] = _referralAddress;
            referralAccountCount++;
        }
        referralAmount[_referralAddress] += _value;
    }


    //  SUPPLY GENERATION (EXTERNAL FUNCTION)  //
    //  -------------------------------------  //

    /** @notice Allows to generate supply for past funded days
      * @param _investmentDay investemnt day index (1-30)
      */
    function generateSupply(uint64 _investmentDay ) external afterInvestmentDaysRange(_investmentDay) afterFundedDays(_investmentDay) {
        require(_investmentDay < _currentTFDay(), 'investment day must be in past');
        require(g.generationDayBuffer == 0, 'supply generation in progress');
        require(dailyTotalSupply[_investmentDay] == 0, 'supply already generated');

        g.generationDayBuffer = _investmentDay;
        g.generationTimeout = uint64(block.timestamp.add(2 hours));

        (DAILY_MAX_SUPPLY - dailyMinSupply[_investmentDay] == dailyMinSupply[_investmentDay] || DAILY_MAX_SUPPLY - dailyMinSupply[_investmentDay] == 0)
            ? _generateStaticSupply(_investmentDay)
            : _generateRandomSupply(_investmentDay);
    }


    //  SUPPLY GENERATION (INTERNAL FUNCTIONS)  //
    //  --------------------------------------  //

    /** @notice Generates supply for days with static supply
      * @param _investmentDay investemnt day index (1-30)
      */
    function _generateStaticSupply(uint256 _investmentDay ) internal {
        dailyTotalSupply[_investmentDay] = dailyMinSupply[_investmentDay] * CROP_PER_TF;
        g.totalTransferTokens += dailyTotalSupply[_investmentDay];

        g.generatedDays++;
        g.generationDayBuffer = 0;
        g.generationTimeout = 0;

        emit GeneratedStaticSupply(_investmentDay, dailyTotalSupply[_investmentDay]);
    }

    /** @notice Generates supply for days with random supply
      * @dev uses provable api to request provable_newRandomDSQuery
      * @param _investmentDay investemnt day index (1-30)
      */
    function _generateRandomSupply(uint256 _investmentDay ) internal {
        uint256 QUERY_EXECUTION_DELAY = 0;
        uint256 GAS_FOR_CALLBACK = 200000;

        provable_newRandomDSQuery(QUERY_EXECUTION_DELAY, NUM_RANDOM_BYTES_REQUESTED, GAS_FOR_CALLBACK);

        emit GeneratingRandomSupply(_investmentDay);
        emit LogNewProvableQuery("Provable query was sent, standing by for the answer...");
    }

    //  SUPPLY GENERATION (ORACLE FUNCTIONS)  //
    //  ------------------------------------  //

    /** @notice Function that generates random supply
      * @dev expected to be called by oracle within 2 hours
      * time-frame, otherTF __timeout() can be performed
      */
    function __callback(bytes32 _queryId, string memory _result, bytes memory _proof ) public override {
        require(msg.sender == provable_cbAddress(), 'can only be called by Oracle');
        require(g.generationDayBuffer > 0 && g.generationDayBuffer <= INVESTMENT_DAYS, 'incorrect generation day');

        if (provable_randomDS_proofVerify__returnCode(_queryId, _result, _proof ) != 0 ) {

            g.generationDayBuffer = 0;
            g.generationTimeout = 0;

            emit GenerationStatus(g.generationDayBuffer, false);
        } else {
            g.generatedDays = g.generatedDays + 1;
            uint256 _investmentDay = g.generationDayBuffer;

            uint256 currentDayMaxSupply = DAILY_MAX_SUPPLY.sub(dailyMinSupply[_investmentDay]);
            uint256 ceilingDayMaxSupply = currentDayMaxSupply.sub(dailyMinSupply[_investmentDay]);

            uint256 randomSupply = uint256(keccak256(abi.encodePacked(_result))) % ceilingDayMaxSupply;

            require(dailyTotalSupply[_investmentDay] == 0, 'supply already generated!');

            dailyTotalSupply[_investmentDay] = dailyMinSupply[_investmentDay].add(randomSupply).mul(CROP_PER_TF);

            g.totalTransferTokens = g.totalTransferTokens.add(dailyTotalSupply[_investmentDay]);

            emit GeneratedRandomSupply(_investmentDay, dailyTotalSupply[_investmentDay]);
            emit GenerationStatus(g.generationDayBuffer, true);

            g.generationDayBuffer = 0;
            g.generationTimeout = 0;
        }
    }

    /** @notice Allows to reset expected oracle callback
      * @dev resets generationDayBuffer to retry callback
      * assigns static supply if no callback within a day
      */
    function __timeout() external {
        require(g.generationTimeout > 0 && g.generationTimeout < block.timestamp, 'still awaiting!');

        uint64 _investmentDay = g.generationDayBuffer;

        require(_investmentDay > 0 && _investmentDay <= INVESTMENT_DAYS, 'incorrect generation day');
        require(dailyTotalSupply[_investmentDay] == 0, 'supply already generated!');

        if (_currentTFDay() - _investmentDay > 1) {
            dailyTotalSupply[_investmentDay] = dailyMinSupply[1].mul(CROP_PER_TF);

            g.totalTransferTokens = g.totalTransferTokens.add(dailyTotalSupply[_investmentDay]);
            g.generatedDays = g.generatedDays + 1;

            emit GeneratedStaticSupply(_investmentDay, dailyTotalSupply[_investmentDay]);
            emit GenerationStatus(_investmentDay, true);

        } else {
            emit GenerationStatus(_investmentDay, false);
        }

        g.generationDayBuffer = 0;
        g.generationTimeout = 0;
    }


    //  PRE-LIQUIDITY GENERATION FUNCTION  //
    //  ---------------------------------  //

    /** @notice Pre-calculates amount of tokens each referrer will get
      * @dev must run this for all referrer addresses in batches
      * converts _referralAmount to _referralTokens based on dailyRatio
      */
    function prepareReferralBonuses(uint256 _referralBatchFrom, uint256 _referralBatchTo ) external afterInvestmentPhase {
        require(_referralBatchFrom < _referralBatchTo, 'incorrect referral batch');
        require(g.preparedReferrals < referralAccountCount, 'all referrals already prepared');

        uint256 _totalRatio = g.totalTransferTokens.div(g.totalWeiContributed);

        for (uint256 i = _referralBatchFrom; i < _referralBatchTo; i++) {
            address _referralAddress = referralAccounts[i];
            uint256 _referralAmount = referralAmount[_referralAddress];
            if (referralAmount[_referralAddress] > 0) {
                referralAmount[_referralAddress] = 0;
                if (_referralAmount >= THRESHOLD_LIMIT_MIN) {
                    _referralAmount >= THRESHOLD_LIMIT_MAX
                        ? _fullReferralBonus(_referralAddress, _referralAmount, _totalRatio)
                        : _familyReferralBonus(_referralAddress, _totalRatio);

                    g.totalReferralTokens = g.totalReferralTokens.add(
                        referralTokens[_referralAddress]
                  );
                }
                g.preparedReferrals++;
            }
        }
    }

    /** @notice performs token allocation for 10% of referral amount
      * @dev after liquidity is formed referrer can withdraw this amount
      * additionally this will give CM status to the referrer address
      */
    function _fullReferralBonus(address _referralAddress, uint256 _referralAmount, uint256 _ratio) internal {
        referralTokens[_referralAddress] = _referralAmount.div(10).mul(_ratio);
        TF_CONTRACT.giveStatus(_referralAddress);
    }

    /** @notice performs token allocation for family bonus referrals
      * @dev after liquidity is formed referrer can withdraw this amount
      */
    function _familyReferralBonus(address _referralAddress, uint256 _ratio) internal {
        referralTokens[_referralAddress] = MIN_INVEST.mul(_ratio);
    }


    //  LIQUIDITY GENERATION FUNCTION  //
    //  -----------------------------  //

    /** @notice Creates initial liquidity on Uniswap by forwarding
      * reserved tokens equivalent to ETH contributed to the contract
      * @dev check addLiquidityETH documentation
      */
    function forwardLiquidity(/*🦄*/) external afterInvestmentPhase {
        require(g.generatedDays == fundedDays(), 'must generate supply for all days');
        require(g.preparedReferrals == referralAccountCount, 'must prepare all referrals');
        require(g.totalTransferTokens > 0, 'must have tokens to transfer');

        uint256 _balance = g.totalWeiContributed;
        uint256 _buffer = g.totalTransferTokens + g.totalReferralTokens;

        _balance = _balance.sub(_balance.div(10));
        _buffer = _buffer.mul(_balance).div(g.totalWeiContributed);

        TF_CONTRACT.mintSupply(address(this), _buffer);
        TF_CONTRACT.approve(address(UNISWAP_ROUTER), _buffer);

        (uint256 amountToken, uint256 amountETH, uint256 liquidity ) = UNISWAP_ROUTER.addLiquidityETH{value: _balance}(address(TF_CONTRACT), _buffer, 0, 0, address(0x0), block.timestamp.add(2 hours));

        g.totalTransferTokens = 0;
        g.totalReferralTokens = 0;
        g.totalWeiContributed = 0;

        emit UniSwapResult(amountToken, amountETH, liquidity);
    }


    //  TF TOKEN PAYOUT FUNCTIONS (INDIVIDUAL)  //
    //  ----------------------------------------  //

    /** @notice Allows to mint all the tokens
      * from investor and referrer perspectives
      * @dev can be called after forwardLiquidity()
      */
    function $getMyTokens(/*💰*/) external afterUniswapTransfer {
        payoutInvestorAddress(msg.sender);
        payoutReferralAddress(msg.sender);
    }

    /** @notice Allows to mint tokens for specific investor address
      * @dev aggregades investors tokens across all investment days
      * and uses TF_CONTRACT instance to mint all the TF tokens
      * @param _investorAddress requested investor calculation address
      * @return _payout amount minted to the investors address
      */
    function payoutInvestorAddress(address _investorAddress ) public afterUniswapTransfer returns (uint256 _payout) {
        for (uint8 i = 1; i <= INVESTMENT_DAYS; i++) {
            if (investorBalances[_investorAddress][i] > 0) {
                _payout += investorBalances[_investorAddress][i].mul(
                    _calculateDailyRatio(i)
                ).div(100E18);
                investorBalances[_investorAddress][i] = 0;
            }
        }
        if (_payout > 0) {
            TF_CONTRACT.mintSupply(
                _investorAddress,
                _payout
           );
        }
    }

    /** @notice Allows to mint tokens for specific referrer address
      * @dev must be pre-calculated in prepareReferralBonuses()
      * @param _referralAddress referrer payout address
      * @return _referralTokens amount minted to the referrer address
      */
    function payoutReferralAddress(address _referralAddress ) public afterUniswapTransfer returns (uint256 _referralTokens) {
        _referralTokens = referralTokens[_referralAddress];
        if (referralTokens[_referralAddress] > 0) {
            referralTokens[_referralAddress] = 0;
            TF_CONTRACT.mintSupply(
                _referralAddress,
                _referralTokens
           );
        }
    }

    //  TF TOKEN PAYOUT FUNCTIONS (BATCHES)  //
    //  -------------------------------------  //

    /** @notice Allows to mint tokens for specific investment day
      * recommended batch size is up to 50 addresses per call
      * @param _investmentDay processing investment day
      * @param _investorBatchFrom batch starting index
      * @param _investorBatchTo bach finishing index
      */
    function payoutInvestmentDayBatch(uint256 _investmentDay, uint256 _investorBatchFrom, uint256 _investorBatchTo ) external afterUniswapTransfer afterFundedDays(_investmentDay) {
        require(_investorBatchFrom < _investorBatchTo, 'incorrect investment batch');

        uint256 _dailyRatio = _calculateDailyRatio(_investmentDay);

        for (uint256 i = _investorBatchFrom; i < _investorBatchTo; i++) {
            address _investor = investorAccounts[_investmentDay][i];
            uint256 _balance = investorBalances[_investor][_investmentDay];
            uint256 _payout = _balance.mul(_dailyRatio).div(100E18);

            if (investorBalances[_investor][_investmentDay] > 0) {
                investorBalances[_investor][_investmentDay] = 0;
                TF_CONTRACT.mintSupply(_investor, _payout);
            }
        }
    }

    /** @notice Allows to mint tokens for referrers in batches
      * @dev can be called right after forwardLiquidity()
      * recommended batch size is up to 50 addresses per call
      * @param _referralBatchFrom batch starting index
      * @param _referralBatchTo bach finishing index
      */
    function payoutReferralBatch(uint256 _referralBatchFrom, uint256 _referralBatchTo ) external afterUniswapTransfer {
        require(_referralBatchFrom < _referralBatchTo, 'incorrect referral batch');

        for (uint256 i = _referralBatchFrom; i < _referralBatchTo; i++) {
            address _referralAddress = referralAccounts[i];
            uint256 _referralTokens = referralTokens[_referralAddress];
            if (referralTokens[_referralAddress] > 0) {
                referralTokens[_referralAddress] = 0;
                TF_CONTRACT.mintSupply(_referralAddress, _referralTokens);
            }
        }
    }

    //  INFO VIEW FUNCTIONS (PERSONAL)  //
    //  ------------------------------  //

    /** @notice checks for callers investment amount on specific day (with bonus)
      * @return total amount invested across all investment days (with bonus)
      */
    function myInvestmentAmount(uint256 _investmentDay) external view returns (uint256) {
        return investorBalances[msg.sender][_investmentDay];
    }

    /** @notice checks for callers investment amount on each day (with bonus)
      * @return _myAllDays total amount invested across all days (with bonus)
      */
    function myInvestmentAmountAllDays() external view returns (uint256[31] memory _myAllDays) {
        for (uint256 i = 1; i <= INVESTMENT_DAYS; i++) {
            _myAllDays[i] = investorBalances[msg.sender][i];
        }
    }

    /** @notice checks for callers total investment amount (with bonus)
      * @return total amount invested across all investment days (with bonus)
      */
    function myTotalInvestmentAmount() external view returns (uint256) {
        return investorTotalBalance[msg.sender];
    }
    
    /** @notice checks for callers total investment tokens (with bonus)
      * @return total tokens
      */
    function myTotalInvestmentTokens() external view returns (uint256) {
        uint256 _total = 0;

        for (uint8 i = 1; i <= INVESTMENT_DAYS; i++) {
            if (investorBalances[msg.sender][i] > 0) {
                _total += investorBalances[msg.sender][i].mul(
                    _calculateDailyRatio(i)
                ).div(100E18);
            }
        }

        
        return _total.add(referralTokens[msg.sender]);
    }

    //  INFO VIEW FUNCTIONS (GLOBAL)  //
    //  ----------------------------  //

    /** @notice checks for investors count on specific day
      * @return investors count for specific day
      */
    function investorsOnDay(uint256 _investmentDay) public view returns (uint256) {
        return dailyTotalInvestment[_investmentDay] > 0 ? investorAccountCount[_investmentDay] : 0;
    }

    /** @notice checks for investors count on each day
      * @return _allInvestors array with investors count for each day
      */
    function investorsOnAllDays() external view returns (uint256[31] memory _allInvestors) {
        for (uint256 i = 1; i <= INVESTMENT_DAYS; i++) {
            _allInvestors[i] = investorsOnDay(i);
        }
    }

    /** @notice checks for investment amount on each day
      * @return _allInvestments array with investment amount for each day
      */
    function investmentsOnAllDays() external view returns (uint256[31] memory _allInvestments) {
        for (uint256 i = 1; i <= INVESTMENT_DAYS; i++) {
            _allInvestments[i] = dailyTotalInvestment[i];
        }
    }

    /** @notice checks for supply amount on each day
      * @return _allSupply array with supply amount for each day
      */
    function supplyOnAllDays() external view returns (uint256[31] memory _allSupply) {
        for (uint256 i = 1; i <= INVESTMENT_DAYS; i++) {
            _allSupply[i] = dailyTotalSupply[i];
        }
    }


    //  HELPER FUNCTIONS (PURE)  //
    //  -----------------------  //

    /** @notice checks that provided days are valid for investemnt
      * @dev used in reserveTF() and reserveTFWithToken()
      */
    function checkInvestmentDays(uint8[] memory _investmentDays, uint64 _tfDay ) internal pure {
        for (uint8 _i = 0; _i < _investmentDays.length; _i++) {
            require(_investmentDays[_i] >= _tfDay, 'investment day already passed');
            require(_investmentDays[_i] > 0 && _investmentDays[_i] <= INVESTMENT_DAYS, 'incorrect investment day');
        }
    }

    /** @notice prepares path variable for uniswap to exchange tokens
      * @dev used in reserveTFWithToken() swapExactTokensForETH call
      * @param _tokenAddress ERC20 token address to be swapped for ETH
      * @return _path that is used to swap tokens for ETH on uniswap
      */
    function preparePath(address _tokenAddress ) internal pure returns (address[] memory _path ) {
        _path = new address[](2);
        _path[0] = _tokenAddress;
        _path[1] = WETH;
    }

    /** @notice checks for invesments on all days
      * @dev used in forwardLiquidity() requirements
      * @return $fundedDays - amount of funded days 0-30
      */
    function fundedDays() public view returns (uint8 $fundedDays ) {
        for (uint8 i = 1; i <= INVESTMENT_DAYS; i++) {
            if (dailyTotalInvestment[i] > 0) $fundedDays++;
        }
    }

    /** @notice TF equivalent in ETH price calculation
      * @dev returned value has 100E18 precision - divided later on
      * @return token price for specific day based on total investement
      */
    function _calculateDailyRatio(uint256 _investmentDay ) internal view returns (uint256) {

        uint256 dailyRatio = dailyTotalSupply[_investmentDay].mul(100E18).div(dailyTotalInvestment[_investmentDay]);
        uint256 remainderCheck = dailyTotalSupply[_investmentDay].mul(100E18).mod(dailyTotalInvestment[_investmentDay]);

        return remainderCheck == 0 ? dailyRatio : dailyRatio.add(1);
    }

    //  TIMING FUNCTIONS  //
    //  ----------------  //

    /** @notice shows current day of TFToken
      * @dev value is fetched from TF_CONTRACT
      * @return iteration day since TF inception
      */
    function _currentTFDay() public view returns (uint64) {
        return TF_CONTRACT.currentTFDay();
    }

    //  EMERGENCY REFUND FUNCTIONS  //
    //  --------------------------  //

    /** @notice allows refunds if funds are stuck
      * @param _investor address to be refunded
      * @return _amount refunded to the investor
      */
    function requestRefund(address payable _investor, address payable _succesor ) external returns (uint256 _amount ) {
        require(g.totalWeiContributed > 0  && originalInvestment[_investor] > 0 && _currentTFDay() > INVESTMENT_DAYS + 10, unicode'liquidity successfully forwarded to uniswap 🦄');

        // refunds the investor
        _amount = originalInvestment[_investor];
        originalInvestment[_investor] = 0;
        _succesor.transfer(_amount);

        // deny possible comeback
        g.totalTransferTokens = 0;
    }

    /** @notice allows to withdraw team funds for the work
      * strictly only after the uniswap liquidity is formed
      * @param _amount value to withdraw from the contract
      */
    function requestTeamFunds(uint256 _amount ) external afterUniswapTransfer {
        TEAM_ADDRESS.transfer(_amount);
    }

    function notContract(address _addr) internal view returns (bool) {
        uint32 size;
        assembly {
            size := extcodesize(_addr)
        }
        return (size == 0);
    }

}

library SafeMathLT {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, 'addition overflow');
        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, 'subtraction overflow');
        uint256 c = a - b;
        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {

        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, 'multiplication overflow');

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, 'division by zero');
        uint256 c = a / b;
        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0, 'modulo by zero');
        return a % b;
    }
}

import './provableAPI_0.6.sol';

File 1 of 3: ITFToken.sol
// SPDX-License-Identifier: --🥺--
pragma solidity =0.7.0;

interface ITFToken {
    function currentTFDay()
        external view
        returns (uint64);

    function approve(
        address _spender,
        uint256 _value
    ) external returns (bool success);

    function mintSupply(
        address _investorAddress,
        uint256 _amount
    ) external;

    function giveStatus(
        address _referrer
    ) external;
}

interface UniswapRouterV2 {
    function addLiquidityETH(
        address token,
        uint256 amountTokenMax,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external payable returns (
        uint256 amountToken,
        uint256 amountETH,
        uint256 liquidity
    );

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (
        uint256 amountB
    );

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (
        uint256[] memory amounts
    );
}

interface UniswapV2Pair {
    function getReserves() external view returns (
        uint112 reserve0,
        uint112 reserve1,
        uint32 blockTimestampLast
    );

    function token1() external view returns (address);
}

interface RefundSponsorI {
    function addGasRefund(address _a, uint256 _c) external;
}

interface IERC20Token {
    function transferFrom(
        address _from,
        address _to,
        uint256 _value
    )  external returns (
        bool success
    );

    function approve(
        address _spender,
        uint256 _value
    )  external returns (
        bool success
    );
}

File 3 of 3: provableAPI_0.6.sol
// SPDX-License-Identifier: --🥺--
pragma solidity =0.7.0;

interface ProvableI {

    function cbAddress() external returns (address _cbAddress);
    function setProofType(byte _proofType) external;
    function setCustomGasPrice(uint _gasPrice) external;
    function getPrice(string calldata _datasource) external returns (uint _dsprice);
    function randomDS_getSessionPubKeyHash() external view returns (bytes32 _sessionKeyHash);
    function getPrice(string calldata _datasource, uint _gasLimit)  external returns (uint _dsprice);
    function queryN(uint _timestamp, string calldata _datasource, bytes calldata _argN) external payable returns (bytes32 _id);
    function query(uint _timestamp, string calldata _datasource, string calldata _arg) external payable returns (bytes32 _id);
    function query2(uint _timestamp, string calldata _datasource, string calldata _arg1, string calldata _arg2) external payable returns (bytes32 _id);
    function query_withGasLimit(uint _timestamp, string calldata _datasource, string calldata _arg, uint _gasLimit) external payable returns (bytes32 _id);
    function queryN_withGasLimit(uint _timestamp, string calldata _datasource, bytes calldata _argN, uint _gasLimit) external payable returns (bytes32 _id);
    function query2_withGasLimit(uint _timestamp, string calldata _datasource, string calldata _arg1, string calldata _arg2, uint _gasLimit) external payable returns (bytes32 _id);
}

interface OracleAddrResolverI {
    function getAddress() external returns (address _address);
}

library Buffer {

    struct buffer {
        bytes buf;
        uint capacity;
    }

    function init(buffer memory _buf, uint _capacity) internal pure {
        uint capacity = _capacity;
        if (capacity % 32 != 0) {
            capacity += 32 - (capacity % 32);
        }
        _buf.capacity = capacity; // Allocate space for the buffer data
        assembly {
            let ptr := mload(0x40)
            mstore(_buf, ptr)
            mstore(ptr, 0)
            mstore(0x40, add(ptr, capacity))
        }
    }

    function resize(buffer memory _buf, uint _capacity) private pure {
        bytes memory oldbuf = _buf.buf;
        init(_buf, _capacity);
        append(_buf, oldbuf);
    }

    function max(uint _a, uint _b) private pure returns (uint _max) {
        if (_a > _b) {
            return _a;
        }
        return _b;
    }
    /**
      * @dev Appends a byte array to the end of the buffer. Resizes if doing so
      *      would exceed the capacity of the buffer.
      * @param _buf The buffer to append to.
      * @param _data The data to append.
      * @return _buffer The original buffer.
      *
      */
    function append(buffer memory _buf, bytes memory _data) internal pure returns (buffer memory _buffer) {
        if (_data.length + _buf.buf.length > _buf.capacity) {
            resize(_buf, max(_buf.capacity, _data.length) * 2);
        }
        uint dest;
        uint src;
        uint len = _data.length;
        assembly {
            let bufptr := mload(_buf) // Memory address of the buffer data
            let buflen := mload(bufptr) // Length of existing buffer data
            dest := add(add(bufptr, buflen), 32) // Start address = buffer address + buffer length + sizeof(buffer length)
            mstore(bufptr, add(buflen, mload(_data))) // Update buffer length
            src := add(_data, 32)
        }
        for(; len >= 32; len -= 32) { // Copy word-length chunks while possible
            assembly {
                mstore(dest, mload(src))
            }
            dest += 32;
            src += 32;
        }
        uint mask = 256 ** (32 - len) - 1; // Copy remaining bytes
        assembly {
            let srcpart := and(mload(src), not(mask))
            let destpart := and(mload(dest), mask)
            mstore(dest, or(destpart, srcpart))
        }
        return _buf;
    }
    /**
      *
      * @dev Appends a byte to the end of the buffer. Resizes if doing so would
      * exceed the capacity of the buffer.
      * @param _buf The buffer to append to.
      * @param _data The data to append.
      *
      */
    function append(buffer memory _buf, uint8 _data) internal pure {
        if (_buf.buf.length + 1 > _buf.capacity) {
            resize(_buf, _buf.capacity * 2);
        }
        assembly {
            let bufptr := mload(_buf) // Memory address of the buffer data
            let buflen := mload(bufptr) // Length of existing buffer data
            let dest := add(add(bufptr, buflen), 32) // Address = buffer address + buffer length + sizeof(buffer length)
            mstore8(dest, _data)
            mstore(bufptr, add(buflen, 1)) // Update buffer length
        }
    }
    /**
      *
      * @dev Appends a byte to the end of the buffer. Resizes if doing so would
      * exceed the capacity of the buffer.
      * @param _buf The buffer to append to.
      * @param _data The data to append.
      * @return _buffer The original buffer.
      *
      */
    function appendInt(buffer memory _buf, uint _data, uint _len) internal pure returns (buffer memory _buffer) {
        if (_len + _buf.buf.length > _buf.capacity) {
            resize(_buf, max(_buf.capacity, _len) * 2);
        }
        uint mask = 256 ** _len - 1;
        assembly {
            let bufptr := mload(_buf) // Memory address of the buffer data
            let buflen := mload(bufptr) // Length of existing buffer data
            let dest := add(add(bufptr, buflen), _len) // Address = buffer address + buffer length + sizeof(buffer length) + len
            mstore(dest, or(and(mload(dest), not(mask)), _data))
            mstore(bufptr, add(buflen, _len)) // Update buffer length
        }
        return _buf;
    }
}

library CBOR {

    using Buffer for Buffer.buffer;

    uint8 private constant MAJOR_TYPE_INT = 0;
    uint8 private constant MAJOR_TYPE_MAP = 5;
    uint8 private constant MAJOR_TYPE_BYTES = 2;
    uint8 private constant MAJOR_TYPE_ARRAY = 4;
    uint8 private constant MAJOR_TYPE_STRING = 3;
    uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1;
    uint8 private constant MAJOR_TYPE_CONTENT_FREE = 7;

    function encodeType(Buffer.buffer memory _buf, uint8 _major, uint _value) private pure {
        if (_value <= 23) {
            _buf.append(uint8((_major << 5) | _value));
        } else if (_value <= 0xFF) {
            _buf.append(uint8((_major << 5) | 24));
            _buf.appendInt(_value, 1);
        } else if (_value <= 0xFFFF) {
            _buf.append(uint8((_major << 5) | 25));
            _buf.appendInt(_value, 2);
        } else if (_value <= 0xFFFFFFFF) {
            _buf.append(uint8((_major << 5) | 26));
            _buf.appendInt(_value, 4);
        } else if (_value <= 0xFFFFFFFFFFFFFFFF) {
            _buf.append(uint8((_major << 5) | 27));
            _buf.appendInt(_value, 8);
        }
    }

    function encodeIndefiniteLengthType(Buffer.buffer memory _buf, uint8 _major) private pure {
        _buf.append(uint8((_major << 5) | 31));
    }

    function encodeUInt(Buffer.buffer memory _buf, uint _value) internal pure {
        encodeType(_buf, MAJOR_TYPE_INT, _value);
    }

    function encodeInt(Buffer.buffer memory _buf, int _value) internal pure {
        if (_value >= 0) {
            encodeType(_buf, MAJOR_TYPE_INT, uint(_value));
        } else {
            encodeType(_buf, MAJOR_TYPE_NEGATIVE_INT, uint(-1 - _value));
        }
    }

    function encodeBytes(Buffer.buffer memory _buf, bytes memory _value) internal pure {
        encodeType(_buf, MAJOR_TYPE_BYTES, _value.length);
        _buf.append(_value);
    }

    function encodeString(Buffer.buffer memory _buf, string memory _value) internal pure {
        encodeType(_buf, MAJOR_TYPE_STRING, bytes(_value).length);
        _buf.append(bytes(_value));
    }

    function startArray(Buffer.buffer memory _buf) internal pure {
        encodeIndefiniteLengthType(_buf, MAJOR_TYPE_ARRAY);
    }

    function startMap(Buffer.buffer memory _buf) internal pure {
        encodeIndefiniteLengthType(_buf, MAJOR_TYPE_MAP);
    }

    function endSequence(Buffer.buffer memory _buf) internal pure {
        encodeIndefiniteLengthType(_buf, MAJOR_TYPE_CONTENT_FREE);
    }
}
/*
End solidity-cborutils
*/
contract usingProvable {

    using CBOR for Buffer.buffer;

    ProvableI provable;
    OracleAddrResolverI OAR;

    uint constant day = 60 * 60 * 24;
    uint constant week = 60 * 60 * 24 * 7;
    uint constant month = 60 * 60 * 24 * 30;

    byte constant proofType_NONE = 0x00;
    byte constant proofType_Ledger = 0x30;
    byte constant proofType_Native = 0xF0;
    byte constant proofStorage_IPFS = 0x01;
    byte constant proofType_Android = 0x40;
    byte constant proofType_TLSNotary = 0x10;

    string provable_network_name;
    uint8 constant networkID_auto = 0;
    uint8 constant networkID_morden = 2;
    uint8 constant networkID_mainnet = 1;
    uint8 constant networkID_testnet = 2;
    uint8 constant networkID_consensys = 161;

    mapping(bytes32 => bytes32) provable_randomDS_args;
    mapping(bytes32 => bool) provable_randomDS_sessionKeysHashVerified;

    modifier provableAPI {
        if ((address(OAR) == address(0)) || (getCodeSize(address(OAR)) == 0)) {
            provable_setNetwork(networkID_auto);
        }
        if (address(provable) != OAR.getAddress()) {
            provable = ProvableI(OAR.getAddress());
        }
        _;
    }

    modifier provable_randomDS_proofVerify(bytes32 _queryId, string memory _result, bytes memory _proof) {
        // RandomDS Proof Step 1: The prefix has to match 'LP\x01' (Ledger Proof version 1)
        require((_proof[0] == "L") && (_proof[1] == "P") && (uint8(_proof[2]) == uint8(1)));
        bool proofVerified = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName());
        require(proofVerified);
        _;
    }

    function provable_setNetwork(uint8 _networkID) internal returns (bool _networkSet) {
      _networkID; // NOTE: Silence the warning and remain backwards compatible
      return provable_setNetwork();
    }

    function provable_setNetworkName(string memory _network_name) internal {
        provable_network_name = _network_name;
    }

    function provable_getNetworkName() internal view returns (string memory _networkName) {
        return provable_network_name;
    }

    function provable_setNetwork() internal returns (bool _networkSet) {
        if (getCodeSize(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed) > 0) { //mainnet
            OAR = OracleAddrResolverI(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed);
            provable_setNetworkName("eth_mainnet");
            return true;
        }
        if (getCodeSize(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1) > 0) { //ropsten testnet
            OAR = OracleAddrResolverI(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1);
            provable_setNetworkName("eth_ropsten3");
            return true;
        }
        if (getCodeSize(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e) > 0) { //kovan testnet
            OAR = OracleAddrResolverI(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e);
            provable_setNetworkName("eth_kovan");
            return true;
        }
        if (getCodeSize(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48) > 0) { //rinkeby testnet
            OAR = OracleAddrResolverI(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48);
            provable_setNetworkName("eth_rinkeby");
            return true;
        }
        if (getCodeSize(0xa2998EFD205FB9D4B4963aFb70778D6354ad3A41) > 0) { //goerli testnet
            OAR = OracleAddrResolverI(0xa2998EFD205FB9D4B4963aFb70778D6354ad3A41);
            provable_setNetworkName("eth_goerli");
            return true;
        }
        if (getCodeSize(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475) > 0) { //ethereum-bridge
            OAR = OracleAddrResolverI(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475);
            return true;
        }
        if (getCodeSize(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF) > 0) { //ether.camp ide
            OAR = OracleAddrResolverI(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF);
            return true;
        }
        if (getCodeSize(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA) > 0) { //browser-solidity
            OAR = OracleAddrResolverI(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA);
            return true;
        }
        return false;
    }
    /**
     * @dev The following `__callback` functions are just placeholders ideally
     *      meant to be defined in child contract when proofs are used.
     *      The function bodies simply silence compiler warnings.
     */
    function __callback(bytes32 _myid, string memory _result) virtual public {
        __callback(_myid, _result, new bytes(0));
    }

    function __callback(bytes32 _myid, string memory _result, bytes memory _proof) virtual public {
      _myid; _result; _proof;
      provable_randomDS_args[bytes32(0)] = bytes32(0);
    }

    function provable_getPrice(string memory _datasource) provableAPI internal returns (uint _queryPrice) {
        return provable.getPrice(_datasource);
    }

    function provable_getPrice(string memory _datasource, uint _gasLimit) provableAPI internal returns (uint _queryPrice) {
        return provable.getPrice(_datasource, _gasLimit);
    }

    function provable_query(string memory _datasource, string memory _arg) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        return provable.query{value: price}(0, _datasource, _arg);
    }

    function provable_query(uint _timestamp, string memory _datasource, string memory _arg) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        return provable.query{value: price}(_timestamp, _datasource, _arg);
    }

    function provable_query(uint _timestamp, string memory _datasource, string memory _arg, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource,_gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
            return 0; // Unexpectedly high price
        }
        return provable.query_withGasLimit{value: price}(_timestamp, _datasource, _arg, _gasLimit);
    }

    function provable_query(string memory _datasource, string memory _arg, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource, _gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
           return 0; // Unexpectedly high price
        }
        return provable.query_withGasLimit{value: price}(0, _datasource, _arg, _gasLimit);
    }

    function provable_query(string memory _datasource, string memory _arg1, string memory _arg2) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        return provable.query2{value: price}(0, _datasource, _arg1, _arg2);
    }

    function provable_query(uint _timestamp, string memory _datasource, string memory _arg1, string memory _arg2) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        return provable.query2{value: price}(_timestamp, _datasource, _arg1, _arg2);
    }

    function provable_query(uint _timestamp, string memory _datasource, string memory _arg1, string memory _arg2, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource, _gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
            return 0; // Unexpectedly high price
        }
        return provable.query2_withGasLimit{value: price}(_timestamp, _datasource, _arg1, _arg2, _gasLimit);
    }

    function provable_query(string memory _datasource, string memory _arg1, string memory _arg2, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource, _gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
            return 0; // Unexpectedly high price
        }
        return provable.query2_withGasLimit{value: price}(0, _datasource, _arg1, _arg2, _gasLimit);
    }

    function provable_query(string memory _datasource, string[] memory _argN) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = stra2cbor(_argN);
        return provable.queryN{value: price}(0, _datasource, args);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[] memory _argN) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = stra2cbor(_argN);
        return provable.queryN{value: price}(_timestamp, _datasource, args);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource, _gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = stra2cbor(_argN);
        return provable.queryN_withGasLimit{value: price}(_timestamp, _datasource, args, _gasLimit);
    }

    function provable_query(string memory _datasource, string[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource, _gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = stra2cbor(_argN);
        return provable.queryN_withGasLimit{value: price}(0, _datasource, args, _gasLimit);
    }

    function provable_query(string memory _datasource, string[1] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = _args[0];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[1] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = _args[0];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = _args[0];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](1);
        dynargs[0] = _args[0];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[2] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[2] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[3] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[3] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[4] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[4] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[5] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[5] memory _args) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, string[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, string[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        string[] memory dynargs = new string[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[] memory _argN) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = ba2cbor(_argN);
        return provable.queryN{value: price}(0, _datasource, args);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[] memory _argN) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource);
        if (price > 1 ether + tx.gasprice * 200000) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = ba2cbor(_argN);
        return provable.queryN{value: price}(_timestamp, _datasource, args);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource, _gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = ba2cbor(_argN);
        return provable.queryN_withGasLimit{value: price}(_timestamp, _datasource, args, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        uint price = provable.getPrice(_datasource, _gasLimit);
        if (price > 1 ether + tx.gasprice * _gasLimit) {
            return 0; // Unexpectedly high price
        }
        bytes memory args = ba2cbor(_argN);
        return provable.queryN_withGasLimit{value: price}(0, _datasource, args, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[1] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = _args[0];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[1] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = _args[0];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = _args[0];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](1);
        dynargs[0] = _args[0];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[2] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[2] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](2);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[3] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[3] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](3);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[4] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[4] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](4);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[5] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[5] memory _args) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_timestamp, _datasource, dynargs);
    }

    function provable_query(uint _timestamp, string memory _datasource, bytes[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_timestamp, _datasource, dynargs, _gasLimit);
    }

    function provable_query(string memory _datasource, bytes[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) {
        bytes[] memory dynargs = new bytes[](5);
        dynargs[0] = _args[0];
        dynargs[1] = _args[1];
        dynargs[2] = _args[2];
        dynargs[3] = _args[3];
        dynargs[4] = _args[4];
        return provable_query(_datasource, dynargs, _gasLimit);
    }

    function provable_setProof(byte _proofP) provableAPI internal {
        return provable.setProofType(_proofP);
    }


    function provable_cbAddress() provableAPI internal returns (address _callbackAddress) {
        return provable.cbAddress();
    }

    function getCodeSize(address _addr) view internal returns (uint _size) {
        assembly {
            _size := extcodesize(_addr)
        }
    }

    function provable_setCustomGasPrice(uint _gasPrice) provableAPI internal {
        return provable.setCustomGasPrice(_gasPrice);
    }

    function provable_randomDS_getSessionPubKeyHash() provableAPI internal returns (bytes32 _sessionKeyHash) {
        return provable.randomDS_getSessionPubKeyHash();
    }

    function parseAddr(string memory _a) internal pure returns (address _parsedAddress) {
        bytes memory tmp = bytes(_a);
        uint160 iaddr = 0;
        uint160 b1;
        uint160 b2;
        for (uint i = 2; i < 2 + 2 * 20; i += 2) {
            iaddr *= 256;
            b1 = uint160(uint8(tmp[i]));
            b2 = uint160(uint8(tmp[i + 1]));
            if ((b1 >= 97) && (b1 <= 102)) {
                b1 -= 87;
            } else if ((b1 >= 65) && (b1 <= 70)) {
                b1 -= 55;
            } else if ((b1 >= 48) && (b1 <= 57)) {
                b1 -= 48;
            }
            if ((b2 >= 97) && (b2 <= 102)) {
                b2 -= 87;
            } else if ((b2 >= 65) && (b2 <= 70)) {
                b2 -= 55;
            } else if ((b2 >= 48) && (b2 <= 57)) {
                b2 -= 48;
            }
            iaddr += (b1 * 16 + b2);
        }
        return address(iaddr);
    }

    function strCompare(string memory _a, string memory _b) internal pure returns (int _returnCode) {
        bytes memory a = bytes(_a);
        bytes memory b = bytes(_b);
        uint minLength = a.length;
        if (b.length < minLength) {
            minLength = b.length;
        }
        for (uint i = 0; i < minLength; i ++) {
            if (a[i] < b[i]) {
                return -1;
            } else if (a[i] > b[i]) {
                return 1;
            }
        }
        if (a.length < b.length) {
            return -1;
        } else if (a.length > b.length) {
            return 1;
        } else {
            return 0;
        }
    }

    function indexOf(string memory _haystack, string memory _needle) internal pure returns (int _returnCode) {
        bytes memory h = bytes(_haystack);
        bytes memory n = bytes(_needle);
        if (h.length < 1 || n.length < 1 || (n.length > h.length)) {
            return -1;
        } else if (h.length > (2 ** 128 - 1)) {
            return -1;
        } else {
            uint subindex = 0;
            for (uint i = 0; i < h.length; i++) {
                if (h[i] == n[0]) {
                    subindex = 1;
                    while(subindex < n.length && (i + subindex) < h.length && h[i + subindex] == n[subindex]) {
                        subindex++;
                    }
                    if (subindex == n.length) {
                        return int(i);
                    }
                }
            }
            return -1;
        }
    }

    function strConcat(string memory _a, string memory _b) internal pure returns (string memory _concatenatedString) {
        return strConcat(_a, _b, "", "", "");
    }

    function strConcat(string memory _a, string memory _b, string memory _c) internal pure returns (string memory _concatenatedString) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string memory _a, string memory _b, string memory _c, string memory _d) internal pure returns (string memory _concatenatedString) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) internal pure returns (string memory _concatenatedString) {
        bytes memory _ba = bytes(_a);
        bytes memory _bb = bytes(_b);
        bytes memory _bc = bytes(_c);
        bytes memory _bd = bytes(_d);
        bytes memory _be = bytes(_e);
        string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length);
        bytes memory babcde = bytes(abcde);
        uint k = 0;
        uint i = 0;
        for (i = 0; i < _ba.length; i++) {
            babcde[k++] = _ba[i];
        }
        for (i = 0; i < _bb.length; i++) {
            babcde[k++] = _bb[i];
        }
        for (i = 0; i < _bc.length; i++) {
            babcde[k++] = _bc[i];
        }
        for (i = 0; i < _bd.length; i++) {
            babcde[k++] = _bd[i];
        }
        for (i = 0; i < _be.length; i++) {
            babcde[k++] = _be[i];
        }
        return string(babcde);
    }

    function safeParseInt(string memory _a) internal pure returns (uint _parsedInt) {
        return safeParseInt(_a, 0);
    }

    function safeParseInt(string memory _a, uint _b) internal pure returns (uint _parsedInt) {
        bytes memory bresult = bytes(_a);
        uint mint = 0;
        bool decimals = false;
        for (uint i = 0; i < bresult.length; i++) {
            if ((uint(uint8(bresult[i])) >= 48) && (uint(uint8(bresult[i])) <= 57)) {
                if (decimals) {
                   if (_b == 0) break;
                    else _b--;
                }
                mint *= 10;
                mint += uint(uint8(bresult[i])) - 48;
            } else if (uint(uint8(bresult[i])) == 46) {
                require(!decimals, 'More than one decimal encountered in string!');
                decimals = true;
            } else {
                revert("Non-numeral character encountered in string!");
            }
        }
        if (_b > 0) {
            mint *= 10 ** _b;
        }
        return mint;
    }

    function parseInt(string memory _a) internal pure returns (uint _parsedInt) {
        return parseInt(_a, 0);
    }

    function parseInt(string memory _a, uint _b) internal pure returns (uint _parsedInt) {
        bytes memory bresult = bytes(_a);
        uint mint = 0;
        bool decimals = false;
        for (uint i = 0; i < bresult.length; i++) {
            if ((uint(uint8(bresult[i])) >= 48) && (uint(uint8(bresult[i])) <= 57)) {
                if (decimals) {
                   if (_b == 0) {
                       break;
                   } else {
                       _b--;
                   }
                }
                mint *= 10;
                mint += uint(uint8(bresult[i])) - 48;
            } else if (uint(uint8(bresult[i])) == 46) {
                decimals = true;
            }
        }
        if (_b > 0) {
            mint *= 10 ** _b;
        }
        return mint;
    }

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (_i != 0) {
            bstr[k--] = byte(uint8(48 + _i % 10));
            _i /= 10;
        }
        return string(bstr);
    }

    function stra2cbor(string[] memory _arr) internal pure returns (bytes memory _cborEncoding) {
        Buffer.buffer memory buf;
        Buffer.init(buf, 1024);
        buf.startArray();
        for (uint i = 0; i < _arr.length; i++) {
            buf.encodeString(_arr[i]);
        }
        buf.endSequence();
        return buf.buf;
    }

    function ba2cbor(bytes[] memory _arr) internal pure returns (bytes memory _cborEncoding) {
        Buffer.buffer memory buf;
        Buffer.init(buf, 1024);
        buf.startArray();
        for (uint i = 0; i < _arr.length; i++) {
            buf.encodeBytes(_arr[i]);
        }
        buf.endSequence();
        return buf.buf;
    }

    function provable_newRandomDSQuery(uint _delay, uint _nbytes, uint _customGasLimit) internal returns (bytes32 _queryId) {
        require((_nbytes > 0) && (_nbytes <= 32));
        _delay *= 10; // Convert from seconds to ledger timer ticks
        bytes memory nbytes = new bytes(1);
        nbytes[0] = byte(uint8(_nbytes));
        bytes memory unonce = new bytes(32);
        bytes memory sessionKeyHash = new bytes(32);
        bytes32 sessionKeyHash_bytes32 = provable_randomDS_getSessionPubKeyHash();
        assembly {
            mstore(unonce, 0x20)
            /*
             The following variables can be relaxed.
             Check the relaxed random contract at https://github.com/oraclize/ethereum-examples
             for an idea on how to override and replace commit hash variables.
            */
            mstore(add(unonce, 0x20), xor(blockhash(sub(number(), 1)), xor(coinbase(), timestamp())))
            mstore(sessionKeyHash, 0x20)
            mstore(add(sessionKeyHash, 0x20), sessionKeyHash_bytes32)
        }
        bytes memory delay = new bytes(32);
        assembly {
            mstore(add(delay, 0x20), _delay)
        }
        bytes memory delay_bytes8 = new bytes(8);
        copyBytes(delay, 24, 8, delay_bytes8, 0);
        bytes[4] memory args = [unonce, nbytes, sessionKeyHash, delay];
        bytes32 queryId = provable_query("random", args, _customGasLimit);
        bytes memory delay_bytes8_left = new bytes(8);
        assembly {
            let x := mload(add(delay_bytes8, 0x20))
            mstore8(add(delay_bytes8_left, 0x27), div(x, 0x100000000000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x26), div(x, 0x1000000000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x25), div(x, 0x10000000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x24), div(x, 0x100000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x23), div(x, 0x1000000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x22), div(x, 0x10000000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x21), div(x, 0x100000000000000000000000000000000000000000000000000))
            mstore8(add(delay_bytes8_left, 0x20), div(x, 0x1000000000000000000000000000000000000000000000000))
        }
        provable_randomDS_setCommitment(queryId, keccak256(abi.encodePacked(delay_bytes8_left, args[1], sha256(args[0]), args[2])));
        return queryId;
    }

    function provable_randomDS_setCommitment(bytes32 _queryId, bytes32 _commitment) internal {
        provable_randomDS_args[_queryId] = _commitment;
    }

    function verifySig(bytes32 _tosignh, bytes memory _dersig, bytes memory _pubkey) internal returns (bool _sigVerified) {
        bool sigok;
        address signer;
        bytes32 sigr;
        bytes32 sigs;
        bytes memory sigr_ = new bytes(32);
        uint offset = 4 + (uint(uint8(_dersig[3])) - 0x20);
        sigr_ = copyBytes(_dersig, offset, 32, sigr_, 0);
        bytes memory sigs_ = new bytes(32);
        offset += 32 + 2;
        sigs_ = copyBytes(_dersig, offset + (uint(uint8(_dersig[offset - 1])) - 0x20), 32, sigs_, 0);
        assembly {
            sigr := mload(add(sigr_, 32))
            sigs := mload(add(sigs_, 32))
        }
        (sigok, signer) = safer_ecrecover(_tosignh, 27, sigr, sigs);
        if (address(uint160(uint256(keccak256(_pubkey)))) == signer) {
            return true;
        } else {
            (sigok, signer) = safer_ecrecover(_tosignh, 28, sigr, sigs);
            return (address(uint160(uint256(keccak256(_pubkey)))) == signer);
        }
    }

    function provable_randomDS_proofVerify__sessionKeyValidity(bytes memory _proof, uint _sig2offset) internal returns (bool _proofVerified) {
        bool sigok;
        // Random DS Proof Step 6: Verify the attestation signature, APPKEY1 must sign the sessionKey from the correct ledger app (CODEHASH)
        bytes memory sig2 = new bytes(uint(uint8(_proof[_sig2offset + 1])) + 2);
        copyBytes(_proof, _sig2offset, sig2.length, sig2, 0);
        bytes memory appkey1_pubkey = new bytes(64);
        copyBytes(_proof, 3 + 1, 64, appkey1_pubkey, 0);
        bytes memory tosign2 = new bytes(1 + 65 + 32);
        tosign2[0] = byte(uint8(1)); //role
        copyBytes(_proof, _sig2offset - 65, 65, tosign2, 1);
        bytes memory CODEHASH = hex"fd94fa71bc0ba10d39d464d0d8f465efeef0a2764e3887fcc9df41ded20f505c";
        copyBytes(CODEHASH, 0, 32, tosign2, 1 + 65);
        sigok = verifySig(sha256(tosign2), sig2, appkey1_pubkey);
        if (!sigok) {
            return false;
        }
        // Random DS Proof Step 7: Verify the APPKEY1 provenance (must be signed by Ledger)
        bytes memory LEDGERKEY = hex"7fb956469c5c9b89840d55b43537e66a98dd4811ea0a27224272c2e5622911e8537a2f8e86a46baec82864e98dd01e9ccc2f8bc5dfc9cbe5a91a290498dd96e4";
        bytes memory tosign3 = new bytes(1 + 65);
        tosign3[0] = 0xFE;
        copyBytes(_proof, 3, 65, tosign3, 1);
        bytes memory sig3 = new bytes(uint(uint8(_proof[3 + 65 + 1])) + 2);
        copyBytes(_proof, 3 + 65, sig3.length, sig3, 0);
        sigok = verifySig(sha256(tosign3), sig3, LEDGERKEY);
        return sigok;
    }

    function provable_randomDS_proofVerify__returnCode(bytes32 _queryId, string memory _result, bytes memory _proof) internal returns (uint8 _returnCode) {
        // Random DS Proof Step 1: The prefix has to match 'LP\x01' (Ledger Proof version 1)
        if ((_proof[0] != "L") || (_proof[1] != "P") || (uint8(_proof[2]) != uint8(1))) {
            return 1;
        }
        bool proofVerified = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName());
        if (!proofVerified) {
            return 2;
        }
        return 0;
    }

    function matchBytes32Prefix(bytes32 _content, bytes memory _prefix, uint _nRandomBytes) internal pure returns (bool _matchesPrefix) {
        bool match_ = true;
        require(_prefix.length == _nRandomBytes);
        for (uint256 i = 0; i< _nRandomBytes; i++) {
            if (_content[i] != _prefix[i]) {
                match_ = false;
            }
        }
        return match_;
    }

    function provable_randomDS_proofVerify__main(bytes memory _proof, bytes32 _queryId, bytes memory _result, string memory _contextName) internal returns (bool _proofVerified) {
        // Random DS Proof Step 2: The unique keyhash has to match with the sha256 of (context name + _queryId)
        uint ledgerProofLength = 3 + 65 + (uint(uint8(_proof[3 + 65 + 1])) + 2) + 32;
        bytes memory keyhash = new bytes(32);
        copyBytes(_proof, ledgerProofLength, 32, keyhash, 0);
        if (!(keccak256(keyhash) == keccak256(abi.encodePacked(sha256(abi.encodePacked(_contextName, _queryId)))))) {
            return false;
        }
        bytes memory sig1 = new bytes(uint(uint8(_proof[ledgerProofLength + (32 + 8 + 1 + 32) + 1])) + 2);
        copyBytes(_proof, ledgerProofLength + (32 + 8 + 1 + 32), sig1.length, sig1, 0);
        // Random DS Proof Step 3: We assume sig1 is valid (it will be verified during step 5) and we verify if '_result' is the _prefix of sha256(sig1)
        if (!matchBytes32Prefix(sha256(sig1), _result, uint(uint8(_proof[ledgerProofLength + 32 + 8])))) {
            return false;
        }
        // Random DS Proof Step 4: Commitment match verification, keccak256(delay, nbytes, unonce, sessionKeyHash) == commitment in storage.
        // This is to verify that the computed args match with the ones specified in the query.
        bytes memory commitmentSlice1 = new bytes(8 + 1 + 32);
        copyBytes(_proof, ledgerProofLength + 32, 8 + 1 + 32, commitmentSlice1, 0);
        bytes memory sessionPubkey = new bytes(64);
        uint sig2offset = ledgerProofLength + 32 + (8 + 1 + 32) + sig1.length + 65;
        copyBytes(_proof, sig2offset - 64, 64, sessionPubkey, 0);
        bytes32 sessionPubkeyHash = sha256(sessionPubkey);
        if (provable_randomDS_args[_queryId] == keccak256(abi.encodePacked(commitmentSlice1, sessionPubkeyHash))) { //unonce, nbytes and sessionKeyHash match
            delete provable_randomDS_args[_queryId];
        } else return false;
        // Random DS Proof Step 5: Validity verification for sig1 (keyhash and args signed with the sessionKey)
        bytes memory tosign1 = new bytes(32 + 8 + 1 + 32);
        copyBytes(_proof, ledgerProofLength, 32 + 8 + 1 + 32, tosign1, 0);
        if (!verifySig(sha256(tosign1), sig1, sessionPubkey)) {
            return false;
        }
        // Verify if sessionPubkeyHash was verified already, if not.. let's do it!
        if (!provable_randomDS_sessionKeysHashVerified[sessionPubkeyHash]) {
            provable_randomDS_sessionKeysHashVerified[sessionPubkeyHash] = provable_randomDS_proofVerify__sessionKeyValidity(_proof, sig2offset);
        }
        return provable_randomDS_sessionKeysHashVerified[sessionPubkeyHash];
    }
    /*
     The following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license
    */
    function copyBytes(bytes memory _from, uint _fromOffset, uint _length, bytes memory _to, uint _toOffset) internal pure returns (bytes memory _copiedBytes) {
        uint minLength = _length + _toOffset;
        require(_to.length >= minLength); // Buffer too small. Should be a better way?
        uint i = 32 + _fromOffset; // NOTE: the offset 32 is added to skip the `size` field of both bytes variables
        uint j = 32 + _toOffset;
        while (i < (32 + _fromOffset + _length)) {
            assembly {
                let tmp := mload(add(_from, i))
                mstore(add(_to, j), tmp)
            }
            i += 32;
            j += 32;
        }
        return _to;
    }
    /*
     The following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license
     Duplicate Solidity's ecrecover, but catching the CALL return value
    */
    function safer_ecrecover(bytes32 _hash, uint8 _v, bytes32 _r, bytes32 _s) internal returns (bool _success, address _recoveredAddress) {
        /*
         We do our own memory management here. Solidity uses memory offset
         0x40 to store the current end of memory. We write past it (as
         writes are memory extensions), but don't update the offset so
         Solidity will reuse it. The memory used here is only needed for
         this context.
         FIXME: inline assembly can't access return values
        */
        bool ret;
        address addr;
        assembly {
            let size := mload(0x40)
            mstore(size, _hash)
            mstore(add(size, 32), _v)
            mstore(add(size, 64), _r)
            mstore(add(size, 96), _s)
            ret := call(3000, 1, 0, size, 128, size, 32) // NOTE: we can reuse the request memory because we deal with the return code.
            addr := mload(size)
        }
        return (ret, addr);
    }
    /*
     The following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license
    */
    function ecrecovery(bytes32 _hash, bytes memory _sig) internal returns (bool _success, address _recoveredAddress) {
        bytes32 r;
        bytes32 s;
        uint8 v;
        if (_sig.length != 65) {
            return (false, address(0));
        }
        /*
         The signature format is a compact form of:
           {bytes32 r}{bytes32 s}{uint8 v}
         Compact means, uint8 is not padded to 32 bytes.
        */
        assembly {
            r := mload(add(_sig, 32))
            s := mload(add(_sig, 64))
            /*
             Here we are loading the last 32 bytes. We exploit the fact that
             'mload' will pad with zeroes if we overread.
             There is no 'mload8' to do this, but that would be nicer.
            */
            v := byte(0, mload(add(_sig, 96)))
            /*
              Alternative solution:
              'byte' is not working due to the Solidity parser, so lets
              use the second best option, 'and'
              v := and(mload(add(_sig, 65)), 255)
            */
        }
        /*
         albeit non-transactional signatures are not specified by the YP, one would expect it
         to match the YP range of [27, 28]
         geth uses [0, 1] and some clients have followed. This might change, see:
         https://github.com/ethereum/go-ethereum/issues/2053
        */
        if (v < 27) {
            v += 27;
        }
        if (v != 27 && v != 28) {
            return (false, address(0));
        }
        return safer_ecrecover(_hash, v, r, s);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tfToken","type":"address"},{"internalType":"address","name":"_uniswapPair","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"investmentDay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"randomSupply","type":"uint256"}],"name":"GeneratedRandomSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"investmentDay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"staticSupply","type":"uint256"}],"name":"GeneratedStaticSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"investmentDay","type":"uint256"}],"name":"GeneratingRandomSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"investmentDay","type":"uint64"},{"indexed":false,"internalType":"bool","name":"result","type":"bool"}],"name":"GenerationStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"description","type":"string"}],"name":"LogNewProvableQuery","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"referral","type":"address"},{"indexed":true,"internalType":"address","name":"referee","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReferralAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"investmentDay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TFReservation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"UniSwapResult","type":"event"},{"inputs":[],"name":"$getMyTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"REFUND_SPONSOR","outputs":[{"internalType":"contract RefundSponsorI","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TF_CONTRACT","outputs":[{"internalType":"contract ITFToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_OWNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_PAIR","outputs":[{"internalType":"contract UniswapV2Pair","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_ROUTER","outputs":[{"internalType":"contract UniswapRouterV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_myid","type":"bytes32"},{"internalType":"string","name":"_result","type":"string"}],"name":"__callback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_queryId","type":"bytes32"},{"internalType":"string","name":"_result","type":"string"},{"internalType":"bytes","name":"_proof","type":"bytes"}],"name":"__callback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"__timeout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_currentTFDay","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyTotalInvestment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"forwardLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundedDays","outputs":[{"internalType":"uint8","name":"$fundedDays","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"g","outputs":[{"internalType":"uint64","name":"generatedDays","type":"uint64"},{"internalType":"uint64","name":"generationDayBuffer","type":"uint64"},{"internalType":"uint64","name":"generationTimeout","type":"uint64"},{"internalType":"uint64","name":"preparedReferrals","type":"uint64"},{"internalType":"uint256","name":"totalTransferTokens","type":"uint256"},{"internalType":"uint256","name":"totalWeiContributed","type":"uint256"},{"internalType":"uint256","name":"totalReferralTokens","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_investmentDay","type":"uint64"}],"name":"generateSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"investmentsOnAllDays","outputs":[{"internalType":"uint256[31]","name":"_allInvestments","type":"uint256[31]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"investorAccountCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"investorAccounts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"investorBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"investorTotalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"investorsOnAllDays","outputs":[{"internalType":"uint256[31]","name":"_allInvestors","type":"uint256[31]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_investmentDay","type":"uint256"}],"name":"investorsOnDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_investmentDay","type":"uint256"}],"name":"myInvestmentAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"myInvestmentAmountAllDays","outputs":[{"internalType":"uint256[31]","name":"_myAllDays","type":"uint256[31]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"myTotalInvestmentAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"myTotalInvestmentTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_investmentDay","type":"uint256"},{"internalType":"uint256","name":"_investorBatchFrom","type":"uint256"},{"internalType":"uint256","name":"_investorBatchTo","type":"uint256"}],"name":"payoutInvestmentDayBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_investorAddress","type":"address"}],"name":"payoutInvestorAddress","outputs":[{"internalType":"uint256","name":"_payout","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_referralAddress","type":"address"}],"name":"payoutReferralAddress","outputs":[{"internalType":"uint256","name":"_referralTokens","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_referralBatchFrom","type":"uint256"},{"internalType":"uint256","name":"_referralBatchTo","type":"uint256"}],"name":"payoutReferralBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_referralBatchFrom","type":"uint256"},{"internalType":"uint256","name":"_referralBatchTo","type":"uint256"}],"name":"prepareReferralBonuses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"referralAccountCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"referralAccounts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referralAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referralTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_investor","type":"address"},{"internalType":"address payable","name":"_succesor","type":"address"}],"name":"requestRefund","outputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"requestTeamFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"_investmentDays","type":"uint8[]"},{"internalType":"address","name":"_referralAddress","type":"address"}],"name":"reserveTF","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"uint8[]","name":"_investmentDays","type":"uint8[]"},{"internalType":"address","name":"_referralAddress","type":"address"}],"name":"reserveTFWithToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tfToken","type":"address"},{"internalType":"address","name":"_uniswapPair","type":"address"}],"name":"resetToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeAccess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyOnAllDays","outputs":[{"internalType":"uint256[31]","name":"_allSupply","type":"uint256[31]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniqueInvestorCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uniqueInvestors","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600780546001600160a01b0319167348f8bc095353b1652568012d7d74553d431a03171790553480156200003757600080fd5b506040516200688838038062006888833981810160405260408110156200005d57600080fd5b508051602090910151600580546001600160a01b038085166001600160a01b0319928316179092556006805492841692909116919091179055620000a5600360fc1b62000510565b620000b56402540be4006200070b565b5050600c602052624c4b407fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c819055629896807f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd7208190557fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd782905560017f5b84bb9e0f5aa9cc45a8bb66468db5d4816d1e75ff86b5e1f1dd8d144dab80978190557f2cd9ebf6ff19cdd7ffcc447d7c7d47b5991f5c7392a04512134e765802361fa68390557f980f427e00e74f6d338adfccc7468518c8c8ea00836d0dce98c5fe154e17bf2b839055623d09007fdae089abd7155aa13ce498edb0d7a7156b783d015031f10c9a3d4f5fcb518971819055622625a07f5ff1be3842b54290a9d10674244dae5848d2371b5314790c54805c086586e1df8190557f2fb3c9afecd3f0d43923381d3e9f60168c039b98f0b7120382e81b682b7bc316939093557f9e6c92d7be355807bd948171438a5e65aaf9e4c36f1405c1b9ca25d27c4ea3a08490557f6a9911425952520efa6de3784a0ac63c35d3c5bb392028ea0beb0dc41a1919578290557f37877ab6ac9e279d19a4db3294b259b5a4163c0ed597627ae79e33d80cde4db88390557f551134c3788a756a109c6e227f794518fef985fa2ba3fac727bcd6dac5e98e8f8490557f4c711c77a2730b2744c96ef60e2967c2b4247d6a372f8b2e95c748d1459b23808490557f977a47af6886c81cccba9ceb5316ec9b4027c59ac276de3e2cb39ec8af72ee7b8190557ffba2bf5b1dd468baf16221045792a70d5cdd656b9f3da14b127c3e81dc5d6de28490557f270e7751614d4e91a095cd3ace3f4d517c1b37aa711dfeaf72be0b76abd048398390557f63ad5e8597ed00826582ffe8302b2704b28344c60ae5645ec296a6326e0ed3458290557fe02ca69cf2f93f7a389d26d1c6b52e01a88a074c056dfe4bf6a3c69d4a8041e28490557f55664edbebd57273ba1f6d1c017cd920bbceea562d5502a6837280a660edef958190557ff77830ee6ca813461e84e66f2fead14ff7f40269cd63d8faab5b6ce1c3d8c07e8490557f9fe279e833bcb8beab045538c3e47062dba2173d3cb9299210a3ae3478eac49d8490557f6422c4859a0e1cfb624515c5474fb4780841aa90bef78e8ffd8411f6df3c00a78390557f591a7551fcdfca13c6240947c6945b1b81f85a820d3ef46ea582217b1dd807198190557f40f1108237696bbe60a17fe2a155c116be4dd3f1a51814bfd40efec622f2b4bc8290557fd8dac8cb0b26825dac24b42aca725ffacbadc03e2a42734896eb984ce196259d8490557f693426d4b4e14c633fef30f9078c13e548d510bd2b9ddbd4fbb6d7db48c3d9b4929092557f3377e215baa0ca35d3616f499e5c09359a769b94ce0637346960541be030732b929092557f474b71661ba4f296f0558dc263a9e7087ad32825e7e3e721d7824c779a06070655601e6000527f335c01f32f99d35cb64d8289b566f377b69a60a868ff865828ab37e34e93e1db5562000d09565b6001546001600160a01b031615806200053d57506001546200053b906001600160a01b0316620008c9565b155b1562000551576200054f6000620008cd565b505b600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015620005a257600080fd5b505af1158015620005b7573d6000803e3d6000fd5b505050506040513d6020811015620005ce57600080fd5b50516000546001600160a01b039081169116146200068557600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156200063757600080fd5b505af11580156200064c573d6000803e3d6000fd5b505050506040513d60208110156200066357600080fd5b5051600080546001600160a01b0319166001600160a01b039092169190911790555b600080546040805163688dcfd760e01b81527fff000000000000000000000000000000000000000000000000000000000000008516600482015290516001600160a01b039092169263688dcfd79260248084019382900301818387803b158015620006ef57600080fd5b505af115801562000704573d6000803e3d6000fd5b5050505050565b6001546001600160a01b0316158062000738575060015462000736906001600160a01b0316620008c9565b155b156200074c576200074a6000620008cd565b505b600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156200079d57600080fd5b505af1158015620007b2573d6000803e3d6000fd5b505050506040513d6020811015620007c957600080fd5b50516000546001600160a01b039081169116146200088057600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156200083257600080fd5b505af115801562000847573d6000803e3d6000fd5b505050506040513d60208110156200085e57600080fd5b5051600080546001600160a01b0319166001600160a01b039092169190911790555b600080546040805163329ab47960e21b81526004810185905290516001600160a01b039092169263ca6ad1e49260248084019382900301818387803b158015620006ef57600080fd5b3b90565b6000620008d9620008df565b92915050565b60008062000901731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed620008c9565b11156200096457600180546001600160a01b031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81526a195d1a17db585a5b9b995d60aa1b60208201526200095b9062000c54565b50600162000c51565b60006200098573c03a2615d5efaf5f49f60b7bb6583eaec212fdf1620008c9565b1115620009e057600180546001600160a01b03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81526b6574685f726f707374656e3360a01b60208201526200095b9062000c54565b600062000a0173b7a07bcf2ba2f2703b24c0691b5278999c59ac7e620008c9565b111562000a5957600180546001600160a01b03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981526832ba342fb5b7bb30b760b91b60208201526200095b9062000c54565b600062000a7a73146500cfd35b22e4a392fe0adc06de1a1368ed48620008c9565b111562000ad457600180546001600160a01b03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81526a6574685f72696e6b65627960a81b60208201526200095b9062000c54565b600062000af573a2998efd205fb9d4b4963afb70778d6354ad3a41620008c9565b111562000b4e57600180546001600160a01b03191673a2998efd205fb9d4b4963afb70778d6354ad3a4117905560408051808201909152600a8152696574685f676f65726c6960b01b60208201526200095b9062000c54565b600062000b6f736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475620008c9565b111562000ba35750600180546001600160a01b031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47517815562000c51565b600062000bc47320e12a1f859b3feae5fb2a0a32c18f5a65555bbf620008c9565b111562000bf85750600180546001600160a01b0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf17815562000c51565b600062000c197351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa620008c9565b111562000c4d5750600180546001600160a01b0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa17815562000c51565b5060005b90565b805162000c6990600290602084019062000c6d565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000cb057805160ff191683800117855562000ce0565b8280016001018555821562000ce0579182015b8281111562000ce057825182559160200191906001019062000cc3565b5062000cee92915062000cf2565b5090565b5b8082111562000cee576000815560010162000cf3565b615b6f8062000d196000396000f3fe6080604052600436106102765760003560e01c806393ef43da1161014f578063d8264920116100c1578063e7f326e41161007a578063e7f326e414610b8d578063f700b14f14610bc0578063f70dac5214610bd5578063fd87fab814610bea578063ff6c33e614610c61578063ffd5971014610c7657610318565b8063d826492014610ab0578063dcd1288114610ac5578063deb18dbe14610ada578063e20fbce414610aef578063e2179b8e14610b19578063e7cbe05a14610b7857610318565b8063a8986fd811610113578063a8986fd8146109b3578063acdf6d35146109e9578063ca01a52c146109fe578063cdf0456414610a28578063d2819ab314610a52578063d70b9a4914610a8557610318565b806393ef43da146108d357806395d4c7bb146108fd5780639b071049146109305780639c3f09be14610963578063a741214a1461099e57610318565b80634e4c7d9b116101e85780636d9bf9e9116101ac5780636d9bf9e9146107e557806376442b7a1461081557806387ca9f2a1461082a5780638dea30c8146108785780638e122f4a146108a9578063938b9f91146108be57610318565b80634e4c7d9b1461073b57806350adbd7a1461075057806352ee38d11461078057806360b5bb7f146107955780636ba631cf146107d057610318565b80632e7df3d51161023a5780632e7df3d5146104d2578063316ec5f5146104e757806332af47011461051157806338bbfa501461053b5780633a3e8e60146106785780633f38c0a7146106a257610318565b806307e9dfe21461031d5780630af5ca78146103695780631595cac0146103b457806327dc297e146103e75780632d76991a1461049f57610318565b366103185733737a250d5630b4cf539739df2c5dacb4c659f2488d14806102b05750337394c0904e6a37ab6b94145267b1855e59c4579da7145b806102c557506007546001600160a01b031633145b610316576040805162461bcd60e51b815260206004820152601860248201527f646972656374206465706f736974732064697361626c65640000000000000000604482015290519081900360640190fd5b005b600080fd5b34801561032957600080fd5b5061034d6004803603604081101561034057600080fd5b5080359060200135610ca0565b604080516001600160a01b039092168252519081900360200190f35b34801561037557600080fd5b506103a26004803603604081101561038c57600080fd5b506001600160a01b038135169060200135610cc6565b60408051918252519081900360200190f35b3480156103c057600080fd5b506103a2600480360360208110156103d757600080fd5b50356001600160a01b0316610ce3565b3480156103f357600080fd5b506103166004803603604081101561040a57600080fd5b81359190810190604081016020820135600160201b81111561042b57600080fd5b82018360208201111561043d57600080fd5b803590602001918460018302840111600160201b8311171561045e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610de0945050505050565b3480156104ab57600080fd5b50610316600480360360208110156104c257600080fd5b50356001600160401b0316610e00565b3480156104de57600080fd5b506103a26110ca565b3480156104f357600080fd5b5061034d6004803603602081101561050a57600080fd5b50356110d0565b34801561051d57600080fd5b506103a26004803603602081101561053457600080fd5b50356110eb565b34801561054757600080fd5b506103166004803603606081101561055e57600080fd5b81359190810190604081016020820135600160201b81111561057f57600080fd5b82018360208201111561059157600080fd5b803590602001918460018302840111600160201b831117156105b257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561060457600080fd5b82018360208201111561061657600080fd5b803590602001918460018302840111600160201b8311171561063757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110fd945050505050565b34801561068457600080fd5b506103a26004803603602081101561069b57600080fd5b503561147a565b3480156106ae57600080fd5b50610316600480360360808110156106c557600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b8111156106f457600080fd5b82018360208201111561070657600080fd5b803590602001918460208302840111600160201b8311171561072757600080fd5b9193509150356001600160a01b03166114aa565b34801561074757600080fd5b5061031661192f565b34801561075c57600080fd5b506103166004803603604081101561077357600080fd5b508035906020013561198f565b34801561078c57600080fd5b50610316611af4565b3480156107a157600080fd5b506103a2600480360360408110156107b857600080fd5b506001600160a01b0381358116916020013516611b63565b3480156107dc57600080fd5b5061034d611c3f565b3480156107f157600080fd5b506103166004803603604081101561080857600080fd5b5080359060200135611c4e565b34801561082157600080fd5b5061034d611e6a565b34801561083657600080fd5b5061083f611e82565b60405180826103e080838360005b8381101561086557818101518382015260200161084d565b5050505090500191505060405180910390f35b34801561088457600080fd5b5061088d611ec1565b604080516001600160401b039092168252519081900360200190f35b3480156108b557600080fd5b506103a2611f38565b3480156108ca57600080fd5b5061083f611fe1565b3480156108df57600080fd5b5061034d600480360360208110156108f657600080fd5b5035612016565b34801561090957600080fd5b506103a26004803603602081101561092057600080fd5b50356001600160a01b0316612031565b34801561093c57600080fd5b506103a26004803603602081101561095357600080fd5b50356001600160a01b0316612043565b34801561096f57600080fd5b506103166004803603604081101561098657600080fd5b506001600160a01b0381358116916020013516612055565b3480156109aa57600080fd5b506103166120d1565b3480156109bf57600080fd5b50610316600480360360608110156109d657600080fd5b508035906020810135906040013561238b565b3480156109f557600080fd5b5061083f6125c6565b348015610a0a57600080fd5b506103a260048036036020811015610a2157600080fd5b5035612601565b348015610a3457600080fd5b506103a260048036036020811015610a4b57600080fd5b5035612613565b348015610a5e57600080fd5b506103a260048036036020811015610a7557600080fd5b50356001600160a01b0316612630565b348015610a9157600080fd5b50610a9a612642565b6040805160ff9092168252519081900360200190f35b348015610abc57600080fd5b5061034d612679565b348015610ad157600080fd5b5061083f612691565b348015610ae657600080fd5b5061034d6126d8565b348015610afb57600080fd5b506103a260048036036020811015610b1257600080fd5b50356126e7565b348015610b2557600080fd5b50610b2e6126f9565b604080516001600160401b039889168152968816602088015294871686860152929095166060850152608084015260a083019390935260c082019290925290519081900360e00190f35b348015610b8457600080fd5b50610316612734565b348015610b9957600080fd5b506103a260048036036020811015610bb057600080fd5b50356001600160a01b0316612b21565b348015610bcc57600080fd5b506103a2612c90565b348015610be157600080fd5b506103a2612ca3565b61031660048036036040811015610c0057600080fd5b810190602081018135600160201b811115610c1a57600080fd5b820183602082011115610c2c57600080fd5b803590602001918460208302840111600160201b83111715610c4d57600080fd5b9193509150356001600160a01b0316612ca9565b348015610c6d57600080fd5b5061034d612e3e565b348015610c8257600080fd5b5061031660048036036020811015610c9957600080fd5b5035612e4d565b60106020908152600092835260408084209091529082529020546001600160a01b031681565b601160209081526000928352604080842090915290825290205481565b6008546000906001600160401b031615801590610d005750600a54155b610d3f576040805162461bcd60e51b81526020600482015260176024820152600080516020615b1a833981519152604482015290519081900360640190fd5b506001600160a01b0381166000908152601360205260409020548015610ddb576001600160a01b0380831660008181526013602052604080822082905560055481516373a1403560e11b8152600481019490945260248401869052905193169263e742806a92604480820193929182900301818387803b158015610dc257600080fd5b505af1158015610dd6573d6000803e3d6000fd5b505050505b919050565b604080516000815260208101909152610dfc90839083906110fd565b5050565b806001600160401b0316600081118015610e1b5750601e8111155b610e565760405162461bcd60e51b8152600401808060200182810382526024815260200180615a806024913960400191505060405180910390fd5b6001600160401b0382166000818152600e6020526040902054610ec0576040805162461bcd60e51b815260206004820152601a60248201527f6e6f20696e766573746d656e7473206f6e207468617420646179000000000000604482015290519081900360640190fd5b610ec8611ec1565b6001600160401b0316836001600160401b031610610f2d576040805162461bcd60e51b815260206004820152601e60248201527f696e766573746d656e7420646179206d75737420626520696e20706173740000604482015290519081900360640190fd5b600854600160401b90046001600160401b031615610f92576040805162461bcd60e51b815260206004820152601d60248201527f737570706c792067656e65726174696f6e20696e2070726f6772657373000000604482015290519081900360640190fd5b6001600160401b0383166000908152600d602052604090205415610ffd576040805162461bcd60e51b815260206004820152601860248201527f737570706c7920616c72656164792067656e6572617465640000000000000000604482015290519081900360640190fd5b600880546fffffffffffffffff00000000000000001916600160401b6001600160401b0386160217905561103342611c20612ee7565b6008805467ffffffffffffffff60801b1916600160801b6001600160401b039384160217905583166000908152600c602052604090205462989680819003148061109857506001600160401b0383166000908152600c60205260409020546298968003155b6110b3576110ae836001600160401b0316612f3c565b6110c5565b6110c5836001600160401b0316612fca565b505050565b60165481565b6018602052600090815260409020546001600160a01b031681565b600d6020526000908152604090205481565b611105613064565b6001600160a01b0316336001600160a01b03161461116a576040805162461bcd60e51b815260206004820152601c60248201527f63616e206f6e6c792062652063616c6c6564206279204f7261636c6500000000604482015290519081900360640190fd5b600854600160401b90046001600160401b03161580159061119f5750600854601e600160401b9091046001600160401b031611155b6111eb576040805162461bcd60e51b8152602060048201526018602482015277696e636f72726563742067656e65726174696f6e2064617960401b604482015290519081900360640190fd5b6111f6838383613231565b60ff161561124c5760088054600160401b600160c01b0319169081905560408051600081529051600160401b9092046001600160401b031691600080516020615a0f8339815191529181900360200190a26110c5565b6008805467ffffffffffffffff19811660016001600160401b039283160182161791829055600160401b909104166000818152600c60205260408120546112979062989680906132e3565b6000838152600c6020526040812054919250906112b59083906132e3565b9050600081866040516020018082805190602001908083835b602083106112ed5780518252601f1990920191602091820191016112ce565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040528051906020012060001c8161133257fe5b6000868152600d6020526040902054919006915015611394576040805162461bcd60e51b8152602060048201526019602482015278737570706c7920616c72656164792067656e6572617465642160381b604482015290519081900360640190fd5b6000848152600c60205260409020546113c190670de0b6b3a7640000906113bb9084612ee7565b90613337565b6000858152600d602052604090208190556009546113de91612ee7565b6009556000848152600d6020908152604091829020548251908152915186927f4618ee3e7552213f3e936041b1985724dcfe996ed43c78a4d710d7a536198a3992908290030190a260085460408051600181529051600160401b9092046001600160401b031691600080516020615a0f833981519152916020908290030190a2505060088054600160401b600160c01b03191690555050505050565b6000818152600e60205260408120546114945760006114a4565b6000828152600f60205260409020545b92915050565b60005a604080516323b872dd60e01b815233600482015230602482015260448101889052905191925087916001600160a01b038316916323b872dd9160648083019260209291908290030181600087803b15801561150757600080fd5b505af115801561151b573d6000803e3d6000fd5b505050506040513d602081101561153157600080fd5b50506040805163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d60048201526024810188905290516001600160a01b0383169163095ea7b39160448083019260209291908290030181600087803b15801561159657600080fd5b505af11580156115aa573d6000803e3d6000fd5b505050506040513d60208110156115c057600080fd5b50606090506115ce886133a6565b90506060737a250d5630b4cf539739df2c5dacb4c659f2488d6318cbafe589600085306115fd42611c20612ee7565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561166d578181015183820152602001611655565b505050509050019650505050505050600060405180830381600087803b15801561169657600080fd5b505af11580156116aa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156116d357600080fd5b8101908080516040519392919084600160201b8211156116f257600080fd5b90830190602082018581111561170757600080fd5b82518660208202830111600160201b8211171561172357600080fd5b82525081516020918201928201910280838360005b83811015611750578181015183820152602001611738565b5050505090500160405250505090508686905066b1a2bc2ec500006fffffffffffffffffffffffffffffffff16028160018151811061178b57fe5b602002602001015110156117e1576040805162461bcd60e51b8152602060048201526018602482015277696e766573746d656e742062656c6f77206d696e696d756d60401b604482015290519081900360640190fd5b6118268787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506118219250611ec1915050565b61343b565b61187c8787808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505084518992503391508590600190811061186f57fe5b6020026020010151613560565b50505060006118923a5a84036152080190613337565b90506611c37937e0800081116118a857806118b1565b6611c37937e080005b604080516307fb705360e21b815233600482015260248101839052905191925073162b53d630977d90fca9e0b8bbc165df9598b88a91631fedc14c9160448082019260009290919082900301818387803b15801561190e57600080fd5b505af1158015611922573d6000803e3d6000fd5b5050505050505050505050565b6007546001600160a01b0316331461197d576040805162461bcd60e51b815260206004820152600c60248201526b3bb937b7339039b2b73232b960a11b604482015290519081900360640190fd5b600780546001600160a01b0319169055565b6008546001600160401b0316158015906119a95750600a54155b6119e8576040805162461bcd60e51b81526020600482015260176024820152600080516020615b1a833981519152604482015290519081900360640190fd5b808210611a37576040805162461bcd60e51b81526020600482015260186024820152770d2dcc6dee4e4cac6e840e4cacccae4e4c2d840c4c2e8c6d60431b604482015290519081900360640190fd5b815b818110156110c5576000818152601960209081526040808320546001600160a01b03168084526013909252909120548015611aea576001600160a01b0380831660008181526013602052604080822082905560055481516373a1403560e11b8152600481019490945260248401869052905193169263e742806a92604480820193929182900301818387803b158015611ad157600080fd5b505af1158015611ae5573d6000803e3d6000fd5b505050505b5050600101611a39565b6008546001600160401b031615801590611b0e5750600a54155b611b4d576040805162461bcd60e51b81526020600482015260176024820152600080516020615b1a833981519152604482015290519081900360640190fd5b611b5633612b21565b50611b6033610ce3565b50565b600a5460009015801590611b8e57506001600160a01b03831660009081526015602052604090205415155b8015611baa57506028611b9f611ec1565b6001600160401b0316115b611be55760405162461bcd60e51b8152600401808060200182810382526030815260200180615a506030913960400191505060405180910390fd5b506001600160a01b038083166000908152601560205260408082208054908390559051909284169183156108fc02918491818181858888f19350505050158015611c33573d6000803e3d6000fd5b50600060095592915050565b6006546001600160a01b031681565b601e611c58611ec1565b6001600160401b031611611cae576040805162461bcd60e51b81526020600482015260186024820152776f6e676f696e6720696e766573746d656e7420706861736560401b604482015290519081900360640190fd5b808210611cfd576040805162461bcd60e51b81526020600482015260186024820152770d2dcc6dee4e4cac6e840e4cacccae4e4c2d840c4c2e8c6d60431b604482015290519081900360640190fd5b601654600854600160c01b90046001600160401b031610611d65576040805162461bcd60e51b815260206004820152601e60248201527f616c6c20726566657272616c7320616c72656164792070726570617265640000604482015290519081900360640190fd5b600a54600954600091611d78919061377a565b9050825b82811015611e64576000818152601960209081526040808320546001600160a01b03168084526012909252909120548015611e5a576001600160a01b038216600090815260126020526040812055670de0b6b3a76400008110611e2d576802b5e3af16b1880000811015611df957611df482856137d7565b611e04565b611e04828286613808565b6001600160a01b038216600090815260136020526040902054600b54611e2991612ee7565b600b555b6008805460016001600160401b03600160c01b80840482169290920116026001600160c01b039091161790555b5050600101611d7c565b50505050565b73162b53d630977d90fca9e0b8bbc165df9598b88a81565b611e8a61591f565b60015b601e8111611ebd576000818152600d60205260409020548282601f8110611eb057fe5b6020020152600101611e8d565b5090565b600554604080516346c0163f60e01b815290516000926001600160a01b0316916346c0163f916004808301926020929190829003018186803b158015611f0657600080fd5b505afa158015611f1a573d6000803e3d6000fd5b505050506040513d6020811015611f3057600080fd5b505190505b90565b60008060015b601e60ff821611611fbf5733600090815260116020908152604080832060ff8516845290915290205415611fb757611fb268056bc75e2d63100000611fac611f888460ff16613894565b33600090815260116020908152604080832060ff8916845290915290205490613337565b9061377a565b820191505b600101611f3e565b5033600090815260136020526040902054611fdb908290612ee7565b91505090565b611fe961591f565b60015b601e8111611ebd57611ffd8161147a565b8282601f811061200957fe5b6020020152600101611fec565b6019602052600090815260409020546001600160a01b031681565b60126020526000908152604090205481565b60146020526000908152604090205481565b6007546001600160a01b031633146120a3576040805162461bcd60e51b815260206004820152600c60248201526b3bb937b7339039b2b73232b960a11b604482015290519081900360640190fd5b600580546001600160a01b039384166001600160a01b03199182161790915560068054929093169116179055565b600854600160801b90046001600160401b031615801590612104575060085442600160801b9091046001600160401b0316105b612147576040805162461bcd60e51b815260206004820152600f60248201526e7374696c6c206177616974696e672160881b604482015290519081900360640190fd5b600854600160401b90046001600160401b031680158015906121735750601e6001600160401b03821611155b6121bf576040805162461bcd60e51b8152602060048201526018602482015277696e636f72726563742067656e65726174696f6e2064617960401b604482015290519081900360640190fd5b6001600160401b0381166000908152600d602052604090205415612226576040805162461bcd60e51b8152602060048201526019602482015278737570706c7920616c72656164792067656e6572617465642160381b604482015290519081900360640190fd5b600181612231611ec1565b036001600160401b03161115612346576001600052600c6020527fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c5461227f90670de0b6b3a7640000613337565b6001600160401b0382166000908152600d602052604090208190556009546122a691612ee7565b6009556008805467ffffffffffffffff19811660016001600160401b039283160182161790915581166000818152600d602090815260409182902054825190815291517f1d6deab77e7b3eb85aea9594a90cdaa64ff82c8a9d1707867000536f9eb1f4609281900390910190a2604080516001815290516001600160401b03831691600080516020615a0f833981519152919081900360200190a2612375565b604080516000815290516001600160401b03831691600080516020615a0f833981519152919081900360200190a25b5060088054600160401b600160c01b0319169055565b6008546001600160401b0316158015906123a55750600a54155b6123e4576040805162461bcd60e51b81526020600482015260176024820152600080516020615b1a833981519152604482015290519081900360640190fd5b6000838152600e60205260409020548390612446576040805162461bcd60e51b815260206004820152601a60248201527f6e6f20696e766573746d656e7473206f6e207468617420646179000000000000604482015290519081900360640190fd5b81831061249a576040805162461bcd60e51b815260206004820152601a60248201527f696e636f727265637420696e766573746d656e74206261746368000000000000604482015290519081900360640190fd5b60006124a585613894565b9050835b838110156125be5760008681526010602090815260408083208484528252808320546001600160a01b0316808452601183528184208a8552909252822054909161250068056bc75e2d63100000611fac8488613337565b6001600160a01b03841660009081526011602090815260408083208d8452909152902054909150156125b3576001600160a01b0380841660008181526011602090815260408083208e845290915280822082905560055481516373a1403560e11b8152600481019490945260248401869052905193169263e742806a92604480820193929182900301818387803b15801561259a57600080fd5b505af11580156125ae573d6000803e3d6000fd5b505050505b5050506001016124a9565b505050505050565b6125ce61591f565b60015b601e8111611ebd576000818152600e60205260409020548282601f81106125f457fe5b60200201526001016125d1565b600e6020526000908152604090205481565b336000908152601160209081526040808320938352929052205490565b60136020526000908152604090205481565b600060015b601e60ff821611611ebd5760ff81166000908152600e602052604090205415612671576001909101905b600101612647565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b61269961591f565b60015b601e8111611ebd573360009081526011602090815260408083208484529091529020548282601f81106126cb57fe5b602002015260010161269c565b6005546001600160a01b031681565b600f6020526000908152604090205481565b600854600954600a54600b546001600160401b0380851694600160401b8104821694600160801b8204831694600160c01b9092049092169287565b601e61273e611ec1565b6001600160401b031611612794576040805162461bcd60e51b81526020600482015260186024820152776f6e676f696e6720696e766573746d656e7420706861736560401b604482015290519081900360640190fd5b61279c612642565b6008546001600160401b031660ff91909116146127ea5760405162461bcd60e51b8152600401808060200182810382526021815260200180615a2f6021913960400191505060405180910390fd5b601654600854600160c01b90046001600160401b031614612852576040805162461bcd60e51b815260206004820152601a60248201527f6d757374207072657061726520616c6c20726566657272616c73000000000000604482015290519081900360640190fd5b6009546128a6576040805162461bcd60e51b815260206004820152601c60248201527f6d757374206861766520746f6b656e7320746f207472616e7366657200000000604482015290519081900360640190fd5b600a8054600b5460095491929101906128cb906128c490849061377a565b83906132e3565b600a549092506128df90611fac8385613337565b600554604080516373a1403560e11b81523060048201526024810184905290519293506001600160a01b039091169163e742806a9160448082019260009290919082900301818387803b15801561293557600080fd5b505af1158015612949573d6000803e3d6000fd5b50506005546040805163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d60048201526024810186905290516001600160a01b03909216935063095ea7b392506044808201926020929091908290030181600087803b1580156129b557600080fd5b505af11580156129c9573d6000803e3d6000fd5b505050506040513d60208110156129df57600080fd5b505060055460009081908190737a250d5630b4cf539739df2c5dacb4c659f2488d9063f305d7199087906001600160a01b031687858080612a2242611c20612ee7565b6040518863ffffffff1660e01b815260040180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b0316815260200182815260200196505050505050506060604051808303818588803b158015612a8c57600080fd5b505af1158015612aa0573d6000803e3d6000fd5b50505050506040513d6060811015612ab757600080fd5b50805160208083015160409384015160006009819055600b819055600a558451848152928301829052828501819052935192965094509192507fec61299b073fac5734ebbaafd76190a06af6a8129994155248c303f194a9d6849181900360600190a15050505050565b6008546000906001600160401b031615801590612b3e5750600a54155b612b7d576040805162461bcd60e51b81526020600482015260176024820152600080516020615b1a833981519152604482015290519081900360640190fd5b60015b601e60ff821611612c34576001600160a01b038316600090815260116020908152604080832060ff8516845290915290205415612c2c57612c0068056bc75e2d63100000611fac612bd38460ff16613894565b6001600160a01b038716600090815260116020908152604080832060ff8916845290915290205490613337565b6001600160a01b038416600090815260116020908152604080832060ff86168452909152812055909101905b600101612b80565b508015610ddb57600554604080516373a1403560e11b81526001600160a01b038581166004830152602482018590529151919092169163e742806a91604480830192600092919082900301818387803b158015610dc257600080fd5b3360009081526014602052604090205490565b60175481565b60005a90508266b1a2bc2ec500008102341015612d08576040805162461bcd60e51b8152602060048201526018602482015277696e766573746d656e742062656c6f77206d696e696d756d60401b604482015290519081900360640190fd5b612d488585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506118219250611ec1915050565b612d89858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250879250339150349050613560565b506000612d9d3a5a84036152080190613337565b905080612dab34600a61377a565b11612dc057612dbb34600a61377a565b612dc2565b805b604080516307fb705360e21b815233600482015260248101839052905191925073162b53d630977d90fca9e0b8bbc165df9598b88a91631fedc14c9160448082019260009290919082900301818387803b158015612e1f57600080fd5b505af1158015612e33573d6000803e3d6000fd5b505050505050505050565b6007546001600160a01b031681565b6008546001600160401b031615801590612e675750600a54155b612ea6576040805162461bcd60e51b81526020600482015260176024820152600080516020615b1a833981519152604482015290519081900360640190fd5b6040517394c0904e6a37ab6b94145267b1855e59c4579da79082156108fc029083906000818181858888f19350505050158015610dfc573d6000803e3d6000fd5b600082820183811015612f35576040805162461bcd60e51b81526020600482015260116024820152706164646974696f6e206f766572666c6f7760781b604482015290519081900360640190fd5b9392505050565b600062030d40612f4e82600783613926565b5060405183907f4eeff8161c4d7f068d56575738848314f879d16a78a47f595cfd09d7f1d0a60990600090a27fc4dc360d0a9c0677a3379ae0a3d81e887f761e65fdf3d7e00859d1bcd3c47389604051808060200182810382526036815260200180615ae46036913960400191505060405180910390a1505050565b6000818152600c6020908152604080832054600d835292819020670de0b6b3a76400009093028084556009805490910190556008805467ffffffffffffffff1981166001600160401b0391821660010190911617600160401b600160c01b031916905591548251908152915183927f1d6deab77e7b3eb85aea9594a90cdaa64ff82c8a9d1707867000536f9eb1f46092908290030190a250565b6001546000906001600160a01b03161580613091575060015461308f906001600160a01b0316613cf3565b155b156130a2576130a06000613cf7565b505b600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156130f257600080fd5b505af1158015613106573d6000803e3d6000fd5b505050506040513d602081101561311c57600080fd5b50516000546001600160a01b039081169116146131cf57600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561318357600080fd5b505af1158015613197573d6000803e3d6000fd5b505050506040513d60208110156131ad57600080fd5b5051600080546001600160a01b0319166001600160a01b039092169190911790555b60008054906101000a90046001600160a01b03166001600160a01b031663c281d19e6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561321d57600080fd5b505af1158015611f1a573d6000803e3d6000fd5b60008160008151811061324057fe5b6020910101516001600160f81b031916601360fa1b14158061328257508160018151811061326a57fe5b6020910101516001600160f81b031916600560fc1b14155b806132a55750600160ff168260028151811061329a57fe5b016020015160f81c14155b156132b257506001612f35565b60006132c78386866132c2613d01565b613d94565b9050806132d8576002915050612f35565b506000949350505050565b600082821115613331576040805162461bcd60e51b81526020600482015260146024820152737375627472616374696f6e206f766572666c6f7760601b604482015290519081900360640190fd5b50900390565b600082613346575060006114a4565b8282028284828161335357fe5b0414612f35576040805162461bcd60e51b815260206004820152601760248201527f6d756c7469706c69636174696f6e206f766572666c6f77000000000000000000604482015290519081900360640190fd5b604080516002808252606080830184529260208301908036833701905050905081816000815181106133d457fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160018151811061341657fe5b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b60005b82518160ff1610156110c557816001600160401b0316838260ff168151811061346357fe5b602002602001015160ff1610156134c1576040805162461bcd60e51b815260206004820152601d60248201527f696e766573746d656e742064617920616c726561647920706173736564000000604482015290519081900360640190fd5b6000838260ff16815181106134d257fe5b602002602001015160ff161180156135075750601e60ff16838260ff16815181106134f957fe5b602002602001015160ff1611155b613558576040805162461bcd60e51b815260206004820152601860248201527f696e636f727265637420696e766573746d656e74206461790000000000000000604482015290519081900360640190fd5b60010161343e565b826001600160a01b0316826001600160a01b031614156135c7576040805162461bcd60e51b815260206004820152601b60248201527f6d757374206265206120646966666572656e7420616464726573730000000000604482015290519081900360640190fd5b6135d083614328565b613621576040805162461bcd60e51b815260206004820152601860248201527f696e76616c696420726566657272616c20616464726573730000000000000000604482015290519081900360640190fd5b60006001600160a01b03841615613649576136446103e8611fac8461044c613337565b61364b565b815b8551909150600061365c838361377a565b9050600061366a8484614333565b90506136a0868960008151811061367d57fe5b602002602001015160ff1661369b8486612ee790919063ffffffff16565b614389565b60015b838160ff1610156136da576136d2878a8360ff16815181106136c157fe5b602002602001015160ff1685614389565b6001016136a3565b506136e5868561446a565b6001600160a01b0387161561374a576136fe87866144dc565b856001600160a01b0316876001600160a01b03167f3b54244fd9f24308e8af20c841d18d51e8bf31c6d418e821cbac244814600456876040518082815260200191505060405180910390a35b5050506001600160a01b039092166000908152601560205260409020805482019055600a80549091019055505050565b60008082116137c3576040805162461bcd60e51b815260206004820152601060248201526f6469766973696f6e206279207a65726f60801b604482015290519081900360640190fd5b60008284816137ce57fe5b04949350505050565b6137e866b1a2bc2ec5000082613337565b6001600160a01b0390921660009081526013602052604090209190915550565b613817816113bb84600a61377a565b6001600160a01b03808516600081815260136020526040808220949094556005548451634dfc7a0360e01b8152600481019390935293519390921692634dfc7a039260248084019391929182900301818387803b15801561387757600080fd5b505af115801561388b573d6000803e3d6000fd5b50505050505050565b6000818152600e6020908152604080832054600d90925282205482916138c791611fac9068056bc75e2d63100000613337565b6000848152600e6020908152604080832054600d909252822054929350909161390491906138fe9068056bc75e2d63100000613337565b90614333565b9050801561391c57613917826001612ee7565b61391e565b815b949350505050565b60008083118015613938575060208311155b61394157600080fd5b604080516001808252818301909252600a95909502946060916020820181803683370190505090508360f81b8160008151811061397a57fe5b60200101906001600160f81b031916908160001a90535060408051602080825281830190925260609160208201818036833750506040805160208082528183019092529293506060929150808201818036833701905050905060006139dd61454e565b60208085524241184360001901401885820152808452838101829052604080518281528082019091529192506060919060208201818036833750505060208181018b90526040805160088082528183019092529293506060929182018180368337019050509050613a548260186008846000614705565b50613a5d61593e565b60405180608001604052808781526020018881526020018681526020018481525090506000613aab6040518060400160405280600681526020016572616e646f6d60d01b815250838c614753565b604080516008808252818301909252919250606091906020820181803683370190505090506020840151600160f81b81046027830153600160f01b81046026830153600160e81b81046025830153600160e01b81046024830153600160d81b81046023830153600160d01b81046022830153600160c81b81046021830153600160c01b8104602083015350613ce382828560016020020151600287600060200201516040518082805190602001908083835b60208310613b7c5780518252601f199092019160209182019101613b5d565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa158015613bbb573d6000803e3d6000fd5b5050506040513d6020811015613bd057600080fd5b505187600260200201516040516020018085805190602001908083835b60208310613c0c5780518252601f199092019160209182019101613bed565b51815160209384036101000a600019018019909216911617905287519190930192870191508083835b60208310613c545780518252601f199092019160209182019101613c35565b51815160209384036101000a60001901801990921691161790529201858152845190830192850191508083835b60208310613ca05780518252601f199092019160209182019101613c81565b6001836020036101000a0380198251168184511680821785525050505050509050019450505050506040516020818303038152906040528051906020012061497c565b509b9a5050505050505050505050565b3b90565b60006114a461498e565b60028054604080516020601f6000196101006001871615020190941685900493840181900481028201810190925282815260609390929091830182828015613d8a5780601f10613d5f57610100808354040283529160200191613d8a565b820191906000526020600020905b815481529060010190602001808311613d6d57829003601f168201915b5050505050905090565b60008085604581518110613da457fe5b602091018101516040805183815280820190915260f89190911c60660192506060918181018180368337019050509050613de387836020846000614705565b50600284876040516020018083805190602001908083835b60208310613e1a5780518252601f199092019160209182019101613dfb565b51815160209384036101000a600019018019909216911617905292019384525060408051808503815293820190819052835193945092839250908401908083835b60208310613e7a5780518252601f199092019160209182019101613e5b565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa158015613eb9573d6000803e3d6000fd5b5050506040513d6020811015613ece57600080fd5b50516040805160208181019390935281518082038401815290820190915280519082012082519183019190912014613f0b5760009250505061391e565b6060878360490160010181518110613f1f57fe5b60209101015160f81c6002016001600160401b0381118015613f4057600080fd5b506040519080825280601f01601f191660200182016040528015613f6b576020820181803683370190505b509050613f8088846049018351846000614705565b5061402c6002826040518082805190602001908083835b60208310613fb65780518252601f199092019160209182019101613f97565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa158015613ff5573d6000803e3d6000fd5b5050506040513d602081101561400a57600080fd5b5051895188908b906028880190811061401f57fe5b016020015160f81c614cdc565b61403c576000935050505061391e565b604080516029808252606082810190935260208201818036833701905050905061406e89856020016029846000614705565b506040805181815260608181018352916020820181803683370190505083519091508501608a8101906140aa908c90604a016040856000614705565b5060006002836040518082805190602001908083835b602083106140df5780518252601f1990920191602091820191016140c0565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa15801561411e573d6000803e3d6000fd5b5050506040513d602081101561413357600080fd5b505160405185519192508591839160209081019182918501908083835b6020831061416f5780518252601f199092019160209182019101614150565b6001836020036101000a0380198251168184511680821785525050505050509050018281526020019250505060405160208183030381529060405280519060200120600360008d81526020019081526020016000205414156141df5760008b8152600360205260408120556141ef565b600097505050505050505061391e565b604080516049808252608082019092526060916020820181803683370190505090506142208d896049846000614705565b506142b36002826040518082805190602001908083835b602083106142565780518252601f199092019160209182019101614237565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa158015614295573d6000803e3d6000fd5b5050506040513d60208110156142aa57600080fd5b50518786614d4d565b6142c85760009850505050505050505061391e565b60008281526004602052604090205460ff16614306576142e88d84614e88565b6000838152600460205260409020805460ff19169115159190911790555b5060009081526004602052604090205460ff169b9a5050505050505050505050565b3b63ffffffff161590565b600081614378576040805162461bcd60e51b815260206004820152600e60248201526d6d6f64756c6f206279207a65726f60901b604482015290519081900360640190fd5b81838161438157fe5b069392505050565b6001600160a01b03831660009081526011602090815260408083208584529091529020546143fb576000828152601060209081526040808320600f8084528285208054865291845291842080546001600160a01b0319166001600160a01b038916179055928590529052805460010190555b6001600160a01b03831660008181526011602090815260408083208684528252808320805486019055600e825291829020805485019055815184815291518593927f293c70b0690b128ce27dda930a7a1be942117fc59b4b620a422404e437d81ea092908290030190a3505050565b6001600160a01b0382166000908152601460205260409020546144ba5760178054600090815260186020526040902080546001600160a01b0319166001600160a01b038516179055805460010190555b6001600160a01b03909116600090815260146020526040902080549091019055565b6001600160a01b03821660009081526012602052604090205461452c5760168054600090815260196020526040902080546001600160a01b0319166001600160a01b038516179055805460010190555b6001600160a01b03909116600090815260126020526040902080549091019055565b6001546000906001600160a01b0316158061457b5750600154614579906001600160a01b0316613cf3565b155b1561458c5761458a6000613cf7565b505b600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156145dc57600080fd5b505af11580156145f0573d6000803e3d6000fd5b505050506040513d602081101561460657600080fd5b50516000546001600160a01b039081169116146146b957600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561466d57600080fd5b505af1158015614681573d6000803e3d6000fd5b505050506040513d602081101561469757600080fd5b5051600080546001600160a01b0319166001600160a01b039092169190911790555b60008054906101000a90046001600160a01b03166001600160a01b031663abaa5f3e6040518163ffffffff1660e01b815260040160206040518083038186803b158015611f0657600080fd5b606060008285019050808451101561471c57600080fd5b60208087019084015b86886020010182101561474657888201518682015260209182019101614725565b5093979650505050505050565b6001546000906001600160a01b03161580614780575060015461477e906001600160a01b0316613cf3565b155b156147915761478f6000613cf7565b505b600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156147e157600080fd5b505af11580156147f5573d6000803e3d6000fd5b505050506040513d602081101561480b57600080fd5b50516000546001600160a01b039081169116146148be57600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561487257600080fd5b505af1158015614886573d6000803e3d6000fd5b505050506040513d602081101561489c57600080fd5b5051600080546001600160a01b0319166001600160a01b039092169190911790555b60408051600480825260a08201909252606091816020015b60608152602001906001900390816148d6575050845181519192509082906000906148fd57fe5b602090810291909101015283600160200201518160018151811061491d57fe5b602090810291909101015283600260200201518160028151811061493d57fe5b602090810291909101015283600360200201518160038151811061495d57fe5b6020026020010181905250614973858285615205565b95945050505050565b60009182526003602052604090912055565b6000806149ae731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed613cf3565b1115614a0d57600180546001600160a01b031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81526a195d1a17db585a5b9b995d60aa1b6020820152614a05906155e7565b506001611f35565b6000614a2c73c03a2615d5efaf5f49f60b7bb6583eaec212fdf1613cf3565b1115614a8457600180546001600160a01b03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81526b6574685f726f707374656e3360a01b6020820152614a05906155e7565b6000614aa373b7a07bcf2ba2f2703b24c0691b5278999c59ac7e613cf3565b1115614af857600180546001600160a01b03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981526832ba342fb5b7bb30b760b91b6020820152614a05906155e7565b6000614b1773146500cfd35b22e4a392fe0adc06de1a1368ed48613cf3565b1115614b6e57600180546001600160a01b03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81526a6574685f72696e6b65627960a81b6020820152614a05906155e7565b6000614b8d73a2998efd205fb9d4b4963afb70778d6354ad3a41613cf3565b1115614be357600180546001600160a01b03191673a2998efd205fb9d4b4963afb70778d6354ad3a4117905560408051808201909152600a8152696574685f676f65726c6960b01b6020820152614a05906155e7565b6000614c02736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475613cf3565b1115614c345750600180546001600160a01b031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475178155611f35565b6000614c537320e12a1f859b3feae5fb2a0a32c18f5a65555bbf613cf3565b1115614c855750600180546001600160a01b0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf178155611f35565b6000614ca47351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa613cf3565b1115614cd65750600180546001600160a01b0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa178155611f35565b50600090565b81516000906001908314614cef57600080fd5b60005b83811015614d4457848181518110614d0657fe5b016020908101516001600160f81b03191690879083908110614d2457fe5b1a60f81b6001600160f81b03191614614d3c57600091505b600101614cf2565b50949350505050565b6040805160208082528183019092526000918291829182918291606091906020820181803683370190505090506000602089600381518110614d8b57fe5b602001015160f81c60f81b60f81c60ff16036004019050614db189826020856000614705565b60408051602080825281830190925291935060609190602082018180368337019050509050602282019150614e0a8a60208c6001860381518110614df157fe5b0160209081015160f81c91909103850190846000614705565b90506020830151945060208101519350614e278b601b87876155fa565b8a5160208c012091985096506001600160a01b0380881691161415614e56576001975050505050505050612f35565b614e638b601c87876155fa565b8a5160208c01206001600160a01b039081169116149850612f35975050505050505050565b6000806060848460010181518110614e9c57fe5b60209101015160f81c6002016001600160401b0381118015614ebd57600080fd5b506040519080825280601f01601f191660200182016040528015614ee8576020820181803683370190505b509050614efa85858351846000614705565b50604080518181526060818101835291602082018180368337019050509050614f298660046040846000614705565b5060408051606280825260a08201909252606091602082018180368337019050509050600160f81b81600081518110614f5e57fe5b60200101906001600160f81b031916908160001a905350614f8787604188036041846001614705565b5060606040518060400160405280602081526020017ffd94fa71bc0ba10d39d464d0d8f465efeef0a2764e3887fcc9df41ded20f505c8152509050614fd28160006020856042614705565b506150656002836040518082805190602001908083835b602083106150085780518252601f199092019160209182019101614fe9565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa158015615047573d6000803e3d6000fd5b5050506040513d602081101561505c57600080fd5b50518585614d4d565b94508461507a576000955050505050506114a4565b6060604051806060016040528060408152602001615aa460409139604080516042808252608082019092529192506060919060208201818036833701905050905060fe60f81b816000815181106150cd57fe5b60200101906001600160f81b031916908160001a9053506150f48a60036041846001614705565b5060608a60458151811061510457fe5b60209101015160f81c6002016001600160401b038111801561512557600080fd5b506040519080825280601f01601f191660200182016040528015615150576020820181803683370190505b5090506151638b60448351846000614705565b506151f66002836040518082805190602001908083835b602083106151995780518252601f19909201916020918201910161517a565b51815160209384036101000a60001901801990921691161790526040519190930194509192505080830381855afa1580156151d8573d6000803e3d6000fd5b5050506040513d60208110156151ed57600080fd5b50518285614d4d565b9b9a5050505050505050505050565b6001546000906001600160a01b031615806152325750600154615230906001600160a01b0316613cf3565b155b15615243576152416000613cf7565b505b600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561529357600080fd5b505af11580156152a7573d6000803e3d6000fd5b505050506040513d60208110156152bd57600080fd5b50516000546001600160a01b0390811691161461537057600160009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561532457600080fd5b505af1158015615338573d6000803e3d6000fd5b505050506040513d602081101561534e57600080fd5b5051600080546001600160a01b0319166001600160a01b039092169190911790555b6000805460408051630bbceb3360e21b815260248101869052600481019182528751604482015287516001600160a01b0390931692632ef3accc928992889282916064019060208601908083838c5b838110156153d75781810151838201526020016153bf565b50505050905090810190601f1680156154045780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561542457600080fd5b505af1158015615438573d6000803e3d6000fd5b505050506040513d602081101561544e57600080fd5b50519050670de0b6b3a76400003a840201811115615470575060009050612f35565b606061547b85615637565b905060008054906101000a90046001600160a01b03166001600160a01b031663c55c1cb68360008985896040518663ffffffff1660e01b8152600401808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b838110156155015781810151838201526020016154e9565b50505050905090810190601f16801561552e5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015615561578181015183820152602001615549565b50505050905090810190601f16801561558e5780820380516001836020036101000a031916815260200191505b5096505050505050506020604051808303818588803b1580156155b057600080fd5b505af11580156155c4573d6000803e3d6000fd5b50505050506040513d60208110156155db57600080fd5b50519695505050505050565b8051610dfc906002906020840190615965565b60008060008060405188815287602082015286604082015285606082015260208160808360006001610bb8f1905190999098509650505050505050565b60606156416159df565b61564d816104006156a1565b615656816156cf565b60005b83518110156156905761568884828151811061567157fe5b6020026020010151836156da90919063ffffffff16565b600101615659565b5061569a816156f1565b5192915050565b8060208106156156b45760208106602003015b60208301819052604080519384905260008452920190915250565b611b608160046156f8565b6156e7826002835161570d565b6110c582826157dc565b611b608160075b610dfc82601f611fe0600585901b1617615869565b60178111615728576110ae8360e0600585901b168317615869565b60ff811161575757615745836018611fe0600586901b1617615869565b615751838260016158a2565b506110c5565b61ffff811161578157615775836019611fe0600586901b1617615869565b615751838260026158a2565b63ffffffff81116157ad576157a183601a611fe0600586901b1617615869565b615751838260046158a2565b6001600160401b0381116110c5576157d083601b611fe0600586901b1617615869565b611e64838260086158a2565b6157e46159df565b602083015183515183510111156158105761581083615808856020015185516158f2565b600202615909565b815183518051808301825201602090810191908401905b60208110615846578151835260209283019290910190601f1901615827565b905182516020929092036101000a60001901801990911691161790525090919050565b6020820151825151600101111561588b5761588b828360200151600202615909565b815180516020818301018381535060010190525050565b6158aa6159df565b6020840151845151830111156158cc576158cc846158088660200151856158f2565b50825180518082018301805161010085900a600019011916949094179093529101905290565b6000818311156159035750816114a4565b50919050565b815161591583836156a1565b611e6483826157dc565b604051806103e00160405280601f906020820280368337509192915050565b60405180608001604052806004905b606081526020019060019003908161594d5790505090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106159a657805160ff19168380011785556159d3565b828001600101855582156159d3579182015b828111156159d35782518255916020019190600101906159b8565b50611ebd9291506159f9565b604051806040016040528060608152602001600081525090565b5b80821115611ebd57600081556001016159fa56fe3bd70cfb9a611f5466423818b01c57549f1d43daa452c08c2ef89e632f642bc76d7573742067656e657261746520737570706c7920666f7220616c6c20646179736c6971756964697479207375636365737366756c6c7920666f7277617264656420746f20756e697377617020f09fa6846e6f7420696e20696e697469616c20696e766573746d656e7420646179732072616e67657fb956469c5c9b89840d55b43537e66a98dd4811ea0a27224272c2e5622911e8537a2f8e86a46baec82864e98dd01e9ccc2f8bc5dfc9cbe5a91a290498dd96e450726f7661626c65207175657279207761732073656e742c207374616e64696e6720627920666f722074686520616e737765722e2e2e666f7277617264206c6971756964697479206669727374000000000000000000a26469706673582212203a5402d4e128e900d554b988a895df56cc85db0f95ad2e7e16b15d4b08d5cb2f64736f6c634300070000330000000000000000000000008b4a9b92177b779f0a9fca859b785b67251ae7d800000000000000000000000033124590856dc35b58c458c1859104b31466a6ba

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

0000000000000000000000008b4a9b92177b779f0a9fca859b785b67251ae7d800000000000000000000000033124590856dc35b58c458c1859104b31466a6ba

-----Decoded View---------------
Arg [0] : _tfToken (address): 0x8b4a9b92177b779f0a9fca859b785b67251ae7d8
Arg [1] : _uniswapPair (address): 0x33124590856dc35b58c458c1859104b31466a6ba

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008b4a9b92177b779f0a9fca859b785b67251ae7d8
Arg [1] : 00000000000000000000000033124590856dc35b58c458c1859104b31466a6ba


Deployed ByteCode Sourcemap

89:32084:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4692:10;358:42;4692:37;;:67;;-1:-1:-1;4733:10:1;730:42;4733:26;4692:67;:96;;;-1:-1:-1;4777:11:1;;-1:-1:-1;;;;;4777:11:1;4763:10;:25;4692:96;4684:133;;;;;-1:-1:-1;;;4684:133:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;89:32084;;;;;1909:71;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1909:71:1;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1909:71:1;;;;;;;;;;;;;;1986;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1986:71:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;22810:415;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22810:415:1;-1:-1:-1;;;;;22810:415:1;;:::i;12675:130:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12675:130:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12675:130:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12675:130:2;;-1:-1:-1;12675:130:2;;-1:-1:-1;;;;;12675:130:2:i;12506:759:1:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12506:759:1;-1:-1:-1;;;;;12506:759:1;;:::i;2288:35::-;;;;;;;;;;;;;:::i;2370:51::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2370:51:1;;:::i;1729:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1729:51:1;;:::i;14810:1516::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14810:1516:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14810:1516:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14810:1516:1;;;;;;;;-1:-1:-1;14810:1516:1;;-1:-1:-1;;;;;14810:1516:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14810:1516:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14810:1516:1;;-1:-1:-1;14810:1516:1;;-1:-1:-1;;;;;14810:1516:1:i;27266:185::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27266:185:1;;:::i;7572:807::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7572:807:1;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7572:807:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;7572:807:1;;;;;;;;;;;;-1:-1:-1;7572:807:1;-1:-1:-1;7572:807:1;-1:-1:-1;;;;;7572:807:1;;:::i;5023:92::-;;;;;;;;;;;;;:::i;24780:621::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24780:621:1;;;;;;;:::i;21425:155::-;;;;;;;;;;;;;:::i;31125:536::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31125:536:1;;;;;;;;;;:::i;244:33::-;;;;;;;;;;;;;:::i;17802:1225::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17802:1225:1;;;;;;;:::i;488:195::-;;;;;;;;;;;;;:::i;28304:204::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30780:104;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;30780:104:1;;;;;;;;;;;;;;26620:440;;;;;;;;;;;;;:::i;27591:211::-;;;;;;;;;;;;;:::i;2427:52::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2427:52:1;;:::i;2064:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2064:49:1;-1:-1:-1;;;;;2064:49:1;;:::i;2174:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2174:55:1;-1:-1:-1;;;;;2174:55:1;;:::i;4830:187::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4830:187:1;;;;;;;;;;:::i;16514:971::-;;;;;;;;;;;;;:::i;23631:843::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23631:843:1;;;;;;;;;;;;:::i;27948:223::-;;;;;;;;;;;;;:::i;1786:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1786:55:1;;:::i;25663:152::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25663:152:1;;:::i;2119:49::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2119:49:1;-1:-1:-1;;;;;2119:49:1;;:::i;29757:195::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;284:197;;;;;;;;;;;;;:::i;25986:226::-;;;;;;;;;;;;;:::i;211:27::-;;;;;;;;;;;;;:::i;1848:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1848:55:1;;:::i;1658:16::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1658:16:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20094:1064;;;;;;;;;;;;;:::i;21929:608::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21929:608:1;-1:-1:-1;;;;;21929:608:1;;:::i;26377:123::-;;;;;;;;;;;;;:::i;2329:34::-;;;;;;;;;;;;;:::i;6849:321::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6849:321:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6849:321:1;;;;;;;;;;;;-1:-1:-1;6849:321:1;-1:-1:-1;6849:321:1;-1:-1:-1;;;;;6849:321:1;;:::i;778:71::-;;;;;;;;;;;;;:::i;31854:121::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31854:121:1;;:::i;1909:71::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1909:71:1;;:::o;1986:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;22810:415::-;3304:1;:15;22905:23;;-1:-1:-1;;;;;3304:15:1;:19;;;;:49;;-1:-1:-1;3327:21:1;;:26;3304:49;3296:85;;;;;-1:-1:-1;;;3296:85:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3296:85:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22958:32:1;::::1;;::::0;;;:14:::1;:32;::::0;;;;;23004:36;;23000:219:::1;;-1:-1:-1::0;;;;;23056:32:1;;::::1;23091:1;23056:32:::0;;;:14:::1;:32;::::0;;;;;:36;;;23106:11:::1;::::0;:102;;-1:-1:-1;;;23106:102:1;;::::1;::::0;::::1;::::0;;;;;;;;;;;;:11;::::1;::::0;:22:::1;::::0;:102;;;;;23091:1;23106:102;;;;;;23091:1;23106:11;:102;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;23000:219;22810:415:::0;;;:::o;12675:130:2:-;12785:12;;;12795:1;12785:12;;;;;;;;12758:40;;12769:5;;12776:7;;12758:10;:40::i;:::-;12675:130;;:::o;12506:759:1:-;12588:14;-1:-1:-1;;;;;3405:190:1;3498:1;3481:14;:18;:55;;;;-1:-1:-1;1059:2:1;3503:33;;;3481:55;3473:104;;;;-1:-1:-1;;;3473:104:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3754:156:1;::::1;3860:1;3821:36:::0;;;:20:::1;:36;::::0;;;;;3813:79:::1;;;::::0;;-1:-1:-1;;;3813:79:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;12671:15:::2;:13;:15::i;:::-;-1:-1:-1::0;;;;;12654:32:1::2;:14;-1:-1:-1::0;;;;;12654:32:1::2;;12646:75;;;::::0;;-1:-1:-1;;;12646:75:1;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;12739:1;:21:::0;-1:-1:-1;;;12739:21:1;::::2;-1:-1:-1::0;;;;;12739:21:1::2;:26:::0;12731:68:::2;;;::::0;;-1:-1:-1;;;12731:68:1;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;-1:-1:-1::0;;;;;12817:32:1;::::2;;::::0;;;:16:::2;:32;::::0;;;;;:37;12809:74:::2;;;::::0;;-1:-1:-1;;;12809:74:1;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;12894:1;:38:::0;;-1:-1:-1;;12894:38:1::2;-1:-1:-1::0;;;;;;;;12894:38:1;::::2;;;::::0;;12971:28:::2;:15;12991:7;12971:19;:28::i;:::-;12942:1;:58:::0;;-1:-1:-1;;;;12942:58:1::2;-1:-1:-1::0;;;;;;;;12942:58:1;;::::2;;;::::0;;13065:30;::::2;-1:-1:-1::0;13065:30:1;;;:14:::2;:30;::::0;;;;;1262:8:::2;13012:49:::0;;::::2;:83;::::0;:141:::2;;-1:-1:-1::0;;;;;;13118:30:1;::::2;;::::0;;;:14:::2;:30;::::0;;;;;1262:8:::2;13099:49;:54:::0;13012:141:::2;13011:247;;13221:37;13243:14;-1:-1:-1::0;;;;;13221:37:1::2;:21;:37::i;:::-;13011:247;;;13169:37;13191:14;-1:-1:-1::0;;;;;13169:37:1::2;:21;:37::i;:::-;3587:1:::1;12506:759:::0;;:::o;2288:35::-;;;;:::o;2370:51::-;;;;;;;;;;;;-1:-1:-1;;;;;2370:51:1;;:::o;1729:::-;;;;;;;;;;;;;:::o;14810:1516::-;14941:20;:18;:20::i;:::-;-1:-1:-1;;;;;14927:34:1;:10;-1:-1:-1;;;;;14927:34:1;;14919:75;;;;;-1:-1:-1;;;14919:75:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;15012:1;:21;-1:-1:-1;;;15012:21:1;;-1:-1:-1;;;;;15012:21:1;:25;;;;:69;;-1:-1:-1;15041:1:1;:21;1059:2;-1:-1:-1;;;15041:21:1;;;-1:-1:-1;;;;;15041:21:1;:40;;15012:69;15004:106;;;;;-1:-1:-1;;;15004:106:1;;;;;;;;;;;;-1:-1:-1;;;15004:106:1;;;;;;;;;;;;;;;15125:69;15167:8;15177:7;15186:6;15125:41;:69::i;:::-;:74;;;15121:1199;;15217:1;:25;;-1:-1:-1;;;;;;;;15256:23:1;;;;;15299:46;;;15241:1;15299:46;;;;-1:-1:-1;;;15316:21:1;;;-1:-1:-1;;;;;15316:21:1;;-1:-1:-1;;;;;;;;;;;15299:46:1;;;;;;;;15121:1199;;;15394:1;:15;;-1:-1:-1;;15376:37:1;;15394:15;-1:-1:-1;;;;;15394:15:1;;;:19;15376:37;;;;;;;-1:-1:-1;;;15452:21:1;;;;-1:-1:-1;15539:30:1;;;:14;:30;;;;;;15518:52;;1262:8;;15518:20;:52::i;:::-;15584:27;15638:30;;;:14;:30;;;;;;15488:82;;-1:-1:-1;15584:27:1;15614:55;;15488:82;;15614:23;:55::i;:::-;15584:85;;15684:20;15755:19;15742:7;15725:25;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15725:25:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15715:36;;;;;;15707:45;;:67;;;;;15797:32;;;;:16;:32;;;;;;15707:67;;;;-1:-1:-1;15797:37:1;15789:75;;;;;-1:-1:-1;;;15789:75:1;;;;;;;;;;;;-1:-1:-1;;;15789:75:1;;;;;;;;;;;;;;;15914:30;;;;:14;:30;;;;;;:65;;1308:17;;15914:48;;15949:12;15914:34;:48::i;:::-;:52;;:65::i;:::-;15879:32;;;;:16;:32;;;;;:100;;;16018:21;;:59;;:25;:59::i;:::-;15994:21;:83;16135:32;;;;:16;:32;;;;;;;;;;16097:71;;;;;;;16119:14;;16097:71;;;;;;;;;16204:1;:21;16187:45;;;16227:4;16187:45;;;;-1:-1:-1;;;16204:21:1;;;-1:-1:-1;;;;;16204:21:1;;-1:-1:-1;;;;;;;;;;;16187:45:1;;;;;;;;;-1:-1:-1;;16247:1:1;:25;;-1:-1:-1;;;;;;;;16286:23:1;;;-1:-1:-1;;14810:1516:1;;;:::o;27266:185::-;27335:7;27361:36;;;:20;:36;;;;;;:83;;27443:1;27361:83;;;27404:36;;;;:20;:36;;;;;;27361:83;27354:90;27266:185;-1:-1:-1;;27266:185:1:o;7572:807::-;4382:16;4401:9;7805:60:::1;::::0;;-1:-1:-1;;;7805:60:1;;7825:10:::1;7805:60;::::0;::::1;::::0;7845:4:::1;7805:60:::0;;;;;;;;;;;;4382:28;;-1:-1:-1;7780:13:1;;-1:-1:-1;;;;;7805:19:1;::::1;::::0;::::1;::::0;:60;;;;;::::1;::::0;;;;;;;;7747:18:::1;7805:19:::0;:60;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;7875:53:1::1;::::0;;-1:-1:-1;;;7875:53:1;;358:42:::1;7875:53;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;7875:14:1;::::1;::::0;::::1;::::0;:53;;;;;7805:60:::1;::::0;7875:53;;;;;;;-1:-1:-1;7875:14:1;:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;7939:22:1::1;::::0;-1:-1:-1;7964:26:1::1;7976:13:::0;7964:11:::1;:26::i;:::-;7939:51:::0;-1:-1:-1;8000:24:1::1;358:42;8027:36;8064:12:::0;8078:1:::1;7939:51:::0;8096:4:::1;8103:28;:15;8123:7;8103:19;:28::i;:::-;8027:105;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;8027:105:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;8027:105:1::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;-1:-1:-1::0;;;8027:105:1::1;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;;;;;;;;;;-1:-1:-1::0;;;8027:105:1::1;;;;;;;::::0;::::1;;::::0;;-1:-1:-1;8027:105:1;;::::1;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;::::0;::::1;;8000:132;;8178:15;;:22;;1207:13;8165:35;;;8151:7;8159:1;8151:10;;;;;;;;;;;;;;:49;;8143:86;;;::::0;;-1:-1:-1;;;8143:86:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;8143:86:1;;;;;;;;;;;;;::::1;;8240:53;8260:15;;8240:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;8277:15:1::1;::::0;-1:-1:-1;8277:13:1::1;::::0;-1:-1:-1;;8277:15:1:i:1;:::-;8240:19;:53::i;:::-;8303:69;8314:15;;8303:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;8361:10:1;;8331:16;;-1:-1:-1;8349:10:1::1;::::0;-1:-1:-1;8361:7:1;;8369:1:::1;::::0;8361:10;::::1;;;;;;;;;;;8303;:69::i;:::-;4420:1;;;4431:16:::0;4450:47;4485:11;4470:9;4451:28;;:5;:28;;4450:34;:47::i;:::-;4431:66;;4529:16;4518:8;:27;:57;;4567:8;4518:57;;;4548:16;4518:57;4585:49;;;-1:-1:-1;;;4585:49:1;;4613:10;4585:49;;;;;;;;;;;;4507:68;;-1:-1:-1;560:42:1;;4585:27;;:49;;;;;-1:-1:-1;;4585:49:1;;;;;;;;-1:-1:-1;560:42:1;4585:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7572:807;;;;;;;:::o;5023:92::-;3975:11;;-1:-1:-1;;;;;3975:11:1;3961:10;:25;3953:50;;;;;-1:-1:-1;;;3953:50:1;;;;;;;;;;;;-1:-1:-1;;;3953:50:1;;;;;;;;;;;;;;;5082:11:::1;:26:::0;;-1:-1:-1;;;;;;5082:26:1::1;::::0;;5023:92::o;24780:621::-;3304:1;:15;-1:-1:-1;;;;;3304:15:1;:19;;;;:49;;-1:-1:-1;3327:21:1;;:26;3304:49;3296:85;;;;;-1:-1:-1;;;3296:85:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3296:85:1;;;;;;;;;;;;;;;24933:16:::1;24912:18;:37;24904:74;;;::::0;;-1:-1:-1;;;24904:74:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;24904:74:1;;;;;;;;;;;;;::::1;;25006:18:::0;24989:406:::1;25030:16;25026:1;:20;24989:406;;;25067:24;25094:19:::0;;;:16:::1;:19;::::0;;;;;;;;-1:-1:-1;;;;;25094:19:1::1;25153:32:::0;;;:14:::1;:32:::0;;;;;;;25203:36;;25199:186:::1;;-1:-1:-1::0;;;;;25259:32:1;;::::1;25294:1;25259:32:::0;;;:14:::1;:32;::::0;;;;;:36;;;25313:11:::1;::::0;:57;;-1:-1:-1;;;25313:57:1;;::::1;::::0;::::1;::::0;;;;;;;;;;;;:11;::::1;::::0;:22:::1;::::0;:57;;;;;25294:1;25313:57;;;;;;25294:1;25313:11;:57;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;25199:186;-1:-1:-1::0;;25048:3:1::1;;24989:406;;21425:155:::0;3304:1;:15;-1:-1:-1;;;;;3304:15:1;:19;;;;:49;;-1:-1:-1;3327:21:1;;:26;3304:49;3296:85;;;;;-1:-1:-1;;;3296:85:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3296:85:1;;;;;;;;;;;;;;;21497:33:::1;21519:10;21497:21;:33::i;:::-;;21540;21562:10;21540:21;:33::i;:::-;;21425:155::o:0;31125:536::-;31257:21;;31221:15;;31257:25;;;;:63;;-1:-1:-1;;;;;;31287:29:1;;31319:1;31287:29;;;:18;:29;;;;;;:33;;31257:63;:105;;;;-1:-1:-1;31342:20:1;31324:15;:13;:15::i;:::-;-1:-1:-1;;;;;31324:38:1;;31257:105;31249:173;;;;-1:-1:-1;;;31249:173:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31475:29:1;;;;;;;:18;:29;;;;;;;;31514:33;;;;31557:27;;31475:29;;31557:18;;;:27;;;;;31475:29;;31557:27;31475:29;31557:27;31475:29;31557:18;:27;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31653:1:1;31629:21;:25;31125:536;;-1:-1:-1;;31125:536:1:o;244:33::-;;;-1:-1:-1;;;;;244:33:1;;:::o;17802:1225::-;1059:2;3168:15;:13;:15::i;:::-;-1:-1:-1;;;;;3168:33:1;;3160:70;;;;;-1:-1:-1;;;3160:70:1;;;;;;;;;;;;-1:-1:-1;;;3160:70:1;;;;;;;;;;;;;;;17958:16:::1;17937:18;:37;17929:74;;;::::0;;-1:-1:-1;;;17929:74:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;17929:74:1;;;;;;;;;;;;;::::1;;18043:20;::::0;18021:1:::1;:19:::0;-1:-1:-1;;;18021:19:1;::::1;-1:-1:-1::0;;;;;18021:19:1::1;:42;18013:85;;;::::0;;-1:-1:-1;;;18013:85:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;18157:21:::0;;18131;;18109:19:::1;::::0;18131:48:::1;::::0;:21;:25:::1;:48::i;:::-;18109:70:::0;-1:-1:-1;18207:18:1;18190:831:::1;18231:16;18227:1;:20;18190:831;;;18268:24;18295:19:::0;;;:16:::1;:19;::::0;;;;;;;;-1:-1:-1;;;;;18295:19:1::1;18354:32:::0;;;:14:::1;:32:::0;;;;;;;18404:36;;18400:611:::1;;-1:-1:-1::0;;;;;18460:32:1;::::1;18495:1;18460:32:::0;;;:14:::1;:32;::::0;;;;:36;1111:7:::1;18518:38:::0;::::1;18514:444;;1163:8;18580:38:::0;::::1;;:209;;18738:51;18759:16;18777:11;18738:20;:51::i;:::-;18580:209;;;18645:66;18664:16;18682:15;18699:11;18645:18;:66::i;:::-;-1:-1:-1::0;;;;;18887:32:1;::::1;;::::0;;;:14:::1;:32;::::0;;;;;18836:21;;:103:::1;::::0;:25:::1;:103::i;:::-;18812:21:::0;:127;18514:444:::1;18975:1;:21:::0;;::::1;-1:-1:-1::0;;;;;;;;18975:21:1;;::::1;::::0;::::1;::::0;;;::::1;;;-1:-1:-1::0;;;;;18975:21:1;;::::1;;::::0;;18400:611:::1;-1:-1:-1::0;;18249:3:1::1;;18190:831;;;;3240:1;17802:1225:::0;;:::o;488:195::-;560:42;488:195;:::o;28304:204::-;28354:29;;:::i;:::-;28412:1;28395:107;1059:2;28415:20;;28395:107;;28472:19;;;;:16;:19;;;;;;28456:10;28489:1;28456:13;;;;;;;;;;:35;28437:3;;28395:107;;;;28304:204;:::o;30780:104::-;30851:11;;:26;;;-1:-1:-1;;;30851:26:1;;;;30826:6;;-1:-1:-1;;;;;30851:11:1;;:24;;:26;;;;;;;;;;;;;;:11;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30851:26:1;;-1:-1:-1;30780:104:1;;:::o;26620:440::-;26678:7;;26741:1;26726:263;1059:2;26744:20;;;;26726:263;;26806:10;26823:1;26789:28;;;:16;:28;;;;;;;;:31;;;;;;;;;;;:35;26785:194;;26854:110;26957:6;26854:98;26911:23;26932:1;26911:23;;:20;:23::i;:::-;26871:10;26854:28;;;;:16;:28;;;;;;;;:31;;;;;;;;;;;;:35;:98::i;:::-;:102;;:110::i;:::-;26844:120;;;;26785:194;26766:3;;26726:263;;;-1:-1:-1;27041:10:1;27026:26;;;;:14;:26;;;;;;27015:38;;:6;;:10;:38::i;:::-;27008:45;;;26620:440;:::o;27591:211::-;27644:32;;:::i;:::-;27705:1;27688:108;1059:2;27708:20;;27688:108;;27768:17;27783:1;27768:14;:17::i;:::-;27749:13;27763:1;27749:16;;;;;;;;;;:36;27730:3;;27688:108;;2427:52;;;;;;;;;;;;-1:-1:-1;;;;;2427:52:1;;:::o;2064:49::-;;;;;;;;;;;;;:::o;2174:55::-;;;;;;;;;;;;;:::o;4830:187::-;3975:11;;-1:-1:-1;;;;;3975:11:1;3961:10;:25;3953:50;;;;;-1:-1:-1;;;3953:50:1;;;;;;;;;;;;-1:-1:-1;;;3953:50:1;;;;;;;;;;;;;;;4926:11:::1;:32:::0;;-1:-1:-1;;;;;4926:32:1;;::::1;-1:-1:-1::0;;;;;;4926:32:1;;::::1;;::::0;;;4968:12:::1;:42:::0;;;;;::::1;::::0;::::1;;::::0;;4830:187::o;16514:971::-;16562:1;:19;-1:-1:-1;;;16562:19:1;;-1:-1:-1;;;;;16562:19:1;:23;;;;:64;;-1:-1:-1;16589:1:1;:19;16611:15;-1:-1:-1;;;16589:19:1;;;-1:-1:-1;;;;;16589:19:1;:37;16562:64;16554:92;;;;;-1:-1:-1;;;16554:92:1;;;;;;;;;;;;-1:-1:-1;;;16554:92:1;;;;;;;;;;;;;;;16681:1;:21;-1:-1:-1;;;16681:21:1;;-1:-1:-1;;;;;16681:21:1;16721:18;;;;;:55;;-1:-1:-1;1059:2:1;-1:-1:-1;;;;;16743:33:1;;;;16721:55;16713:92;;;;;-1:-1:-1;;;16713:92:1;;;;;;;;;;;;-1:-1:-1;;;16713:92:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;16823:32:1;;;;;;:16;:32;;;;;;:37;16815:75;;;;;-1:-1:-1;;;16815:75:1;;;;;;;;;;;;-1:-1:-1;;;16815:75:1;;;;;;;;;;;;;;;16940:1;16923:14;16905:15;:13;:15::i;:::-;:32;-1:-1:-1;;;;;16905:36:1;;16901:509;;;17007:1;16992:17;;:14;:17;;;;:34;;1308:17;16992:21;:34::i;:::-;-1:-1:-1;;;;;16957:32:1;;;;;;:16;:32;;;;;:69;;;17065:21;;:59;;:25;:59::i;:::-;17041:21;:83;:1;17156:15;;-1:-1:-1;;17138:37:1;;17041:21;-1:-1:-1;;;;;17156:15:1;;;:19;17138:37;;;;;;17195:71;;-1:-1:-1;17233:32:1;;;:16;:32;;;;;;;;;;17195:71;;;;;;;;;;;;;;;;;17285:38;;;17318:4;17285:38;;;;-1:-1:-1;;;;;17285:38:1;;;-1:-1:-1;;;;;;;;;;;17285:38:1;;;;;;;;;16901:509;;;17360:39;;;17393:5;17360:39;;;;-1:-1:-1;;;;;17360:39:1;;;-1:-1:-1;;;;;;;;;;;17360:39:1;;;;;;;;;16901:509;-1:-1:-1;17420:1:1;:25;;-1:-1:-1;;;;;;;;17455:23:1;;;16514:971::o;23631:843::-;3304:1;:15;-1:-1:-1;;;;;3304:15:1;:19;;;;:49;;-1:-1:-1;3327:21:1;;:26;3304:49;3296:85;;;;;-1:-1:-1;;;3296:85:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3296:85:1;;;;;;;;;;;;;;;3860:1:::1;3821:36:::0;;;:20:::1;:36;::::0;;;;;23790:14;;3813:79:::1;;;::::0;;-1:-1:-1;;;3813:79:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;23845:16:::2;23824:18;:37;23816:76;;;::::0;;-1:-1:-1;;;23816:76:1;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;23903:19;23925:36;23946:14;23925:20;:36::i;:::-;23903:58:::0;-1:-1:-1;23989:18:1;23972:496:::2;24013:16;24009:1;:20;23972:496;;;24050:17;24070:32:::0;;;:16:::2;:32;::::0;;;;;;;:35;;;;;;;;;-1:-1:-1;;;;;24070:35:1::2;24138:27:::0;;;:16:::2;:27:::0;;;;;:43;;;;;;;;;24070:35;;24213:37:::2;24243:6;24213:25;24138:43:::0;24226:11;24213:12:::2;:25::i;:37::-;-1:-1:-1::0;;;;;24269:27:1;::::2;24315:1;24269:27:::0;;;:16:::2;:27;::::0;;;;;;;:43;;;;;;;;;24195:55;;-1:-1:-1;24269:47:1;24265:193:::2;;-1:-1:-1::0;;;;;24336:27:1;;::::2;24382:1;24336:27:::0;;;:16:::2;:27;::::0;;;;;;;:43;;;;;;;;;:47;;;24401:11:::2;::::0;:42;;-1:-1:-1;;;24401:42:1;;::::2;::::0;::::2;::::0;;;;;;;;;;;;:11;::::2;::::0;:22:::2;::::0;:42;;;;;24382:1;24401:42;;;;;;24382:1;24401:11;:42;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;24265:193;-1:-1:-1::0;;;24031:3:1::2;;23972:496;;;;3902:1;3391::::1;23631:843:::0;;;:::o;27948:223::-;28003:34;;:::i;:::-;28066:1;28049:116;1059:2;28069:20;;28049:116;;28131:23;;;;:20;:23;;;;;;28110:15;28152:1;28110:18;;;;;;;;;;:44;28091:3;;28049:116;;1786:55;;;;;;;;;;;;;:::o;25663:152::-;25781:10;25738:7;25764:28;;;:16;:28;;;;;;;;:44;;;;;;;;;25663:152::o;2119:49::-;;;;;;;;;;;;;:::o;29757:195::-;29800:17;29845:1;29830:116;1059:2;29848:20;;;;29830:116;;29893:23;;;29919:1;29893:23;;;:20;:23;;;;;;:27;29889:46;;29922:13;;;;;29889:46;29870:3;;29830:116;;284:197;358:42;284:197;:::o;25986:226::-;26046:29;;:::i;:::-;26104:1;26087:119;1059:2;26107:20;;26087:119;;26181:10;26164:28;;;;:16;:28;;;;;;;;:31;;;;;;;;;26148:10;26193:1;26148:13;;;;;;;;;;:47;26129:3;;26087:119;;211:27;;;-1:-1:-1;;;;;211:27:1;;:::o;1848:55::-;;;;;;;;;;;;;:::o;1658:16::-;;;;;;;;;-1:-1:-1;;;;;1658:16:1;;;;-1:-1:-1;;;1658:16:1;;;;;-1:-1:-1;;;1658:16:1;;;;;-1:-1:-1;;;1658:16:1;;;;;;;;:::o;20094:1064::-;1059:2;3168:15;:13;:15::i;:::-;-1:-1:-1;;;;;3168:33:1;;3160:70;;;;;-1:-1:-1;;;3160:70:1;;;;;;;;;;;;-1:-1:-1;;;3160:70:1;;;;;;;;;;;;;;;20197:12:::1;:10;:12::i;:::-;20178:1;:15:::0;-1:-1:-1;;;;;20178:15:1::1;:31;::::0;;;::::1;;20170:77;;;;-1:-1:-1::0;;;20170:77:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20288:20;::::0;20265:1:::1;:19:::0;-1:-1:-1;;;20265:19:1;::::1;-1:-1:-1::0;;;;;20265:19:1::1;:43;20257:82;;;::::0;;-1:-1:-1;;;20257:82:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20357:21:::0;;20349:66:::1;;;::::0;;-1:-1:-1;;;20349:66:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;20445:21:::0;;;20518;;20494;;20445;;20494:45;::::1;::::0;20561:30:::1;::::0;20574:16:::1;::::0;20445:21;;20574:12:::1;:16::i;:::-;20561:8:::0;;:12:::1;:30::i;:::-;20637:21:::0;;20550:41;;-1:-1:-1;20611:48:1::1;::::0;:21:::1;:7:::0;20550:41;20611:11:::1;:21::i;:48::-;20670:11;::::0;:46:::1;::::0;;-1:-1:-1;;;20670:46:1;;20701:4:::1;20670:46;::::0;::::1;::::0;;;;;;;;;20601:58;;-1:-1:-1;;;;;;20670:11:1;;::::1;::::0;:22:::1;::::0;:46;;;;;:11:::1;::::0;:46;;;;;;;;:11;;:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;20726:11:1::1;::::0;:53:::1;::::0;;-1:-1:-1;;;20726:53:1;;358:42:::1;20726:53;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;20726:11:1;;::::1;::::0;-1:-1:-1;20726:19:1::1;::::0;-1:-1:-1;20726:53:1;;;;;::::1;::::0;;;;;;;;;:11:::1;::::0;:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;20909:11:1::1;::::0;20791:19:::1;::::0;;;;;358:42:::1;::::0;20853:30:::1;::::0;20891:8;;-1:-1:-1;;;;;20909:11:1::1;20923:7:::0;20791:19;;;20952:28:::1;:15;20972:7;20952:19;:28::i;:::-;20853:128;;;;;;;;;;;;;-1:-1:-1::0;;;;;20853:128:1::1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;20853:128:1::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;20853:128:1;;::::1;::::0;;::::1;::::0;;;;;;21016:1:::1;20992:21:::0;:25;;;21027:21;:25;;;21062:21;:25;21103:48;;;;;;;::::1;::::0;;;;;;;;;;;20853:128;;-1:-1:-1;20853:128:1;-1:-1:-1;20853:128:1;;-1:-1:-1;21103:48:1::1;::::0;;;;20853:128;21103:48;;::::1;3240:1;;;;;20094:1064::o:0;21929:608::-;3304:1;:15;22024;;-1:-1:-1;;;;;3304:15:1;:19;;;;:49;;-1:-1:-1;3327:21:1;;:26;3304:49;3296:85;;;;;-1:-1:-1;;;3296:85:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3296:85:1;;;;;;;;;;;;;;;22066:1:::1;22051:335;1059:2;22069:20;::::0;::::1;;22051:335;;-1:-1:-1::0;;;;;22114:34:1;::::1;22154:1;22114:34:::0;;;:16:::1;:34;::::0;;;;;;;:37:::1;::::0;::::1;::::0;;;;;;;;:41;22110:266:::1;;22186:116;22295:6;22186:104;22249:23;22270:1;22249:23;;:20;:23::i;:::-;-1:-1:-1::0;;;;;22186:34:1;::::1;;::::0;;;:16:::1;:34;::::0;;;;;;;:37:::1;::::0;::::1;::::0;;;;;;;;;:41:::1;:104::i;:116::-;-1:-1:-1::0;;;;;22320:34:1;::::1;22360:1;22320:34:::0;;;:16:::1;:34;::::0;;;;;;;:37:::1;::::0;::::1;::::0;;;;;;;:41;22175:127;;::::1;::::0;22110:266:::1;22091:3;;22051:335;;;-1:-1:-1::0;22399:11:1;;22395:136:::1;;22426:11;::::0;:94:::1;::::0;;-1:-1:-1;;;22426:94:1;;-1:-1:-1;;;;;22426:94:1;;::::1;;::::0;::::1;::::0;;;;;;;;;:11;;;::::1;::::0;:22:::1;::::0;:94;;;;;:11:::1;::::0;:94;;;;;;;:11;;:94;::::1;;::::0;::::1;;;;::::0;::::1;26377:123:::0;26482:10;26435:7;26461:32;;;:20;:32;;;;;;26377:123;:::o;2329:34::-;;;;:::o;6849:321::-;4072:16;4091:9;4072:28;-1:-1:-1;6997:15:1;1207:13:::1;3683:18:::0;::::1;3670:9;:31;;3662:68;;;::::0;;-1:-1:-1;;;3662:68:1;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;3662:68:1;;;;;;;;;;;;;::::1;;7031:53:::2;7051:15;;7031:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;7068:15:1::2;::::0;-1:-1:-1;7068:13:1::2;::::0;-1:-1:-1;;7068:15:1:i:2;7031:53::-;7095:68;7106:15;;7095:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;7123:16:1;;-1:-1:-1;7141:10:1::2;::::0;-1:-1:-1;7153:9:1::2;::::0;-1:-1:-1;7095:10:1::2;:68::i;:::-;4110:1:::1;4121:16:::0;4140:47;4175:11;4160:9;4141:28;;:5;:28;;4140:34;:47::i;:::-;4121:66;-1:-1:-1;4121:66:1;4208:17;:9;4222:2;4208:13;:17::i;:::-;:28;:59;;4250:17;:9;4264:2;4250:13;:17::i;:::-;4208:59;;;4239:8;4208:59;4277:49;;;-1:-1:-1;;;4277:49:1;;4305:10;4277:49;;;;;;;;;;;;4197:70;;-1:-1:-1;560:42:1;;4277:27;;:49;;;;;-1:-1:-1;;4277:49:1;;;;;;;;-1:-1:-1;560:42:1;4277:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6849:321;;;;;:::o;778:71::-;;;-1:-1:-1;;;;;778:71:1;;:::o;31854:121::-;3304:1;:15;-1:-1:-1;;;;;3304:15:1;:19;;;;:49;;-1:-1:-1;3327:21:1;;:26;3304:49;3296:85;;;;;-1:-1:-1;;;3296:85:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3296:85:1;;;;;;;;;;;;;;;31938:30:::1;::::0;730:42:::1;::::0;31938:30;::::1;;;::::0;31960:7;;31938:30:::1;::::0;;;31960:7;730:42;31938:30;::::1;;;;;;;;;;;;;::::0;::::1;;;;32200:165:::0;32258:7;32289:5;;;32312:6;;;;32304:36;;;;;-1:-1:-1;;;32304:36:1;;;;;;;;;;;;-1:-1:-1;;;32304:36:1;;;;;;;;;;;;;;;32357:1;32200:165;-1:-1:-1;;;32200:165:1:o;14116:409::-;14191:29;14261:6;14278:94;14191:29;1377:1;14261:6;14278:25;:94::i;:::-;-1:-1:-1;14388:38:1;;14411:14;;14388:38;;;;;14441:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14116:409;;;:::o;13503:411::-;13613:30;;;;:14;:30;;;;;;;;;13578:16;:32;;;;;;1308:17;13613:44;;;13578:79;;;13667:21;:57;;;;;;;:1;13735:17;;-1:-1:-1;;13735:17:1;;-1:-1:-1;;;;;13735:17:1;;;-1:-1:-1;13735:17:1;;;;;-1:-1:-1;;;;;;;;13797:23:1;;;13874:32;;13836:71;;;;;;;13613:30;;13836:71;;;;;;;;;13503:411;:::o;34567:130:2:-;9203:3;;34627:24;;-1:-1:-1;;;;;9203:3:2;9195:26;;9194:64;;-1:-1:-1;9247:3:2;;9227:25;;-1:-1:-1;;;;;9247:3:2;9227:11;:25::i;:::-;:30;9194:64;9190:130;;;9274:35;8851:1;9274:19;:35::i;:::-;;9190:130;9354:3;;;;;;;;;-1:-1:-1;;;;;9354:3:2;-1:-1:-1;;;;;9354:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9354:16:2;9341:8;;-1:-1:-1;;;;;9341:8:2;;;9333:37;;;9329:106;;9407:3;;;;;;;;;-1:-1:-1;;;;;9407:3:2;-1:-1:-1;;;;;9407:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9407:16:2;9386:8;:38;;-1:-1:-1;;;;;;9386:38:2;-1:-1:-1;;;;;9386:38:2;;;;;;;;;9329:106;34670:8:::1;::::0;::::1;;;;;;-1:-1:-1::0;;;;;34670:8:2::1;-1:-1:-1::0;;;;;34670:18:2::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;47772:579:::0;47903:17;48030:6;48037:1;48030:9;;;;;;;;;;;;;-1:-1:-1;;;;;;48030:9:2;-1:-1:-1;;;48030:16:2;;;48029:40;;;48052:6;48059:1;48052:9;;;;;;;;;;;;;-1:-1:-1;;;;;;48052:9:2;-1:-1:-1;;;48052:16:2;;48029:40;:74;;;;48100:1;48074:28;;48080:6;48087:1;48080:9;;;;;;;;;;;;;;48074:28;;48029:74;48025:113;;;-1:-1:-1;48126:1:2;48119:8;;48025:113;48147:18;48168:96;48204:6;48212:8;48228:7;48238:25;:23;:25::i;:::-;48168:35;:96::i;:::-;48147:117;;48279:13;48274:53;;48315:1;48308:8;;;;;48274:53;-1:-1:-1;48343:1:2;;47772:579;-1:-1:-1;;;;47772:579:2:o;32371:168:1:-;32429:7;32461:1;32456;:6;;32448:39;;;;;-1:-1:-1;;;32448:39:1;;;;;;;;;;;;-1:-1:-1;;;32448:39:1;;;;;;;;;;;;;;;-1:-1:-1;32509:5:1;;;32371:168::o;32545:232::-;32603:7;32627:6;32623:45;;-1:-1:-1;32656:1:1;32649:8;;32623:45;32690:5;;;32694:1;32690;:5;:1;32713:5;;;;;:10;32705:46;;;;;-1:-1:-1;;;32705:46:1;;;;;;;;;;;;;;;;;;;;;;;;;;;29389:193;29500:16;;;29514:1;29500:16;;;29457:22;29500:16;;;;;29457:22;29500:16;;;;;;;;;;-1:-1:-1;29500:16:1;29492:24;;29537:13;29526:5;29532:1;29526:8;;;;;;;;;;;;;:24;-1:-1:-1;;;;;29526:24:1;;;-1:-1:-1;;;;;29526:24:1;;;;;880:42;29560:5;29566:1;29560:8;;;;;;;;;;;;;:15;-1:-1:-1;;;;;29560:15:1;;;-1:-1:-1;;;;;29560:15:1;;;;;29389:193;;;:::o;28722:373::-;28828:8;28823:266;28847:15;:22;28842:2;:27;;;28823:266;;;28922:6;-1:-1:-1;;;;;28899:29:1;:15;28915:2;28899:19;;;;;;;;;;;;;;;;:29;;;;28891:71;;;;;-1:-1:-1;;;28891:71:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;29006:1;28984:15;29000:2;28984:19;;;;;;;;;;;;;;;;:23;;;:65;;;;;1059:2;29011:38;;:15;29027:2;29011:19;;;;;;;;;;;;;;;;:38;;;;28984:65;28976:102;;;;;-1:-1:-1;;;28976:102:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;28871:4;;28823:266;;8870:1250;9040:16;-1:-1:-1;;;;;9022:34:1;:14;-1:-1:-1;;;;;9022:34:1;;;9014:74;;;;;-1:-1:-1;;;9014:74:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;9106:29;9118:16;9106:11;:29::i;:::-;9098:66;;;;;-1:-1:-1;;;9098:66:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;9175:26;-1:-1:-1;;;;;9204:32:1;;;:127;;9299:32;9326:4;9299:22;:12;9316:4;9299:16;:22::i;:32::-;9204:127;;;9251:12;9204:127;9363:22;;9175:156;;-1:-1:-1;9342:18:1;9418:34;9175:156;9363:22;9418;:34::i;:::-;9395:57;-1:-1:-1;9462:17:1;9482:34;:18;9505:10;9482:22;:34::i;:::-;9462:54;;9527:76;9539:14;9555:15;9571:1;9555:18;;;;;;;;;;;;;;9527:76;;9575:27;9592:9;9575:12;:16;;:27;;;;:::i;:::-;9527:11;:76::i;:::-;9630:1;9614:129;9638:10;9633:2;:15;;;9614:129;;;9670:62;9682:14;9698:15;9714:2;9698:19;;;;;;;;;;;;;;;;9670:62;;9719:12;9670:11;:62::i;:::-;9650:4;;9614:129;;;;9753:51;9769:14;9785:18;9753:15;:51::i;:::-;-1:-1:-1;;;;;9819:32:1;;;9815:191;;9867:47;9883:16;9901:12;9867:15;:47::i;:::-;9966:14;-1:-1:-1;;;;;9934:61:1;9948:16;-1:-1:-1;;;;;9934:61:1;;9982:12;9934:61;;;;;;;;;;;;;;;;;;9815:191;-1:-1:-1;;;;;;;;10016:34:1;;;;;;;:18;:34;;;;;:50;;;;;;10076:21;:37;;;;;;;-1:-1:-1;;;8870:1250:1:o;32783:163::-;32841:7;32872:1;32868;:5;32860:34;;;;;-1:-1:-1;;;32860:34:1;;;;;;;;;;;;-1:-1:-1;;;32860:34:1;;;;;;;;;;;;;;;32904:9;32920:1;32916;:5;;;;;;;32783:163;-1:-1:-1;;;;32783:163:1:o;19652:155::-;19778:22;1207:13;19793:6;19778:14;:22::i;:::-;-1:-1:-1;;;;;19743:32:1;;;;;;;:14;:32;;;;;:57;;;;-1:-1:-1;19652:155:1:o;19254:241::-;19403:35;19431:6;19403:23;:15;19423:2;19403:19;:23::i;:35::-;-1:-1:-1;;;;;19368:32:1;;;;;;;:14;:32;;;;;;:70;;;;19448:11;;:40;;-1:-1:-1;;;19448:40:1;;;;;;;;;;;:11;;;;;:22;;:40;;;;;19368:32;;19448:40;;;;;;19368:32;19448:11;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19254:241;;;:::o;30162:403::-;30240:7;30330:36;;;:20;:36;;;;;;;;;30281:16;:32;;;;;;30240:7;;30281:86;;:44;;30318:6;30281:36;:44::i;:86::-;30377:22;30451:36;;;:20;:36;;;;;;;;;30402:16;:32;;;;;;30260:107;;-1:-1:-1;30377:22:1;;30402:86;;30451:36;30402:44;;30439:6;30402:36;:44::i;:::-;:48;;:86::i;:::-;30377:111;-1:-1:-1;30506:19:1;;:52;;30541:17;:10;30556:1;30541:14;:17::i;:::-;30506:52;;;30528:10;30506:52;30499:59;30162:403;-1:-1:-1;;;;30162:403:1:o;42348:2648:2:-;42450:16;42497:1;42487:7;:11;42486:32;;;;;42515:2;42504:7;:13;;42486:32;42478:41;;;;;;42619:12;;;42629:1;42619:12;;;;;;;;;42539:2;42529:12;;;;;42597:19;;42619:12;;;;;;;;;;-1:-1:-1;42619:12:2;42597:34;;42664:7;42653:20;;42641:6;42648:1;42641:9;;;;;;;;;;;:32;-1:-1:-1;;;;;42641:32:2;;;;;;;;-1:-1:-1;42705:13:2;;;42715:2;42705:13;;;;;;;;;42683:19;;42705:13;;;;;;;;-1:-1:-1;;42758:13:2;;;42768:2;42758:13;;;;;;;;;42683:35;;-1:-1:-1;42728:27:2;;42758:13;-1:-1:-1;42758:13:2;;;42768:2;;42758:13;;;;;-1:-1:-1;42758:13:2;42728:43;;42781:30;42814:40;:38;:40::i;:::-;42902:4;42887:20;;;43253:11;43241:10;43237:28;43222:8;-1:-1:-1;;43218:16:2;43208:27;43204:62;43185:17;;;43178:89;43280:28;;;43328:25;;;43321:57;;;43418:13;;;;;;;;;;;;43321:57;;-1:-1:-1;43397:18:2;;43418:13;;;;;;;;;-1:-1:-1;;;43482:4:2;43471:16;;;43464:32;;;43543:12;;;43553:1;43543:12;;;;;;;;;43471:16;;-1:-1:-1;43515:25:2;;43543:12;;;43553:1;;43543:12;;;;;-1:-1:-1;43543:12:2;43515:40;;43565;43575:5;43582:2;43586:1;43589:12;43603:1;43565:9;:40::i;:::-;;43615:20;;:::i;:::-;:62;;;;;;;;43639:6;43615:62;;;;43647:6;43615:62;;;;43655:14;43615:62;;;;43671:5;43615:62;;;;;43687:15;43705:47;;;;;;;;;;;;;;-1:-1:-1;;;43705:47:2;;;43730:4;43736:15;43705:14;:47::i;:::-;43795:12;;;43805:1;43795:12;;;;;;;;;43687:65;;-1:-1:-1;43762:30:2;;43795:12;;;;;;;;;;;-1:-1:-1;43795:12:2;43762:45;;43873:4;43859:12;43855:23;43849:30;-1:-1:-1;;;43934:1:2;43930:73;43923:4;43904:17;43900:28;43892:112;-1:-1:-1;;;44059:1:2;44055:71;44048:4;44029:17;44025:28;44017:110;-1:-1:-1;;;44182:1:2;44178:69;44171:4;44152:17;44148:28;44140:108;-1:-1:-1;;;44303:1:2;44299:67;44292:4;44273:17;44269:28;44261:106;-1:-1:-1;;;44422:1:2;44418:65;44411:4;44392:17;44388:28;44380:104;-1:-1:-1;;;44539:1:2;44535:63;44528:4;44509:17;44505:28;44497:102;-1:-1:-1;;;44654:1:2;44650:61;44643:4;44624:17;44620:28;44612:100;-1:-1:-1;;;44767:1:2;44763:59;44756:4;44737:17;44733:28;44725:98;-1:-1:-1;44842:123:2;44874:7;44910:17;44929:4;44934:1;44929:7;;;;44938:15;44945:4;44950:1;44945:7;;;;44938:15;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44938:15:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44938:15:2;;;;;;;;;;;;;;;;;;-1:-1:-1;44938:15:2;;-1:-1:-1;;44938:15:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44938:15:2;44955:4;44960:1;44955:7;;;;44893:70;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44893:70:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44893:70:2;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44893:70:2;;;;;;;;;;;;;-1:-1:-1;;44893:70:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44893:70:2;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44893:70:2;;;;;;;;;;;;;-1:-1:-1;;44893:70:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44883:81;;;;;;44842:31;:123::i;:::-;-1:-1:-1;44982:7:2;42348:2648;-1:-1:-1;;;;;;;;;;;42348:2648:2:o;34703:147::-;34816:18;;34793:51::o;9927:205::-;9992:16;10104:21;:19;:21::i;10269:131::-;10372:21;10365:28;;;;;;;-1:-1:-1;;10365:28:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10327:26;;10365:28;;10372:21;;10365:28;;10372:21;10365:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10269:131;:::o;48757:2755::-;48909:19;49052:22;49098:6;49105:10;49098:18;;;;;;;;;;;;;;49161:13;;;;;;;;;;;;49098:18;;;;;49077:51;;;-1:-1:-1;49138:20:2;;49161:13;;;49098:18;;49161:13;;;;;-1:-1:-1;49161:13:2;49138:36;;49184:52;49194:6;49202:17;49221:2;49225:7;49234:1;49184:9;:52::i;:::-;;49301:48;49325:12;49339:8;49308:40;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49308:40:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49308:40:2;;;;;;;;;;;;;;;;-1:-1:-1;49308:40:2;;;;;;;;;;;;;;;49301:48;;49308:40;;-1:-1:-1;49308:40:2;;;-1:-1:-1;49301:48:2;;;;;49308:40;49301:48;;;;;;;;;;;-1:-1:-1;;49301:48:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49301:48:2;;;;;;;;;;;;;;;;;;-1:-1:-1;49301:48:2;;-1:-1:-1;;49301:48:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49301:48:2;49284:66;;;49301:48;49284:66;;;;;;;;;;;;;;;;;;;;;;49274:77;;;;;;49252:18;;;;;;;;;:99;49246:145;;49375:5;49368:12;;;;;;49246:145;49400:17;49441:6;49448:17;49469:15;49448:37;49488:1;49448:41;49441:49;;;;;;;;;;;;;;;49495:1;49430:66;-1:-1:-1;;;;;49420:77:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49420:77:2;;49400:97;;49507:78;49517:6;49525:17;49546:15;49525:37;49564:4;:11;49577:4;49583:1;49507:9;:78::i;:::-;;49753:90;49772:12;49779:4;49772:12;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49772:12:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49772:12:2;;;;;;;;;;;;;;;;;;-1:-1:-1;49772:12:2;;-1:-1:-1;;49772:12:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49772:12:2;49806:34;;49786:7;;49806:6;;49813:26;;;;49806:34;;;;;;;;;;;;49753:18;:90::i;:::-;49748:134;;49866:5;49859:12;;;;;;;49748:134;50160:21;;;50170:10;50160:21;;;50128:29;50160:21;;;;;;;;;;;;;;;;-1:-1:-1;50160:21:2;50128:53;;50191:74;50201:6;50209:17;50229:2;50209:22;50233:10;50245:16;50263:1;50191:9;:74::i;:::-;-1:-1:-1;50314:2:2;50304:13;;;;;50275:26;50304:13;;;;;50275:26;50304:13;;;;;;;;;;-1:-1:-1;;50385:11:2;;50275:42;;-1:-1:-1;50345:51:2;;:56;;;;50411;;50421:6;;50429:15;;50442:2;50275:42;50327:15;50411:9;:56::i;:::-;;50477:25;50505:21;50512:13;50505:21;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50505:21:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50505:21:2;;;;;;;;;;;;;;;;;;-1:-1:-1;50505:21:2;;-1:-1:-1;;50505:21:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50505:21:2;50586:53;;;;50505:21;;-1:-1:-1;50603:16:2;;50505:21;;;50586:53;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50586:53:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50576:64;;;;;;50540:22;:32;50563:8;50540:32;;;;;;;;;;;;:100;50536:230;;;50705:32;;;;:22;:32;;;;;50698:39;50536:230;;;50761:5;50754:12;;;;;;;;;;;50536:230;50911:26;;;50921:15;50911:26;;;;;;;;;50888:20;;50911:26;;;;;;;;;;-1:-1:-1;50911:26:2;50888:49;;50947:65;50957:6;50965:17;50984:15;51001:7;51010:1;50947:9;:65::i;:::-;;51027:47;51037:15;51044:7;51037:15;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51037:15:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51037:15:2;;;;;;;;;;;;;;;;;;-1:-1:-1;51037:15:2;;-1:-1:-1;;51037:15:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51037:15:2;51054:4;51060:13;51027:9;:47::i;:::-;51022:91;;51097:5;51090:12;;;;;;;;;;;;51022:91;51210:60;;;;:41;:60;;;;;;;;51205:224;;51349:69;51399:6;51407:10;51349:49;:69::i;:::-;51286:60;;;;:41;:60;;;;;:132;;-1:-1:-1;;51286:132:2;;;;;;;;;;51205:224;-1:-1:-1;51445:60:2;;;;:41;:60;;;;;;;;;48757:2755;-1:-1:-1;;;;;;;;;;;48757:2755:2:o;31981:189:1:-;32108:18;32153:9;;;;31981:189::o;32952:139::-;33010:7;33037:6;33029:33;;;;;-1:-1:-1;;;33029:33:1;;;;;;;;;;;;-1:-1:-1;;;33029:33:1;;;;;;;;;;;;;;;33083:1;33079;:5;;;;;;;32952:139;-1:-1:-1;;;32952:139:1:o;10367:576::-;-1:-1:-1;;;;;10488:32:1;;;;;;:16;:32;;;;;;;;:48;;;;;;;;;10484:223;;10557:32;;;;:16;:32;;;;;;;;10590:20;:36;;;;;;;;10557:70;;;;;;;;:87;;-1:-1:-1;;;;;;10557:87:1;-1:-1:-1;;;;;10557:87:1;;;;;10658:36;;;;;;:38;;-1:-1:-1;10658:38:1;;;10484:223;-1:-1:-1;;;;;10717:32:1;;;;;;:16;:32;;;;;;;;:48;;;;;;;;:70;;;;;;10797:20;:36;;;;;;:58;;;;;;10871:65;;;;;;;10750:14;;10717:32;10871:65;;;;;;;;;10367:576;;;:::o;11282:426::-;-1:-1:-1;;;;;11471:38:1;;;;;;:20;:38;;;;;;11467:177;;11559:19;;;11530:49;;;;:15;:49;;;;;:68;;-1:-1:-1;;;;;;11530:68:1;-1:-1:-1;;;;;11530:68:1;;;;;11612:21;;-1:-1:-1;11612:21:1;;;11467:177;-1:-1:-1;;;;;11653:38:1;;;;;;;:20;:38;;;;;:48;;;;;;;11282:426::o;11951:317::-;-1:-1:-1;;;;;12040:32:1;;;;;;:14;:32;;;;;;12036:174;;12123:20;;;12093:51;;;;:16;:51;;;;;:70;;-1:-1:-1;;;;;;12093:70:1;-1:-1:-1;;;;;12093:70:1;;;;;12177:22;;-1:-1:-1;12177:22:1;;;12036:174;-1:-1:-1;;;;;12219:32:1;;;;;;;:14;:32;;;;;:42;;;;;;;11951:317::o;34996:169:2:-;9203:3;;35076:23;;-1:-1:-1;;;;;9203:3:2;9195:26;;9194:64;;-1:-1:-1;9247:3:2;;9227:25;;-1:-1:-1;;;;;9247:3:2;9227:11;:25::i;:::-;:30;9194:64;9190:130;;;9274:35;8851:1;9274:19;:35::i;:::-;;9190:130;9354:3;;;;;;;;;-1:-1:-1;;;;;9354:3:2;-1:-1:-1;;;;;9354:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9354:16:2;9341:8;;-1:-1:-1;;;;;9341:8:2;;;9333:37;;;9329:106;;9407:3;;;;;;;;;-1:-1:-1;;;;;9407:3:2;-1:-1:-1;;;;;9407:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9407:16:2;9386:8;:38;;-1:-1:-1;;;;;;9386:38:2;-1:-1:-1;;;;;9386:38:2;;;;;;;;;9329:106;35118:8:::1;::::0;::::1;;;;;;-1:-1:-1::0;;;;;35118:8:2::1;-1:-1:-1::0;;;;;35118:38:2::1;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;51647:693:::0;51775:25;51812:14;51839:9;51829:7;:19;51812:36;;51880:9;51866:3;:10;:23;;51858:32;;;;;;51954:2;:16;;;;52070:14;;52094:220;52125:7;52111:11;52106:2;:16;:26;52101:1;:32;52094:220;;;52193:13;;;52187:20;52231:11;;;52224:24;52280:2;52275:7;;;;52296;52094:220;;;-1:-1:-1;52330:3:2;;51647:693;-1:-1:-1;;;;;;;51647:693:2:o;32401:377::-;9203:3;;32521:11;;-1:-1:-1;;;;;9203:3:2;9195:26;;9194:64;;-1:-1:-1;9247:3:2;;9227:25;;-1:-1:-1;;;;;9247:3:2;9227:11;:25::i;:::-;:30;9194:64;9190:130;;;9274:35;8851:1;9274:19;:35::i;:::-;;9190:130;9354:3;;;;;;;;;-1:-1:-1;;;;;9354:3:2;-1:-1:-1;;;;;9354:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9354:16:2;9341:8;;-1:-1:-1;;;;;9341:8:2;;;9333:37;;;9329:106;;9407:3;;;;;;;;;-1:-1:-1;;;;;9407:3:2;-1:-1:-1;;;;;9407:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9407:16:2;9386:8;:38;;-1:-1:-1;;;;;;9386:38:2;-1:-1:-1;;;;;9386:38:2;;;;;;;;;9329:106;32569:14:::1;::::0;;32581:1:::1;32569:14:::0;;;;;::::1;::::0;;;32544:22:::1;::::0;32569:14:::1;;;;;;;;;;;;;;;;;-1:-1:-1::0;;32606:8:2;;32593:10;;32544:39;;-1:-1:-1;32606:8:2;32544:39;;32612:1:::1;::::0;32593:10:::1;;;;;::::0;;::::1;::::0;;;;;:21;32637:5;32643:1:::1;32637:8;;;;32624:7;32632:1;32624:10;;;;;;;;;::::0;;::::1;::::0;;;;;:21;32668:5;32674:1:::1;32668:8;;;;32655:7;32663:1;32655:10;;;;;;;;;::::0;;::::1;::::0;;;;;:21;32699:5;32705:1:::1;32699:8;;;;32686:7;32694:1;32686:10;;;;;;;;;;;;;:21;;;;32724:47;32739:11;32752:7;32761:9;32724:14;:47::i;:::-;32717:54:::0;32401:377;-1:-1:-1;;;;;32401:377:2:o;45002:152::-;45101:32;;;;:22;:32;;;;;;:46;45002:152::o;10406:2031::-;10455:16;10545:1;10487:55;10499:42;10487:11;:55::i;:::-;:59;10483:246;;;10572:3;:69;;-1:-1:-1;;;;;;10572:69:2;10598:42;10572:69;;;10655:38;;;;;;;;;;;;-1:-1:-1;;;10655:38:2;;;;;;:23;:38::i;:::-;-1:-1:-1;10714:4:2;10707:11;;10483:246;10800:1;10742:55;10754:42;10742:11;:55::i;:::-;:59;10738:255;;;10835:3;:69;;-1:-1:-1;;;;;;10835:69:2;10861:42;10835:69;;;10918:39;;;;;;;;;;;;-1:-1:-1;;;10918:39:2;;;;;;:23;:39::i;10738:255::-;11064:1;11006:55;11018:42;11006:11;:55::i;:::-;:59;11002:250;;;11097:3;:69;;-1:-1:-1;;;;;;11097:69:2;11123:42;11097:69;;;11180:36;;;;;;;;;;;;-1:-1:-1;;;11180:36:2;;;;;;:23;:36::i;11002:250::-;11323:1;11265:55;11277:42;11265:11;:55::i;:::-;:59;11261:254;;;11358:3;:69;;-1:-1:-1;;;;;;11358:69:2;11384:42;11358:69;;;11441:38;;;;;;;;;;;;-1:-1:-1;;;11441:38:2;;;;;;:23;:38::i;11261:254::-;11586:1;11528:55;11540:42;11528:11;:55::i;:::-;:59;11524:252;;;11620:3;:69;;-1:-1:-1;;;;;;11620:69:2;11646:42;11620:69;;;11703:37;;;;;;;;;;;;-1:-1:-1;;;11703:37:2;;;;;;:23;:37::i;11524:252::-;11847:1;11789:55;11801:42;11789:11;:55::i;:::-;:59;11785:202;;;-1:-1:-1;11882:3:2;:69;;-1:-1:-1;;;;;;11882:69:2;11908:42;11882:69;;;11965:11;;11785:202;12058:1;12000:55;12012:42;12000:11;:55::i;:::-;:59;11996:201;;;-1:-1:-1;12092:3:2;:69;;-1:-1:-1;;;;;;12092:69:2;12118:42;12092:69;;;12175:11;;11996:201;12268:1;12210:55;12222:42;12210:11;:55::i;:::-;:59;12206:203;;;-1:-1:-1;12304:3:2;:69;;-1:-1:-1;;;;;;12304:69:2;12330:42;12304:69;;;12387:11;;12206:203;-1:-1:-1;12425:5:2;10406:2031;:::o;48357:394::-;48535:14;;48468:19;;48513:4;;48535:31;;48527:40;;;;;;48582:9;48577:145;48600:13;48597:1;:16;48577:145;;;48653:7;48661:1;48653:10;;;;;;;;;;;;;;-1:-1:-1;;;;;;48653:10:2;;48638:8;;48647:1;;48638:11;;;;;;;;;-1:-1:-1;;;;;48638:25:2;;;48634:78;;48692:5;48683:14;;48634:78;48615:3;;48577:145;;;-1:-1:-1;48738:6:2;48357:394;-1:-1:-1;;;;48357:394:2:o;45160:1003::-;45397:13;;;45407:2;45397:13;;;;;;;;;45259:17;;;;;;;;;;45376:18;;45397:13;;;;;;;;;;;-1:-1:-1;45397:13:2;45376:34;;45420:11;45465:4;45450:7;45458:1;45450:10;;;;;;;;;;;;;;;;45444:17;;45439:23;;:30;45434:1;:36;45420:50;;45488:40;45498:7;45507:6;45515:2;45519:5;45526:1;45488:9;:40::i;:::-;45559:13;;;45569:2;45559:13;;;;;;;;;45480:48;;-1:-1:-1;45538:18:2;;45559:13;;;;;;;;;;;-1:-1:-1;45559:13:2;45538:34;;45592:6;45582:16;;;;45616:84;45626:7;45680:4;45656:7;45673:1;45664:6;:10;45656:19;;;;;;;;;;;;;;;;45645:39;;;;45635:50;;;45691:5;45698:1;45616:9;:84::i;:::-;45608:92;;45758:2;45751:5;45747:14;45741:21;45733:29;;45800:2;45793:5;45789:14;45783:21;45775:29;;45841:41;45857:8;45867:2;45871:4;45877;45841:15;:41::i;:::-;45920:18;;;;;;45823:59;;-1:-1:-1;45823:59:2;-1:-1:-1;;;;;;45896:55:2;;;;;;45892:265;;;45974:4;45967:11;;;;;;;;;;;45892:265;46027:41;46043:8;46053:2;46057:4;46063;46027:15;:41::i;:::-;46114:18;;;;;;-1:-1:-1;;;;;46090:55:2;;;;;;;-1:-1:-1;46082:64:2;;-1:-1:-1;;;;;;;;46082:64:2;46169:1597;46285:19;46316:10;46477:17;46518:6;46525:11;46539:1;46525:15;46518:23;;;;;;;;;;;;;;;46546:1;46507:40;-1:-1:-1;;;;;46497:51:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46497:51:2;;46477:71;;46558:52;46568:6;46576:11;46589:4;:11;46602:4;46608:1;46558:9;:52::i;:::-;-1:-1:-1;46660:2:2;46650:13;;;;;46620:27;46650:13;;;;;46620:27;46650:13;;;;;;;;;;-1:-1:-1;46650:13:2;46620:43;;46673:47;46683:6;46691:5;46698:2;46702:14;46718:1;46673:9;:47::i;:::-;-1:-1:-1;46753:22:2;;;46763:11;46753:22;;;;;;;;;46730:20;;46753:22;;;;;;;;;;-1:-1:-1;46753:22:2;46730:45;;46809:1;46798:14;;46785:7;46793:1;46785:10;;;;;;;;;;;:27;-1:-1:-1;;;;;46785:27:2;;;;;;;;;46829:51;46839:6;46861:2;46847:11;:16;46865:2;46869:7;46878:1;46829:9;:51::i;:::-;;46890:21;:93;;;;;;;;;;;;;;;;;;;46993:43;47003:8;47013:1;47016:2;47020:7;47029:6;46993:9;:43::i;:::-;;47054:48;47064:15;47071:7;47064:15;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47064:15:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47064:15:2;;;;;;;;;;;;;;;;;;-1:-1:-1;47064:15:2;;-1:-1:-1;;47064:15:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47064:15:2;47081:4;47087:14;47054:9;:48::i;:::-;47046:56;;47117:5;47112:49;;47145:5;47138:12;;;;;;;;;47112:49;47262:22;:158;;;;;;;;;;;;;;;;;47453:17;;;47463:6;47453:17;;;;;;;;;47262:158;;-1:-1:-1;47430:20:2;;47453:17;;;;;;;;;;;-1:-1:-1;47453:17:2;47430:40;;47493:4;47480:17;;:7;47488:1;47480:10;;;;;;;;;;;:17;-1:-1:-1;;;;;47480:17:2;;;;;;;;;47507:36;47517:6;47525:1;47528:2;47532:7;47541:1;47507:9;:36::i;:::-;;47553:17;47594:6;47601:10;47594:18;;;;;;;;;;;;;;;47617:1;47583:35;-1:-1:-1;;;;;47573:46:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47573:46:2;;47553:66;;47629:47;47639:6;47647;47655:4;:11;47668:4;47674:1;47629:9;:47::i;:::-;;47694:43;47704:15;47711:7;47704:15;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47704:15:2;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47704:15:2;;;;;;;;;;;;;;;;;;-1:-1:-1;47704:15:2;;-1:-1:-1;;47704:15:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47704:15:2;47721:4;47727:9;47694;:43::i;:::-;47686:51;46169:1597;-1:-1:-1;;;;;;;;;;;46169:1597:2:o;26923:455::-;9203:3;;27042:11;;-1:-1:-1;;;;;9203:3:2;9195:26;;9194:64;;-1:-1:-1;9247:3:2;;9227:25;;-1:-1:-1;;;;;9247:3:2;9227:11;:25::i;:::-;:30;9194:64;9190:130;;;9274:35;8851:1;9274:19;:35::i;:::-;;9190:130;9354:3;;;;;;;;;-1:-1:-1;;;;;9354:3:2;-1:-1:-1;;;;;9354:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9354:16:2;9341:8;;-1:-1:-1;;;;;9341:8:2;;;9333:37;;;9329:106;;9407:3;;;;;;;;;-1:-1:-1;;;;;9407:3:2;-1:-1:-1;;;;;9407:14:2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9407:16:2;9386:8;:38;;-1:-1:-1;;;;;;9386:38:2;-1:-1:-1;;;;;9386:38:2;;;;;;;;;9329:106;27065:10:::1;27078:8:::0;;:41:::1;::::0;;-1:-1:-1;;;27078:41:2;;;;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;;;;;27078:8:2;;::::1;::::0;:17:::1;::::0;27096:11;;27109:9;;27078:41;;;;;::::1;::::0;::::1;::::0;;;;27065:10;27078:41:::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;27078:41:2;;-1:-1:-1;27141:7:2::1;27151:11;:23:::0;::::1;27141:33;27133:41:::0;::::1;27129:107;;;-1:-1:-1::0;27197:1:2::1;::::0;-1:-1:-1;27190:8:2::1;;27129:107;27245:17;27265:14;27273:5;27265:7;:14::i;:::-;27245:34;;27296:8;::::0;::::1;;;;;;-1:-1:-1::0;;;;;27296:8:2::1;-1:-1:-1::0;;;;;27296:28:2::1;;27332:5;27339:1;27342:11;27355:4;27361:9;27296:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;27296:75:2;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;27296:75:2;;26923:455;-1:-1:-1;;;;;;26923:455:2:o;10138:125::-;10219:37;;;;:21;;:37;;;;;:::i;52547:982::-;52639:13;52654:25;53085:8;53103:12;53166:4;53160:11;53197:5;53191:4;53184:19;53238:2;53233;53227:4;53223:13;53216:25;53276:2;53271;53265:4;53261:13;53254:25;53314:2;53309;53303:4;53299:13;53292:25;53371:2;53365:4;53360:3;53354:4;53351:1;53348;53342:4;53337:37;53474:11;;;;;;-1:-1:-1;52547:982:2;-1:-1:-1;;;;;;;52547:982:2:o;42006:336::-;42067:26;42105:24;;:::i;:::-;42139:22;42151:3;42156:4;42139:11;:22::i;:::-;42171:16;:3;:14;:16::i;:::-;42202:6;42197:88;42218:4;:11;42214:1;:15;42197:88;;;42250:24;42266:4;42271:1;42266:7;;;;;;;;;;;;;;42250:3;:15;;:24;;;;:::i;:::-;42231:3;;42197:88;;;;42294:17;:3;:15;:17::i;:::-;42328:7;;42006:336;-1:-1:-1;;42006:336:2:o;1633:434::-;1723:9;1757:2;1723:9;1746:13;:18;1742:81;;1809:2;1798:8;:13;1792:2;:20;1780:32;1742:81;1832:13;;;:24;;;1944:4;1938:11;;1962:17;;;;-1:-1:-1;1992:14:2;;2032:18;;2019:32;;;-1:-1:-1;1913:148:2:o;7845:128::-;7916:50;7943:4;6001:1;7916:26;:50::i;7460:178::-;7553:49;7564:4;5952:1;7588:6;:13;7553:10;:49::i;:::-;7612:19;:4;7624:6;7612:11;:19::i;8109:136::-;8181:57;8208:4;6163:1;6899:145;6999:38;:4;7033:2;7018:11;7028:1;7018:11;;;;7017:18;6999:11;:38::i;6171:722::-;6282:2;6272:6;:12;6268:619;;6300:42;:4;6318:22;6329:1;6319:11;;;6318:22;;;6300:11;:42::i;6268:619::-;6373:4;6363:6;:14;6359:528;;6393:38;:4;6427:2;6412:11;6422:1;6412:11;;;;6411:18;6393:11;:38::i;:::-;6445:25;:4;6460:6;6468:1;6445:14;:25::i;:::-;;6359:528;;;6501:6;6491;:16;6487:400;;6523:38;:4;6557:2;6542:11;6552:1;6542:11;;;;6541:18;6523:11;:38::i;:::-;6575:25;:4;6590:6;6598:1;6575:14;:25::i;6487:400::-;6631:10;6621:6;:20;6617:270;;6657:38;:4;6691:2;6676:11;6686:1;6676:11;;;;6675:18;6657:11;:38::i;:::-;6709:25;:4;6724:6;6732:1;6709:14;:25::i;6617:270::-;-1:-1:-1;;;;;6755:6:2;:28;6751:136;;6799:38;:4;6833:2;6818:11;6828:1;6818:11;;;;6817:18;6799:11;:38::i;:::-;6851:25;:4;6866:6;6874:1;6851:14;:25::i;2693:1213::-;2772:21;;:::i;:::-;2842:13;;;;2824:8;;:15;2809:12;;:30;:46;2805:127;;;2871:50;2878:4;2884:32;2888:4;:13;;;2903:5;:12;2884:3;:32::i;:::-;2919:1;2884:36;2871:6;:50::i;:::-;2989:12;;3048:11;;3123:13;;3321:25;;;3306:41;;3195:19;3216:2;3191:28;;;;3391:14;;;;3424:206;3437:2;3430:3;:9;3424:206;;3548:10;;3535:24;;3594:2;3586:10;;;;3610:9;;;;-1:-1:-1;;3441:9:2;3424:206;;;3748:10;;3803:11;;3659:2;:8;;;;3651:3;:17;-1:-1:-1;;3651:21:2;3760:9;;3744:26;;;3799:22;;3847:21;3834:35;;-1:-1:-1;3895:4:2;;2693:1213;-1:-1:-1;2693:1213:2:o;4153:575::-;4252:13;;;;4230:8;;:15;4248:1;4230:19;:35;4226:97;;;4281:31;4288:4;4294;:13;;;4310:1;4294:17;4281:6;:31::i;:::-;4375:4;4369:11;4450:6;4444:13;4541:2;4532:6;4524;4520:19;4516:28;4639:5;4633:4;4625:20;-1:-1:-1;4685:1:2;4673:14;4658:30;;-1:-1:-1;;4341:381:2:o;5020:735::-;5105:21;;:::i;:::-;5167:13;;;;5149:8;;:15;5142:22;;:38;5138:111;;;5196:42;5203:4;5209:24;5213:4;:13;;;5228:4;5209:3;:24::i;5196:42::-;-1:-1:-1;5332:11:2;;5407:13;;5483:19;;;5479:30;;5616:11;;5270:3;:11;;;-1:-1:-1;;5270:15:2;5629:9;5612:27;5609:38;;;;5596:52;;;5676:17;;5661:33;;5332:11;5020:735::o;2252:146::-;2305:9;2335:2;2330;:7;2326:47;;;-1:-1:-1;2360:2:2;2353:9;;2326:47;-1:-1:-1;2389:2:2;2252:146;-1:-1:-1;2252:146:2:o;2073:173::-;2170:8;;2188:21;2170:4;2199:9;2188:4;:21::i;:::-;2219:20;2226:4;2232:6;2219;:20::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;

Swarm Source

ipfs://3a5402d4e128e900d554b988a895df56cc85db0f95ad2e7e16b15d4b08d5cb2f
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.