Contract 0xb7d7221f16b59f5ff311d24bc398cb6b06ac0730

Contract Overview

Canary: Liquidity Pool Manager V3
Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc9589d3a7efb3be97574e73a88b50a4555ffe5a2038bd386de25482f34f27fbcDistribute Token...103402672022-02-01 11:09:01610 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.510801075225
0xd457a85f3889a5352cceb7f3ddf33e9afc2e7f13ef1264e4878ceb06cc4f3023Vest Allocation103402642022-02-01 11:08:53610 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x39353daedba387b7de62b30f8da530ab54044894217e71f168c99f3f58bb64feDistribute Token...101414052022-01-27 21:54:30615 days 3 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.0989342116346.419067384
0x6097fd747720cb0fb8743d5784b4f0ae73cc949889ad0e7eee618241451d7359Distribute Token...101217972022-01-27 11:08:39615 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.058652775225
0xb55bf3e3fc769d9eda3312a1c36077c843422f93413d59cb1327c5aa6e732cb3Vest Allocation101217942022-01-27 11:08:35615 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x6806166040d4b675081bad0a008a88559e7612c55c620d1bfb396601841393e6Distribute Token...99160242022-01-22 18:00:27620 days 7 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.052560675 25
0x9eae3c91f821c7daa5dfaeb42500af11c01500f968ae54925eafd13859f08567Vest Allocation99034552022-01-22 11:08:12620 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x8f8acf8e24e6b36bb1ad47ebfc54809d93d60032b50ca83073ab735374f3832bDistribute Token...96878452022-01-17 11:07:56625 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0xe10950cd6c7a096097cad5aa82c7f792a91e1f40d585bb85f09df31b8a376b7eVest Allocation96878432022-01-17 11:07:52625 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x54a25a5d22d6e161a6b90290f9cb09421100e33e5009fce6b610466a22dccc1aDistribute Token...94680382022-01-12 11:07:38630 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0xaf4929c72727d0c32af7f7bf3cf364c74e02e496849ee761b4d813551d389bafVest Allocation94680342022-01-12 11:07:32630 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x942bff6b79683e35bb2fe6d0e933ba49fca8cb6e55c2cb47704a002542ed5148Distribute Token...92513412022-01-07 11:07:14635 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0xae9042098538511b69d5b682be136eb1cc27cbfd300dfe27f2033648ae7c3171Vest Allocation92513382022-01-07 11:07:10635 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x6e80e2f3d74746ed97c8cbe8352aa0823f4f4eb8da16c418a8a1c64a10b28893Distribute Token...90362602022-01-02 11:06:54640 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0x0559c2240a04dd757d1116090c7322d875c35ac643c5df160aa34256d7368939Vest Allocation90362582022-01-02 11:06:50640 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x2bceae6bd9cff36e36200c63b5ab43ca160c0ae4a8d93f0ba0dceaeed17690d3Distribute Token...88224172021-12-28 11:06:33645 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0xfc3787497fee37a18ba2bac9858b6e434db805295fba407f70e6530217e4628cVest Allocation88224152021-12-28 11:06:30645 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x7e4c3668c43bb3244151387a0dfa4c95e0e7782e87af540286a3ea95e9cc221eDistribute Token...86090482021-12-23 11:06:14650 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0xc3b39865cc35e6f3c34b98e7e7b3174db2c30bd92798cad61b117f922602834bVest Allocation86090462021-12-23 11:06:10650 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x12ea4db421c05b84fab99bb93a24cef2edb56045821ae779c0c2aff1a36d606fDistribute Token...83968612021-12-18 11:05:56655 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0x822f77c305401ce8920a1658e2075f03718ad48147037ac9ef9c96f930512d21Vest Allocation83968592021-12-18 11:05:51655 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0xf6d97ef1bd6fb4ced42edaadff2a74ffb10a93fa43775e9368948d8095a2bb15Distribute Token...81817272021-12-13 11:05:35660 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0xccb041d694604468fdca23365cc32a478a9004260ef2e3d3c458f239353e107eVest Allocation81817252021-12-13 11:05:30660 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
0x0ced0800c311549b3fdaed044b0ae6f724a11e40f033dba0992975f8db684b07Distribute Token...79660192021-12-08 11:05:17665 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.482799825225
0x5a503c979ccec4830df54d0ac924c2c8e654cf9e221a28c1488f3bf983059718Vest Allocation79660142021-12-08 11:05:11665 days 14 hrs ago0xda17025e88c493184ebbbc1d281436725962dc49 IN  Canary: Liquidity Pool Manager V30 AVAX0.023667975225
[ Download CSV Export 
Parent Txn Hash Block From To Value
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LiquidityPoolManagerV3

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2021-11-09
*/

// Sources flattened with hardhat v2.2.0 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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


// File @openzeppelin/contracts/access/[email protected]



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

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

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

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


// File @openzeppelin/contracts/math/[email protected]



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]



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 @openzeppelin/contracts/token/ERC20/[email protected]



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/utils/[email protected]



pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]



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 @openzeppelin/contracts/math/[email protected]



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}


// File @canary/exchange-contracts/contracts/canary-core/interfaces/[email protected]

pragma solidity >=0.5.0;

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

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

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

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

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


// File contracts/StakingRewards.sol



