Contract 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7911f093103fe49697f9fc74ac3fec6d8374b2d5f1aaf3c5540c7cf8a43b820cApprove517077512022-12-01 9:05:013 days 15 hrs ago0xe0a770ccc34bf322cda2dc4a10938d50c1b5863e IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.001543015331
0x2869388d667786723e0c976e2d4eba41e4be696a46d2d0515a64e1c5458002eeApprove505676992022-11-07 10:53:3427 days 13 hrs ago0x6097f6878dbb8cd81fbda920fedec7841b10904a IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.044847388193
0xee6f656ea5e9638a901c613ac36f281fe5afe24e256b5de502b80836ce582ce2Approve504391652022-11-04 0:55:3530 days 23 hrs ago0xc75428090d1c060b108192154b5936692398a4f6 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.009084754196
0x758ce69b5053cd12b63c6261cd21bee90c43e5339cab09141c354f66de02aca3Approve504391582022-11-04 0:55:1530 days 23 hrs ago0xc75428090d1c060b108192154b5936692398a4f6 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.009084754196
0x02d51d896f7ce2916dcafdd34b97d0ee9809910b455961a6fc3e9dc9aa931855Approve502836412022-10-30 23:48:2035 days 42 mins ago0x00000004b5903c36d66b65041887b3e7c9d871bd IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000186912
0xb02df8dbddac385514be62d954c501acc55bde5d85d8dbd754f73458ad751932Approve500808632022-10-27 5:05:1938 days 19 hrs ago0xfa3d234a4cfe92c3261a384f6175f57636db9970 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000117089651
0x9f86a8737de76933c33020d87098abb780e4cc33e6b890a2b2792c4772b4f160Approve491083402022-10-13 22:07:3552 days 2 hrs ago0xec25d80a079ef79b8c757228b6fc2a7366a6a32d IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000063047091
0xc93cfc06ad9e2dcc7c3e22a502baee1316ac4a5ec1287fe574f60fcb6d212852Approve485812582022-10-06 21:45:2859 days 2 hrs ago0xe0a770ccc34bf322cda2dc4a10938d50c1b5863e IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000684592931
0xd65f3aa58ea3c60628feed32f7baeed5f60bbab419d7c8ca20c06c5f47490ed4Approve485807722022-10-06 21:35:1659 days 2 hrs ago0xe0a770ccc34bf322cda2dc4a10938d50c1b5863e IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000356579338
0x9ff135efded36f188da1ee91c02207c4f33868943289f298ffe70bf155c2d883Approve484693512022-10-05 11:15:0360 days 13 hrs ago0x0ef13f0a855adc205d3888704b53bfba7121ae5c IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.00011682
0xe0509da549d8b717bfbc67a356b76d359d64cb0ecf9b5286c0d9d8cd58ed3b4dUpdate Swap And ...483897182022-10-04 10:34:1161 days 13 hrs ago0xf81d1eb206389f16e168938f2fb95c6be17c59ac IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000027742112
0x2a4afae3b8ce951d0187ed82280ae8e6d9359b277f1cfb8b59770de9507ee08dTransfer483895852022-10-04 10:31:4561 days 13 hrs ago0xf81d1eb206389f16e168938f2fb95c6be17c59ac IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.0007373225
0x3a1fc3697d742edd8cff0f4d16127e0da9db64968580ed3e3e9681b5b6aba0bcApprove477790332022-09-26 8:54:0269 days 15 hrs ago0x00000004b5903c36d66b65041887b3e7c9d871bd IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.00005568898
0x20a86a1c33f96b004cd14704b55b7f4c18627e775c4dd9f5387c0cd1d7c84ed4Approve474506092022-09-22 2:21:3673 days 22 hrs ago0xe0a770ccc34bf322cda2dc4a10938d50c1b5863e IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000168403034
0x366bdb855f403334729dc2192c58deb0ceaf1894704acc96ea13a19e4303de32Approve467198342022-09-10 21:28:0685 days 3 hrs ago0x2f85a79f13aab24a30a060caab1bcd46010dac77 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000656023829
0xc76a9ad0f4aeb04ae52ee52fc163a23314b8b3362eec124182e4a7986dc58c0fApprove465524142022-09-07 21:12:2688 days 3 hrs ago0x43b44b52de1b26b90b3abaa5b405946e4801925e IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000571014322
0xa092cc83084dee1ffaffc90d40099440ddb1b4d6f2235ae91371b843e3a7aa6cTransfer444899282022-08-08 17:40:38118 days 6 hrs ago0x5062defa9ff898c914635b057330fe807665e14b IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.00131303938
0xac59744942e89147e8e91065f09aade2debdec549b6e75dc55f8653881cd96cfApprove442379722022-08-04 23:45:08122 days 45 mins ago0x5d177d35c13a380a9e7388b94721f188b0d791f6 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000322196857
0xdbd3d116faf60d7beb99ffee5eb3cd114342f84e87915a7b1a3884fea48d11b7Approve437609832022-07-29 1:16:24128 days 23 hrs ago0x7a0ef482134aa53468850a7b117eca38a6a3003d IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000183866092
0xb883619e4346e81359c14cde609dc26c8b127fa1d94959ed1fe8c28d044c72d0Approve430593392022-07-18 21:47:32139 days 2 hrs ago0x75e06c42008d219c8fa3163bc89c807b225b7ab0 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000226531693
0x6aa320b50249721d1712df707336e079ef567bb190d95948567cfd85db0fb603Approve429575832022-07-17 11:23:17140 days 13 hrs ago0x6d7a4d7b376e3d18547ec087c0b64e49384ffea6 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000158258294
0xd71747a44316af0f9593d2661f917747f8053d3505b18a33208288f55bd3b9beApprove423101812022-07-08 15:29:44149 days 9 hrs ago0x6d7a4d7b376e3d18547ec087c0b64e49384ffea6 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.00014885409
0xb92b7c3fac7183aa8ffbaebe04bd99387fd23975166e41175eb20e396abea6d2Approve423076932022-07-08 14:36:41149 days 9 hrs ago0x5d177d35c13a380a9e7388b94721f188b0d791f6 IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000109908198
0x155d5bbcf0596190416d8c9460ceb9c0248b574d0108d46a0bdef33e6a116c6dUpdate Swap And ...417827892022-07-01 18:34:57156 days 5 hrs ago0xf81d1eb206389f16e168938f2fb95c6be17c59ac IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.000518564529
0xeb37edee07ff07c1237d029bab9fdfade4de4a7fc0d288186ee0fbe5370eb2c3Approve411911862022-06-24 0:56:25163 days 23 hrs ago0x00000004b5903c36d66b65041887b3e7c9d871bd IN  0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360 FTM0.00018984
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2a4afae3b8ce951d0187ed82280ae8e6d9359b277f1cfb8b59770de9507ee08d483895852022-10-04 10:31:4561 days 13 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010163230135784 FTM
0x2a4afae3b8ce951d0187ed82280ae8e6d9359b277f1cfb8b59770de9507ee08d483895852022-10-04 10:31:4561 days 13 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002540807533946 FTM
0x2a4afae3b8ce951d0187ed82280ae8e6d9359b277f1cfb8b59770de9507ee08d483895852022-10-04 10:31:4561 days 13 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.00001270403766973 FTM
0x1d9b0adfe7944feb48fd6d9932077d641675394d5e39cdea2945c170fc5a75a4479805702022-09-29 2:08:4166 days 22 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010169299438208 FTM
0x1d9b0adfe7944feb48fd6d9932077d641675394d5e39cdea2945c170fc5a75a4479805702022-09-29 2:08:4166 days 22 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002542324859552 FTM
0x1d9b0adfe7944feb48fd6d9932077d641675394d5e39cdea2945c170fc5a75a4479805702022-09-29 2:08:4166 days 22 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.00001271162429776 FTM
0xd083dd527d617fe84efcaa305dcd272a141c4ed791bc254ccfb37e8b400a5b77477791092022-09-26 8:55:1969 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010154282890337 FTM
0xd083dd527d617fe84efcaa305dcd272a141c4ed791bc254ccfb37e8b400a5b77477791092022-09-26 8:55:1969 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002538570722584 FTM
0xd083dd527d617fe84efcaa305dcd272a141c4ed791bc254ccfb37e8b400a5b77477791092022-09-26 8:55:1969 days 15 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.000012692853612921 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010543913269808 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002635978317451 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.000013179891587259 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010543915290177 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002635978822544 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.000013179894112721 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010543917310547 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002635979327636 FTM
0x1827060275d04321a1eaeae13b1de8d538e32e8ef24e1291b95499b1eabaae7b477788682022-09-26 8:50:2369 days 15 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.000013179896638183 FTM
0x5fdc0f9bfd7c1f70f06015f32ff66a330c997c17ababa24c959b2f4d2db5f38f474506222022-09-22 2:21:4973 days 22 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010703230596655 FTM
0x5fdc0f9bfd7c1f70f06015f32ff66a330c997c17ababa24c959b2f4d2db5f38f474506222022-09-22 2:21:4973 days 22 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002675807649163 FTM
0x5fdc0f9bfd7c1f70f06015f32ff66a330c997c17ababa24c959b2f4d2db5f38f474506222022-09-22 2:21:4973 days 22 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.000013379038245818 FTM
0x1f6285a1ff52d08e4826511ae8cc1aea9e8acaae7b804369e320984096a7052e472093142022-09-18 19:06:3277 days 5 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010685263955194 FTM
0x1f6285a1ff52d08e4826511ae8cc1aea9e8acaae7b804369e320984096a7052e472093142022-09-18 19:06:3277 days 5 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360x390337aed6d513a02fc65fc75c5770a15e51f6e40.000002671315988798 FTM
0x1f6285a1ff52d08e4826511ae8cc1aea9e8acaae7b804369e320984096a7052e472093142022-09-18 19:06:3277 days 5 hrs ago SpookySwap: Router 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee2360.000013356579943992 FTM
0xafa09e388e7a10885d5d11881566df40f5b685e221276cb2681f608e88978d05472092802022-09-18 19:05:5077 days 5 hrs ago 0x8877e4b70c50cf275c2b77d6a0f69a312f5ee236 SpookySwap: Router0.000010685266016344 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Life

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-03-04
*/

