Contract 0xe13e62830D300C6Fa64287F7dDEf3af6894B4868 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa2d3943e28b21c0659fe12f1b916279e24e914bcb219eb6ab50b482cb258b3efGulp147314882022-01-27 12:48:4820 hrs 16 mins ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x6adc22f3833528a619d682135a1ae17da3ade85f9a08acbd1c92f6b4843eec89Gulp146970222022-01-26 7:58:462 days 1 hr ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x3b2d4406bf7d15a9e5fece744b3005d90dc4b2175e5d9f97e62b7f9975f5be7bGulp146596282022-01-25 0:45:593 days 8 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x8e5df51c135e8f8024f29114a23f14d1d83bdb5ba5295e9b3d71b710c57f945dGulp146260072022-01-23 20:41:164 days 12 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x2c507513cc61633936b09bd8aa8745833ed6b0c097864880ef75baea8e271c87Gulp145915302022-01-22 15:56:055 days 17 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x576c9379e4f6f112e6e6268ddbab4cd03d6699aa947344e4cd546571f9539918Gulp145568912022-01-21 10:56:186 days 22 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00095356
0x59dfb53513fe74343052ef49a40ae3b3f8d440e7622bce478bc735a5dc6e9508Gulp145212212022-01-20 5:10:398 days 3 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0xe6ef1c94011004b0fd1ff503b2f26ef11d06e48606725d7ae45aa3842084441eGulp144835812022-01-18 21:41:229 days 11 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x5b07c998cf4bad3ebad0dc1c1c67486e10eb32f1b14a288e7da07c5eb12a5565Gulp144474602022-01-17 15:06:5410 days 17 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x1c10ef87236fefee82ba86ac24c37d2a68e49f8e4f9ae944a0c4e6b3f5ae8ef8Gulp144097732022-01-16 7:30:5912 days 1 hr ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x3964fb08b9d4fb9f08815da5070c2b34f8aa1f6e43ac57f8bfd8be7f098e7156Gulp143724502022-01-15 0:19:3013 days 8 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x960192a8f8dffeae26314a672a9f3476bcd60f5b3cf430be8e660a170d305d7dGulp143357762022-01-13 17:41:2614 days 15 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x5d815b3dd77fdfc6f441cd04b93ce94d07551676ebfc53f184a14c70349dfc59Gulp142971792022-01-12 9:27:2115 days 23 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x12bec4a53343ae35c7e4f0ec2c86e8cce10a5859d1900f5923dee28d68f27d36Gulp142644552022-01-11 6:08:1517 days 2 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x1200154a1095723ef5fabe6374fa5c9c3535cf988b77fa9bd59d3e8ba66d0ebbGulp142251082022-01-09 21:17:0018 days 11 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0xd28a4ba5105d8af047ede04d40ac3320e7d248d2d7c37818e5d9a64f0817c1cdGulp141905332022-01-08 16:26:4719 days 16 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x513a6ab66fa9a47388edc80126ce0d463d3a0f1ade98af45aa4d767ac9d57c85Gulp141519572022-01-07 8:14:3321 days 50 mins ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x32875e3489031831b5544bd55b9463b69451812c8ec7bd142e46a7208384252cGulp141223282022-01-06 7:28:4822 days 1 hr ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0xf19391605fb85da6c9cff2f21e69a684934d31b5b0b888a2d2cab986e4f7c0deGulp140849322022-01-05 0:14:4423 days 8 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0xfe72dcb702a1179e7561936140af4b58d6219f5726cb986067befbbf46924e23Gulp140452592022-01-03 15:07:3024 days 17 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0xf59a4bab8cac79525127437478d29461f9d838635c41e1074d1ab783a99b2b8aGulp140093292022-01-02 9:05:1425 days 23 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x44421cac6fd30955919f5a5d637e4e2d7177c6926ce5660aa8c1875fb249f6efGulp139744382022-01-01 3:59:1327 days 5 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x07c574bb9fee8d48b33633967f0e4078562a397332123287594079cf0cf3e7beGulp139367142021-12-30 20:31:1628 days 12 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0x2c05a4bfde7a6ddb1a34a0d019b0ec43d21cd3868738c4aec75f23596fc316dbGulp139035822021-12-29 16:53:3029 days 16 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
0xb0eefc151e5d0e456cb1cacac33ead5b14925582faf9b52e022e2b9e21660757Gulp138704712021-12-28 13:17:0030 days 19 hrs ago0x2ceefab221aa55b3dc5f4e8a66b76c75c926a18b IN  0xe13e62830d300c6fa64287f7ddef3af6894b48680 BNB0.00087856
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PancakeSwapFeeCollector

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-08-04
*/

// SPDX-License-Identifier: GPL-3.0-only

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: contracts/IExchange.sol

pragma solidity ^0.6.0;

/**
 * @notice Exchange contract interface. Facilitates the conversion between assets
 *         including liquidity pool shares.
 */
interface IExchange
{
	// view functions
	function calcConversionFromInput(address _from, address _to, uint256 _inputAmount) external view returns (uint256 _outputAmount);
	function calcConversionFromOutput(address _from, address _to, uint256 _outputAmount) external view returns (uint256 _inputAmount);
	function calcJoinPoolFromInput(address _pool, address _token, uint256 _inputAmount) external view returns (uint256 _outputShares);

	// open functions
	function convertFundsFromInput(address _from, address _to, uint256 _inputAmount, uint256 _minOutputAmount) external returns (uint256 _outputAmount);
	function convertFundsFromOutput(address _from, address _to, uint256 _outputAmount, uint256 _maxInputAmount) external returns (uint256 _inputAmount);
	function joinPoolFromInput(address _pool, address _token, uint256 _inputAmount, uint256 _minOutputShares) external returns (uint256 _outputShares);
	function oracleAveragePriceFactorFromInput(address _from, address _to, uint256 _inputAmount) external returns (uint256 _factor);
	function oraclePoolAveragePriceFactorFromInput(address _pool, address _token, uint256 _inputAmount) external returns (uint256 _factor);
}

// File: @openzeppelin/contracts/GSN/Context.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 returns (address) {
        return _owner;
    }

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

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

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

// File: @openzeppelin/contracts/utils/EnumerableSet.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

// File: contracts/WhitelistGuard.sol

pragma solidity ^0.6.0;



/**
 * @notice Implements a whitelist-based policy for accessing publicly available
 *         functions of subcontracts. Enforces that a public function can only
 *         be called by an External Owned Account (EOA) or a contract previously
 *         whitelisted.
 */
abstract contract WhitelistGuard is Ownable
{
	using EnumerableSet for EnumerableSet.AddressSet;

	EnumerableSet.AddressSet private whitelist;
	bool private enabled = true;

	/// @dev restricts function call to be EOA or whitelist
	modifier onlyEOAorWhitelist()
	{
		if (enabled) {
			address _from = _msgSender();
			require(tx.origin == _from || whitelist.contains(_from), "access denied");
		}
		_;
	}

	/// @dev restricts function call to whitelist
	modifier onlyWhitelist()
	{
		if (enabled) {
			address _from = _msgSender();
			require(whitelist.contains(_from), "access denied");
		}
		_;
	}

	/**
	 * @notice Adds an address to the access policy whitelist.
	 *         This is a priviledged function.
	 * @param _address The address to be added to the whitelist.
	 */
	function addToWhitelist(address _address) external onlyOwner
	{
		require(whitelist.add(_address), "already listed");
	}

	/**
	 * @notice Removes an address to the access policy whitelist.
	 *         This is a priviledged function.
	 * @param _address The address to be removed to the whitelist.
	 */
	function removeFromWhitelist(address _address) external onlyOwner
	{
		require(whitelist.remove(_address), "not listed");
	}

	/**
	 * @notice Enables/disables the whitelist access policy.
	 *         This is a priviledged function.
	 * @param _enabled Flag indicating whether the whitelist should be
	 *                 enabled or not.
	 */
	function setWhitelistEnabled(bool _enabled) external onlyOwner
	{
		enabled = _enabled;
	}
}