pragma solidity ^0.7.6;
contract StakingRewards is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;


    IERC20 public rewardsToken;
    IERC20 public stakingToken;
    uint256 public periodFinish = 0;
    uint256 public rewardRate = 0;
    uint256 public rewardsDuration = 5 days;
    uint256 public lastUpdateTime;
    uint256 public rewardPerTokenStored;
    address public liqPoolManager;

    mapping(address => uint256) public userRewardPerTokenPaid;
    mapping(address => uint256) public rewards;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    constructor(
        address _rewardsToken,
        address _stakingToken,
        address _liqPoolManager
    ) public {
        rewardsToken = IERC20(_rewardsToken);
        stakingToken = IERC20(_stakingToken);
        liqPoolManager = _liqPoolManager;
    }


    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) external view returns (uint256) {
        return _balances[account];
    }

    function lastTimeRewardApplicable() public view returns (uint256) {
        return Math.min(block.timestamp, periodFinish);
    }

    function rewardPerToken() public view returns (uint256) {
        if (_totalSupply == 0) {
            return rewardPerTokenStored;
        }
        return
            rewardPerTokenStored.add(
                lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(_totalSupply)
            );
    }

    function earned(address account) public view returns (uint256) {
        return _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]);
    }

    function getRewardForDuration() external view returns (uint256) {
        return rewardRate.mul(rewardsDuration);
    }


    function stake(uint256 amount) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);
        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function stakeWithPermit(uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot stake 0");
        _totalSupply = _totalSupply.add(amount);
        _balances[msg.sender] = _balances[msg.sender].add(amount);

        ICanaryERC20(address(stakingToken)).permit(msg.sender, address(this), amount, deadline, v, r, s);

        stakingToken.safeTransferFrom(msg.sender, address(this), amount);
        emit Staked(msg.sender, amount);
    }

    function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) {
        require(amount > 0, "Cannot withdraw 0");
        _totalSupply = _totalSupply.sub(amount);
        _balances[msg.sender] = _balances[msg.sender].sub(amount);
        stakingToken.safeTransfer(msg.sender, amount);
        emit Withdrawn(msg.sender, amount);
    }

    function getReward() public nonReentrant updateReward(msg.sender) {
        uint256 reward = rewards[msg.sender];
        if (reward > 0) {
            rewards[msg.sender] = 0;
            rewardsToken.safeTransfer(msg.sender, reward);
            emit RewardPaid(msg.sender, reward);
        }
    }

    function compoundReward() public nonReentrant updateReward(msg.sender) {	
        require(stakingToken == rewardsToken, "Staking and rewards token must be the same");	
        uint256 reward = rewards[msg.sender];	
        if (reward > 0) {	
            _totalSupply = _totalSupply.add(reward);	
            _balances[msg.sender] = _balances[msg.sender].add(reward);	
            rewards[msg.sender] = 0;	
            emit Staked(msg.sender, reward);	
        }	
    }

    function exit() external {
        withdraw(_balances[msg.sender]);
        getReward();
    }

    function notifyRewardAmount(uint256 reward) external updateReward(address(0)) {
        require(msg.sender == owner() || msg.sender == liqPoolManager, "Liqpoll Manager or Owner can call this.");

        if (block.timestamp >= periodFinish) {
            rewardRate = reward.div(rewardsDuration);
        } else {
            uint256 remaining = periodFinish.sub(block.timestamp);
            uint256 leftover = remaining.mul(rewardRate);
            rewardRate = reward.add(leftover).div(rewardsDuration);
        }

        uint balance = rewardsToken.balanceOf(address(this));
        require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high");

        lastUpdateTime = block.timestamp;
        periodFinish = block.timestamp.add(rewardsDuration);
        emit RewardAdded(reward);
    }

    function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
        require(tokenAddress != address(stakingToken), "Cannot withdraw the staking token");
        IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner {
        require(
            block.timestamp > periodFinish,
            "Previous rewards period must be complete before changing the duration for the new period"
        );
        rewardsDuration = _rewardsDuration;
        emit RewardsDurationUpdated(rewardsDuration);
    }
    
    function setLiqPoolManager (address _liqPoolManager) external onlyOwner {
        require(
            block.timestamp > periodFinish,
            "Previous rewards period must be complete before changing the liqPoolManager for the new period"
        );
        liqPoolManager  = _liqPoolManager;
    }


    modifier updateReward(address account) {
        rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        if (account != address(0)) {
            rewards[account] = earned(account);
            userRewardPerTokenPaid[account] = rewardPerTokenStored;
        }
        _;
    }

    event RewardAdded(uint256 reward);
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);
    event RewardPaid(address indexed user, uint256 reward);
    event RewardsDurationUpdated(uint256 newDuration);
    event Recovered(address token, uint256 amount);
}


// File contracts/LiquidityPoolManagerV3.sol