/**
 *  
 *  
 * ██      ██ ███████ ██████      ███████ ██ ███    ██  █████  ███    ██  ██████ ███████ 
 * ██      ██ ██           ██     ██      ██ ████   ██ ██   ██ ████   ██ ██      ██      
 * ██      ██ █████    █████      █████   ██ ██ ██  ██ ███████ ██ ██  ██ ██      █████   
 * ██      ██ ██           ██     ██      ██ ██  ██ ██ ██   ██ ██  ██ ██ ██      ██      
 * ███████ ██ ██      ██████      ██      ██ ██   ████ ██   ██ ██   ████  ██████ ███████                                                                           
 *
 *                                                                           
*/                                                                          


// LIF3 Finance - a FATFIRE FINANCE layer on Fantom.  
// Website: lif3.exchange
// Twitter: https://twitter.com/defifatfire (@@defifatfire)
// TG: https://t.me/fatfiredao


// SPDX-License-Identifier: UNLICENSED

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

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

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

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

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

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

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

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

pragma solidity 0.6.12;


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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

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

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

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

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

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

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

// 
/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

    uint256 constant MAXSUPPLY = 85000000000000000000000000 ether;

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

    function maxSupply() public pure returns (uint256) {
        return MAXSUPPLY;
    }


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

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

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

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

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

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

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

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

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

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


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

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

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

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

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

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

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, "BEP20: burn amount exceeds allowance")
        );
    }
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

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

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

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

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

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

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

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

    function initialize(address, address) external;
}

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

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

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

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

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

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// Life Token.

contract Life is BEP20 {
    
    // Transfer tax rate in basis points. (default 5%)
    uint16 public transferTaxRate = 500;
    
    // Burn Fee, in percent of transferTaxRate.
    uint16 public burnFee = 20;
    
    // Liq Fee, in percent of transferTaxRate.
    uint16 public liqFee = 100 - burnFee;
    
    // Max transfer tax rate: 20%.
    uint16 public constant maxTaxRate = 2000;
    
    // Fee address
    address payable public constant feeAddr = 0x390337AeD6D513a02Fc65fc75C5770A15E51f6e4;
    
    // Burn address
    address public constant burnAddr = 0x000000000000000000000000000000000000dEaD;

    // Contract address is excluded from tax, like Presale Cotract.
    mapping(address => bool) public noTaxRecipient;

    // Contract address is excluded from tax, like Presale Cotract.
    mapping(address => bool) public noTaxSender;

    // Max transfer amount rate in basis points. (Currently at 100% of total supply)
    uint16 public maxTransferAmountRate = 10000;
    
    // Addresses that excluded from antiWhale
    mapping(address => bool) private _excludedFromAntiWhale;
    
    // Automatic swap and liquify enabled
    bool public swapAndLiquifyEnabled = false;
    
    // Min amount to liquify. (default 10 Lifes)
    uint256 public minAmountToLiquify = 10 ether;
    
    // The swap router, modifiable.
    IUniswapV2Router02 public swapRouter;
    
    // The trading pair
    address public swapPair;
    
    // In swap and liquify
    bool private _inSwapAndLiquify;

    // The operator can call all functions except of minting Life
    address private _operator;
    
    // The lpEarner address set for buyback & burn 
    address constant public lpEarner = 0x390337AeD6D513a02Fc65fc75C5770A15E51f6e4;

    // Events
    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);
    event TransferTaxRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event BurnFeeUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event MaxTransferAmountRateUpdated(address indexed operator, uint256 previousRate, uint256 newRate);
    event SwapAndLiquifyEnabledUpdated(address indexed operator, bool enabled);
    event MinAmountToLiquifyUpdated(address indexed operator, uint256 previousAmount, uint256 newAmount);
    event SwapRouterUpdated(address indexed operator, address indexed router, address indexed pair);
    event SetNoTaxSenderAddr(address indexed operator, address indexed noTaxSenderAddr, bool _value);
    event SetNoTaxRecipientAddr(address indexed operator, address indexed noTaxRecipientAddr, bool _value);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity);
    event SetExcludedFromAntiWhale(address indexed operator, address indexed accountAddress, bool excluded);

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    modifier antiWhale(address sender, address recipient, uint256 amount) {
        if (maxTransferAmount() > 0) {
            if (
                _excludedFromAntiWhale[sender] == false
                && _excludedFromAntiWhale[recipient] == false
            ) {
                require(amount <= maxTransferAmount(), "Life::antiWhale: Transfer amount exceeds the maxTransferAmount");
            }
        }
        _;
    }

    modifier lockTheSwap {
        _inSwapAndLiquify = true;
        _;
        _inSwapAndLiquify = false;
    }

    modifier transferTaxFree {
        uint16 _transferTaxRate = transferTaxRate;
        transferTaxRate = 0;
        _;
        transferTaxRate = _transferTaxRate;
    }

    /**
     * @notice Constructs the LifeSwapToken contract.
     */
    constructor() public BEP20("Life", "LIFE") {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);

        _excludedFromAntiWhale[msg.sender] = true;
        _excludedFromAntiWhale[address(0)] = true;
        _excludedFromAntiWhale[address(this)] = true;
        _excludedFromAntiWhale[burnAddr] = true;
    }

    

    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    /// @dev overrides transfer function to meet tokenomics of Life
    function _transfer(address sender, address recipient, uint256 amount) internal virtual override antiWhale(sender, recipient, amount) {
        // swap and liquify
        if (
            swapAndLiquifyEnabled == true
            && _inSwapAndLiquify == false
            && address(swapRouter) != address(0)
            && swapPair != address(0)
            && sender != swapPair           // excludes Buying in FTM Liquidity
            && sender != owner()            // excludes owner (later MasterChef)
        ) { swapAndLiquify(); }

        if (recipient == burnAddr || sender == _operator ||
        noTaxRecipient[recipient] || noTaxSender[sender] ||
        transferTaxRate == 0 ) {

            super._transfer(sender, recipient, amount);  // transfer with no Tax
            
        } else {
            // default tax is 5% of every transfer
            uint256 taxAmount = amount.mul(transferTaxRate).div(10000);
            uint256 burnAmount = taxAmount.mul(burnFee).div(100);
            uint256 liqAmount = taxAmount.sub(burnAmount);
            require(taxAmount == burnAmount + liqAmount, "LIFE::transfer: Burn value invalid");

            // default 95% of transfer sent to recipient
            uint256 sendAmount = amount.sub(taxAmount);
            require(amount == sendAmount + taxAmount, "LIFE::transfer: Tax value invalid");

            super._transfer(sender, burnAddr, burnAmount);
            super._transfer(sender, address(this), liqAmount);
            super._transfer(sender, recipient, sendAmount);
        }
    }

    /// @dev Swap and liquify
    function swapAndLiquify() private lockTheSwap transferTaxFree {
        uint256 contractTokenBalance = balanceOf(address(this));
        uint256 maxTransferAmount = maxTransferAmount();
        contractTokenBalance = contractTokenBalance > maxTransferAmount ? maxTransferAmount : contractTokenBalance;

        if (contractTokenBalance >= minAmountToLiquify) {
            // only min amount to liquify
            uint256 liquifyAmount = minAmountToLiquify;

            // split the liquify amount into halves
            uint256 half = liquifyAmount.div(2);
            uint256 otherHalf = liquifyAmount.sub(half.mul(80).div(100));

            // swap tokens for ETH
            swapTokensForEth(half);
        
            // send 20% ETH to the Fee Wallet
            feeAddr.transfer(address(this).balance.mul(20).div(100));

            // how much ETH is in the token contract
            uint256 newBalance = address(this).balance;

            // add liquidity
            addLiquidity(otherHalf, newBalance);

            emit SwapAndLiquify(half, newBalance, otherHalf);
        }
    }

    /// @dev Swap tokens for eth
    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the LIFE -> weth path for swapping
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = swapRouter.WETH();

        _approve(address(this), address(swapRouter), tokenAmount);

        // make the swap
        swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    /// @dev Add liquidity
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(swapRouter), tokenAmount);

        // add the liquidity
        swapRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            lpEarner,
            block.timestamp
        );
    }

    /**
     * @dev Returns the max transfer amount.
     */
    function maxTransferAmount() public view returns (uint256) {
        return totalSupply().mul(maxTransferAmountRate).div(10000);
    }

    /**
     * @dev Returns the address is excluded from antiWhale or not.
     */
    function isExcludedFromAntiWhale(address _account) public view returns (bool) {
        return _excludedFromAntiWhale[_account];
    }

    // To receive FTM from swapRouter when swapping
    receive() external payable {}

    /**
     * @dev Update the transfer tax rate.
     * Can only be called by the current operator.
     */
    function updateTransferTaxRate(uint16 _transferTaxRate) public onlyOperator {
        require(_transferTaxRate <= maxTaxRate, "LIFE::updateTransferTaxRate: Transfer tax rate must not exceed the maximum rate.");
        emit TransferTaxRateUpdated(msg.sender, transferTaxRate, _transferTaxRate);
        transferTaxRate = _transferTaxRate;
    }

    /**
     * @dev Update the Burn Fee.
     * Can only be called by the current operator.
     */
    function updateBurnFee(uint16 _burnFee) public onlyOperator {
        require(_burnFee <= 100, "LIFE::updateBurnRate: Burn Fee must not exceed the maximum rate.");
        emit BurnFeeUpdated(msg.sender, burnFee, _burnFee);
        burnFee = _burnFee;
    }
    
    /**
     * @dev Update the max transfer amount rate.
     * Can only be called by the current operator.
     */
    function updateMaxTransferAmountRate(uint16 _maxTransferAmountRate) public onlyOperator {
        require(_maxTransferAmountRate <= 10000, "LIFE::updateMaxTransferAmountRate: Max transfer amount to High.");
        require(_maxTransferAmountRate >= 500, "LIFE::updateMaxTransferAmountRate: Min transfer amount to Low.");
        emit MaxTransferAmountRateUpdated(msg.sender, maxTransferAmountRate, _maxTransferAmountRate);
        maxTransferAmountRate = _maxTransferAmountRate;
    }

    /**
     * @dev Update the min amount to liquify.
     * Can only be called by the current operator.
     */
    function updateMinAmountToLiquify(uint256 _minAmount) public onlyOperator {
        emit MinAmountToLiquifyUpdated(msg.sender, minAmountToLiquify, _minAmount);
        minAmountToLiquify = _minAmount;
    }

    /**
     * @dev Exclude or include an address from antiWhale.
     * Can only be called by the current operator.
     */
    function setExcludedFromAntiWhale(address _account, bool _excluded) public onlyOperator {
        _excludedFromAntiWhale[_account] = _excluded;
        emit SetExcludedFromAntiWhale(msg.sender, _account, _excluded);
    }

    /**
     * @dev Update the swapAndLiquifyEnabled.
     * Can only be called by the current operator.
     */
    function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOperator {
        emit SwapAndLiquifyEnabledUpdated(msg.sender, _enabled);
        swapAndLiquifyEnabled = _enabled;
    }

    /**
     * @dev Update the swap router.
     * Can only be called by the current operator.
     */
    function updateSwapRouter(address _router) public onlyOperator {
        require (address(swapRouter) == address(0), "Router already set");
        swapRouter = IUniswapV2Router02(_router);
        swapPair = IUniswapV2Factory(swapRouter.factory()).getPair(address(this), swapRouter.WETH());
        require(swapPair != address(0), "LIFE::updateSwapRouter: Invalid pair address.");
        emit SwapRouterUpdated(msg.sender, address(swapRouter), swapPair);
    }

    /**
     * @dev Update the no Tax Contract Address.
     * Can only be called by the current operator.
     */

    function setNoTaxSenderAddr(address _noTaxSenderAddr, bool _value) external onlyOperator {
        noTaxSender[_noTaxSenderAddr] = _value;
        emit SetNoTaxSenderAddr(msg.sender, _noTaxSenderAddr, _value);
    }

    function setNoTaxRecipientAddr(address _noTaxRecipientAddr, bool _value) external onlyOperator {
        noTaxRecipient[_noTaxRecipientAddr] = _value;
        emit SetNoTaxRecipientAddr(msg.sender, _noTaxRecipientAddr, _value);
    }



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

    /**
     * @dev Transfers operator of the contract to a new account (`newOperator`).
     * Can only be called by the current operator.
     */
    function transferOperator(address newOperator) public onlyOperator {
        require(newOperator != address(0), "LIFE::transferOperator: new operator is the zero address");
        emit OperatorTransferred(_operator, newOperator);
        _operator = newOperator;
    }

}


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

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

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

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

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

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

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

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