// File: contracts/DelayedActionGuard.sol

pragma solidity ^0.6.0;


contract DelayedActionGuard is Ownable
{
	uint64 constant DEFAULT_WAIT_INTERVAL = 1 days;
	uint64 constant DEFAULT_OPEN_INTERVAL = 1 days;

	struct Interval {
		bytes32 hash;
		uint256 start;
		uint256 end;
	}

	mapping(bytes4 => Interval) private intervals;

	modifier delayed(bytes4 _selector, bytes32 _hash)
	{
		Interval storage interval = intervals[_selector];
		require(interval.hash == _hash, "invalid action");
		require(interval.start <= now && now < interval.end, "unavailable action");
		interval.hash = 0;
		interval.start = 0;
		interval.end = 0;
		emit ExecuteDelayedAction(_selector, _hash);
		_;
	}

	function announceDelayedAction(bytes4 _selector, bytes memory _params) external onlyOwner
	{
		(uint64 _wait, uint64 _open) = _defaultIntervalParams();
		Interval storage interval = intervals[_selector];
		require(interval.end == 0, "ongoing action");
		interval.hash = keccak256(_params);
		interval.start = now + _wait;
		interval.end = interval.start + _open;
		emit AnnounceDelayedAction(_selector, interval.hash);
	}

	/*
	function cancelDelayedAction(bytes4 _selector) external onlyOwner
	{
		Interval storage interval = intervals[_selector];
		require(interval.end != 0, "invalid action");
		emit CancelDelayedAction(_selector, interval.hash);
		interval.hash = 0;
		interval.start = 0;
		interval.end = 0;
	}
	*/

	function _defaultIntervalParams() internal pure virtual returns (uint64 _wait, uint64 _open)
	{
		return (DEFAULT_WAIT_INTERVAL, DEFAULT_OPEN_INTERVAL);
	}

	event AnnounceDelayedAction(bytes4 _selector, bytes32 _hash);
	event ExecuteDelayedAction(bytes4 _selector, bytes32 _hash);
	// event CancelDelayedAction(bytes4 _selector, bytes32 _hash);
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/math/SafeMath.sol


pragma solidity >=0.6.0 <0.8.0;

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

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

// File: @openzeppelin/contracts/utils/Address.sol


pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity >=0.6.0 <0.8.0;




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

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

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

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

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

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

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

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

// File: contracts/modules/Transfers.sol

pragma solidity ^0.6.0;



/**
 * @dev This library abstracts ERC-20 operations in the context of the current
 * contract.
 */
library Transfers
{
	using SafeERC20 for IERC20;

	/**
	 * @dev Retrieves a given ERC-20 token balance for the current contract.
	 * @param _token An ERC-20 compatible token address.
	 * @return _balance The current contract balance of the given ERC-20 token.
	 */
	function _getBalance(address _token) internal view returns (uint256 _balance)
	{
		return IERC20(_token).balanceOf(address(this));
	}

	/**
	 * @dev Allows a spender to access a given ERC-20 balance for the current contract.
	 * @param _token An ERC-20 compatible token address.
	 * @param _to The spender address.
	 * @param _amount The exact spending allowance amount.
	 */
	function _approveFunds(address _token, address _to, uint256 _amount) internal
	{
		uint256 _allowance = IERC20(_token).allowance(address(this), _to);
		if (_allowance > _amount) {
			IERC20(_token).safeDecreaseAllowance(_to, _allowance - _amount);
		}
		else
		if (_allowance < _amount) {
			IERC20(_token).safeIncreaseAllowance(_to, _amount - _allowance);
		}
	}

	/**
	 * @dev Transfer a given ERC-20 token amount into the current contract.
	 * @param _token An ERC-20 compatible token address.
	 * @param _from The source address.
	 * @param _amount The amount to be transferred.
	 */
	function _pullFunds(address _token, address _from, uint256 _amount) internal
	{
		if (_amount == 0) return;
		IERC20(_token).safeTransferFrom(_from, address(this), _amount);
	}

	/**
	 * @dev Transfer a given ERC-20 token amount from the current contract.
	 * @param _token An ERC-20 compatible token address.
	 * @param _to The target address.
	 * @param _amount The amount to be transferred.
	 */
	function _pushFunds(address _token, address _to, uint256 _amount) internal
	{
		if (_amount == 0) return;
		IERC20(_token).safeTransfer(_to, _amount);
	}
}

// File: contracts/interop/MasterChef.sol

pragma solidity ^0.6.0;

/**
 * @dev Minimal set of declarations for PancakeSwap MasterChef interoperability.
 */
interface MasterChef
{
	function cake() external view returns (address _cake);
	function syrup() external view returns (address _syrup);
	function pendingCake(uint256 _pid, address _user) external view returns (uint256 _pendingCake);
	function poolInfo(uint256 _pid) external view returns (address _lpToken, uint256 _allocPoint, uint256 _lastRewardBlock, uint256 _accCakePerShare);
	function poolLength() external view returns (uint256 _poolLength);
	function userInfo(uint256 _pid, address _user) external view returns (uint256 _amount, uint256 _rewardDebt);

	function deposit(uint256 _pid, uint256 _amount) external;
	function enterStaking(uint256 _amount) external;
	function leaveStaking(uint256 _amount) external;
	function withdraw(uint256 _pid, uint256 _amount) external;
	function emergencyWithdraw(uint256 _pid) external;
}

// File: contracts/interop/UniswapV2.sol

pragma solidity ^0.6.0;


/**
 * @dev Minimal set of declarations for Uniswap V2 interoperability.
 */
interface Factory
{
	function getPair(address _tokenA, address _tokenB) external view returns (address _pair);

	function createPair(address _tokenA, address _tokenB) external returns (address _pair);
}

interface PoolToken is IERC20
{
}

interface Pair is PoolToken
{
	function getReserves() external view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast);
	function token0() external view returns (address _token0);
	function token1() external view returns (address _token1);

	function mint(address _to) external returns (uint256 _liquidity);
}

interface Router01
{
	function WETH() external pure returns (address _token);
	function factory() external pure returns (address _factory);
	function getAmountOut(uint256 _amountIn, uint256 _reserveIn, uint256 _reserveOut) external pure returns (uint256 _amountOut);
	function getAmountsIn(uint256 _amountOut, address[] calldata _path) external view returns (uint[] memory _amounts);
	function getAmountsOut(uint256 _amountIn, address[] calldata _path) external view returns (uint[] memory _amounts);

	function addLiquidity(address _tokenA, address _tokenB, uint256 _amountADesired, uint256 _amountBDesired, uint256 _amountAMin, uint256 _amountBMin, address _to, uint256 _deadline) external returns (uint256 _amountA, uint256 _amountB, uint256 _liquidity);
	function removeLiquidity(address _tokenA, address _tokenB, uint256 _liquidity, uint256 _amountAMin, uint256 _amountBMin, address _to, uint256 _deadline) external returns (uint256 _amountA, uint256 _amountB);
	function swapETHForExactTokens(uint256 _amountOut, address[] calldata _path, address _to, uint256 _deadline) external payable returns (uint256[] memory _amounts);
	function swapTokensForExactTokens(uint256 _amountOut, uint256 _amountInMax, address[] calldata _path, address _to, uint256 _deadline) external returns (uint256[] memory _amounts);
}

interface Router02 is Router01
{
	function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 _amountIn, uint256 _amountOutMin, address[] calldata _path, address _to, uint256 _deadline) external;
}

// File: contracts/PancakeSwapFeeCollector.sol

pragma solidity ^0.6.0;