pragma solidity ^0.7.6;
contract LiquidityPoolManagerV3 is Ownable, ReentrancyGuard {
    using EnumerableSet for EnumerableSet.AddressSet;
    using SafeMath for uint;
    using SafeERC20 for IERC20;

    EnumerableSet.AddressSet private pools;
    mapping(address => uint) public rewardWeight;

    address public canaryFactory;

    address public treasuryVester;

    address public cnr;

    address public charger;

    uint public numPools = 0;

    uint public unallocatedCnr = 0;

    constructor(address cnr_,address treasuryVester_,address cnrfactory_,address charger_) {
        canaryFactory = cnrfactory_;
        treasuryVester = treasuryVester_;
        cnr = cnr_;
        charger = charger_;
    }

    function isWhitelisted(address stakeContract) public view returns (bool) {
        return pools.contains(stakeContract);
    }

    function getPool(uint index) public view returns (address) {
        return pools.at(index);
    }

    function addWhitelistedPool(address tokenA, address tokenB, address stakeContract, uint _rewardWeight) public onlyOwner {
        require(stakeContract != address(0), 'LiquidityPoolManager::addWhitelistedPool: stakeContract cannot be the zero address');
        require(isWhitelisted(stakeContract) == false, 'LiquidityPoolManager::addWhitelistedPool: stakeContract already whitelisted');
        require(_rewardWeight > 0, 'LiquidityPoolManager::addWhitelistedPool: rewardWeight cannot be zero');

        require(tokenA != tokenB, 'LiquidityPoolManager::addWhitelistedPool: IDENTICAL_ADDRESSES');
        (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        require(token0 != address(0), 'LiquidityPoolManager::addWhitelistedPool: ZERO_ADDRESS');
        require(ICanaryFactory(canaryFactory).getPair(token0, token1) == address(StakingRewards(stakeContract).stakingToken()), 'LiquidityPoolManager::addWhitelistedPool: PAIR_DOESNT_EXISTS');

        pools.add(stakeContract);
        rewardWeight[stakeContract] = _rewardWeight;

        numPools = numPools.add(1);
    }

    function addWhitelistedStakePool(address token, address stakeContract, uint _rewardWeight) public onlyOwner {
        require(stakeContract != address(0), 'LiquidityPoolManager::addWhitelistedStakePool: stakeContract cannot be the zero address');
        require(isWhitelisted(stakeContract) == false, 'LiquidityPoolManager::addWhitelistedStakePool: stakeContract already whitelisted');
        require(_rewardWeight > 0, 'LiquidityPoolManager::addWhitelistedStakePool: rewardWeight cannot be zero');

        require(token != address(0), 'LiquidityPoolManager::addWhitelistedStakePool: ZERO_ADDRESS');
        require(token == address(StakingRewards(stakeContract).stakingToken()), 'LiquidityPoolManager::addWhitelistedStakePool: STAKEADDR_NOT_EQUAL');
        require(IERC20(token).totalSupply() > 0, 'LiquidityPoolManager::addWhitelistedStakePool: token_NOT_A_TOKEN');

        pools.add(stakeContract);
        rewardWeight[stakeContract] = _rewardWeight;

        numPools = numPools.add(1);
    }

    function removeWhitelistedPool(address stakeContract) public onlyOwner {
        require(isWhitelisted(stakeContract), 'LiquidityPoolManager::removeWhitelistedPool: Pool not whitelisted');

        pools.remove(stakeContract);
        rewardWeight[stakeContract] = 0;

        numPools = numPools.sub(1);
    }

    function updateWeight(address stakeContract, uint weight) public onlyOwner {
        require(isWhitelisted(stakeContract), 'LiquidityPoolManager::updateWeight: Pool not whitelisted');
        require(weight > 0, 'LiquidityPoolManager::updateWeight: Amount must be bigger than 0');

        rewardWeight[stakeContract] = weight;
    }

    function distributeTokens() public  {
        require(msg.sender == charger, "LiquidityPoolManager::distributeTokens: charger can call this.");

        address stakeContract;
        uint rewardTokens;
        uint totalWeight = 0;
        uint mulValue = 0;

        for (uint i = 0; i < pools.length(); i++) {
            totalWeight = totalWeight.add(rewardWeight[pools.at(i)]);
        }

        mulValue = unallocatedCnr.div(totalWeight);

        for (uint i = 0; i < pools.length(); i++) {
            stakeContract = pools.at(i);
           
            rewardTokens = rewardWeight[stakeContract].mul(mulValue);
            if (rewardTokens > 0) {
                require(ICNR(cnr).transfer(stakeContract, rewardTokens), 'LiquidityPoolManager::distributeTokens: Transfer failed');
                StakingRewards(stakeContract).notifyRewardAmount(rewardTokens);
            }
        }
        unallocatedCnr = 0;
    }

    function distributeTokensSinglePool(uint pairIndex) public {
        require(msg.sender == charger, "LiquidityPoolManager::distributeTokensSinglePool: charger can call this.");
        require(pairIndex < numPools, 'LiquidityPoolManager::distributeTokensSinglePool: Index out of bounds');

        address stakeContract;
        uint totalWeight = 0;
        uint mulValue = 0;

        for (uint i = 0; i < pools.length(); i++) {
            totalWeight = totalWeight.add(rewardWeight[pools.at(i)]);
        }

        mulValue = unallocatedCnr.div(totalWeight);
        stakeContract = pools.at(pairIndex);

        uint rewardTokens = rewardWeight[stakeContract].mul(mulValue);
        if (rewardTokens > 0) {
            require(ICNR(cnr).transfer(stakeContract, rewardTokens), 'LiquidityPoolManager::distributeTokens: Transfer failed');
            StakingRewards(stakeContract).notifyRewardAmount(rewardTokens);
        }
    }

    function vestAllocation() public  {
        require(unallocatedCnr == 0, 'LiquidityPoolManager::vestAllocation: Old CNR is unallocated. Call distributeTokens().');
        require(msg.sender == charger, "LiquidityPoolManager::vestAllocation: charger can call this.");
        unallocatedCnr = ITreasuryVester(treasuryVester).claim();
        require(unallocatedCnr > 0, 'LiquidityPoolManager::vestAllocation: No CNR to claim. Try after 1 hour');

        uint actualBalance = ICNR(cnr).balanceOf(address(this));
        require(actualBalance >= unallocatedCnr, "LiquidityPoolManager::vestAllocation: Insufficient CNR transferred");
        unallocatedCnr = actualBalance;
    }

    function setCharger(address charger_) public onlyOwner {
        charger = charger_;
    }

}

interface ITreasuryVester {
    function claim() external returns (uint);
}

interface ICanaryFactory {
    function getPair(address tokenA, address tokenB) external view returns (address pair);
}

interface ICNR {
    function balanceOf(address account) external view returns (uint);
    function transfer(address dst, uint rawAmount) external returns (bool);
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"cnr_","type":"address"},{"internalType":"address","name":"treasuryVester_","type":"address"},{"internalType":"address","name":"cnrfactory_","type":"address"},{"internalType":"address","name":"charger_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"address","name":"stakeContract","type":"address"},{"internalType":"uint256","name":"_rewardWeight","type":"uint256"}],"name":"addWhitelistedPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"stakeContract","type":"address"},{"internalType":"uint256","name":"_rewardWeight","type":"uint256"}],"name":"addWhitelistedStakePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canaryFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charger","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cnr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pairIndex","type":"uint256"}],"name":"distributeTokensSinglePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"stakeContract","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numPools","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":"stakeContract","type":"address"}],"name":"removeWhitelistedPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewardWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"charger_","type":"address"}],"name":"setCharger","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryVester","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unallocatedCnr","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"stakeContract","type":"address"},{"internalType":"uint256","name":"weight","type":"uint256"}],"name":"updateWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vestAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006009556000600a5534801561001a57600080fd5b506040516120ee3803806120ee8339818101604052608081101561003d57600080fd5b5080516020820151604083015160609093015191929091600061005e6100ff565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600580546001600160a01b03199081166001600160a01b03948516179091556006805482169484169490941790935560078054841694831694909417909355600880549092169216919091179055610103565b3390565b611fdc806101126000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80638da5cb5b116100cd578063a454dcc411610081578063ca9011ae11610066578063ca9011ae14610329578063d5525c801461034f578063f2fde38b146103755761016c565b8063a454dcc4146102cd578063a8cb13df146103035761016c565b80639776e94b116100b25780639776e94b146102915780639ab1b484146102bd5780639ea2aa9a146102c55761016c565b80638da5cb5b1461028157806392b2efbd146102895761016c565b80634287aa1e11610124578063715018a611610109578063715018a6146102545780637752020b1461025c578063796cd9ba146102645761016c565b80634287aa1e1461020e5780635278f89c1461024c5761016c565b806327568f3b1161015557806327568f3b146101b257806335c62bc2146101ba5780633af32abf146101d45761016c565b8063068bcd8d14610171578063150895db146101aa575b600080fd5b61018e6004803603602081101561018757600080fd5b503561039b565b604080516001600160a01b039092168252519081900360200190f35b61018e6103ae565b61018e6103bd565b6101c26103cc565b60408051918252519081900360200190f35b6101fa600480360360208110156101ea57600080fd5b50356001600160a01b03166103d2565b604080519115158252519081900360200190f35b61024a6004803603608081101561022457600080fd5b506001600160a01b038135811691602081013582169160408201351690606001356103df565b005b61024a610765565b61024a610982565b61018e610a4d565b61024a6004803603602081101561027a57600080fd5b5035610a5c565b61018e610ca6565b61018e610cb5565b61024a600480360360408110156102a757600080fd5b506001600160a01b038135169060200135610cc4565b61024a610dd7565b6101c2610fe3565b61024a600480360360608110156102e357600080fd5b506001600160a01b03813581169160208101359091169060400135610fe9565b61024a6004803603602081101561031957600080fd5b50356001600160a01b03166112f9565b6101c26004803603602081101561033f57600080fd5b50356001600160a01b03166113ea565b61024a6004803603602081101561036557600080fd5b50356001600160a01b03166113fc565b61024a6004803603602081101561038b57600080fd5b50356001600160a01b031661149f565b60006103a86002836115c0565b92915050565b6006546001600160a01b031681565b6007546001600160a01b031681565b60095481565b60006103a86002836115d3565b6103e76115e8565b6001600160a01b03166103f8610ca6565b6001600160a01b031614610453576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166104985760405162461bcd60e51b8152600401808060200182810382526052815260200180611db96052913960600191505060405180910390fd5b6104a1826103d2565b156104dd5760405162461bcd60e51b815260040180806020018281038252604b81526020018061198d604b913960600191505060405180910390fd5b6000811161051c5760405162461bcd60e51b81526004018080602001828103825260458152602001806119d86045913960600191505060405180910390fd5b826001600160a01b0316846001600160a01b0316141561056d5760405162461bcd60e51b815260040180806020018281038252603d815260200180611d37603d913960400191505060405180910390fd5b600080846001600160a01b0316866001600160a01b031610610590578486610593565b85855b90925090506001600160a01b0382166105dd5760405162461bcd60e51b8152600401808060200182810382526036815260200180611be46036913960400191505060405180910390fd5b836001600160a01b03166372f702f36040518163ffffffff1660e01b815260040160206040518083038186803b15801561061657600080fd5b505afa15801561062a573d6000803e3d6000fd5b505050506040513d602081101561064057600080fd5b5051600554604080517fe6a439050000000000000000000000000000000000000000000000000000000081526001600160a01b0386811660048301528581166024830152915193821693919092169163e6a43905916044808301926020929190829003018186803b1580156106b457600080fd5b505afa1580156106c8573d6000803e3d6000fd5b505050506040513d60208110156106de57600080fd5b50516001600160a01b0316146107255760405162461bcd60e51b815260040180806020018281038252603c815260200180611b52603c913960400191505060405180910390fd5b6107306002856115ec565b506001600160a01b038416600090815260046020526040902083905560095461075a906001611601565b600955505050505050565b600a54156107a45760405162461bcd60e51b8152600401808060200182810382526056815260200180611b8e6056913960600191505060405180910390fd5b6008546001600160a01b031633146107ed5760405162461bcd60e51b815260040180806020018281038252603c815260200180611f6b603c913960400191505060405180910390fd5b600660009054906101000a90046001600160a01b03166001600160a01b0316634e71d92d6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561083d57600080fd5b505af1158015610851573d6000803e3d6000fd5b505050506040513d602081101561086757600080fd5b5051600a8190556108a95760405162461bcd60e51b8152600401808060200182810382526047815260200180611ea56047913960600191505060405180910390fd5b600754604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561090d57600080fd5b505afa158015610921573d6000803e3d6000fd5b505050506040513d602081101561093757600080fd5b5051600a5490915081101561097d5760405162461bcd60e51b815260040180806020018281038252604281526020018061194b6042913960600191505060405180910390fd5b600a55565b61098a6115e8565b6001600160a01b031661099b610ca6565b6001600160a01b0316146109f6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6008546001600160a01b031681565b6008546001600160a01b03163314610aa55760405162461bcd60e51b8152600401808060200182810382526048815260200180611eec6048913960600191505060405180910390fd5b6009548110610ae55760405162461bcd60e51b8152600401808060200182810382526045815260200180611d746045913960600191505060405180910390fd5b60008080805b610af5600261165b565b811015610b3957610b2f60046000610b0e6002856115c0565b6001600160a01b031681526020810191909152604001600020548490611601565b9250600101610aeb565b50600a54610b479083611666565b9050610b546002856115c0565b6001600160a01b03811660009081526004602052604081205491945090610b7b90836116cd565b90508015610c9f576007546040805163a9059cbb60e01b81526001600160a01b038781166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610bd957600080fd5b505af1158015610bed573d6000803e3d6000fd5b505050506040513d6020811015610c0357600080fd5b5051610c405760405162461bcd60e51b8152600401808060200182810382526037815260200180611f346037913960400191505060405180910390fd5b836001600160a01b0316633c6b16ab826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610c8657600080fd5b505af1158015610c9a573d6000803e3d6000fd5b505050505b5050505050565b6000546001600160a01b031690565b6005546001600160a01b031681565b610ccc6115e8565b6001600160a01b0316610cdd610ca6565b6001600160a01b031614610d38576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610d41826103d2565b610d7c5760405162461bcd60e51b8152600401808060200182810382526038815260200180611b1a6038913960400191505060405180910390fd5b60008111610dbb5760405162461bcd60e51b8152600401808060200182810382526040815260200180611a9a6040913960400191505060405180910390fd5b6001600160a01b03909116600090815260046020526040902055565b6008546001600160a01b03163314610e205760405162461bcd60e51b815260040180806020018281038252603e815260200180611cf9603e913960400191505060405180910390fd5b60008060008060005b610e33600261165b565b811015610e5657610e4c60046000610b0e6002856115c0565b9250600101610e29565b50600a54610e649083611666565b905060005b610e73600261165b565b811015610fd757610e856002826115c0565b6001600160a01b038116600090815260046020526040902054909550610eab90836116cd565b93508315610fcf576007546040805163a9059cbb60e01b81526001600160a01b038881166004830152602482018890529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015610f0957600080fd5b505af1158015610f1d573d6000803e3d6000fd5b505050506040513d6020811015610f3357600080fd5b5051610f705760405162461bcd60e51b8152600401808060200182810382526037815260200180611f346037913960400191505060405180910390fd5b846001600160a01b0316633c6b16ab856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610fb657600080fd5b505af1158015610fca573d6000803e3d6000fd5b505050505b600101610e69565b50506000600a55505050565b600a5481565b610ff16115e8565b6001600160a01b0316611002610ca6565b6001600160a01b03161461105d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0382166110a25760405162461bcd60e51b8152600401808060200182810382526057815260200180611a1d6057913960600191505060405180910390fd5b6110ab826103d2565b156110e75760405162461bcd60e51b8152600401808060200182810382526050815260200180611e0b6050913960600191505060405180910390fd5b600081116111265760405162461bcd60e51b815260040180806020018281038252604a815260200180611e5b604a913960600191505060405180910390fd5b6001600160a01b03831661116b5760405162461bcd60e51b815260040180806020018281038252603b815260200180611c7c603b913960400191505060405180910390fd5b816001600160a01b03166372f702f36040518163ffffffff1660e01b815260040160206040518083038186803b1580156111a457600080fd5b505afa1580156111b8573d6000803e3d6000fd5b505050506040513d60208110156111ce57600080fd5b50516001600160a01b038481169116146112195760405162461bcd60e51b8152600401808060200182810382526042815260200180611cb76042913960600191505060405180910390fd5b6000836001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561125457600080fd5b505afa158015611268573d6000803e3d6000fd5b505050506040513d602081101561127e57600080fd5b5051116112bc5760405162461bcd60e51b8152600401808060200182810382526040815260200180611ada6040913960400191505060405180910390fd5b6112c76002836115ec565b506001600160a01b03821660009081526004602052604090208190556009546112f1906001611601565b600955505050565b6113016115e8565b6001600160a01b0316611312610ca6565b6001600160a01b03161461136d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b611376816103d2565b6113b15760405162461bcd60e51b8152600401808060200182810382526041815260200180611c1a6041913960600191505060405180910390fd5b6113bc600282611726565b506001600160a01b0381166000908152600460205260408120556009546113e490600161173b565b60095550565b60046020526000908152604090205481565b6114046115e8565b6001600160a01b0316611415610ca6565b6001600160a01b031614611470576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6114a76115e8565b6001600160a01b03166114b8610ca6565b6001600160a01b031614611513576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166115585760405162461bcd60e51b8152600401808060200182810382526026815260200180611a746026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60006115cc8383611798565b9392505050565b60006115cc836001600160a01b0384166117fc565b3390565b60006115cc836001600160a01b038416611814565b6000828201838110156115cc576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006103a88261185e565b60008082116116bc576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816116c557fe5b049392505050565b6000826116dc575060006103a8565b828202828482816116e957fe5b04146115cc5760405162461bcd60e51b8152600401808060200182810382526021815260200180611c5b6021913960400191505060405180910390fd5b60006115cc836001600160a01b038416611862565b600082821115611792576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b815460009082106117da5760405162461bcd60e51b81526004018080602001828103825260228152602001806119296022913960400191505060405180910390fd5b8260000182815481106117e957fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b600061182083836117fc565b611856575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556103a8565b5060006103a8565b5490565b6000818152600183016020526040812054801561191e578354600019808301919081019060009087908390811061189557fe5b90600052602060002001549050808760000184815481106118b257fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806118e257fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506103a8565b60009150506103a856fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734c6971756964697479506f6f6c4d616e616765723a3a76657374416c6c6f636174696f6e3a20496e73756666696369656e7420434e52207472616e736665727265644c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c6973746564506f6f6c3a207374616b65436f6e747261637420616c72656164792077686974656c69737465644c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c6973746564506f6f6c3a207265776172645765696768742063616e6e6f74206265207a65726f4c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c69737465645374616b65506f6f6c3a207374616b65436f6e74726163742063616e6e6f7420626520746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734c6971756964697479506f6f6c4d616e616765723a3a7570646174655765696768743a20416d6f756e74206d75737420626520626967676572207468616e20304c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c69737465645374616b65506f6f6c3a20746f6b656e5f4e4f545f415f544f4b454e4c6971756964697479506f6f6c4d616e616765723a3a7570646174655765696768743a20506f6f6c206e6f742077686974656c69737465644c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c6973746564506f6f6c3a20504149525f444f45534e545f4558495354534c6971756964697479506f6f6c4d616e616765723a3a76657374416c6c6f636174696f6e3a204f6c6420434e5220697320756e616c6c6f63617465642e2043616c6c2064697374726962757465546f6b656e7328292e4c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c6973746564506f6f6c3a205a45524f5f414444524553534c6971756964697479506f6f6c4d616e616765723a3a72656d6f766557686974656c6973746564506f6f6c3a20506f6f6c206e6f742077686974656c6973746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c69737465645374616b65506f6f6c3a205a45524f5f414444524553534c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c69737465645374616b65506f6f6c3a205354414b45414444525f4e4f545f455155414c4c6971756964697479506f6f6c4d616e616765723a3a64697374726962757465546f6b656e733a20636861726765722063616e2063616c6c20746869732e4c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c6973746564506f6f6c3a204944454e544943414c5f4144445245535345534c6971756964697479506f6f6c4d616e616765723a3a64697374726962757465546f6b656e7353696e676c65506f6f6c3a20496e646578206f7574206f6620626f756e64734c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c6973746564506f6f6c3a207374616b65436f6e74726163742063616e6e6f7420626520746865207a65726f20616464726573734c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c69737465645374616b65506f6f6c3a207374616b65436f6e747261637420616c72656164792077686974656c69737465644c6971756964697479506f6f6c4d616e616765723a3a61646457686974656c69737465645374616b65506f6f6c3a207265776172645765696768742063616e6e6f74206265207a65726f4c6971756964697479506f6f6c4d616e616765723a3a76657374416c6c6f636174696f6e3a204e6f20434e5220746f20636c61696d2e20547279206166746572203120686f75724c6971756964697479506f6f6c4d616e616765723a3a64697374726962757465546f6b656e7353696e676c65506f6f6c3a20636861726765722063616e2063616c6c20746869732e4c6971756964697479506f6f6c4d616e616765723a3a64697374726962757465546f6b656e733a205472616e73666572206661696c65644c6971756964697479506f6f6c4d616e616765723a3a76657374416c6c6f636174696f6e3a20636861726765722063616e2063616c6c20746869732ea2646970667358221220c5ffb870047ca1f3c1e32cc579c76b47091d422763104ade100c56d8d730a5ad64736f6c634300070600330000000000000000000000008d88e48465f30acfb8dac0b3e35c9d6d7d36abaf0000000000000000000000001d5bdaa42822ada9b7db2436b252bee65e7fcc7e000000000000000000000000cfba329d49c24b70f3a8b9cc0853493d4645436b0000000000000000000000007fa91fd5b2442adc842cda6b30df2f3002129c2e

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