// MasterChef is the master of LIFE. He can make LIFE and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once LIFE is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MasterChef is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of Life
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accLifePerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accLifePerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. Lifes to distribute per second.
        uint256 lastRewardSecond; // Last second that Lifes distribution occurs.
        uint256 accLifePerShare; // Accumulated Lifes per share, times 1e18. See below.
        uint16 depositFeeBP; // Deposit fee in basis points
        uint256 lpSupply;
    }

    // The DON TOKEN!
    Life public life;
    // Dev address.
    address public devaddr;
    // life tokens created per second.
    uint256 public LifePerSecond;
    // Deposit Fee address
    address public feeAddress;
    // Max emission rate.
    uint256 public constant MAX_EMISSION_RATE = 5 ether;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block timestamp when Life mining starts.
    uint256 public startTime;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );
    event SetFeeAddress(address indexed user, address indexed newAddress);
    event SetDevAddress(address indexed user, address indexed newAddress);
    event UpdateEmissionRate(address indexed user, uint256 LifePerSecond);
    event addPool(
        uint256 indexed pid,
        address lpToken,
        uint256 allocPoint,
        uint256 depositFeeBP
    );
    event setPool(
        uint256 indexed pid,
        address lpToken,
        uint256 allocPoint,
        uint256 depositFeeBP
    );
    event UpdateStartTime(uint256 newStartTime);

    constructor(
        Life _life,
        address _devaddr,
        address _feeAddress,
        uint256 _LifePerSecond,
        uint256 _startTime
    ) public {
        life = _life;
        devaddr = _devaddr;
        feeAddress = _feeAddress;
        LifePerSecond = _LifePerSecond;
        startTime = _startTime;
    }

    function poolLength() external view returns (uint256) {
        return poolInfo.length;
    }

    mapping(IBEP20 => bool) public poolExistence;
    modifier nonDuplicated(IBEP20 _lpToken) {
        require(poolExistence[_lpToken] == false, "nonDuplicated: duplicated");
        _;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    function add(
        uint256 _allocPoint,
        IBEP20 _lpToken,
        uint16 _depositFeeBP,
        bool _withUpdate
    ) external onlyOwner nonDuplicated(_lpToken) {
        // valid ERC20 token
        _lpToken.balanceOf(address(this));

        require(_depositFeeBP <= 400, "add: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardSecond = block.timestamp > startTime
            ? block.timestamp
            : startTime;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolExistence[_lpToken] = true;
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardSecond: lastRewardSecond,
                accLifePerShare: 0,
                depositFeeBP: _depositFeeBP,
                lpSupply: 0
            })
        );

        emit addPool(
            poolInfo.length - 1,
            address(_lpToken),
            _allocPoint,
            _depositFeeBP
        );
    }

    // Update the given pool's Life allocation point and deposit fee. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        uint16 _depositFeeBP,
        bool _withUpdate
    ) external onlyOwner {
        require(_depositFeeBP <= 400, "set: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;

        emit setPool(
            _pid,
            address(poolInfo[_pid].lpToken),
            _allocPoint,
            _depositFeeBP
        );
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to)
        public
        pure
        returns (uint256)
    {
        return _to.sub(_from);
    }

    // View function to see pending Life on frontend.
    function pendingLife(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accLifePerShare = pool.accLifePerShare;
        if (
            block.timestamp > pool.lastRewardSecond &&
            pool.lpSupply != 0 &&
            totalAllocPoint > 0
        ) {
            uint256 multiplier = getMultiplier(
                pool.lastRewardSecond,
                block.timestamp
            );
            uint256 lifeReward = multiplier
                .mul(LifePerSecond)
                .mul(pool.allocPoint)
                .div(totalAllocPoint);
                uint256 devReward = lifeReward.div(10);
                uint256 totalRewards = life.totalSupply().add(devReward).add(
                lifeReward
            );
                if (totalRewards > life.maxSupply()) {
                lifeReward = life.maxSupply().sub(life.totalSupply());
            }
            accLifePerShare = accLifePerShare.add(
                lifeReward.mul(1e18).div(pool.lpSupply)
            );
        }
        return user.amount.mul(accLifePerShare).div(1e18).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.timestamp <= pool.lastRewardSecond) {
            return;
        }
        if (pool.lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardSecond = block.timestamp;
            return;
        }
        uint256 multiplier = getMultiplier(
            pool.lastRewardSecond,
            block.timestamp
        );
        uint256 lifeReward = multiplier
            .mul(LifePerSecond)
            .mul(pool.allocPoint)
            .div(totalAllocPoint);

        uint256 devReward = lifeReward.div(10);
        uint256 totalRewards = life.totalSupply().add(devReward).add(
            lifeReward
        );

        if (totalRewards <= life.maxSupply()) {
            // mint as normal as not at maxSupply
            life.mint(devaddr, lifeReward.div(10));
            life.mint(address(this), lifeReward);
        } else {
            // mint the difference only to MC, update lifeReward
            lifeReward = life.maxSupply().sub(life.totalSupply());
            life.mint(address(this), lifeReward);
        }

        if (lifeReward != 0) {
            // only calculate and update if lifeReward is non 0
            pool.accLifePerShare = pool.accLifePerShare.add(
                lifeReward.mul(1e18).div(pool.lpSupply)
            );
        }

        pool.lastRewardSecond = block.timestamp;
    }

    // Deposit LP tokens to MasterChef for life allocation.
    function deposit(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending = user
                .amount
                .mul(pool.accLifePerShare)
                .div(1e18)
                .sub(user.rewardDebt);
            if (pending > 0) {
                safeLifeTransfer(msg.sender, pending);
            }
        }
        if (_amount > 0) {
            uint256 balanceBefore = pool.lpToken.balanceOf(address(this));
            pool.lpToken.safeTransferFrom(
                address(msg.sender),
                address(this),
                _amount
            );
            _amount = pool.lpToken.balanceOf(address(this)).sub(balanceBefore);
            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);
                pool.lpToken.safeTransfer(feeAddress, depositFee);
                user.amount = user.amount.add(_amount).sub(depositFee);
                pool.lpSupply = pool.lpSupply.add(_amount).sub(depositFee);
            } else {
                user.amount = user.amount.add(_amount);
                pool.lpSupply = pool.lpSupply.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accLifePerShare).div(1e18);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending = user.amount.mul(pool.accLifePerShare).div(1e18).sub(
            user.rewardDebt
        );
        if (pending > 0) {
            safeLifeTransfer(msg.sender, pending);
        }
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
            pool.lpSupply = pool.lpSupply.sub(_amount);
        }
        user.rewardDebt = user.amount.mul(pool.accLifePerShare).div(1e18);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) external nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);

        if (pool.lpSupply >= amount) {
            pool.lpSupply = pool.lpSupply.sub(amount);
        } else {
            pool.lpSupply = 0;
        }

        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe Life transfer function, just in case if rounding error causes pool to not have enough Lifes.
    function safeLifeTransfer(address _to, uint256 _amount) internal {
        uint256 lifeBal = life.balanceOf(address(this));
        bool transferSuccess = false;
        if (_amount > lifeBal) {
            transferSuccess = life.transfer(_to, lifeBal);
        } else {
            transferSuccess = life.transfer(_to, _amount);
        }
        require(transferSuccess, "safeLifeTransfer: transfer failed");
    }

    // Update dev address.
    function setDevAddress(address _devaddr) external {
        require(_devaddr != address(0), "!nonzero");
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
        emit SetDevAddress(msg.sender, _devaddr);
    }

    function setFeeAddress(address _feeAddress) external {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");
        require(_feeAddress != address(0), "!nonzero");
        feeAddress = _feeAddress;
        emit SetFeeAddress(msg.sender, _feeAddress);
    }

    //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _LifePerSecond) external onlyOwner {
        require(_LifePerSecond <= MAX_EMISSION_RATE, "Emission too high");
        massUpdatePools();
        LifePerSecond = _LifePerSecond;
        emit UpdateEmissionRate(msg.sender, _LifePerSecond);
    }

    // Only update before start of farm
    function updateStartTime(uint256 _newStartTime) external onlyOwner {
        require(
            block.timestamp < startTime,
            "cannot change start time if farm has already started"
        );
        require(
            block.timestamp < _newStartTime,
            "cannot set start time in the past"
        );
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            PoolInfo storage pool = poolInfo[pid];
            pool.lastRewardSecond = _newStartTime;
        }
        startTime = _newStartTime;

        emit UpdateStartTime(startTime);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"BurnFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"MaxTransferAmountRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MinAmountToLiquifyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"accountAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"SetExcludedFromAntiWhale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"noTaxRecipientAddr","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"SetNoTaxRecipientAddr","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"noTaxSenderAddr","type":"address"},{"indexed":false,"internalType":"bool","name":"_value","type":"bool"}],"name":"SetNoTaxSenderAddr","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"router","type":"address"},{"indexed":true,"internalType":"address","name":"pair","type":"address"}],"name":"SwapRouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"TransferTaxRateUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isExcludedFromAntiWhale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liqFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpEarner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"maxTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferAmountRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToLiquify","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"noTaxRecipient","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"noTaxSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"setExcludedFromAntiWhale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_noTaxRecipientAddr","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setNoTaxRecipientAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_noTaxSenderAddr","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setNoTaxSenderAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTaxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_burnFee","type":"uint16"}],"name":"updateBurnFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTransferAmountRate","type":"uint16"}],"name":"updateMaxTransferAmountRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmount","type":"uint256"}],"name":"updateMinAmountToLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"updateSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"updateSwapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_transferTaxRate","type":"uint16"}],"name":"updateTransferTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526006805461ffff60281b1962ffff00199091166201f4001764ffff00000019166314000000179081166501000000000061ffff63010000009093048316606403909216919091021790556009805461271061ffff19909116179055600b805460ff19169055678ac7230489e80000600c553480156200008257600080fd5b50604051806040016040528060048152602001634c69666560e01b815250604051806040016040528060048152602001634c49464560e01b8152506000620000cf6200023760201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35081516200012e9060049060208501906200023b565b508051620001449060059060208401906200023b565b50506006805460ff19166012179055506200015e62000237565b600f80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3336000908152600a60205260408082208054600160ff1991821681179092557f13da86008ba1c6922daee3e07db95305ef49ebced9f5467a0b8613fcc6b343e38054821683179055308452918320805483168217905561dead9092527f20677881080440a9b3c87e826370bb5d9c2f74efd4dede686d52d77a6a09f8bb80549091169091179055620002d7565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200027e57805160ff1916838001178555620002ae565b82800160010185558215620002ae579182015b82811115620002ae57825182559160200191906001019062000291565b50620002bc929150620002c0565b5090565b5b80821115620002bc5760008155600101620002c1565b612a6a80620002e76000396000f3fe6080604052600436106102765760003560e01c8063893d20e81161014f578063b98b677f116100c1578063daa96e941161007a578063daa96e94146108d6578063dd62ed3e14610911578063e48849b21461094c578063e6727e0b14610961578063f2fde38b14610994578063fce589d8146109c75761027d565b8063b98b677f14610814578063c31c9c0714610847578063c7f59a671461085c578063d246d41114610897578063d5abeb01146108ac578063d8248358146108c15761027d565b8063a392e67411610113578063a392e6741461074e578063a457c2d714610778578063a9059cbb146107b1578063a9e75723146107ea578063af38b15114610521578063b65d08b0146107ff5761027d565b8063893d20e8146106b95780638da5cb5b146106ce57806395d89b41146106e35780639f9a4e7f146106f8578063a0712d68146107245761027d565b806339e7fddc116101e8578063570ca735116101ac578063570ca735146105c557806359c9176c146105da57806363afa05f146106085780636a141e2c1461064357806370a0823114610671578063715018a6146106a45761027d565b806339e7fddc146105215780633fb0da64146105365780633ff8bf2e1461056257806340c10f19146105775780634a74bb02146105b05761027d565b806326991cc81161023a57806326991cc8146103f6578063269f534c1461042757806329605e771461045a578063313ce5671461048f578063376c2391146104ba57806339509351146104e85761027d565b806306fdde0314610282578063095ea7b31461030c5780630bb772061461035957806318160ddd1461038c57806323b872dd146103b35761027d565b3661027d57005b600080fd5b34801561028e57600080fd5b506102976109dc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d15781810151838201526020016102b9565b50505050905090810190601f1680156102fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561031857600080fd5b506103456004803603604081101561032f57600080fd5b506001600160a01b038135169060200135610a72565b604080519115158252519081900360200190f35b34801561036557600080fd5b506103456004803603602081101561037c57600080fd5b50356001600160a01b0316610a90565b34801561039857600080fd5b506103a1610aa5565b60408051918252519081900360200190f35b3480156103bf57600080fd5b50610345600480360360608110156103d657600080fd5b506001600160a01b03813581169160208101359091169060400135610aab565b34801561040257600080fd5b5061040b610b32565b604080516001600160a01b039092168252519081900360200190f35b34801561043357600080fd5b506103456004803603602081101561044a57600080fd5b50356001600160a01b0316610b41565b34801561046657600080fd5b5061048d6004803603602081101561047d57600080fd5b50356001600160a01b0316610b5f565b005b34801561049b57600080fd5b506104a4610c49565b6040805160ff9092168252519081900360200190f35b3480156104c657600080fd5b5061048d600480360360208110156104dd57600080fd5b503561ffff16610c52565b3480156104f457600080fd5b506103456004803603604081101561050b57600080fd5b506001600160a01b038135169060200135610d47565b34801561052d57600080fd5b5061040b610d95565b34801561054257600080fd5b5061054b610dad565b6040805161ffff9092168252519081900360200190f35b34801561056e57600080fd5b5061054b610dc0565b34801561058357600080fd5b5061048d6004803603604081101561059a57600080fd5b506001600160a01b038135169060200135610dca565b3480156105bc57600080fd5b50610345610e3a565b3480156105d157600080fd5b5061040b610e43565b3480156105e657600080fd5b5061048d600480360360208110156105fd57600080fd5b503561ffff16610e52565b34801561061457600080fd5b5061048d6004803603604081101561062b57600080fd5b506001600160a01b0381351690602001351515610f4c565b34801561064f57600080fd5b5061048d6004803603602081101561066657600080fd5b503561ffff16610ff6565b34801561067d57600080fd5b506103a16004803603602081101561069457600080fd5b50356001600160a01b0316611125565b3480156106b057600080fd5b5061048d611140565b3480156106c557600080fd5b5061040b6111ec565b3480156106da57600080fd5b5061040b6111fb565b3480156106ef57600080fd5b5061029761120a565b34801561070457600080fd5b5061048d6004803603602081101561071b57600080fd5b5035151561126b565b34801561073057600080fd5b506103456004803603602081101561074757600080fd5b50356112ff565b34801561075a57600080fd5b5061048d6004803603602081101561077157600080fd5b503561137c565b34801561078457600080fd5b506103456004803603604081101561079b57600080fd5b506001600160a01b038135169060200135611408565b3480156107bd57600080fd5b50610345600480360360408110156107d457600080fd5b506001600160a01b038135169060200135611470565b3480156107f657600080fd5b506103a1611484565b34801561080b57600080fd5b5061054b6114ae565b34801561082057600080fd5b5061048d6004803603602081101561083757600080fd5b50356001600160a01b03166114bd565b34801561085357600080fd5b5061040b611775565b34801561086857600080fd5b5061048d6004803603604081101561087f57600080fd5b506001600160a01b0381351690602001351515611784565b3480156108a357600080fd5b5061040b61182e565b3480156108b857600080fd5b506103a1611834565b3480156108cd57600080fd5b506103a161184b565b3480156108e257600080fd5b5061048d600480360360408110156108f957600080fd5b506001600160a01b0381351690602001351515611851565b34801561091d57600080fd5b506103a16004803603604081101561093457600080fd5b506001600160a01b03813581169160200135166118fb565b34801561095857600080fd5b5061054b611926565b34801561096d57600080fd5b506103456004803603602081101561098457600080fd5b50356001600160a01b031661192c565b3480156109a057600080fd5b5061048d600480360360208110156109b757600080fd5b50356001600160a01b0316611941565b3480156109d357600080fd5b5061054b611a43565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b5050505050905090565b6000610a86610a7f611a54565b8484611a58565b5060015b92915050565b60076020526000908152604090205460ff1681565b60035490565b6000610ab8848484611b44565b610b2884610ac4611a54565b610b2385604051806060016040528060288152602001612796602891396001600160a01b038a16600090815260026020526040812090610b02611a54565b6001600160a01b031681526020810191909152604001600020549190611e28565b611a58565b5060019392505050565b600e546001600160a01b031681565b6001600160a01b03166000908152600a602052604090205460ff1690565b600f546001600160a01b03163314610ba85760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b6001600160a01b038116610bed5760405162461bcd60e51b815260040180806020018281038252603881526020018061299d6038913960400191505060405180910390fd5b600f546040516001600160a01b038084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed90600090a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460ff1690565b600f546001600160a01b03163314610c9b5760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b6107d061ffff82161115610ce05760405162461bcd60e51b81526004018080602001828103825260508152602001806126d76050913960600191505060405180910390fd5b6006546040805161ffff610100909304831681529183166020830152805133927fe9d5c8ee2a65d4fb859c680669d8f902172d53e3f15f9f11108a31bbada4b70b92908290030190a26006805461ffff9092166101000262ffff0019909216919091179055565b6000610a86610d54611a54565b84610b238560026000610d65611a54565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611ebf565b73390337aed6d513a02fc65fc75c5770a15e51f6e481565b60065465010000000000900461ffff1681565b60095461ffff1681565b610dd2611a54565b6001600160a01b0316610de36111fb565b6001600160a01b031614610e2c576040805162461bcd60e51b8152602060048201819052602482015260008051602061280c833981519152604482015290519081900360640190fd5b610e368282611f20565b5050565b600b5460ff1681565b600f546001600160a01b031690565b600f546001600160a01b03163314610e9b5760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b60648161ffff161115610edf5760405162461bcd60e51b815260040180806020018281038252604081526020018061282c6040913960400191505060405180910390fd5b6006546040805161ffff6301000000909304831681529183166020830152805133927f9dd5b4b7c6d2d8952a052c811ac50e7001fcc6017949845a5aa027b1796ef0b892908290030190a26006805461ffff90921663010000000264ffff00000019909216919091179055565b600f546001600160a01b03163314610f955760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251908152915133927f23bfc94d99731e125b658f96c33f01a529e592e4b67c368c4e0b56f0a42c1b7292908290030190a35050565b600f546001600160a01b0316331461103f5760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b6127108161ffff1611156110845760405162461bcd60e51b815260040180806020018281038252603f8152602001806128d9603f913960400191505060405180910390fd5b6101f48161ffff1610156110c95760405162461bcd60e51b815260040180806020018281038252603e81526020018061295f603e913960400191505060405180910390fd5b6009546040805161ffff92831681529183166020830152805133927fb62a50fc861a770636e85357becb3b82a32e911106609d4985871eaf29011e0892908290030190a26009805461ffff191661ffff92909216919091179055565b6001600160a01b031660009081526001602052604090205490565b611148611a54565b6001600160a01b03166111596111fb565b6001600160a01b0316146111a2576040805162461bcd60e51b8152602060048201819052602482015260008051602061280c833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006111f66111fb565b905090565b6000546001600160a01b031690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a685780601f10610a3d57610100808354040283529160200191610a68565b600f546001600160a01b031633146112b45760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b604080518215158152905133917f3ca65588b29182880283bc8778fea5f01b351e01d874839a39a99e1c281a2113919081900360200190a2600b805460ff1916911515919091179055565b6000611309611a54565b6001600160a01b031661131a6111fb565b6001600160a01b031614611363576040805162461bcd60e51b8152602060048201819052602482015260008051602061280c833981519152604482015290519081900360640190fd5b61137461136e611a54565b83611f20565b506001919050565b600f546001600160a01b031633146113c55760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b600c546040805191825260208201839052805133927f54c7a13ff01698e4ed3550a23216585f8472c7b1515a932eac98c9a6d48990c592908290030190a2600c55565b6000610a86611415611a54565b84610b238560405180606001604052806025815260200161293a602591396002600061143f611a54565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e28565b6000610a8661147d611a54565b8484611b44565b6009546000906111f690612710906114a89061ffff166114a2610aa5565b90612070565b906120c9565b600654610100900461ffff1681565b600f546001600160a01b031633146115065760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b600d546001600160a01b031615611559576040805162461bcd60e51b8152602060048201526012602482015271149bdd5d195c88185b1c9958591e481cd95d60721b604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b0383811691909117918290556040805163c45a015560e01b81529051929091169163c45a015591600480820192602092909190829003018186803b1580156115b557600080fd5b505afa1580156115c9573d6000803e3d6000fd5b505050506040513d60208110156115df57600080fd5b5051600d54604080516315ab88c960e31b815290516001600160a01b039384169363e6a4390593309391169163ad5c464891600480820192602092909190829003018186803b15801561163157600080fd5b505afa158015611645573d6000803e3d6000fd5b505050506040513d602081101561165b57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b039384166004820152929091166024830152516044808301926020929190829003018186803b1580156116ab57600080fd5b505afa1580156116bf573d6000803e3d6000fd5b505050506040513d60208110156116d557600080fd5b5051600e80546001600160a01b0319166001600160a01b039283161790819055166117315760405162461bcd60e51b815260040180806020018281038252602d8152602001806127be602d913960400191505060405180910390fd5b600e54600d546040516001600160a01b03928316929091169033907fd4359230835d0c79972b7780914a403c7cdba8320af86bb1f31b3baf99c0c7c190600090a450565b600d546001600160a01b031681565b600f546001600160a01b031633146117cd5760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b6001600160a01b0382166000818152600a6020908152604091829020805460ff19168515159081179091558251908152915133927fad1345fc53231babc9be2f696e0c5ad43f72622f29b9e4b3b10e538f5ee7d25992908290030190a35050565b61dead81565b7203cfc08caf4aa00e2c11da6758b4000000000090565b600c5481565b600f546001600160a01b0316331461189a5760405162461bcd60e51b815260040180806020018281038252602481526020018061286c6024913960400191505060405180910390fd5b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251908152915133927f018fbba1b69799d0633d23b5ecdd20262da54942a71f7bb1ec1ff5c7c4a530a092908290030190a35050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6107d081565b60086020526000908152604090205460ff1681565b611949611a54565b6001600160a01b031661195a6111fb565b6001600160a01b0316146119a3576040805162461bcd60e51b8152602060048201819052602482015260008051602061280c833981519152604482015290519081900360640190fd5b6001600160a01b0381166119e85760405162461bcd60e51b81526004018080602001828103825260268152602001806127706026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6006546301000000900461ffff1681565b3390565b6001600160a01b038316611a9d5760405162461bcd60e51b815260040180806020018281038252602481526020018061274c6024913960400191505060405180910390fd5b6001600160a01b038216611ae25760405162461bcd60e51b81526004018080602001828103825260228152602001806129d56022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b8282826000611b51611484565b1115611be4576001600160a01b0383166000908152600a602052604090205460ff16158015611b9957506001600160a01b0382166000908152600a602052604090205460ff16155b15611be457611ba6611484565b811115611be45760405162461bcd60e51b815260040180806020018281038252603e8152602001806129f7603e913960400191505060405180910390fd5b600b5460ff1615156001148015611c055750600e54600160a01b900460ff16155b8015611c1b5750600d546001600160a01b031615155b8015611c315750600e546001600160a01b031615155b8015611c4b5750600e546001600160a01b03878116911614155b8015611c705750611c5a6111fb565b6001600160a01b0316866001600160a01b031614155b15611c7d57611c7d612130565b6001600160a01b03851661dead1480611ca35750600f546001600160a01b038781169116145b80611cc657506001600160a01b03851660009081526007602052604090205460ff165b80611ce957506001600160a01b03861660009081526008602052604090205460ff165b80611cfd5750600654610100900461ffff16155b15611d1257611d0d868686612295565b611e20565b600654600090611d3490612710906114a8908890610100900461ffff16612070565b600654909150600090611d5a906064906114a89085906301000000900461ffff16612070565b90506000611d6883836123e7565b90508082018314611daa5760405162461bcd60e51b81526004018080602001828103825260228152602001806129186022913960400191505060405180910390fd5b6000611db688856123e7565b90508381018814611df85760405162461bcd60e51b81526004018080602001828103825260218152602001806126b66021913960400191505060405180910390fd5b611e058a61dead85612295565b611e108a3084612295565b611e1b8a8a83612295565b505050505b505050505050565b60008184841115611eb75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e7c578181015183820152602001611e64565b50505050905090810190601f168015611ea95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611f19576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216611f7b576040805162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6003547203cfc08caf4aa00e2c11da6758b4000000000090611f9d9083611ebf565b1115611fe5576040805162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481c995858da195960721b604482015290519081900360640190fd5b600354611ff29082611ebf565b6003556001600160a01b0382166000908152600160205260409020546120189082611ebf565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008261207f57506000610a8a565b8282028284828161208c57fe5b0414611f195760405162461bcd60e51b81526004018080602001828103825260218152602001806127eb6021913960400191505060405180910390fd5b600080821161211f576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161212857fe5b049392505050565b600e805460ff60a01b1916600160a01b1790556006805462ffff0019811690915561ffff61010090910416600061216630611125565b90506000612172611484565b90508082116121815781612183565b805b9150600c54821061226857600c54600061219e8260026120c9565b905060006121bc6121b560646114a8856050612070565b84906123e7565b90506121c782612444565b73390337aed6d513a02fc65fc75c5770a15e51f6e46108fc6121ef60646114a8476014612070565b6040518115909202916000818181858888f19350505050158015612217573d6000803e3d6000fd5b504761222382826125ea565b604080518481526020810183905280820184905290517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a1505050505b50506006805461ffff9092166101000262ffff0019909216919091179055600e805460ff60a01b19169055565b6001600160a01b0383166122da5760405162461bcd60e51b81526004018080602001828103825260258152602001806127276025913960400191505060405180910390fd5b6001600160a01b03821661231f5760405162461bcd60e51b81526004018080602001828103825260238152602001806128b66023913960400191505060405180910390fd5b61235c81604051806060016040528060268152602001612890602691396001600160a01b0386166000908152600160205260409020549190611e28565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461238b9082611ebf565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282111561243e576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6040805160028082526060808301845292602083019080368337019050509050308160008151811061247257fe5b6001600160a01b03928316602091820292909201810191909152600d54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156124c657600080fd5b505afa1580156124da573d6000803e3d6000fd5b505050506040513d60208110156124f057600080fd5b505181518290600190811061250157fe5b6001600160a01b039283166020918202929092010152600d546125279130911684611a58565b600d5460405163791ac94760e01b8152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a487015287516001600160a01b039097169663791ac947968a968a9594939092909160c40190602080880191028083838b5b838110156125ad578181015183820152602001612595565b505050509050019650505050505050600060405180830381600087803b1580156125d657600080fd5b505af1158015611e20573d6000803e3d6000fd5b600d546126029030906001600160a01b031684611a58565b600d546040805163f305d71960e01b815230600482015260248101859052600060448201819052606482015273390337aed6d513a02fc65fc75c5770a15e51f6e460848201524260a482015290516001600160a01b039092169163f305d71991849160c480830192606092919082900301818588803b15801561268457600080fd5b505af1158015612698573d6000803e3d6000fd5b50505050506040513d60608110156126af57600080fd5b5050505056fe4c4946453a3a7472616e736665723a205461782076616c756520696e76616c69644c4946453a3a7570646174655472616e73666572546178526174653a205472616e73666572207461782072617465206d757374206e6f742065786365656420746865206d6178696d756d20726174652e42455032303a207472616e736665722066726f6d20746865207a65726f206164647265737342455032303a20617070726f76652066726f6d20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737342455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654c4946453a3a75706461746553776170526f757465723a20496e76616c6964207061697220616464726573732e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724c4946453a3a7570646174654275726e526174653a204275726e20466565206d757374206e6f742065786365656420746865206d6178696d756d20726174652e6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7242455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a207472616e7366657220746f20746865207a65726f20616464726573734c4946453a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d6178207472616e7366657220616d6f756e7420746f20486967682e4c4946453a3a7472616e736665723a204275726e2076616c756520696e76616c696442455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f4c4946453a3a7570646174654d61785472616e73666572416d6f756e74526174653a204d696e207472616e7366657220616d6f756e7420746f204c6f772e4c4946453a3a7472616e736665724f70657261746f723a206e6577206f70657261746f7220697320746865207a65726f206164647265737342455032303a20617070726f766520746f20746865207a65726f20616464726573734c6966653a3a616e74695768616c653a205472616e7366657220616d6f756e74206578636565647320746865206d61785472616e73666572416d6f756e74a26469706673582212208505bd7064f7a82a21d7e612dc5524864f46289d9c8be543e3c1d6c6a3b2462664736f6c634300060c0033