/**
 * @notice This contract implements a fee collector strategy for PancakeSwap MasterChef.
 *         It accumulates the reward token sent from strategies (CAKE) and converts it
 *         into reserve funds which are deposited into MasterChef. The rewards accumulated
 *         on MasterChed from reserve funds are, on the other hand, collected and sent to
 *         the buyback contract. These operations happen via the gulp function.
 */
contract PancakeSwapFeeCollector is ReentrancyGuard, /*WhitelistGuard,*/ DelayedActionGuard
{
	uint256 constant DEFAULT_MINIMAL_GULP_FACTOR = 99e16; // 99%

	// underlying contract configuration
	address private immutable masterChef;
	uint256 private immutable pid;

	// strategy token configuration
	address public immutable rewardToken;
	address public immutable routingToken;
	address public immutable reserveToken;

	// addresses receiving tokens
	address public treasury;
	address public buyback;

	// exchange contract address
	address public exchange;

	// minimal gulp factor
	uint256 public minimalGulpFactor = DEFAULT_MINIMAL_GULP_FACTOR;

	/**
	 * @dev Constructor for this fee collector contract.
	 * @param _masterChef The MasterChef contract address.
	 * @param _pid The MasterChef Pool ID (pid).
	 * @param _routingToken The ERC-20 token address to be used as routing
	 *                      token, must be either the reserve token itself
	 *                      or one of the tokens that make up a liquidity pool.
	 * @param _treasury The treasury address used to recover lost funds.
	 * @param _buyback The buyback contract address to send collected rewards.
	 * @param _exchange The exchange contract used to convert funds.
	 */
	constructor (address _masterChef, uint256 _pid, address _routingToken,
		address _treasury, address _buyback, address _exchange) public
	{
		(address _reserveToken, address _rewardToken) = _getTokens(_masterChef, _pid);
		require(_routingToken == _reserveToken || _routingToken == Pair(_reserveToken).token0() || _routingToken == Pair(_reserveToken).token1(), "invalid token");
		masterChef = _masterChef;
		pid = _pid;
		rewardToken = _rewardToken;
		routingToken = _routingToken;
		reserveToken = _reserveToken;
		treasury = _treasury;
		buyback = _buyback;
		exchange = _exchange;
	}

	/**
	 * @notice Allows for the beforehand calculation of the amount of
	 *         reserve token, converted from the reward token deposited
	 *         from strategies, to be incorporated into the reserve on the
	 *         next gulp call.
	 * @return _depositAmount The amount of the reserve token to be deposited.
	 */
	/*
	function pendingDeposit() external view returns (uint256 _depositAmount)
	{
		uint256 _totalReward = Transfers._getBalance(rewardToken);
		uint256 _totalRouting = _totalReward;
		if (rewardToken != routingToken) {
			require(exchange != address(0), "exchange not set");
			_totalRouting = IExchange(exchange).calcConversionFromInput(rewardToken, routingToken, _totalReward);
		}
		uint256 _totalBalance = _totalRouting;
		if (routingToken != reserveToken) {
			require(exchange != address(0), "exchange not set");
			_totalBalance = IExchange(exchange).calcJoinPoolFromInput(reserveToken, routingToken, _totalRouting);
		}
		return _totalBalance;
	}
	*/

	/**
	 * @notice Allows for the beforehand calculation of the amount of
	 *         reward token currently pending for collection.
	 * @return _pendingReward The amount of the reward token pending collection.
	 */
	/*
	function pendingReward() external view returns (uint256 _pendingReward)
	{
		return _getPendingReward();
	}
	*/

	/**
	 * Performs the conversion of the reward token received from strategies
	 * into the reserve token. Also collects the rewards from its deposits
	 * and sent it to the buyback contract.
	 */
	function gulp() external /*onlyEOAorWhitelist*/ nonReentrant
	{
		require(_gulp(), "unavailable");
	}

	/// @dev Actual gulp implementation
	function _gulp() internal returns (bool _success)
	{
		if (rewardToken != routingToken) {
			require(exchange != address(0), "exchange not set");
			uint256 _totalReward = Transfers._getBalance(rewardToken);
			uint256 _factor = IExchange(exchange).oracleAveragePriceFactorFromInput(rewardToken, routingToken, _totalReward);
			if (_factor < minimalGulpFactor) return false;
			Transfers._approveFunds(rewardToken, exchange, _totalReward);
			IExchange(exchange).convertFundsFromInput(rewardToken, routingToken, _totalReward, 1);
		}
		if (routingToken != reserveToken) {
			require(exchange != address(0), "exchange not set");
			uint256 _totalRouting = Transfers._getBalance(routingToken);
			uint256 _factor = IExchange(exchange).oraclePoolAveragePriceFactorFromInput(reserveToken, routingToken, _totalRouting);
			if (_factor < minimalGulpFactor || _factor > 2e18 - minimalGulpFactor) return false;
			Transfers._approveFunds(routingToken, exchange, _totalRouting);
			IExchange(exchange).joinPoolFromInput(reserveToken, routingToken, _totalRouting, 1);
		}
		uint256 _totalBalance = Transfers._getBalance(reserveToken);
		_deposit(_totalBalance);
		uint256 _totalReward = Transfers._getBalance(rewardToken);
		Transfers._pushFunds(rewardToken, buyback, _totalReward);
		return true;
	}

	/**
	 * @notice Allows the recovery of tokens sent by mistake to this
	 *         contract, excluding tokens relevant to its operations.
	 *         The full balance is sent to the treasury address.
	 *         This is a privileged function.
	 * @param _token The address of the token to be recovered.
	 */
	function recoverLostFunds(address _token) external onlyOwner nonReentrant
		delayed(this.recoverLostFunds.selector, keccak256(abi.encode(_token)))
	{
		require(_token != rewardToken, "invalid token");
		require(_token != routingToken, "invalid token");
		require(_token != reserveToken, "invalid token");
		uint256 _balance = Transfers._getBalance(_token);
		Transfers._pushFunds(_token, treasury, _balance);
	}

	/**
	 * @notice Updates the treasury address used to recover lost funds.
	 *         This is a privileged function.
	 * @param _newTreasury The new treasury address.
	 */
	function setTreasury(address _newTreasury) external onlyOwner
		delayed(this.setTreasury.selector, keccak256(abi.encode(_newTreasury)))
	{
		require(_newTreasury != address(0), "invalid address");
		address _oldTreasury = treasury;
		treasury = _newTreasury;
		emit ChangeTreasury(_oldTreasury, _newTreasury);
	}

	/**
	 * @notice Updates the buyback contract address used to send collected rewards.
	 *         This is a privileged function.
	 * @param _newBuyback The new buyback contract address.
	 */
	function setBuyback(address _newBuyback) external onlyOwner
		delayed(this.setBuyback.selector, keccak256(abi.encode(_newBuyback)))
	{
		require(_newBuyback != address(0), "invalid address");
		address _oldBuyback = buyback;
		buyback = _newBuyback;
		emit ChangeBuyback(_oldBuyback, _newBuyback);
	}

	/**
	 * @notice Updates the exchange address used to convert funds. A zero
	 *         address can be used to temporarily pause conversions.
	 *         This is a privileged function.
	 * @param _newExchange The new exchange address.
	 */
	function setExchange(address _newExchange) external onlyOwner
		delayed(this.setExchange.selector, keccak256(abi.encode(_newExchange)))
	{
		address _oldExchange = exchange;
		exchange = _newExchange;
		emit ChangeExchange(_oldExchange, _newExchange);
	}

	/**
	 * @notice Updates the minimal gulp factor which defines the tolerance
	 *         for gulping when below the average price. Default is 99%,
	 *         which implies accepting up to 1% below the average price.
	 *         This is a privileged function.
	 * @param _newMinimalGulpFactor The new minimal gulp factor.
	 */
	function setMinimalGulpFactor(uint256 _newMinimalGulpFactor) external onlyOwner
		delayed(this.setMinimalGulpFactor.selector, keccak256(abi.encode(_newMinimalGulpFactor)))
	{
		require(_newMinimalGulpFactor <= 1e18, "invalid factor");
		uint256 _oldMinimalGulpFactor = minimalGulpFactor;
		minimalGulpFactor = _newMinimalGulpFactor;
		emit ChangeMinimalGulpFactor(_oldMinimalGulpFactor, _newMinimalGulpFactor);
	}

	/**
	 * @notice Performs a migration of this contracts funds.
	 *         This is a privileged function.
	 * @param _migrationRecipient The address to receive the migrated funds.
	 * @param _emergency A flag indicating whether or not use the emergency
	 *                   mode from the underlying MasterChef contract.
	 */
	function migrate(address _migrationRecipient, bool _emergency) external onlyOwner
		delayed(this.migrate.selector, keccak256(abi.encode(_migrationRecipient, _emergency)))
	{
		_migrate(_migrationRecipient, _emergency);
		emit Migrate(_migrationRecipient);
	}

	/// @dev Performs the actual migration of funds
	function _migrate(address _migrationRecipient, bool _emergency) internal
	{
		if (_emergency) {
			_emergencyWithdraw();
		} else {
			uint256 _totalReserve = _getReserveAmount();
			if (_totalReserve > 0) {
				_withdraw(_totalReserve);
			}
			uint256 _totalReward = Transfers._getBalance(rewardToken);
			if (reserveToken == rewardToken) {
				_totalReward -= _totalReserve;
			}
			Transfers._pushFunds(rewardToken, buyback, _totalReward);
		}
		uint256 _totalBalance = Transfers._getBalance(reserveToken);
		Transfers._pushFunds(reserveToken, _migrationRecipient, _totalBalance);
	}

	// ----- BEGIN: underlying contract abstraction

	/// @dev Lists the reserve and reward tokens of the MasterChef pool
	function _getTokens(address _masterChef, uint256 _pid) internal view returns (address _reserveToken, address _rewardToken)
	{
		uint256 _poolLength = MasterChef(_masterChef).poolLength();
		require(_pid < _poolLength, "invalid pid");
		(_reserveToken,,,) = MasterChef(_masterChef).poolInfo(_pid);
		_rewardToken = MasterChef(_masterChef).cake();
		return (_reserveToken, _rewardToken);
	}

	/// @dev Retrieves the current pending reward for the MasterChef pool
	function _getPendingReward() internal view returns (uint256 _pendingReward)
	{
		return MasterChef(masterChef).pendingCake(pid, address(this));
	}

	/// @dev Retrieves the deposited reserve for the MasterChef pool
	function _getReserveAmount() internal view returns (uint256 _reserveAmount)
	{
		(_reserveAmount,) = MasterChef(masterChef).userInfo(pid, address(this));
		return _reserveAmount;
	}

	/// @dev Performs a deposit into the MasterChef pool
	function _deposit(uint256 _amount) internal
	{
		Transfers._approveFunds(reserveToken, masterChef, _amount);
		if (pid == 0) {
			MasterChef(masterChef).enterStaking(_amount);
		} else {
			MasterChef(masterChef).deposit(pid, _amount);
		}
	}

	/// @dev Performs an withdrawal from the MasterChef pool
	function _withdraw(uint256 _amount) internal
	{
		if (pid == 0) {
			MasterChef(masterChef).leaveStaking(_amount);
		} else {
			MasterChef(masterChef).withdraw(pid, _amount);
		}
	}

	/// @dev Performs an emergency withdrawal from the MasterChef pool
	function _emergencyWithdraw() internal
	{
		MasterChef(masterChef).emergencyWithdraw(pid);
	}

	// ----- END: underlying contract abstraction

	// events emitted by this contract
	event ChangeBuyback(address _oldBuyback, address _newBuyback);
	event ChangeTreasury(address _oldTreasury, address _newTreasury);
	event ChangeExchange(address _oldExchange, address _newExchange);
	event ChangeMinimalGulpFactor(uint256 _oldMinimalGulpFactor, uint256 _newMinimalGulpFactor);
	event Migrate(address indexed _migrationRecipient);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_masterChef","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_routingToken","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_buyback","type":"address"},{"internalType":"address","name":"_exchange","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"_selector","type":"bytes4"},{"indexed":false,"internalType":"bytes32","name":"_hash","type":"bytes32"}],"name":"AnnounceDelayedAction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_oldBuyback","type":"address"},{"indexed":false,"internalType":"address","name":"_newBuyback","type":"address"}],"name":"ChangeBuyback","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_oldExchange","type":"address"},{"indexed":false,"internalType":"address","name":"_newExchange","type":"address"}],"name":"ChangeExchange","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_oldMinimalGulpFactor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_newMinimalGulpFactor","type":"uint256"}],"name":"ChangeMinimalGulpFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_oldTreasury","type":"address"},{"indexed":false,"internalType":"address","name":"_newTreasury","type":"address"}],"name":"ChangeTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes4","name":"_selector","type":"bytes4"},{"indexed":false,"internalType":"bytes32","name":"_hash","type":"bytes32"}],"name":"ExecuteDelayedAction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_migrationRecipient","type":"address"}],"name":"Migrate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"},{"internalType":"bytes","name":"_params","type":"bytes"}],"name":"announceDelayedAction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyback","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchange","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gulp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_migrationRecipient","type":"address"},{"internalType":"bool","name":"_emergency","type":"bool"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minimalGulpFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverLostFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"routingToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newBuyback","type":"address"}],"name":"setBuyback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newExchange","type":"address"}],"name":"setExchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMinimalGulpFactor","type":"uint256"}],"name":"setMinimalGulpFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTreasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