0000000000000000000000008d88e48465f30acfb8dac0b3e35c9d6d7d36abaf0000000000000000000000001d5bdaa42822ada9b7db2436b252bee65e7fcc7e000000000000000000000000cfba329d49c24b70f3a8b9cc0853493d4645436b0000000000000000000000007fa91fd5b2442adc842cda6b30df2f3002129c2e

-----Decoded View---------------
Arg [0] : cnr_ (address): 0x8d88e48465f30acfb8dac0b3e35c9d6d7d36abaf
Arg [1] : treasuryVester_ (address): 0x1d5bdaa42822ada9b7db2436b252bee65e7fcc7e
Arg [2] : cnrfactory_ (address): 0xcfba329d49c24b70f3a8b9cc0853493d4645436b
Arg [3] : charger_ (address): 0x7fa91fd5b2442adc842cda6b30df2f3002129c2e

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d88e48465f30acfb8dac0b3e35c9d6d7d36abaf
Arg [1] : 0000000000000000000000001d5bdaa42822ada9b7db2436b252bee65e7fcc7e
Arg [2] : 000000000000000000000000cfba329d49c24b70f3a8b9cc0853493d4645436b
Arg [3] : 0000000000000000000000007fa91fd5b2442adc842cda6b30df2f3002129c2e