Deployed ByteCode Sourcemap

47577:13212:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28956:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30539:161;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30539:161:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;48284:46;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48284:46:0;-1:-1:-1;;;;;48284:46:0;;:::i;29432:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;31171:397;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31171:397:0;;;;;;;;;;;;;;;;;:::i;49032:23::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;49032:23:0;;;;;;;;;;;;;;56300:136;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56300:136:0;-1:-1:-1;;;;;56300:136:0;;:::i;60511:273::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60511:273:0;-1:-1:-1;;;;;60511:273:0;;:::i;:::-;;29115:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56647:348;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56647:348:0;;;;:::i;31976:210::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31976:210:0;;;;;;;;:::i;48011:84::-;;;;;;;;;;;;;:::i;47853:36::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48546:43;;;;;;;;;;;;;:::i;51919:99::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;51919:99:0;;;;;;;;:::i;48760:41::-;;;;;;;;;;;;;:::i;60260:85::-;;;;;;;;;;;;;:::i;57107:261::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57107:261:0;;;;:::i;59936:236::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;59936:236:0;;;;;;;;;;:::i;57500:489::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57500:489:0;;;;:::i;29690:119::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29690:119:0;-1:-1:-1;;;;;29690:119:0;;:::i;7599:148::-;;;;;;;;;;;;;:::i;28799:94::-;;;;;;;;;;;;;:::i;6948:87::-;;;;;;;;;;;;;:::i;29272:96::-;;;;;;;;;;;;;:::i;58809:189::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58809:189:0;;;;:::i;33217:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33217:130:0;;:::i;58114:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58114:209:0;;:::i;32688:311::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32688:311:0;;;;;;;;:::i;30021:167::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30021:167:0;;;;;;;;:::i;56070:136::-;;;;;;;;;;;;;:::i;47669:35::-;;;;;;;;;;;;;:::i;59113:468::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59113:468:0;-1:-1:-1;;;;;59113:468:0;;:::i;48958:36::-;;;;;;;;;;;;;:::i;58460:224::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;58460:224:0;;;;;;;;;;:::i;48129:77::-;;;;;;;;;;;;;:::i;29540:86::-;;;;;;;;;;;;;:::i;48864:44::-;;;;;;;;;;;;;:::i;59710:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;59710:218:0;;;;;;;;;;:::i;30250:143::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;30250:143:0;;;;;;;;;;:::i;47938:40::-;;;;;;;;;;;;;:::i;48408:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48408:43:0;-1:-1:-1;;;;;48408:43:0;;:::i;7902:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7902:244:0;-1:-1:-1;;;;;7902:244:0;;:::i;47766:26::-;;;;;;;;;;;;;:::i;28956:92::-;29035:5;29028:12;;;;;;;;-1:-1:-1;;29028:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29002:13;;29028:12;;29035:5;;29028:12;;29035:5;29028:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28956:92;:::o;30539:161::-;30614:4;30631:39;30640:12;:10;:12::i;:::-;30654:7;30663:6;30631:8;:39::i;:::-;-1:-1:-1;30688:4:0;30539:161;;;;;:::o;48284:46::-;;;;;;;;;;;;;;;:::o;29432:100::-;29512:12;;29432:100;:::o;31171:397::-;31303:4;31320:36;31330:6;31338:9;31349:6;31320:9;:36::i;:::-;31367:171;31390:6;31411:12;:10;:12::i;:::-;31438:89;31476:6;31438:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31438:19:0;;;;;;:11;:19;;;;;;31458:12;:10;:12::i;:::-;-1:-1:-1;;;;;31438:33:0;;;;;;;;;;;;-1:-1:-1;31438:33:0;;;:89;:37;:89::i;:::-;31367:8;:171::i;:::-;-1:-1:-1;31556:4:0;31171:397;;;;;:::o;49032:23::-;;;-1:-1:-1;;;;;49032:23:0;;:::o;56300:136::-;-1:-1:-1;;;;;56396:32:0;56372:4;56396:32;;;:22;:32;;;;;;;;;56300:136::o;60511:273::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60597:25:0;::::1;60589:94;;;;-1:-1:-1::0;;;60589:94:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60719:9;::::0;60699:43:::1;::::0;-1:-1:-1;;;;;60699:43:0;;::::1;::::0;60719:9:::1;::::0;60699:43:::1;::::0;60719:9:::1;::::0;60699:43:::1;60753:9;:23:::0;;-1:-1:-1;;;;;;60753:23:0::1;-1:-1:-1::0;;;;;60753:23:0;;;::::1;::::0;;;::::1;::::0;;60511:273::o;29115:92::-;29190:9;;;;29115:92;:::o;56647:348::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47974:4:::1;56742:30;::::0;::::1;;;56734:123;;;;-1:-1:-1::0;;;56734:123:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56908:15;::::0;56873:69:::1;::::0;;56908:15:::1;;::::0;;::::1;::::0;::::1;56873:69:::0;;;;::::1;;::::0;::::1;::::0;;;56896:10:::1;::::0;56873:69:::1;::::0;;;;;;;::::1;56953:15;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;56953:34:0;;::::1;::::0;;;::::1;::::0;;56647:348::o;31976:210::-;32056:4;32073:83;32082:12;:10;:12::i;:::-;32096:7;32105:50;32144:10;32105:11;:25;32117:12;:10;:12::i;:::-;-1:-1:-1;;;;;32105:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32105:25:0;;;:34;;;;;;;;;;;:38;:50::i;48011:84::-;48053:42;48011:84;:::o;47853:36::-;;;;;;;;;:::o;48546:43::-;;;;;;:::o;51919:99::-;7179:12;:10;:12::i;:::-;-1:-1:-1;;;;;7168:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;7168:23:0;;7160:68;;;;;-1:-1:-1;;;7160:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7160:68:0;;;;;;;;;;;;;;;51991:19:::1;51997:3;52002:7;51991:5;:19::i;:::-;51919:99:::0;;:::o;48760:41::-;;;;;;:::o;60260:85::-;60328:9;;-1:-1:-1;;;;;60328:9:0;60260:85;:::o;57107:261::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57198:3:::1;57186:8;:15;;;;57178:92;;;;-1:-1:-1::0;;;57178:92:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57313:7;::::0;57286:45:::1;::::0;;57313:7:::1;::::0;;;::::1;::::0;::::1;57286:45:::0;;;;::::1;;::::0;::::1;::::0;;;57301:10:::1;::::0;57286:45:::1;::::0;;;;;;;::::1;57342:7;:18:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;57342:18:0;;::::1;::::0;;;::::1;::::0;;57107:261::o;59936:236::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60042:35:0;::::1;;::::0;;;:14:::1;:35;::::0;;;;;;;;:44;;-1:-1:-1;;60042:44:0::1;::::0;::::1;;::::0;;::::1;::::0;;;60102:62;;;;;;;60124:10:::1;::::0;60102:62:::1;::::0;;;;;;;::::1;59936:236:::0;;:::o;57500:489::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57633:5:::1;57607:22;:31;;;;57599:107;;;;-1:-1:-1::0;;;57599:107:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57751:3;57725:22;:29;;;;57717:104;;;;-1:-1:-1::0;;;57717:104:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57878:21;::::0;57837:87:::1;::::0;;57878:21:::1;::::0;;::::1;57837:87:::0;;;;::::1;;::::0;::::1;::::0;;;57866:10:::1;::::0;57837:87:::1;::::0;;;;;;;::::1;57935:21;:46:::0;;-1:-1:-1;;57935:46:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;57500:489::o;29690:119::-;-1:-1:-1;;;;;29783:18:0;29756:7;29783:18;;;:9;:18;;;;;;;29690:119::o;7599:148::-;7179:12;:10;:12::i;:::-;-1:-1:-1;;;;;7168:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;7168:23:0;;7160:68;;;;;-1:-1:-1;;;7160:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7160:68:0;;;;;;;;;;;;;;;7706:1:::1;7690:6:::0;;7669:40:::1;::::0;-1:-1:-1;;;;;7690:6:0;;::::1;::::0;7669:40:::1;::::0;7706:1;;7669:40:::1;7737:1;7720:19:::0;;-1:-1:-1;;;;;;7720:19:0::1;::::0;;7599:148::o;28799:94::-;28851:7;28878;:5;:7::i;:::-;28871:14;;28799:94;:::o;6948:87::-;6994:7;7021:6;-1:-1:-1;;;;;7021:6:0;6948:87;:::o;29272:96::-;29353:7;29346:14;;;;;;;;-1:-1:-1;;29346:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29320:13;;29346:14;;29353:7;;29346:14;;29353:7;29346:14;;;;;;;;;;;;;;;;;;;;;;;;58809:189;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58897:50:::1;::::0;;;::::1;;::::0;;;;58926:10:::1;::::0;58897:50:::1;::::0;;;;;::::1;::::0;;::::1;58958:21;:32:::0;;-1:-1:-1;;58958:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;58809:189::o;33217:130::-;33273:4;7179:12;:10;:12::i;:::-;-1:-1:-1;;;;;7168:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;7168:23:0;;7160:68;;;;;-1:-1:-1;;;7160:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7160:68:0;;;;;;;;;;;;;;;33290:27:::1;33296:12;:10;:12::i;:::-;33310:6;33290:5;:27::i;:::-;-1:-1:-1::0;33335:4:0::1;33217:130:::0;;;:::o;58114:209::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58242:18:::1;::::0;58204:69:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;58230:10:::1;::::0;58204:69:::1;::::0;;;;;;;::::1;58284:18;:31:::0;58114:209::o;32688:311::-;32773:4;32790:179;32813:12;:10;:12::i;:::-;32840:7;32862:96;32901:15;32862:96;;;;;;;;;;;;;;;;;:11;:25;32874:12;:10;:12::i;:::-;-1:-1:-1;;;;;32862:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32862:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;30021:167::-;30099:4;30116:42;30126:12;:10;:12::i;:::-;30140:9;30151:6;30116:9;:42::i;56070:136::-;56165:21;;56120:7;;56147:51;;56192:5;;56147:40;;56165:21;;56147:13;:11;:13::i;:::-;:17;;:40::i;:::-;:44;;:51::i;47669:35::-;;;;;;;;;:::o;59113:468::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59204:10:::1;::::0;-1:-1:-1;;;;;59204:10:0::1;59196:33:::0;59187:65:::1;;;::::0;;-1:-1:-1;;;59187:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;59187:65:0;;;;;;;;;;;;;::::1;;59263:10;:40:::0;;-1:-1:-1;;;;;;59263:40:0::1;-1:-1:-1::0;;;;;59263:40:0;;::::1;::::0;;;::::1;::::0;;;;59343:20:::1;::::0;;-1:-1:-1;;;59343:20:0;;;;:10;;;::::1;::::0;:18:::1;::::0;:20:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;:10;:20;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59343:20:0;59388:10:::1;::::0;:17:::1;::::0;;-1:-1:-1;;;59388:17:0;;;;-1:-1:-1;;;;;59325:47:0;;::::1;::::0;::::1;::::0;59381:4:::1;::::0;59388:10;::::1;::::0;:15:::1;::::0;:17:::1;::::0;;::::1;::::0;59343:20:::1;::::0;59388:17;;;;;;;;:10;:17;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59388:17:0;59325:81:::1;::::0;;-1:-1:-1;;;;;;59325:81:0::1;::::0;;;;;;-1:-1:-1;;;;;59325:81:0;;::::1;;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;59388:17:::1;::::0;59325:81;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59325:81:0;59314:8:::1;:92:::0;;-1:-1:-1;;;;;;59314:92:0::1;-1:-1:-1::0;;;;;59314:92:0;;::::1;;::::0;;;;59425:8:::1;59417:80;;;;-1:-1:-1::0;;;59417:80:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59564:8;::::0;59551:10:::1;::::0;59513:60:::1;::::0;-1:-1:-1;;;;;59564:8:0;;::::1;::::0;59551:10;;::::1;::::0;59531::::1;::::0;59513:60:::1;::::0;59564:8:::1;::::0;59513:60:::1;59113:468:::0;:::o;48958:36::-;;;-1:-1:-1;;;;;48958:36:0;;:::o;58460:224::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;58559:32:0;::::1;;::::0;;;:22:::1;:32;::::0;;;;;;;;:44;;-1:-1:-1;;58559:44:0::1;::::0;::::1;;::::0;;::::1;::::0;;;58619:57;;;;;;;58644:10:::1;::::0;58619:57:::1;::::0;;;;;;;::::1;58460:224:::0;;:::o;48129:77::-;48164:42;48129:77;:::o;29540:86::-;28221:32;29540:86;:::o;48864:44::-;;;;:::o;59710:218::-;50543:9;;-1:-1:-1;;;;;50543:9:0;50556:10;50543:23;50535:72;;;;-1:-1:-1;;;50535:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59810:29:0;::::1;;::::0;;;:11:::1;:29;::::0;;;;;;;;:38;;-1:-1:-1;;59810:38:0::1;::::0;::::1;;::::0;;::::1;::::0;;;59864:56;;;;;;;59883:10:::1;::::0;59864:56:::1;::::0;;;;;;;::::1;59710:218:::0;;:::o;30250:143::-;-1:-1:-1;;;;;30358:18:0;;;30331:7;30358:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;30250:143::o;47938:40::-;47974:4;47938:40;:::o;48408:43::-;;;;;;;;;;;;;;;:::o;7902:244::-;7179:12;:10;:12::i;:::-;-1:-1:-1;;;;;7168:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;7168:23:0;;7160:68;;;;;-1:-1:-1;;;7160:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;7160:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;7991:22:0;::::1;7983:73;;;;-1:-1:-1::0;;;7983:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8093:6;::::0;;8072:38:::1;::::0;-1:-1:-1;;;;;8072:38:0;;::::1;::::0;8093:6;::::1;::::0;8072:38:::1;::::0;::::1;8121:6;:17:::0;;-1:-1:-1;;;;;;8121:17:0::1;-1:-1:-1::0;;;;;8121:17:0;;;::::1;::::0;;;::::1;::::0;;7902:244::o;47766:26::-;;;;;;;;;:::o;5572:106::-;5660:10;5572:106;:::o;36140:372::-;-1:-1:-1;;;;;36268:19:0;;36260:68;;;;-1:-1:-1;;;36260:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36347:21:0;;36339:68;;;;-1:-1:-1;;;36339:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36420:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;36472:32;;;;;;;;;;;;;;;;;36140:372;;;:::o;52095:1586::-;52201:6;52209:9;52220:6;50742:1;50720:19;:17;:19::i;:::-;:23;50716:334;;;-1:-1:-1;;;;;50782:30:0;;;;;;:22;:30;;;;;;;;:39;;;:102;;-1:-1:-1;;;;;;50842:33:0;;;;;;:22;:33;;;;;;;;:42;50782:102;50760:279;;;50937:19;:17;:19::i;:::-;50927:6;:29;;50919:104;;;;-1:-1:-1;;;50919:104:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52286:21:::1;::::0;::::1;;:29;;:21:::0;:29:::1;:72:::0;::::1;;;-1:-1:-1::0;52332:17:0::1;::::0;-1:-1:-1;;;52332:17:0;::::1;;;:26;52286:72;:122;;;;-1:-1:-1::0;52383:10:0::1;::::0;-1:-1:-1;;;;;52383:10:0::1;52375:33:::0;::::1;52286:122;:161;;;;-1:-1:-1::0;52425:8:0::1;::::0;-1:-1:-1;;;;;52425:8:0::1;:22:::0;::::1;52286:161;:196;;;;-1:-1:-1::0;52474:8:0::1;::::0;-1:-1:-1;;;;;52464:18:0;;::::1;52474:8:::0;::::1;52464:18;;52286:196;:276;;;;;52555:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;52545:17:0::1;:6;-1:-1:-1::0;;;;;52545:17:0::1;;;52286:276;52268:375;;;52624:16;:14;:16::i;:::-;-1:-1:-1::0;;;;;52659:21:0;::::1;48164:42;52659:21;::::0;:44:::1;;-1:-1:-1::0;52694:9:0::1;::::0;-1:-1:-1;;;;;52684:19:0;;::::1;52694:9:::0;::::1;52684:19;52659:44;:82;;;-1:-1:-1::0;;;;;;52716:25:0;::::1;;::::0;;;:14:::1;:25;::::0;;;;;::::1;;52659:82;:105;;;-1:-1:-1::0;;;;;;52745:19:0;::::1;;::::0;;;:11:::1;:19;::::0;;;;;::::1;;52659:105;:138;;;-1:-1:-1::0;52777:15:0::1;::::0;::::1;::::0;::::1;;;:20:::0;52659:138:::1;52655:1019;;;52817:42;52833:6;52841:9;52852:6;52817:15;:42::i;:::-;52655:1019;;;53014:15;::::0;52983:17:::1;::::0;53003:38:::1;::::0;53035:5:::1;::::0;53003:27:::1;::::0;:6;;53014:15:::1;::::0;::::1;;;53003:10;:27::i;:38::-;53091:7;::::0;52983:58;;-1:-1:-1;53056:18:0::1;::::0;53077:31:::1;::::0;53104:3:::1;::::0;53077:22:::1;::::0;52983:58;;53091:7;;::::1;;;53077:13;:22::i;:31::-;53056:52:::0;-1:-1:-1;53123:17:0::1;53143:25;:9:::0;53056:52;53143:13:::1;:25::i;:::-;53123:45;;53217:9;53204:10;:22;53191:9;:35;53183:82;;;;-1:-1:-1::0;;;53183:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53340:18;53361:21;:6:::0;53372:9;53361:10:::1;:21::i;:::-;53340:42;;53428:9;53415:10;:22;53405:6;:32;53397:78;;;;-1:-1:-1::0;;;53397:78:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53492:45;53508:6;48164:42;53526:10;53492:15;:45::i;:::-;53552:49;53568:6;53584:4;53591:9;53552:15;:49::i;:::-;53616:46;53632:6;53640:9;53651:10;53616:15;:46::i;:::-;52655:1019;;;;;52095:1586:::0;;;;;;:::o;16843:166::-;16929:7;16965:12;16957:6;;;;16949:29;;;;-1:-1:-1;;;16949:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16996:5:0;;;16843:166::o;14016:179::-;14074:7;14106:5;;;14130:6;;;;14122:46;;;;;-1:-1:-1;;;14122:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14186:1;14016:179;-1:-1:-1;;;14016:179:0:o;34633:387::-;-1:-1:-1;;;;;34709:21:0;;34701:65;;;;;-1:-1:-1;;;34701:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34785:12;;28221:32;;34785:24;;34802:6;34785:16;:24::i;:::-;:37;;34777:68;;;;;-1:-1:-1;;;34777:68:0;;;;;;;;;;;;-1:-1:-1;;;34777:68:0;;;;;;;;;;;;;;;34873:12;;:24;;34890:6;34873:16;:24::i;:::-;34858:12;:39;-1:-1:-1;;;;;34929:18:0;;;;;;:9;:18;;;;;;:30;;34952:6;34929:22;:30::i;:::-;-1:-1:-1;;;;;34908:18:0;;;;;;:9;:18;;;;;;;;:51;;;;34975:37;;;;;;;34908:18;;;;34975:37;;;;;;;;;;34633:387;;:::o;14895:220::-;14953:7;14977:6;14973:20;;-1:-1:-1;14992:1:0;14985:8;;14973:20;15016:5;;;15020:1;15016;:5;:1;15040:5;;;;;:10;15032:56;;;;-1:-1:-1;;;15032:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15593:153;15651:7;15683:1;15679;:5;15671:44;;;;;-1:-1:-1;;;15671:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15737:1;15733;:5;;;;;;;15593:153;-1:-1:-1;;;15593:153:0:o;53720:1126::-;51109:17;:24;;-1:-1:-1;;;;51109:24:0;-1:-1:-1;;;51109:24:0;;;51259:15:::1;::::0;;-1:-1:-1;;51285:19:0;::::1;::::0;;;51259:15:::1;51109:24:::0;51259:15;;::::1;;51109:24:::0;53824::::2;53842:4;53824:9;:24::i;:::-;53793:55;;53859:25;53887:19;:17;:19::i;:::-;53859:47;;53963:17;53940:20;:40;:83;;54003:20;53940:83;;;53983:17;53940:83;53917:106;;54064:18;;54040:20;:42;54036:803;;54166:18;::::0;54142:21:::2;54269:20;54166:18:::0;54287:1:::2;54269:17;:20::i;:::-;54254:35:::0;-1:-1:-1;54304:17:0::2;54324:40;54342:21;54359:3;54342:12;54254:35:::0;54351:2:::2;54342:8;:12::i;:21::-;54324:13:::0;;:17:::2;:40::i;:::-;54304:60;;54417:22;54434:4;54417:16;:22::i;:::-;48053:42;54511:56;54528:38;54562:3;54528:29;:21;54554:2;54528:25;:29::i;:38::-;54511:56;::::0;;::::2;::::0;;::::2;::::0;::::2;::::0;;;;;;::::2;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;54659:21:0::2;54727:35;54740:9:::0;54659:21;54727:12:::2;:35::i;:::-;54784:43;::::0;;;;;::::2;::::0;::::2;::::0;;;;;;;;;;;::::2;::::0;;;;;;;::::2;54036:803;;;;;-1:-1:-1::0;;51327:15:0::1;:34:::0;;::::1;::::0;;::::1;;;-1:-1:-1::0;;51327:34:0;;::::1;::::0;;;::::1;::::0;;51156:17;:25;;-1:-1:-1;;;;51156:25:0;;;53720:1126::o;33837:513::-;-1:-1:-1;;;;;33977:20:0;;33969:70;;;;-1:-1:-1;;;33969:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34058:23:0;;34050:71;;;;-1:-1:-1;;;34050:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34154;34176:6;34154:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34154:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;34134:17:0;;;;;;;:9;:17;;;;;;:91;;;;34259:20;;;;;;;:32;;34284:6;34259:24;:32::i;:::-;-1:-1:-1;;;;;34236:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;34307:35;;;;;;;34236:20;;34307:35;;;;;;;;;;;;;33837:513;;;:::o;14478:158::-;14536:7;14569:1;14564;:6;;14556:49;;;;;-1:-1:-1;;;14556:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14623:5:0;;;14478:158::o;54888:570::-;55034:16;;;55048:1;55034:16;;;55010:21;55034:16;;;;;55010:21;55034:16;;;;;;;;;;-1:-1:-1;55034:16:0;55010:40;;55079:4;55061;55066:1;55061:7;;;;;;;;-1:-1:-1;;;;;55061:23:0;;;:7;;;;;;;;;;:23;;;;55105:10;;:17;;;-1:-1:-1;;;55105:17:0;;;;:10;;;;;:15;;:17;;;;;55061:7;;55105:17;;;;;:10;:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55105:17:0;55095:7;;:4;;55100:1;;55095:7;;;;;;-1:-1:-1;;;;;55095:27:0;;;:7;;;;;;;;;:27;55167:10;;55135:57;;55152:4;;55167:10;55180:11;55135:8;:57::i;:::-;55231:10;;:219;;-1:-1:-1;;;55231:219:0;;;;;;;;:10;:219;;;;;;55404:4;55231:219;;;;;;55424:15;55231:219;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;55231:10:0;;;;:61;;55307:11;;55377:4;;55404;55424:15;55231:219;;;;;;;;;;;;;;;;:10;:219;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55494:504;55674:10;;55642:57;;55659:4;;-1:-1:-1;;;;;55674:10:0;55687:11;55642:8;:57::i;:::-;55742:10;;:248;;;-1:-1:-1;;;55742:248:0;;55809:4;55742:248;;;;;;;;;;:10;:248;;;;;;;;;;49328:42;55742:248;;;;55964:15;55742:248;;;;;;-1:-1:-1;;;;;55742:10:0;;;;:26;;55776:9;;55742:248;;;;;;;;;;;;;;55776:9;55742:10;:248;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;55494:504:0:o

Swarm Source

ipfs://8505bd7064f7a82a21d7e612dc5524864f46289d9c8be543e3c1d6c6a3b24626
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.