610120604052670dbd2fc137a300006006553480156200001e57600080fd5b5060405162004a6d38038062004a6d833981810160405260c08110156200004457600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505060016000819055506000620000a16200052560201b60201c565b905080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506000806200015588886200052d60201b60201c565b915091508173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614806200024257508173ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015620001d657600080fd5b505afa158015620001eb573d6000803e3d6000fd5b505050506040513d60208110156200020257600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b80620002fc57508173ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156200029057600080fd5b505afa158015620002a5573d6000803e3d6000fd5b505050506040513d6020811015620002bc57600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b6200036f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f696e76616c696420746f6b656e0000000000000000000000000000000000000081525060200191505060405180910390fd5b8773ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508660a081815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508573ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508173ffffffffffffffffffffffffffffffffffffffff166101008173ffffffffffffffffffffffffffffffffffffffff1660601b8152505084600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050505062000773565b600033905090565b60008060008473ffffffffffffffffffffffffffffffffffffffff1663081e3eda6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200057957600080fd5b505afa1580156200058e573d6000803e3d6000fd5b505050506040513d6020811015620005a557600080fd5b810190808051906020019092919050505090508084106200062e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f696e76616c69642070696400000000000000000000000000000000000000000081525060200191505060405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16631526fe27856040518263ffffffff1660e01b81526004018082815260200191505060806040518083038186803b1580156200068057600080fd5b505afa15801562000695573d6000803e3d6000fd5b505050506040513d6080811015620006ac57600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190505050909150905050809350508473ffffffffffffffffffffffffffffffffffffffff1663dce174846040518163ffffffff1660e01b815260040160206040518083038186803b1580156200072c57600080fd5b505afa15801562000741573d6000803e3d6000fd5b505050506040513d60208110156200075857600080fd5b81019080805190602001909291905050509150509250929050565b60805160601c60a05160c05160601c60e05160601c6101005160601c6141e66200088760003980610ff35280612656528061284c52806128e4528061290f5280612d6e5280612f1352806130b952806131b952806137785250806105775280610f31528061293e5280612b045280612c945280612da55280612eab5280612f34528061303152806130da525080610e6f528061267a52806127ed5280612815528061289252806129755280612a7b5280612ae35280612beb5280612c7352806131ef528061321a52508061335c528061340b52806134cc52806135bf52806137c252806138b552508061332052806133cf52806134f35280613583528061379952806137e9528061387952506141e66000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063c49a4126116100a2578063f30f217511610071578063f30f2175146103ab578063f3856e761461048f578063f4325d67146104d3578063f7c618c114610507578063f8ec69111461053b57610116565b8063c49a4126146102c1578063d2f7265a146102ef578063f0f4426014610323578063f2fde38b1461036757610116565b8063715018a6116100e9578063715018a6146101e5578063770be784146101ef5780638da5cb5b14610233578063933964c71461026757806394909e62146102b757610116565b80632cdef8d21461011b578063500abe371461013957806361d027b31461016d57806367b1f5df146101a1575b600080fd5b61012361056f565b6040518082815260200191505060405180910390f35b610141610575565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610175610599565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e3600480360360208110156101b757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105bf565b005b6101ed61097d565b005b6102316004803603602081101561020557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b08565b005b61023b6110fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102b56004803603604081101561027d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611126565b005b6102bf611468565b005b6102ed600480360360208110156102d757600080fd5b810190808035906020019092919050505061156d565b005b6102f761190d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103656004803603602081101561033957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611933565b005b6103a96004803603602081101561037d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d94565b005b61048d600480360360408110156103c157600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291908035906020019064010000000081111561040757600080fd5b82018360208201111561041957600080fd5b8035906020019184600183028401116401000000008311171561043b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611fa4565b005b6104d1600480360360208110156104a557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506121f3565b005b6104db612654565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61050f612678565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61054361269c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60065481565b7f000000000000000000000000000000000000000000000000000000000000000081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6105c76126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610689576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6367b1f5df60e01b81604051602001808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405160208183030381529060405280519060200120600060026000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002090508181600001541461079c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f696e76616c696420616374696f6e00000000000000000000000000000000000081525060200191505060405180910390fd5b428160010154111580156107b35750806002015442105b610825576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f756e617661696c61626c6520616374696f6e000000000000000000000000000081525060200191505060405180910390fd5b6000801b816000018190555060008160010181905550600081600201819055507f096e099683a10770ed687afcc79b966437b8e73e3a992e95ea27771a3421b24c838360405180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018281526020019250505060405180910390a16000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905084600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f93dc9fa59c24a24b1a0e5d4304e0de3e0cf05a9a6211cd72e1fc6a9273b7b0588186604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a15050505050565b6109856126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a47576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610b106126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bd2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60026000541415610c4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555063770be78460e01b81604051602001808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405160208183030381529060405280519060200120600060026000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020905081816000015414610d66576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f696e76616c696420616374696f6e00000000000000000000000000000000000081525060200191505060405180910390fd5b42816001015411158015610d7d5750806002015442105b610def576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f756e617661696c61626c6520616374696f6e000000000000000000000000000081525060200191505060405180910390fd5b6000801b816000018190555060008160010181905550600081600201819055507f096e099683a10770ed687afcc79b966437b8e73e3a992e95ea27771a3421b24c838360405180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018281526020019250505060405180910390a17f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610f2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f696e76616c696420746f6b656e0000000000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610ff1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f696e76616c696420746f6b656e0000000000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156110b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f696e76616c696420746f6b656e0000000000000000000000000000000000000081525060200191505060405180910390fd5b60006110be856126ca565b90506110ed85600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612775565b50505050600160008190555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61112e6126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b63933964c760e01b8282604051602001808373ffffffffffffffffffffffffffffffffffffffff16815260200182151581526020019250505060405160208183030381529060405280519060200120600060026000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002090508181600001541461130d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f696e76616c696420616374696f6e00000000000000000000000000000000000081525060200191505060405180910390fd5b428160010154111580156113245750806002015442105b611396576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f756e617661696c61626c6520616374696f6e000000000000000000000000000081525060200191505060405180910390fd5b6000801b816000018190555060008160010181905550600081600201819055507f096e099683a10770ed687afcc79b966437b8e73e3a992e95ea27771a3421b24c838360405180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018281526020019250505060405180910390a161141e85856127b4565b8473ffffffffffffffffffffffffffffffffffffffff167fd58a618a39de682696ea37dd9a6bf9c793afa426fa1438e75c3966e3b541e45a60405160405180910390a25050505050565b600260005414156114e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60026000819055506114f161293a565b611563576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f756e617661696c61626c6500000000000000000000000000000000000000000081525060200191505060405180910390fd5b6001600081905550565b6115756126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611637576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b63c49a412660e01b816040516020018082815260200191505060405160208183030381529060405280519060200120600060026000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020905081816000015414611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f696e76616c696420616374696f6e00000000000000000000000000000000000081525060200191505060405180910390fd5b4281600101541115801561174b5750806002015442105b6117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f756e617661696c61626c6520616374696f6e000000000000000000000000000081525060200191505060405180910390fd5b6000801b816000018190555060008160010181905550600081600201819055507f096e099683a10770ed687afcc79b966437b8e73e3a992e95ea27771a3421b24c838360405180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018281526020019250505060405180910390a1670de0b6b3a76400008411156118b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f696e76616c696420666163746f7200000000000000000000000000000000000081525060200191505060405180910390fd5b60006006549050846006819055507fd57e721174cd8bf4073b35ba33e11f90e186e1465ba513b8147fe0814f4dca7a8186604051808381526020018281526020019250505060405180910390a15050505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61193b6126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b63f0f4426060e01b81604051602001808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405160208183030381529060405280519060200120600060026000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020905081816000015414611b10576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f696e76616c696420616374696f6e00000000000000000000000000000000000081525060200191505060405180910390fd5b42816001015411158015611b275750806002015442105b611b99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f756e617661696c61626c6520616374696f6e000000000000000000000000000081525060200191505060405180910390fd5b6000801b816000018190555060008160010181905550600081600201819055507f096e099683a10770ed687afcc79b966437b8e73e3a992e95ea27771a3421b24c838360405180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018281526020019250505060405180910390a1600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611cba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905084600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd61f9c9cda6dbf4d6540a8bc48cc55e51105333daa79c5fc3fde780d820bea5f8186604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a15050505050565b611d9c6126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e5e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ee4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141126026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611fac6126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461206e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008061207961326c565b91509150600060026000867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000209050600081600201541461214c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6f6e676f696e6720616374696f6e00000000000000000000000000000000000081525060200191505060405180910390fd5b838051906020012081600001819055508267ffffffffffffffff16420181600101819055508167ffffffffffffffff1681600101540181600201819055507f8a481667d330ad214a21c2159fcc9c88bcf4ef9fddc174d2f8e300e43fc7ae6485826000015460405180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018281526020019250505060405180910390a15050505050565b6121fb6126c2565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b63f3856e7660e01b81604051602001808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405160208183030381529060405280519060200120600060026000847bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000209050818160000154146123d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f696e76616c696420616374696f6e00000000000000000000000000000000000081525060200191505060405180910390fd5b428160010154111580156123e75750806002015442105b612459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f756e617661696c61626c6520616374696f6e000000000000000000000000000081525060200191505060405180910390fd5b6000801b816000018190555060008160010181905550600081600201819055507f096e099683a10770ed687afcc79b966437b8e73e3a992e95ea27771a3421b24c838360405180837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020018281526020019250505060405180910390a1600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561257a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f696e76616c69642061646472657373000000000000000000000000000000000081525060200191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905084600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f53926b4edb995ca5fdad095a5e77df4d0575be1e64430347c7ca06ae7fe137478186604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a15050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561273357600080fd5b505afa158015612747573d6000803e3d6000fd5b505050506040513d602081101561275d57600080fd5b81019080805190602001909291905050509050919050565b6000811415612783576127af565b6127ae82828573ffffffffffffffffffffffffffffffffffffffff1661327c9092919063ffffffff16565b5b505050565b80156127c7576127c261331e565b6128dd565b60006127d16133cb565b905060008111156127e6576127e5816134c8565b5b60006128117f00000000000000000000000000000000000000000000000000000000000000006126ca565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16141561288d5781810390505b6128da7f0000000000000000000000000000000000000000000000000000000000000000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612775565b50505b60006129087f00000000000000000000000000000000000000000000000000000000000000006126ca565b90506129357f00000000000000000000000000000000000000000000000000000000000000008483612775565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614612d6c57600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a74576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f65786368616e6765206e6f74207365740000000000000000000000000000000081525060200191505060405180910390fd5b6000612a9f7f00000000000000000000000000000000000000000000000000000000000000006126ca565b90506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166304fa032f7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612b9457600080fd5b505af1158015612ba8573d6000803e3d6000fd5b505050506040513d6020811015612bbe57600080fd5b81019080805190602001909291905050509050600654811015612be657600092505050613269565b612c337f0000000000000000000000000000000000000000000000000000000000000000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613638565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633c97c6f87f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000008560016040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001945050505050602060405180830381600087803b158015612d2d57600080fd5b505af1158015612d41573d6000803e3d6000fd5b505050506040513d6020811015612d5757600080fd5b81019080805190602001909291905050505050505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16146131b257600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612ea4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f65786368616e6765206e6f74207365740000000000000000000000000000000081525060200191505060405180910390fd5b6000612ecf7f00000000000000000000000000000000000000000000000000000000000000006126ca565b90506000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166353e273d97f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b158015612fc457600080fd5b505af1158015612fd8573d6000803e3d6000fd5b505050506040513d6020811015612fee57600080fd5b8101908080519060200190929190505050905060065481108061301c5750600654671bc16d674ec800000381115b1561302c57600092505050613269565b6130797f0000000000000000000000000000000000000000000000000000000000000000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613638565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c0a863f7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000008560016040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001945050505050602060405180830381600087803b15801561317357600080fd5b505af1158015613187573d6000803e3d6000fd5b505050506040513d602081101561319d57600080fd5b81019080805190602001909291905050505050505b60006131dd7f00000000000000000000000000000000000000000000000000000000000000006126ca565b90506131e881613773565b60006132137f00000000000000000000000000000000000000000000000000000000000000006126ca565b90506132627f0000000000000000000000000000000000000000000000000000000000000000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612775565b6001925050505b90565b6000806201518080915091509091565b6133198363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061392e565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16635312ea8e7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156133b157600080fd5b505af11580156133c5573d6000803e3d6000fd5b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166393f1a40b7f0000000000000000000000000000000000000000000000000000000000000000306040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050604080518083038186803b15801561347b57600080fd5b505afa15801561348f573d6000803e3d6000fd5b505050506040513d60408110156134a557600080fd5b810190808051906020019092919080519060200190929190505050508091505090565b60007f00000000000000000000000000000000000000000000000000000000000000001415613581577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631058d281826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561356457600080fd5b505af1158015613578573d6000803e3d6000fd5b50505050613635565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663441a3e707f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561361c57600080fd5b505af1158015613630573d6000803e3d6000fd5b505050505b50565b60008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156136bf57600080fd5b505afa1580156136d3573d6000803e3d6000fd5b505050506040513d60208110156136e957600080fd5b810190808051906020019092919050505090508181111561373657613731838383038673ffffffffffffffffffffffffffffffffffffffff16613a1d9092919063ffffffff16565b61376d565b8181101561376c5761376b838284038673ffffffffffffffffffffffffffffffffffffffff16613bb09092919063ffffffff16565b5b5b50505050565b6137be7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000083613638565b60007f00000000000000000000000000000000000000000000000000000000000000001415613877577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166341441d3b826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561385a57600080fd5b505af115801561386e573d6000803e3d6000fd5b5050505061392b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e2bbb1587f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561391257600080fd5b505af1158015613926573d6000803e3d6000fd5b505050505b50565b6060613990826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613d299092919063ffffffff16565b9050600081511115613a18578080602001905160208110156139b157600080fd5b8101908080519060200190929190505050613a17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614187602a913960400191505060405180910390fd5b5b505050565b6000613b0b82604051806060016040528060298152602001614138602991398673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30886040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015613ac157600080fd5b505afa158015613ad5573d6000803e3d6000fd5b505050506040513d6020811015613aeb57600080fd5b8101908080519060200190929190505050613d419092919063ffffffff16565b9050613baa8463095ea7b360e01b8584604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061392e565b50505050565b6000613c84828573ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015613c3b57600080fd5b505afa158015613c4f573d6000803e3d6000fd5b505050506040513d6020811015613c6557600080fd5b8101908080519060200190929190505050613e0190919063ffffffff16565b9050613d238463095ea7b360e01b8584604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061392e565b50505050565b6060613d388484600085613e89565b90509392505050565b6000838311158290613dee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613db3578082015181840152602081019050613d98565b50505050905090810190601f168015613de05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080828401905083811015613e7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b606082471015613ee4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806141616026913960400191505060405180910390fd5b613eed85614032565b613f5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613faf5780518252602082019150602081019050602083039250613f8c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614011576040519150601f19603f3d011682016040523d82523d6000602084013e614016565b606091505b5091509150614026828286614045565b92505050949350505050565b600080823b905060008111915050919050565b606083156140555782905061410a565b6000835111156140685782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156140cf5780820151818401526020810190506140b4565b50505050905090810190601f1680156140fc5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a6f62e41bf8a7234a00cf1617776a2efb03c64c5b93f921d7feeba4d00c8731864736f6c634300060c00330000000000000000000000005c8d727b265dbafaba67e050f2f739caeeb4a6f90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000603c7f932ed1fc6575303d8fb018fdcbb0f39a95000000000000000000000000392681eaf8ad9bc65e74be37afe7503d92802b7d000000000000000000000000889c56abcc2606e77b3733e8703e9e040655b8e500000000000000000000000039c54945c9b880d4b5f15b0ba3c8c17226c37d68

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