Deployed ByteCode Sourcemap

46865:6513:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47725:100;;;;;;;;;;;;;;;;-1:-1:-1;47725:100:0;;:::i;:::-;;;;-1:-1:-1;;;;;47725:100:0;;;;;;;;;;;;;;47187:29;;;:::i;47225:18::-;;;:::i;47283:24::-;;;:::i;:::-;;;;;;;;;;;;;;;;47589:128;;;;;;;;;;;;;;;;-1:-1:-1;47589:128:0;-1:-1:-1;;;;;47589:128:0;;:::i;:::-;;;;;;;;;;;;;;;;;;47833:1131;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;47833:1131:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52587:686;;;:::i;2861:148::-;;;:::i;47252:22::-;;;:::i;51626:953::-;;;;;;;;;;;;;;;;-1:-1:-1;51626:953:0;;:::i;2210:87::-;;;:::i;47150:28::-;;;:::i;50320:338::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50320:338:0;;;;;;;;:::i;50666:952::-;;;:::i;47316:30::-;;;:::i;48972:1015::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48972:1015:0;;;;;;;;;;;;;;;;;:::i;49995:317::-;;;;;;;;;;;;;;;;-1:-1:-1;49995:317:0;-1:-1:-1;;;;;49995:317:0;;:::i;47097:44::-;;;;;;;;;;;;;;;;-1:-1:-1;47097:44:0;-1:-1:-1;;;;;47097:44:0;;:::i;53281:92::-;;;;;;;;;;;;;;;;-1:-1:-1;53281:92:0;-1:-1:-1;;;;;53281:92:0;;:::i;3164:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3164:244:0;-1:-1:-1;;;;;3164:244:0;;:::i;47725:100::-;47775:7;47802:15;:5;47811;47802:8;:15::i;:::-;47795:22;47725:100;-1:-1:-1;;47725:100:0:o;47187:29::-;;;-1:-1:-1;;;;;47187:29:0;;:::o;47225:18::-;;;-1:-1:-1;;;;;47225:18:0;;:::o;47283:24::-;;;;:::o;47589:128::-;47656:4;47680:29;:5;47695:13;47680:14;:29::i;47833:1131::-;2441:12;:10;:12::i;:::-;-1:-1:-1;;;;;2430:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2430:23:0;;2422:68;;;;;-1:-1:-1;;;2422:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;47972:27:0;::::1;47964:122;;;;-1:-1:-1::0;;;47964:122:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48105:28;48119:13;48105;:28::i;:::-;:37;48097:125;;;;-1:-1:-1::0;;;48097:125:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48257:1;48241:13;:17;48233:99;;;;-1:-1:-1::0;;;48233:99:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48363:6;-1:-1:-1::0;;;;;48353:16:0::1;:6;-1:-1:-1::0;;;;;48353:16:0::1;;;48345:90;;;;-1:-1:-1::0;;;48345:90:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48447:14;48463::::0;48490:6:::1;-1:-1:-1::0;;;;;48481:15:0::1;:6;-1:-1:-1::0;;;;;48481:15:0::1;;:53;;48519:6;48527;48481:53;;;48500:6;48508;48481:53;48446:88:::0;;-1:-1:-1;48446:88:0;-1:-1:-1;;;;;;48553:20:0;::::1;48545:87;;;;-1:-1:-1::0;;;48545:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48731:13;-1:-1:-1::0;;;;;48716:42:0::1;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48716:44:0;48666:13:::1;::::0;48651:53:::1;::::0;;;;;-1:-1:-1;;;;;48651:53:0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;:110;;::::1;::::0;48666:13;;;::::1;::::0;48651:37:::1;::::0;:53;;;;;48716:44:::1;::::0;48651:53;;;;;;;48666:13;48651:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;48651:53:0;-1:-1:-1;;;;;48651:110:0::1;;48643:183;;;;-1:-1:-1::0;;;48643:183:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48839:24;:5;48849:13:::0;48839:9:::1;:24::i;:::-;-1:-1:-1::0;;;;;;48874:27:0;::::1;;::::0;;;:12:::1;:27;::::0;;;;:43;;;48941:8:::1;::::0;:15:::1;::::0;48954:1:::1;48941:12;:15::i;:::-;48930:8;:26:::0;-1:-1:-1;;;;;;47833:1131:0:o;52587:686::-;52640:14;;:19;52632:118;;;;-1:-1:-1;;;52632:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52783:7;;-1:-1:-1;;;;;52783:7:0;52769:10;:21;52761:94;;;;-1:-1:-1;;;52761:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52899:14;;;;;;;;;-1:-1:-1;;;;;52899:14:0;-1:-1:-1;;;;;52883:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52883:39:0;52866:14;:56;;;52933:102;;;;-1:-1:-1;;;52933:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53074:3;;53069:34;;;;;;53097:4;53069:34;;;;;;53048:18;;-1:-1:-1;;;;;53074:3:0;;53069:19;;:34;;;;;;;;;;;;;;53074:3;53069:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53069:34:0;53139:14;;53069:34;;-1:-1:-1;53122:31:0;;;53114:110;;;;-1:-1:-1;;;53114:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53235:14;:30;52587:686::o;2861:148::-;2441:12;:10;:12::i;:::-;-1:-1:-1;;;;;2430:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2430:23:0;;2422:68;;;;;-1:-1:-1;;;2422:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2968:1:::1;2952:6:::0;;2931:40:::1;::::0;-1:-1:-1;;;;;2952:6:0;;::::1;::::0;2931:40:::1;::::0;2968:1;;2931:40:::1;2999:1;2982:19:::0;;-1:-1:-1;;2982:19:0::1;::::0;;2861:148::o;47252:22::-;;;-1:-1:-1;;;;;47252:22:0;;:::o;51626:953::-;51718:7;;-1:-1:-1;;;;;51718:7:0;51704:10;:21;51696:106;;;;-1:-1:-1;;;51696:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51833:8;;51821:9;:20;51813:102;;;;-1:-1:-1;;;51813:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51928:21;;;;52021:125;52042:14;:5;:12;:14::i;:::-;52038:1;:18;52021:125;;;52092:42;52108:12;:25;52121:11;:5;52130:1;52121:8;:11::i;:::-;-1:-1:-1;;;;;52108:25:0;;;;;;;;;;;;-1:-1:-1;52108:25:0;;52092:11;;:15;:42::i;:::-;52078:56;-1:-1:-1;52058:3:0;;52021:125;;;-1:-1:-1;52169:14:0;;:31;;52188:11;52169:18;:31::i;:::-;52158:42;-1:-1:-1;52227:19:0;:5;52236:9;52227:8;:19::i;:::-;-1:-1:-1;;;;;52279:27:0;;52259:17;52279:27;;;:12;:27;;;;;;52211:35;;-1:-1:-1;52259:17:0;52279:41;;52311:8;52279:31;:41::i;:::-;52259:61;-1:-1:-1;52335:16:0;;52331:241;;52381:3;;52376:47;;;-1:-1:-1;;;52376:47:0;;-1:-1:-1;;;;;52376:47:0;;;;;;;;;;;;;;;52381:3;;;;;52376:18;;:47;;;;;;;;;;;;;;52381:3;;52376:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52376:47:0;52368:115;;;;-1:-1:-1;;;52368:115:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52513:13;-1:-1:-1;;;;;52498:48:0;;52547:12;52498:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52331:241;51626:953;;;;;:::o;2210:87::-;2256:7;2283:6;-1:-1:-1;;;;;2283:6:0;2210:87;:::o;47150:28::-;;;-1:-1:-1;;;;;47150:28:0;;:::o;50320:338::-;2441:12;:10;:12::i;:::-;-1:-1:-1;;;;;2430:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2430:23:0;;2422:68;;;;;-1:-1:-1;;;2422:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50414:28:::1;50428:13;50414;:28::i;:::-;50406:97;;;;-1:-1:-1::0;;;50406:97:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50531:1;50522:6;:10;50514:87;;;;-1:-1:-1::0;;;50514:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;50614:27:0;;::::1;;::::0;;;:12:::1;:27;::::0;;;;:36;50320:338::o;50666:952::-;50735:7;;-1:-1:-1;;;;;50735:7:0;50721:10;:21;50713:96;;;;-1:-1:-1;;;50713:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50822:21;50854:17;50882:16;50913:13;50948:6;50943:125;50964:14;:5;:12;:14::i;:::-;50960:1;:18;50943:125;;;51014:42;51030:12;:25;51043:11;:5;51052:1;51043:8;:11::i;51014:42::-;51000:56;-1:-1:-1;50980:3:0;;50943:125;;;-1:-1:-1;51091:14:0;;:31;;51110:11;51091:18;:31::i;:::-;51080:42;;51140:6;51135:447;51156:14;:5;:12;:14::i;:::-;51152:1;:18;51135:447;;;51208:11;:5;51217:1;51208:8;:11::i;:::-;-1:-1:-1;;;;;51262:27:0;;;;;;:12;:27;;;;;;51192;;-1:-1:-1;51262:41:0;;51294:8;51262:31;:41::i;:::-;51247:56;-1:-1:-1;51322:16:0;;51318:253;;51372:3;;51367:47;;;-1:-1:-1;;;51367:47:0;;-1:-1:-1;;;;;51367:47:0;;;;;;;;;;;;;;;51372:3;;;;;51367:18;;:47;;;;;;;;;;;;;;51372:3;;51367:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51367:47:0;51359:115;;;;-1:-1:-1;;;51359:115:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51508:13;-1:-1:-1;;;;;51493:48:0;;51542:12;51493:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51318:253;51172:3;;51135:447;;;-1:-1:-1;;51609:1:0;51592:14;:18;-1:-1:-1;;;50666:952:0:o;47316:30::-;;;;:::o;48972:1015::-;2441:12;:10;:12::i;:::-;-1:-1:-1;;;;;2430:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2430:23:0;;2422:68;;;;;-1:-1:-1;;;2422:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49099:27:0;::::1;49091:127;;;;-1:-1:-1::0;;;49091:127:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49237:28;49251:13;49237;:28::i;:::-;:37;49229:130;;;;-1:-1:-1::0;;;49229:130:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49394:1;49378:13;:17;49370:104;;;;-1:-1:-1::0;;;49370:104:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;49495:19:0;::::1;49487:91;;;;-1:-1:-1::0;;;49487:91:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49629:13;-1:-1:-1::0;;;;;49614:42:0::1;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49614:44:0;-1:-1:-1;;;;;49597:62:0;;::::1;::::0;::::1;;49589:141;;;;-1:-1:-1::0;;;49589:141:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49779:1;49756:5;-1:-1:-1::0;;;;;49749:25:0::1;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49749:27:0;:31:::1;49741:108;;;;-1:-1:-1::0;;;49741:108:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49862:24;:5;49872:13:::0;49862:9:::1;:24::i;:::-;-1:-1:-1::0;;;;;;49897:27:0;::::1;;::::0;;;:12:::1;:27;::::0;;;;:43;;;49964:8:::1;::::0;:15:::1;::::0;49977:1:::1;49964:12;:15::i;:::-;49953:8;:26:::0;-1:-1:-1;;;48972:1015:0:o;49995:317::-;2441:12;:10;:12::i;:::-;-1:-1:-1;;;;;2430:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2430:23:0;;2422:68;;;;;-1:-1:-1;;;2422:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50085:28:::1;50099:13;50085;:28::i;:::-;50077:106;;;;-1:-1:-1::0;;;50077:106:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50196:27;:5;50209:13:::0;50196:12:::1;:27::i;:::-;-1:-1:-1::0;;;;;;50234:27:0;::::1;50264:1;50234:27:::0;;;:12:::1;:27;::::0;;;;:31;50289:8:::1;::::0;:15:::1;::::0;50302:1:::1;50289:12;:15::i;:::-;50278:8;:26:::0;-1:-1:-1;49995:317:0:o;47097:44::-;;;;;;;;;;;;;:::o;53281:92::-;2441:12;:10;:12::i;:::-;-1:-1:-1;;;;;2430:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2430:23:0;;2422:68;;;;;-1:-1:-1;;;2422:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53347:7:::1;:18:::0;;-1:-1:-1;;53347:18:0::1;-1:-1:-1::0;;;;;53347:18:0;;;::::1;::::0;;;::::1;::::0;;53281:92::o;3164:244::-;2441:12;:10;:12::i;:::-;-1:-1:-1;;;;;2430:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2430:23:0;;2422:68;;;;;-1:-1:-1;;;2422:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3253:22:0;::::1;3245:73;;;;-1:-1:-1::0;;;3245:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3355:6;::::0;;3334:38:::1;::::0;-1:-1:-1;;;;;3334:38:0;;::::1;::::0;3355:6;::::1;::::0;3334:38:::1;::::0;::::1;3383:6;:17:::0;;-1:-1:-1;;3383:17:0::1;-1:-1:-1::0;;;;;3383:17:0;;;::::1;::::0;;;::::1;::::0;;3164:244::o;18839:158::-;18913:7;18964:22;18968:3;18980:5;18964:3;:22::i;:::-;18956:31;18839:158;-1:-1:-1;;;18839:158:0:o;18125:167::-;18205:4;18229:55;18239:3;-1:-1:-1;;;;;18259:23:0;;18229:9;:55::i;737:106::-;825:10;737:106;:::o;17553:152::-;17623:4;17647:50;17652:3;-1:-1:-1;;;;;17672:23:0;;17647:4;:50::i;6220:179::-;6278:7;6310:5;;;6334:6;;;;6326:46;;;;;-1:-1:-1;;;6326:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18378:117;18441:7;18468:19;18476:3;18468:7;:19::i;7797:153::-;7855:7;7887:1;7883;:5;7875:44;;;;;-1:-1:-1;;;7875:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7941:1;7937;:5;;;;;;;7797:153;-1:-1:-1;;;7797:153:0:o;7099:220::-;7157:7;7181:6;7177:20;;-1:-1:-1;7196:1:0;7189:8;;7177:20;7220:5;;;7224:1;7220;:5;:1;7244:5;;;;;:10;7236:56;;;;-1:-1:-1;;;7236:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17881:158;17954:4;17978:53;17986:3;-1:-1:-1;;;;;18006:23:0;;17978:7;:53::i;6682:158::-;6740:7;6773:1;6768;:6;;6760:49;;;;;-1:-1:-1;;;6760:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6827:5:0;;;6682:158::o;15505:204::-;15600:18;;15572:7;;15600:26;-1:-1:-1;15592:73:0;;;;-1:-1:-1;;;15592:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15683:3;:11;;15695:5;15683:18;;;;;;;;;;;;;;;;15676:25;;15505:204;;;;:::o;14837:129::-;14910:4;14934:19;;;:12;;;;;:19;;;;;;:24;;;14837:129::o;12617:414::-;12680:4;12702:21;12712:3;12717:5;12702:9;:21::i;:::-;12697:327;;-1:-1:-1;12740:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;12923:18;;12901:19;;;:12;;;:19;;;;;;:40;;;;12956:11;;12697:327;-1:-1:-1;13007:5:0;13000:12;;15052:109;15135:18;;15052:109::o;13207:1544::-;13273:4;13412:19;;;:12;;;:19;;;;;;13448:15;;13444:1300;;13883:18;;-1:-1:-1;;13834:14:0;;;;13883:22;;;;13810:21;;13883:3;;:22;;14170;;;;;;;;;;;;;;14150:42;;14316:9;14287:3;:11;;14299:13;14287:26;;;;;;;;;;;;;;;;;;;:38;;;;14393:23;;;14435:1;14393:12;;;:23;;;;;;14419:17;;;14393:43;;14545:17;;14393:3;;14545:17;;;;;;;;;;;;;;;;;;;;;;14640:3;:12;;:19;14653:5;14640:19;;;;;;;;;;;14633:26;;;14683:4;14676:11;;;;;;;;13444:1300;14727:5;14720:12;;;;

Swarm Source

ipfs://c5ffb870047ca1f3c1e32cc579c76b47091d422763104ade100c56d8d730a5ad
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.