0000000000000000000000005c8d727b265dbafaba67e050f2f739caeeb4a6f90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000603c7f932ed1fc6575303d8fb018fdcbb0f39a95000000000000000000000000392681eaf8ad9bc65e74be37afe7503d92802b7d000000000000000000000000889c56abcc2606e77b3733e8703e9e040655b8e500000000000000000000000039c54945c9b880d4b5f15b0ba3c8c17226c37d68

-----Decoded View---------------
Arg [0] : _masterChef (address): 0x5c8d727b265dbafaba67e050f2f739caeeb4a6f9
Arg [1] : _pid (uint256): 0
Arg [2] : _routingToken (address): 0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95
Arg [3] : _treasury (address): 0x392681eaf8ad9bc65e74be37afe7503d92802b7d
Arg [4] : _buyback (address): 0x889c56abcc2606e77b3733e8703e9e040655b8e5
Arg [5] : _exchange (address): 0x39c54945c9b880d4b5f15b0ba3c8c17226c37d68

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c8d727b265dbafaba67e050f2f739caeeb4a6f9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 000000000000000000000000603c7f932ed1fc6575303d8fb018fdcbb0f39a95
Arg [3] : 000000000000000000000000392681eaf8ad9bc65e74be37afe7503d92802b7d
Arg [4] : 000000000000000000000000889c56abcc2606e77b3733e8703e9e040655b8e5
Arg [5] : 00000000000000000000000039c54945c9b880d4b5f15b0ba3c8c17226c37d68


Deployed ByteCode Sourcemap

45696:11358:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46302:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46046:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46162:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52595:260;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6877:148;;;:::i;:::-;;50916:419;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6235:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53952:263;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49136:104;;;:::i;:::-;;53194:420;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46248:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51517:319;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7180:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;19753:430;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52037:307;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46087:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46006:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46189:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46302:62;;;;:::o;46046:37::-;;;:::o;46162:23::-;;;;;;;;;;;;;:::o;52595:260::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52668:25:::1;;;52716:12;52705:24;;;;;;;;;;;;;;;;;;;;;;;;;;;52695:35;;;;;;19442:25;19470:9;:20;19480:9;19470:20;;;;;;;;;;;;;;;;;19442:48;;19520:5;19503:8;:13;;;:22;19495:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19575:3;19557:8;:14;;;:21;;:43;;;;;19588:8;:12;;;19582:3;:18;19557:43;19549:74;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19644:1;19628:17:::0;::::1;:8;:13;;:17;;;;19667:1;19650:8;:14;;:18;;;;19688:1;19673:8;:12;;:16;;;;19699:38;19720:9;19731:5;19699:38;;;;;;;;;;;;;;;;;;;;;;;;;;;52739:20:::2;52762:8;;;;;;;;;;;52739:31;;52786:12;52775:8;;:23;;;;;;;;;;;;;;;;;;52808:42;52823:12;52837;52808:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;19742:1;6517::::1;;;52595:260:::0;:::o;6877:148::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6984:1:::1;6947:40;;6968:6;;;;;;;;;;;6947:40;;;;;;;;;;;;7015:1;6998:6;;:19;;;;;;;;;;;;;;;;;;6877:148::o:0;50916:419::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1794:1:::1;2400:7;;:19;;2392:63;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1794:1;2533:7;:18;;;;51001:30:::2;;;51054:6;51043:18;;;;;;;;;;;;;;;;;;;;;;;;;;;51033:29;;;;;;19442:25;19470:9;:20;19480:9;19470:20;;;;;;;;;;;;;;;;;19442:48;;19520:5;19503:8;:13;;;:22;19495:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;19575:3;19557:8;:14;;;:21;;:43;;;;;19588:8;:12;;;19582:3;:18;19557:43;19549:74;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;19644:1;19628:17:::0;::::2;:8;:13;;:17;;;;19667:1;19650:8;:14;;:18;;;;19688:1;19673:8;:12;;:16;;;;19699:38;19720:9;19731:5;19699:38;;;;;;;;;;;;;;;;;;;;;;;;;;;51089:11:::3;51079:21;;:6;:21;;;;51071:47;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;51141:12;51131:22;;:6;:22;;;;51123:48;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;51194:12;51184:22;;:6;:22;;;;51176:48;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;51229:16;51248:29;51270:6;51248:21;:29::i;:::-;51229:48;;51282;51303:6;51311:8;;;;;;;;;;;51321;51282:20;:48::i;:::-;19742:1;2564::::2;;;1750::::1;2712:7;:22;;;;50916:419:::0;:::o;6235:79::-;6273:7;6300:6;;;;;;;;;;;6293:13;;6235:79;:::o;53952:263::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54045:21:::1;;;54089:19;54110:10;54078:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54068:54;;;;;;19442:25;19470:9;:20;19480:9;19470:20;;;;;;;;;;;;;;;;;19442:48;;19520:5;19503:8;:13;;;:22;19495:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19575:3;19557:8;:14;;;:21;;:43;;;;;19588:8;:12;;;19582:3;:18;19557:43;19549:74;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19644:1;19628:17:::0;::::1;:8;:13;;:17;;;;19667:1;19650:8;:14;;:18;;;;19688:1;19673:8;:12;;:16;;;;19699:38;19720:9;19731:5;19699:38;;;;;;;;;;;;;;;;;;;;;;;;;;;54131:41:::2;54140:19;54161:10;54131:8;:41::i;:::-;54190:19;54182:28;;;;;;;;;;;;6517:1:::1;;;53952:263:::0;;:::o;49136:104::-;1794:1;2400:7;;:19;;2392:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1794:1;2533:7;:18;;;;49212:7:::1;:5;:7::i;:::-;49204:31;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;1750:1:::0;2712:7;:22;;;;49136:104::o;53194:420::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53285:34:::1;;;53342:21;53331:33;;;;;;;;;;;;;;;;;;;;;;;;;53321:44;;;;;;19442:25;19470:9;:20;19480:9;19470:20;;;;;;;;;;;;;;;;;19442:48;;19520:5;19503:8;:13;;;:22;19495:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19575:3;19557:8;:14;;;:21;;:43;;;;;19588:8;:12;;;19582:3;:18;19557:43;19549:74;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19644:1;19628:17:::0;::::1;:8;:13;;:17;;;;19667:1;19650:8;:14;;:18;;;;19688:1;19673:8;:12;;:16;;;;19699:38;19720:9;19731:5;19699:38;;;;;;;;;;;;;;;;;;;;;;;;;;;53407:4:::2;53382:21;:29;;53374:56;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;53435:29;53467:17;;53435:49;;53509:21;53489:17;:41;;;;53540:69;53564:21;53587;53540:69;;;;;;;;;;;;;;;;;;;;;;;;19742:1;6517::::1;;;53194:420:::0;:::o;46248:23::-;;;;;;;;;;;;;:::o;51517:319::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51590:25:::1;;;51638:12;51627:24;;;;;;;;;;;;;;;;;;;;;;;;;;;51617:35;;;;;;19442:25;19470:9;:20;19480:9;19470:20;;;;;;;;;;;;;;;;;19442:48;;19520:5;19503:8;:13;;;:22;19495:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19575:3;19557:8;:14;;;:21;;:43;;;;;19588:8;:12;;;19582:3;:18;19557:43;19549:74;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19644:1;19628:17:::0;::::1;:8;:13;;:17;;;;19667:1;19650:8;:14;;:18;;;;19688:1;19673:8;:12;;:16;;;;19699:38;19720:9;19731:5;19699:38;;;;;;;;;;;;;;;;;;;;;;;;;;;51693:1:::2;51669:26;;:12;:26;;;;51661:54;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;51720:20;51743:8;;;;;;;;;;;51720:31;;51767:12;51756:8;;:23;;;;;;;;;;;;;;;;;;51789:42;51804:12;51818;51789:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;19742:1;6517::::1;;;51517:319:::0;:::o;7180:244::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7289:1:::1;7269:22;;:8;:22;;;;7261:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7379:8;7350:38;;7371:6;;;;;;;;;;;7350:38;;;;;;;;;;;;7408:8;7399:6;;:17;;;;;;;;;;;;;;;;;;7180:244:::0;:::o;19753:430::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19851:12:::1;19865::::0;19881:24:::1;:22;:24::i;:::-;19850:55;;;;19910:25;19938:9;:20;19948:9;19938:20;;;;;;;;;;;;;;;;;19910:48;;19987:1;19971:8;:12;;;:17;19963:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;20038:7;20028:18;;;;;;20012:8;:13;;:34;;;;20074:5;20068:11;;:3;:11;20051:8;:14;;:28;;;;20116:5;20099:22;;:8;:14;;;:22;20084:8;:12;;:37;;;;20131:47;20153:9;20164:8;:13;;;20131:47;;;;;;;;;;;;;;;;;;;;;;;;;;;6517:1;;;19753:430:::0;;:::o;52037:307::-;6457:12;:10;:12::i;:::-;6447:22;;:6;;;;;;;;;;;:22;;;6439:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52108:24:::1;;;52155:11;52144:23;;;;;;;;;;;;;;;;;;;;;;;;;;;52134:34;;;;;;19442:25;19470:9;:20;19480:9;19470:20;;;;;;;;;;;;;;;;;19442:48;;19520:5;19503:8;:13;;;:22;19495:49;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19575:3;19557:8;:14;;;:21;;:43;;;;;19588:8;:12;;;19582:3;:18;19557:43;19549:74;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;19644:1;19628:17:::0;::::1;:8;:13;;:17;;;;19667:1;19650:8;:14;;:18;;;;19688:1;19673:8;:12;;:16;;;;19699:38;19720:9;19731:5;19699:38;;;;;;;;;;;;;;;;;;;;;;;;;;;52208:1:::2;52185:25;;:11;:25;;;;52177:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;52235:19;52257:7;;;;;;;;;;;52235:29;;52279:11;52269:7;;:21;;;;;;;;;;;;;;;;;;52300:39;52314:11;52327;52300:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;19742:1;6517::::1;;;52037:307:::0;:::o;46087:37::-;;;:::o;46006:36::-;;;:::o;46189:22::-;;;;;;;;;;;;;:::o;4772:106::-;4825:15;4860:10;4853:17;;4772:106;:::o;40276:136::-;40336:16;40375:6;40368:24;;;40401:4;40368:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40361:46;;40276:136;;;:::o;41683:157::-;41780:1;41769:7;:12;41765:25;;;41783:7;;41765:25;41794:41;41822:3;41827:7;41801:6;41794:27;;;;:41;;;;;:::i;:::-;41683:157;;;;:::o;54270:604::-;54354:10;54350:381;;;54372:20;:18;:20::i;:::-;54350:381;;;54410:21;54434:19;:17;:19::i;:::-;54410:43;;54479:1;54463:13;:17;54459:61;;;54489:24;54499:13;54489:9;:24::i;:::-;54459:61;54525:20;54548:34;54570:11;54548:21;:34::i;:::-;54525:57;;54608:11;54592:27;;:12;:27;;;54588:76;;;54644:13;54628:29;;;;54588:76;54669:56;54690:11;54703:7;;;;;;;;;;;54712:12;54669:20;:56::i;:::-;54350:381;;;54735:21;54759:35;54781:12;54759:21;:35::i;:::-;54735:59;;54799:70;54820:12;54834:19;54855:13;54799:20;:70::i;:::-;54270:604;;;:::o;49283:1313::-;49318:13;49359:12;49344:27;;:11;:27;;;49340:485;;49407:1;49387:22;;:8;;;;;;;;;;;:22;;;;49379:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49436:20;49459:34;49481:11;49459:21;:34::i;:::-;49436:57;;49499:15;49527:8;;;;;;;;;;;49517:53;;;49571:11;49584:12;49598;49517:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49499:112;;49631:17;;49621:7;:27;49617:45;;;49657:5;49650:12;;;;;;49617:45;49668:60;49692:11;49705:8;;;;;;;;;;;49715:12;49668:23;:60::i;:::-;49744:8;;;;;;;;;;;49734:41;;;49776:11;49789:12;49803;49817:1;49734:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49340:485;;;49849:12;49833:28;;:12;:28;;;49829:532;;49897:1;49877:22;;:8;;;;;;;;;;;:22;;;;49869:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49926:21;49950:35;49972:12;49950:21;:35::i;:::-;49926:59;;49991:15;50019:8;;;;;;;;;;;50009:57;;;50067:12;50081;50095:13;50009:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49991:118;;50129:17;;50119:7;:27;:65;;;;50167:17;;50160:4;:24;50150:7;:34;50119:65;50115:83;;;50193:5;50186:12;;;;;;50115:83;50204:62;50228:12;50242:8;;;;;;;;;;;50252:13;50204:23;:62::i;:::-;50282:8;;;;;;;;;;;50272:37;;;50310:12;50324;50338:13;50353:1;50272:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49829:532;;;50365:21;50389:35;50411:12;50389:21;:35::i;:::-;50365:59;;50429:23;50438:13;50429:8;:23::i;:::-;50457:20;50480:34;50502:11;50480:21;:34::i;:::-;50457:57;;50519:56;50540:11;50553:7;;;;;;;;;;;50562:12;50519:20;:56::i;:::-;50587:4;50580:11;;;;49283:1313;;:::o;20499:158::-;20564:12;20578;19195:6;19245;20599:53;;;;20499:158;;:::o;36749:177::-;36832:86;36852:5;36882:23;;;36907:2;36911:5;36859:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36832:19;:86::i;:::-;36749:177;;;:::o;56516:96::-;56573:10;56562:40;;;56603:3;56562:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56516:96::o;55694:185::-;55746:22;55808:10;55797:31;;;55829:3;55842:4;55797:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55777:71;;;;;55694:185;:::o;56253:189::-;56316:1;56309:3;:8;56305:133;;;56336:10;56325:35;;;56361:7;56325:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56305:133;;;56398:10;56387:31;;;56419:3;56424:7;56387:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56305:133;56253:189;:::o;40664:373::-;40749:18;40777:6;40770:24;;;40803:4;40810:3;40770:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40749:65;;40836:7;40823:10;:20;40819:214;;;40851:63;40888:3;40906:7;40893:10;:20;40858:6;40851:36;;;;:63;;;;;:::i;:::-;40819:214;;;40949:7;40936:10;:20;40932:101;;;40964:63;41001:3;41016:10;41006:7;:20;40971:6;40964:36;;;;:63;;;;;:::i;:::-;40932:101;40819:214;40664:373;;;;:::o;55939:250::-;55990:58;56014:12;56028:10;56040:7;55990:23;:58::i;:::-;56064:1;56057:3;:8;56053:132;;;56084:10;56073:35;;;56109:7;56073:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56053:132;;;56146:10;56135:30;;;56166:3;56171:7;56135:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56053:132;55939:250;:::o;39054:761::-;39478:23;39504:69;39532:4;39504:69;;;;;;;;;;;;;;;;;39512:5;39504:27;;;;:69;;;;;:::i;:::-;39478:95;;39608:1;39588:10;:17;:21;39584:224;;;39730:10;39719:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39711:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39584:224;39054:761;;;:::o;38332:331::-;38429:20;38452:95;38496:5;38452:95;;;;;;;;;;;;;;;;;:5;:15;;;38476:4;38483:7;38452:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:43;;:95;;;;;:::i;:::-;38429:118;;38558:97;38578:5;38608:22;;;38632:7;38641:12;38585:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38558:19;:97::i;:::-;38332:331;;;;:::o;38038:286::-;38135:20;38158:50;38202:5;38158;:15;;;38182:4;38189:7;38158:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:43;;:50;;;;:::i;:::-;38135:73;;38219:97;38239:5;38269:22;;;38293:7;38302:12;38246:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38219:19;:97::i;:::-;38038:286;;;;:::o;32748:195::-;32851:12;32883:52;32905:6;32913:4;32919:1;32922:12;32883:21;:52::i;:::-;32876:59;;32748:195;;;;;:::o;25501:192::-;25587:7;25620:1;25615;:6;;25623:12;25607:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25647:9;25663:1;25659;:5;25647:17;;25684:1;25677:8;;;25501:192;;;;;:::o;24598:181::-;24656:7;24676:9;24692:1;24688;:5;24676:17;;24717:1;24712;:6;;24704:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24770:1;24763:8;;;24598:181;;;;:::o;33800:530::-;33927:12;33985:5;33960:21;:30;;33952:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34052:18;34063:6;34052:10;:18::i;:::-;34044:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34178:12;34192:23;34219:6;:11;;34239:5;34247:4;34219:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34177:75;;;;34270:52;34288:7;34297:10;34309:12;34270:17;:52::i;:::-;34263:59;;;;33800:530;;;;;;:::o;29830:422::-;29890:4;30098:12;30209:7;30197:20;30189:28;;30243:1;30236:4;:8;30229:15;;;29830:422;;;:::o;35336:742::-;35451:12;35480:7;35476:595;;;35511:10;35504:17;;;;35476:595;35645:1;35625:10;:17;:21;35621:439;;;35888:10;35882:17;35949:15;35936:10;35932:2;35928:19;35921:44;35836:148;36031:12;36024:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35336:742;;;;;;:::o

Swarm Source

ipfs://a6f62e41bf8a7234a00cf1617776a2efb03c64c5b93f921d7feeba4d00c87318
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.