Contract 0xE1C110E1B1b4A1deD0cAf3E42BfBdbB7b5d7cE1C 13

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xeac5426cbb805a7b4152cd75f341faeffdc9eee680840b783f0871c37d224745Approve62875462021-12-04 12:15:5913 hrs 20 mins ago0x718b6d4e59849916ca7c2525ce81e5f95b002fa2 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000211050659
0xa70a0bd086116943f81ef6872f7a2c8d6f681d4c084106bec65c1161c6285c11Approve62719242021-12-03 23:14:531 day 2 hrs ago0xce6357c9366e884d9c97210c6d5256c4dba0061c IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000173631899
0x8128443dbe03a5ef27fa9d24a690dc6222b65bd250bbf5f5b87f5bd79c606982Transfer62487722021-12-03 3:57:171 day 21 hrs ago0xdd3d26430f37e9018e1c63761def6dda81aa07ba IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000169716299
0x435d89f97cb258751a4bdd742d3ffc946bc7950a1e73fe5d7082fc9fae954879Approve62398752021-12-02 20:32:262 days 5 hrs ago0x47f40bfe57a4345d6352941f645bff2bb2c9825f IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000173631899
0x9d12e7fb8c030838da04f5b41f4b88e281096dac9d54600196a595d3a3143f8aApprove62275602021-12-02 10:16:412 days 15 hrs ago0xb0df1d1baeaddddbe122235fd74c6c944993bb20 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000049084402
0xb42d2f4ef75d26f3ec3bb8f6a8edd0eae5b2ae99c5761795981fb83762786067Transfer62101232021-12-01 19:44:503 days 5 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000047977492
0xf81f727f0ae2a434c1e98a1442714b1e93adf698147d6333f5a99d388dacbdb3Transfer62100882021-12-01 19:43:053 days 5 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000047977492
0xdc1dde8a5e6a0f2027ddfb2a342bedd798603ffa3e0d20aebc7c8af374aaf6a1Approve61828212021-11-30 20:59:444 days 4 hrs ago0x49a36446c5a456c2fdf5cd1012b1f0e24712d02f IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000222605
0x24269f27bfc685d357a06f9f5eb3e09b84f99170c99027b64ab7663f0a11936bApprove61350292021-11-29 5:10:085 days 20 hrs ago0x672dacb16d7e1829d88543d1662e0c0676d27ea4 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.00004674705
0x65f64c76f8f08543c3a69ef82383bce7445b1d6e8df5fee8e3f8a578c3df5d6fApprove61298262021-11-29 0:49:596 days 46 mins ago0x548118cf438123cd584031704434ab3fc1f4b1c0 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000222605
0x7c91f18e726fc0e6388244d4ed291cf40fa1c9fcc9d459da95e0908e30093adfTransfer61147172021-11-28 12:14:326 days 13 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000217525
0x866fca801d8371ee6ea7d442f0a95decbdf3b3f355fc2c8742c5d43457058984Transfer61146972021-11-28 12:13:326 days 13 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000217585
0x124957a060a0dd90387d2f8efa88dabdcb4673d7906d4d011771b0a144db2d06Transfer61050582021-11-28 4:11:356 days 21 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000217585
0xeef290cae2cc7ecb12b73e76f00fb85e8fd903734f9e1b9f9492c1f36dca5754Transfer60981122021-11-27 22:24:177 days 3 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000217585
0xde0d049e0d45ec3e63fca0a2c8bb0a164e463d505fc9c9e5414f8b3ee57bfecdTransfer60980832021-11-27 22:22:507 days 3 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000217585
0xb32f2f201804974086ed2e05c1a58d06d20d79267546d4db8b5205aebb783798Approve60614532021-11-26 15:51:208 days 9 hrs ago0x62da02bbd8bcf896fc9747f0092a2d9c4705face IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000222605
0xf21c50baa487f9b09dc75c3e4bb16dc4456cc66c878597a11cb838d5d2ac8a8fTransfer60245772021-11-25 9:07:329 days 16 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000087034
0xf063cf233fb4a50a349bee5ac7949dc066c214a17f7ef94f985d72b9307bc5a9Transfer60245062021-11-25 9:03:599 days 16 hrs ago0x99821e91b85495dcd8d8e2697ab534425b107bf1 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000043517
0xc431db5cd4609117f9701a64d9ad284e749db2e9d8d0448480f51c785e66b94eApprove60195212021-11-25 4:54:449 days 20 hrs ago0xd700d9fd2ecdeec4cdad04bf1dc563e9884f8826 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000103802657
0x2d1b004e1f0553837cff122ef6f5c1e106fff3accee9c97f9583cb51551c7528Approve60046572021-11-24 16:31:3210 days 9 hrs ago0xb0df1d1baeaddddbe122235fd74c6c944993bb20 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000222605
0xd9550a441d20c6594bceefc0ddb255b81479aaa822d7df2bf323add17d07b67aApprove59944212021-11-24 7:59:4410 days 17 hrs ago0x58e7bff8441b2f59fa3f87955addafb4dcffd0b9 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000222605
0x7d3f53d5ca747ead37d587717f80c1990169bf67311367791cc68e10bb7c2c7dApprove59902152021-11-24 4:29:2610 days 21 hrs ago0x260e50dfc9ee172919fe947ce2c98704a5d33894 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000104089385
0x02a4d5b879ea45422c3ac77bb54e6b73eb5eb8eb81d6547e05f0c014f68e303dApprove59901982021-11-24 4:28:3510 days 21 hrs ago0x260e50dfc9ee172919fe947ce2c98704a5d33894 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000183016607
0xb2c2bb55ccba3c8b26b5f2aa258f73be1c42dfae74d371b0e407571ccf2edbbeApprove59901812021-11-24 4:27:4410 days 21 hrs ago0x260e50dfc9ee172919fe947ce2c98704a5d33894 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000183016607
0x8b4ed27dd98039fc63b9c63beb8c23dfa485a4a265c750090b711fd7b85a515cApprove59836032021-11-23 22:58:5011 days 2 hrs ago0x58e7bff8441b2f59fa3f87955addafb4dcffd0b9 IN  0xe1c110e1b1b4a1ded0caf3e42bfbdbb7b5d7ce1c0 HOO0.000166001457
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Elk

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at hooscan.com on 2021-10-21
*/

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/math/SafeMath.sol



pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
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) {
        unchecked {
            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) {
        unchecked {
            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) {
        unchecked {
            // 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) {
        unchecked {
            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) {
        unchecked {
            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) {
        return a + b;
    }

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

    /**
     * @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.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        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) {
        unchecked {
            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.
     *
     * 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).
     *
     * 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) {
        unchecked {
            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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/structs/EnumerableSet.sol



pragma solidity ^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] = valueIndex; // Replace lastvalue's index to valueIndex

            // 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: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/introspection/IERC165.sol



pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/introspection/ERC165.sol



pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/Strings.sol



pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/Context.sol



pragma solidity ^0.8.0;

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

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

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/access/AccessControl.sol



pragma solidity ^0.8.0;




/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if(!hasRole(role, account)) {
            revert(string(abi.encodePacked(
                "AccessControl: account ",
                Strings.toHexString(uint160(account), 20),
                " is missing role ",
                Strings.toHexString(uint256(role), 32)
            )));
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/access/AccessControlEnumerable.sol



pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerable).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/cryptography/ECDSA.sol



pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
        } else if (signature.length == 64) {
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            // solhint-disable-next-line no-inline-assembly
            assembly {
                let vs := mload(add(signature, 0x40))
                r := mload(add(signature, 0x20))
                s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
                v := add(shr(255, vs), 27)
            }
        } else {
            revert("ECDSA: invalid signature length");
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/cryptography/draft-EIP712.sol



pragma solidity ^0.8.0;


/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                block.chainid,
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/IERC20.sol



pragma solidity ^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: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/extensions/IERC20Metadata.sol



pragma solidity ^0.8.0;


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

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

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

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/ERC20.sol



pragma solidity ^0.8.0;




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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

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

        _beforeTokenTransfer(address(0), account, amount);

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

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

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/extensions/ERC20Capped.sol



pragma solidity ^0.8.0;


/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 immutable private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor (uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/extensions/draft-IERC20Permit.sol



pragma solidity ^0.8.0;

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

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

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

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/extensions/draft-ERC20Permit.sol



pragma solidity ^0.8.0;






/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping (address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {
    }

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                value,
                _useNonce(owner),
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/Counters.sol



pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/math/Math.sol



pragma solidity ^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: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/utils/Arrays.sol



pragma solidity ^0.8.0;


/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
   /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/extensions/ERC20Snapshot.sol



pragma solidity ^0.8.0;




/**
 * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
 * total supply at the time are recorded for later access.
 *
 * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
 * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
 * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
 * used to create an efficient ERC20 forking mechanism.
 *
 * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
 * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
 * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
 * and the account address.
 *
 * ==== Gas Costs
 *
 * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
 * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
 * smaller since identical balances in subsequent snapshots are stored as a single entry.
 *
 * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
 * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
 * transfers will have normal cost until the next snapshot, and so on.
 */
abstract contract ERC20Snapshot is ERC20 {
    // Inspired by Jordi Baylina's MiniMeToken to record historical balances:
    // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol

    using Arrays for uint256[];
    using Counters for Counters.Counter;

    // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
    // Snapshot struct, but that would impede usage of functions that work on an array.
    struct Snapshots {
        uint256[] ids;
        uint256[] values;
    }

    mapping (address => Snapshots) private _accountBalanceSnapshots;
    Snapshots private _totalSupplySnapshots;

    // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
    Counters.Counter private _currentSnapshotId;

    /**
     * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
     */
    event Snapshot(uint256 id);

    /**
     * @dev Creates a new snapshot and returns its snapshot id.
     *
     * Emits a {Snapshot} event that contains the same id.
     *
     * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
     * set of accounts, for example using {AccessControl}, or it may be open to the public.
     *
     * [WARNING]
     * ====
     * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
     * you must consider that it can potentially be used by attackers in two ways.
     *
     * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
     * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
     * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
     * section above.
     *
     * We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
     * ====
     */
    function _snapshot() internal virtual returns (uint256) {
        _currentSnapshotId.increment();

        uint256 currentId = _currentSnapshotId.current();
        emit Snapshot(currentId);
        return currentId;
    }

    /**
     * @dev Retrieves the balance of `account` at the time `snapshotId` was created.
     */
    function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);

        return snapshotted ? value : balanceOf(account);
    }

    /**
     * @dev Retrieves the total supply at the time `snapshotId` was created.
     */
    function totalSupplyAt(uint256 snapshotId) public view virtual returns(uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);

        return snapshotted ? value : totalSupply();
    }


    // Update balance and/or total supply snapshots before the values are modified. This is implemented
    // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations.
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
      super._beforeTokenTransfer(from, to, amount);

      if (from == address(0)) {
        // mint
        _updateAccountSnapshot(to);
        _updateTotalSupplySnapshot();
      } else if (to == address(0)) {
        // burn
        _updateAccountSnapshot(from);
        _updateTotalSupplySnapshot();
      } else {
        // transfer
        _updateAccountSnapshot(from);
        _updateAccountSnapshot(to);
      }
    }

    function _valueAt(uint256 snapshotId, Snapshots storage snapshots)
        private view returns (bool, uint256)
    {
        require(snapshotId > 0, "ERC20Snapshot: id is 0");
        // solhint-disable-next-line max-line-length
        require(snapshotId <= _currentSnapshotId.current(), "ERC20Snapshot: nonexistent id");

        // When a valid snapshot is queried, there are three possibilities:
        //  a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
        //  created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
        //  to this id is the current one.
        //  b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
        //  requested id, and its value is the one to return.
        //  c) More snapshots were created after the requested one, and the queried value was later modified. There will be
        //  no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
        //  larger than the requested one.
        //
        // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
        // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
        // exactly this.

        uint256 index = snapshots.ids.findUpperBound(snapshotId);

        if (index == snapshots.ids.length) {
            return (false, 0);
        } else {
            return (true, snapshots.values[index]);
        }
    }

    function _updateAccountSnapshot(address account) private {
        _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
    }

    function _updateTotalSupplySnapshot() private {
        _updateSnapshot(_totalSupplySnapshots, totalSupply());
    }

    function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
        uint256 currentId = _currentSnapshotId.current();
        if (_lastSnapshotId(snapshots.ids) < currentId) {
            snapshots.ids.push(currentId);
            snapshots.values.push(currentValue);
        }
    }

    function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
        if (ids.length == 0) {
            return 0;
        } else {
            return ids[ids.length - 1];
        }
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/security/Pausable.sol



pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/extensions/ERC20Pausable.sol



pragma solidity ^0.8.0;



/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20Pausable is ERC20, Pausable {
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
}

// File: https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/release-v4.1/contracts/token/ERC20/extensions/ERC20Burnable.sol



pragma solidity ^0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - amount);
        _burn(account, amount);
    }
}

// File: contracts/ElkV2.sol



pragma solidity ^0.8.0;










/**
 * @dev {ERC20} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract Elk is Context, AccessControlEnumerable, ERC20Burnable, ERC20Capped, ERC20Pausable, ERC20Snapshot, ERC20Permit {
    using SafeMath for uint256;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * See {ERC20-constructor}.
     */
    constructor(string memory name, string memory symbol, uint256 cap) ERC20(name, symbol) ERC20Capped(cap) ERC20Permit(name) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    /**
     * @dev Creates `amount` new tokens for `to`.
     *
     * See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 amount) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "Elk: must have minter role to mint");
        _mint(to, amount);
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "Elk: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "Elk: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20, ERC20Pausable, ERC20Snapshot) {
        ERC20Pausable._beforeTokenTransfer(from, to, amount);
        ERC20Snapshot._beforeTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual override(ERC20Capped, ERC20) {
        ERC20Capped._mint(account, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"cap","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140523480156200003757600080fd5b5060405162002ce738038062002ce78339810160408190526200005a91620004fc565b8280604051806040016040528060018152602001603160f81b81525083868681600590805190602001906200009192919062000389565b508051620000a790600690602084019062000389565b50505060008111620000ff5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b6080526007805460ff19169055815160208084019190912082519183019190912060e08290526101008190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001a08184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0526101205250620001c3935060009250620001bd9150503390565b62000224565b620001ef7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63362000224565b6200021b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362000224565b505050620005ac565b6200023b82826200026760201b62000d411760201c565b60008281526001602090815260409091206200026291839062000d4b62000277821b17901c565b505050565b62000273828262000297565b5050565b60006200028e836001600160a01b03841662000337565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000273576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002f33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054620003805750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000291565b50600062000291565b82805462000397906200056f565b90600052602060002090601f016020900481019282620003bb576000855562000406565b82601f10620003d657805160ff191683800117855562000406565b8280016001018555821562000406579182015b8281111562000406578251825591602001919060010190620003e9565b506200041492915062000418565b5090565b5b8082111562000414576000815560010162000419565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200045757600080fd5b81516001600160401b03808211156200047457620004746200042f565b604051601f8301601f19908116603f011681019082821181831017156200049f576200049f6200042f565b81604052838152602092508683858801011115620004bc57600080fd5b600091505b83821015620004e05785820183015181830184015290820190620004c1565b83821115620004f25760008385830101525b9695505050505050565b6000806000606084860312156200051257600080fd5b83516001600160401b03808211156200052a57600080fd5b620005388783880162000445565b945060208601519150808211156200054f57600080fd5b506200055e8682870162000445565b925050604084015190509250925092565b600181811c908216806200058457607f821691505b60208210811415620005a657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051610140516126d96200060e6000396000610c27015260006111c801526000611217015260006111f2015260006111760152600061119f0152600081816102e90152611c1701526126d96000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c806370a082311161012a578063a217fddf116100bd578063d505accf1161008c578063d547741f11610071578063d547741f146104d6578063dd62ed3e146104e9578063e63ab1e91461052257600080fd5b8063d505accf1461049c578063d5391393146104af57600080fd5b8063a217fddf1461045b578063a457c2d714610463578063a9059cbb14610476578063ca15c8731461048957600080fd5b80639010d07c116100f95780639010d07c146103de57806391d148541461040957806395d89b4114610440578063981b24d01461044857600080fd5b806370a082311461038757806379cc6790146103b05780637ecebe00146103c35780638456cb59146103d657600080fd5b8063355274ea116101bd5780633f4ba83a1161018c57806342966c681161017157806342966c68146103565780634ee2cd7e146103695780635c975abb1461037c57600080fd5b80633f4ba83a1461033b57806340c10f191461034357600080fd5b8063355274ea146102e75780633644e5151461030d57806336568abe14610315578063395093511461032857600080fd5b806323b872dd116101f957806323b872dd1461028d578063248a9ca3146102a05780632f2ff15d146102c3578063313ce567146102d857600080fd5b806301ffc9a71461022b57806306fdde0314610253578063095ea7b31461026857806318160ddd1461027b575b600080fd5b61023e6102393660046122c9565b610549565b60405190151581526020015b60405180910390f35b61025b61058d565b60405161024a9190612323565b61023e61027636600461236d565b61061f565b6004545b60405190815260200161024a565b61023e61029b366004612397565b610635565b61027f6102ae3660046123d3565b60009081526020819052604090206001015490565b6102d66102d13660046123ec565b610700565b005b6040516012815260200161024a565b7f000000000000000000000000000000000000000000000000000000000000000061027f565b61027f610727565b6102d66103233660046123ec565b610736565b61023e61033636600461236d565b610758565b6102d661078f565b6102d661035136600461236d565b610835565b6102d66103643660046123d3565b6108df565b61027f61037736600461236d565b6108ec565b60075460ff1661023e565b61027f610395366004612418565b6001600160a01b031660009081526002602052604090205490565b6102d66103be36600461236d565b610945565b61027f6103d1366004612418565b6109e1565b6102d66109ff565b6103f16103ec366004612433565b610aa3565b6040516001600160a01b03909116815260200161024a565b61023e6104173660046123ec565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61025b610ac2565b61027f6104563660046123d3565b610ad1565b61027f600081565b61023e61047136600461236d565b610afc565b61023e61048436600461236d565b610baf565b61027f6104973660046123d3565b610bbc565b6102d66104aa366004612455565b610bd3565b61027f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102d66104e43660046123ec565b610d37565b61027f6104f73660046124c8565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b61027f7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60006001600160e01b031982167f5a05180f000000000000000000000000000000000000000000000000000000001480610587575061058782610d60565b92915050565b60606005805461059c906124f2565b80601f01602080910402602001604051908101604052809291908181526020018280546105c8906124f2565b80156106155780601f106105ea57610100808354040283529160200191610615565b820191906000526020600020905b8154815290600101906020018083116105f857829003601f168201915b5050505050905090565b600061062c338484610dc7565b50600192915050565b6000610642848484610f20565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156106e15760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6106f585336106f0868561253d565b610dc7565b506001949350505050565b61070a828261114c565b60008281526001602052604090206107229082610d4b565b505050565b6000610731611172565b905090565b6107408282611265565b600082815260016020526040902061072290826112ed565b3360008181526003602090815260408083206001600160a01b0387168452909152812054909161062c9185906106f0908690612554565b6107b97f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610417565b61082b5760405162461bcd60e51b815260206004820152602560248201527f456c6b3a206d75737420686176652070617573657220726f6c6520746f20756e60448201527f706175736500000000000000000000000000000000000000000000000000000060648201526084016106d8565b610833611302565b565b61085f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610417565b6108d15760405162461bcd60e51b815260206004820152602260248201527f456c6b3a206d7573742068617665206d696e74657220726f6c6520746f206d6960448201527f6e7400000000000000000000000000000000000000000000000000000000000060648201526084016106d8565b6108db828261139e565b5050565b6108e933826113a8565b50565b6001600160a01b03821660009081526008602052604081208190819061091390859061153a565b915091508161093a576001600160a01b03851660009081526002602052604090205461093c565b805b95945050505050565b600061095183336104f7565b9050818110156109c85760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016106d8565b6109d783336106f0858561253d565b61072283836113a8565b6001600160a01b0381166000908152600c6020526040812054610587565b610a297f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610417565b610a9b5760405162461bcd60e51b815260206004820152602360248201527f456c6b3a206d75737420686176652070617573657220726f6c6520746f20706160448201527f757365000000000000000000000000000000000000000000000000000000000060648201526084016106d8565b610833611633565b6000828152600160205260408120610abb90836116bb565b9392505050565b60606006805461059c906124f2565b6000806000610ae184600961153a565b9150915081610af257600454610af4565b805b949350505050565b3360009081526003602090815260408083206001600160a01b038616845290915281205482811015610b965760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016106d8565b610ba533856106f0868561253d565b5060019392505050565b600061062c338484610f20565b6000818152600160205260408120610587906116c7565b83421115610c235760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106d8565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610c528c6116d1565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610cad826116f9565b90506000610cbd82878787611762565b9050896001600160a01b0316816001600160a01b031614610d205760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106d8565b610d2b8a8a8a610dc7565b50505050505050505050565b6107408282611902565b6108db8282611928565b6000610abb836001600160a01b0384166119c6565b60006001600160e01b031982167f7965db0b00000000000000000000000000000000000000000000000000000000148061058757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610587565b6001600160a01b038316610e425760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106d8565b6001600160a01b038216610ebe5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106d8565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610f9c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016106d8565b6001600160a01b0382166110185760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106d8565b611023838383611a15565b6001600160a01b038316600090815260026020526040902054818110156110b25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106d8565b6110bc828261253d565b6001600160a01b0380861660009081526002602052604080822093909355908516815290812080548492906110f2908490612554565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161113e91815260200190565b60405180910390a350505050565b6000828152602081905260409020600101546111688133611a2b565b6107228383611928565b60007f00000000000000000000000000000000000000000000000000000000000000004614156111c157507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b03811633146112e35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016106d8565b6108db8282611aa9565b6000610abb836001600160a01b038416611b28565b60075460ff166113545760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016106d8565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6108db8282611c15565b6001600160a01b0382166114245760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106d8565b61143082600083611a15565b6001600160a01b038216600090815260026020526040902054818110156114bf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016106d8565b6114c9828261253d565b6001600160a01b038416600090815260026020526040812091909155600480548492906114f790849061253d565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610f13565b6000806000841161158d5760405162461bcd60e51b815260206004820152601660248201527f4552433230536e617073686f743a20696420697320300000000000000000000060448201526064016106d8565b600b548411156115df5760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e7420696400000060448201526064016106d8565b60006115eb8486611ca2565b845490915081141561160457600080925092505061162c565b600184600101828154811061161b5761161b61256c565b906000526020600020015492509250505b9250929050565b60075460ff16156116865760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016106d8565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586113813390565b6000610abb8383611d65565b6000610587825490565b6001600160a01b0381166000908152600c602052604090208054600181018255905b50919050565b6000610587611706611172565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156117df5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106d8565b8360ff16601b14806117f457508360ff16601c145b61184b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106d8565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561189f573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661093c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106d8565b60008281526020819052604090206001015461191e8133611a2b565b6107228383611aa9565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166108db576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119823390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000818152600183016020526040812054611a0d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610587565b506000610587565b611a20838383611e06565b610722838383611e7f565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166108db57611a67816001600160a01b03166014611ed2565b611a72836020611ed2565b604051602001611a83929190612582565b60408051601f198184030181529082905262461bcd60e51b82526106d891600401612323565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156108db576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015611c0b576000611b4c60018361253d565b8554909150600090611b609060019061253d565b90506000866000018281548110611b7957611b7961256c565b9060005260206000200154905080876000018481548110611b9c57611b9c61256c565b600091825260208083209091019290925582815260018901909152604090208490558654879080611bcf57611bcf612603565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610587565b6000915050610587565b7f000000000000000000000000000000000000000000000000000000000000000081611c4060045490565b611c4a9190612554565b1115611c985760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016106d8565b6108db82826120b3565b8154600090611cb357506000610587565b82546000905b80821015611d0f576000611ccd838361219e565b905084868281548110611ce257611ce261256c565b90600052602060002001541115611cfb57809150611d09565b611d06816001612554565b92505b50611cb9565b600082118015611d4457508385611d2760018561253d565b81548110611d3757611d3761256c565b9060005260206000200154145b15611d5d57611d5460018361253d565b92505050610587565b509050610587565b81546000908210611dde5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f647300000000000000000000000000000000000000000000000000000000000060648201526084016106d8565b826000018281548110611df357611df361256c565b9060005260206000200154905092915050565b60075460ff16156107225760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e7366657220776860448201527f696c65207061757365640000000000000000000000000000000000000000000060648201526084016106d8565b611e8a838383611e06565b6001600160a01b038316611ea957611ea1826121f5565b610722612228565b6001600160a01b038216611ec057611ea1836121f5565b611ec9836121f5565b610722826121f5565b60606000611ee1836002612619565b611eec906002612554565b67ffffffffffffffff811115611f0457611f04612638565b6040519080825280601f01601f191660200182016040528015611f2e576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611f6557611f6561256c565b60200101906001600160f81b031916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611fb057611fb061256c565b60200101906001600160f81b031916908160001a9053506000611fd4846002612619565b611fdf906001612554565b90505b6001811115612064577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106120205761202061256c565b1a60f81b8282815181106120365761203661256c565b60200101906001600160f81b031916908160001a90535060049490941c9361205d8161264e565b9050611fe2565b508315610abb5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106d8565b6001600160a01b0382166121095760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106d8565b61211560008383611a15565b80600460008282546121279190612554565b90915550506001600160a01b03821660009081526002602052604081208054839290612154908490612554565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600060026121ac818461267b565b6121b760028661267b565b6121c19190612554565b6121cb919061268f565b6121d660028461268f565b6121e160028661268f565b6121eb9190612554565b610abb9190612554565b6001600160a01b03811660009081526008602090815260408083206002909252909120546108e99190612236565b612236565b610833600961222360045490565b6000612241600b5490565b90508061224d84612281565b1015610722578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b805460009061229257506000919050565b815482906122a29060019061253d565b815481106122b2576122b261256c565b90600052602060002001549050919050565b919050565b6000602082840312156122db57600080fd5b81356001600160e01b031981168114610abb57600080fd5b60005b8381101561230e5781810151838201526020016122f6565b8381111561231d576000848401525b50505050565b60208152600082518060208401526123428160408501602087016122f3565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146122c457600080fd5b6000806040838503121561238057600080fd5b61238983612356565b946020939093013593505050565b6000806000606084860312156123ac57600080fd5b6123b584612356565b92506123c360208501612356565b9150604084013590509250925092565b6000602082840312156123e557600080fd5b5035919050565b600080604083850312156123ff57600080fd5b8235915061240f60208401612356565b90509250929050565b60006020828403121561242a57600080fd5b610abb82612356565b6000806040838503121561244657600080fd5b50508035926020909101359150565b600080600080600080600060e0888a03121561247057600080fd5b61247988612356565b965061248760208901612356565b95506040880135945060608801359350608088013560ff811681146124ab57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b600080604083850312156124db57600080fd5b6124e483612356565b915061240f60208401612356565b600181811c9082168061250657607f821691505b602082108114156116f357634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561254f5761254f612527565b500390565b6000821982111561256757612567612527565b500190565b634e487b7160e01b600052603260045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516125ba8160178501602088016122f3565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516125f78160288401602088016122f3565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b600081600019048311821515161561263357612633612527565b500290565b634e487b7160e01b600052604160045260246000fd5b60008161265d5761265d612527565b506000190190565b634e487b7160e01b600052601260045260246000fd5b60008261268a5761268a612665565b500690565b60008261269e5761269e612665565b50049056fea2646970667358221220dff1d57f3dd6f223a058ab08a57bb99e21737436c78ce1c100bc55cfff18187b64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000002317b8a224084260a000000000000000000000000000000000000000000000000000000000000000000003456c6b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003454c4b0000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000002317b8a224084260a000000000000000000000000000000000000000000000000000000000000000000003456c6b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003454c4b0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Elk
Arg [1] : symbol (string): ELK
Arg [2] : cap (uint256): 42424424000000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000002317b8a224084260a00000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [4] : 456c6b0000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 454c4b0000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

82019:2330:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31590:227;;;;;;:::i;:::-;;:::i;:::-;;;516:14:1;;509:22;491:41;;479:2;464:18;31590:227:0;;;;;;;;49595:100;;;:::i;:::-;;;;;;;:::i;51762:169::-;;;;;;:::i;:::-;;:::i;50715:108::-;50803:12;;50715:108;;;1800:25:1;;;1788:2;1773:18;50715:108:0;1654:177:1;52413:422:0;;;;;;:::i;:::-;;:::i;27558:123::-;;;;;;:::i;:::-;27624:7;27651:12;;;;;;;;;;:22;;;;27558:123;32961:165;;;;;;:::i;:::-;;:::i;:::-;;50557:93;;;50640:2;2937:36:1;;2925:2;2910:18;50557:93:0;2795:184:1;59041:83:0;59112:4;59041:83;;64222:115;;;:::i;33484:174::-;;;;;;:::i;:::-;;:::i;53244:215::-;;;;;;:::i;:::-;;:::i;83756:158::-;;;:::i;82987:185::-;;;;;;:::i;:::-;;:::i;80608:91::-;;;;;;:::i;:::-;;:::i;72917:266::-;;;;;;:::i;:::-;;:::i;77955:86::-;78026:7;;;;77955:86;;50886:127;;;;;;:::i;:::-;-1:-1:-1;;;;;50987:18:0;50960:7;50987:18;;;:9;:18;;;;;;;50886:127;81018:332;;;;;;:::i;:::-;;:::i;63964:128::-;;;;;;:::i;:::-;;:::i;83386:152::-;;;:::i;32416:145::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3777:55:1;;;3759:74;;3747:2;3732:18;32416:145:0;3613:226:1;26556:139:0;;;;;;:::i;:::-;26634:4;26658:12;;;;;;;;;;;-1:-1:-1;;;;;26658:29:0;;;;;;;;;;;;;;;26556:139;49814:104;;;:::i;73287:233::-;;;;;;:::i;:::-;;:::i;24521:49::-;;24566:4;24521:49;;53962:377;;;;;;:::i;:::-;;:::i;51226:175::-;;;;;;:::i;:::-;;:::i;32735:134::-;;;;;;:::i;:::-;;:::i;63127:771::-;;;;;;:::i;:::-;;:::i;82181:62::-;;82219:24;82181:62;;33219:170;;;;;;:::i;:::-;;:::i;51464:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;51580:18:0;;;51553:7;51580:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;51464:151;82250:62;;82288:24;82250:62;;31590:227;31675:4;-1:-1:-1;;;;;;31699:57:0;;31714:42;31699:57;;:110;;;31773:36;31797:11;31773:23;:36::i;:::-;31692:117;31590:227;-1:-1:-1;;31590:227:0:o;49595:100::-;49649:13;49682:5;49675:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49595:100;:::o;51762:169::-;51845:4;51862:39;21800:10;51885:7;51894:6;51862:8;:39::i;:::-;-1:-1:-1;51919:4:0;51762:169;;;;:::o;52413:422::-;52519:4;52536:36;52546:6;52554:9;52565:6;52536:9;:36::i;:::-;-1:-1:-1;;;;;52612:19:0;;52585:24;52612:19;;;:11;:19;;;;;;;;21800:10;52612:33;;;;;;;;52664:26;;;;52656:79;;;;-1:-1:-1;;;52656:79:0;;5451:2:1;52656:79:0;;;5433:21:1;5490:2;5470:18;;;5463:30;5529:34;5509:18;;;5502:62;5600:10;5580:18;;;5573:38;5628:19;;52656:79:0;;;;;;;;;52746:57;52755:6;21800:10;52777:25;52796:6;52777:16;:25;:::i;:::-;52746:8;:57::i;:::-;-1:-1:-1;52823:4:0;;52413:422;-1:-1:-1;;;;52413:422:0:o;32961:165::-;33046:30;33062:4;33068:7;33046:15;:30::i;:::-;33087:18;;;;:12;:18;;;;;:31;;33110:7;33087:22;:31::i;:::-;;32961:165;;:::o;64222:115::-;64282:7;64309:20;:18;:20::i;:::-;64302:27;;64222:115;:::o;33484:174::-;33572:33;33591:4;33597:7;33572:18;:33::i;:::-;33616:18;;;;:12;:18;;;;;:34;;33642:7;33616:25;:34::i;53244:215::-;21800:10;53332:4;53381:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;53381:34:0;;;;;;;;;;53332:4;;53349:80;;53372:7;;53381:47;;53418:10;;53381:47;:::i;83756:158::-;83809:34;82288:24;21800:10;26556:139;:::i;83809:34::-;83801:84;;;;-1:-1:-1;;;83801:84:0;;6312:2:1;83801:84:0;;;6294:21:1;6351:2;6331:18;;;6324:30;6390:34;6370:18;;;6363:62;6461:7;6441:18;;;6434:35;6486:19;;83801:84:0;6110:401:1;83801:84:0;83896:10;:8;:10::i;:::-;83756:158::o;82987:185::-;83063:34;82219:24;21800:10;26556:139;:::i;83063:34::-;83055:81;;;;-1:-1:-1;;;83055:81:0;;6718:2:1;83055:81:0;;;6700:21:1;6757:2;6737:18;;;6730:30;6796:34;6776:18;;;6769:62;6867:4;6847:18;;;6840:32;6889:19;;83055:81:0;6516:398:1;83055:81:0;83147:17;83153:2;83157:6;83147:5;:17::i;:::-;82987:185;;:::o;80608:91::-;80664:27;21800:10;80684:6;80664:5;:27::i;:::-;80608:91;:::o;72917:266::-;-1:-1:-1;;;;;73081:33:0;;73004:7;73081:33;;;:24;:33;;;;;73004:7;;;;73060:55;;73069:10;;73060:8;:55::i;:::-;73024:91;;;;73135:11;:40;;-1:-1:-1;;;;;50987:18:0;;50960:7;50987:18;;;:9;:18;;;;;;73135:40;;;73149:5;73135:40;73128:47;72917:266;-1:-1:-1;;;;;72917:266:0:o;81018:332::-;81095:24;81122:32;81132:7;21800:10;51464:151;:::i;81122:32::-;81095:59;;81193:6;81173:16;:26;;81165:75;;;;-1:-1:-1;;;81165:75:0;;7121:2:1;81165:75:0;;;7103:21:1;7160:2;7140:18;;;7133:30;7199:34;7179:18;;;7172:62;7270:6;7250:18;;;7243:34;7294:19;;81165:75:0;6919:400:1;81165:75:0;81251:58;81260:7;21800:10;81283:25;81302:6;81283:16;:25;:::i;81251:58::-;81320:22;81326:7;81335:6;81320:5;:22::i;63964:128::-;-1:-1:-1;;;;;64060:14:0;;64033:7;64060:14;;;:7;:14;;;;;65667;64060:24;65575:114;83386:152;83437:34;82288:24;21800:10;26556:139;:::i;83437:34::-;83429:82;;;;-1:-1:-1;;;83429:82:0;;7526:2:1;83429:82:0;;;7508:21:1;7565:2;7545:18;;;7538:30;7604:34;7584:18;;;7577:62;7675:5;7655:18;;;7648:33;7698:19;;83429:82:0;7324:399:1;83429:82:0;83522:8;:6;:8::i;32416:145::-;32498:7;32525:18;;;:12;:18;;;;;:28;;32547:5;32525:21;:28::i;:::-;32518:35;32416:145;-1:-1:-1;;;32416:145:0:o;49814:104::-;49870:13;49903:7;49896:14;;;;;:::i;73287:233::-;73358:7;73379:16;73397:13;73414:43;73423:10;73435:21;73414:8;:43::i;:::-;73378:79;;;;73477:11;:35;;50803:12;;73477:35;;;73491:5;73477:35;73470:42;73287:233;-1:-1:-1;;;;73287:233:0:o;53962:377::-;21800:10;54055:4;54099:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;54099:34:0;;;;;;;;;;54152:35;;;;54144:85;;;;-1:-1:-1;;;54144:85:0;;7930:2:1;54144:85:0;;;7912:21:1;7969:2;7949:18;;;7942:30;8008:34;7988:18;;;7981:62;8079:7;8059:18;;;8052:35;8104:19;;54144:85:0;7728:401:1;54144:85:0;54240:67;21800:10;54263:7;54272:34;54291:15;54272:16;:34;:::i;54240:67::-;-1:-1:-1;54327:4:0;;53962:377;-1:-1:-1;;;53962:377:0:o;51226:175::-;51312:4;51329:42;21800:10;51353:9;51364:6;51329:9;:42::i;32735:134::-;32807:7;32834:18;;;:12;:18;;;;;:27;;:25;:27::i;63127:771::-;63356:8;63337:15;:27;;63329:69;;;;-1:-1:-1;;;63329:69:0;;8336:2:1;63329:69:0;;;8318:21:1;8375:2;8355:18;;;8348:30;8414:31;8394:18;;;8387:59;8463:18;;63329:69:0;8134:353:1;63329:69:0;63411:18;63485:16;63520:5;63544:7;63570:5;63594:16;63604:5;63594:9;:16::i;:::-;63456:196;;;;;;8779:25:1;;;;-1:-1:-1;;;;;8901:15:1;;;8881:18;;;8874:43;8953:15;;;;8933:18;;;8926:43;8985:18;;;8978:34;9028:19;;;9021:35;9072:19;;;9065:35;;;8751:19;;63456:196:0;;;;;;;;;;;;63432:231;;;;;;63411:252;;63676:12;63691:28;63708:10;63691:16;:28::i;:::-;63676:43;;63732:14;63749:28;63763:4;63769:1;63772;63775;63749:13;:28::i;:::-;63732:45;;63806:5;-1:-1:-1;;;;;63796:15:0;:6;-1:-1:-1;;;;;63796:15:0;;63788:58;;;;-1:-1:-1;;;63788:58:0;;9313:2:1;63788:58:0;;;9295:21:1;9352:2;9332:18;;;9325:30;9391:32;9371:18;;;9364:60;9441:18;;63788:58:0;9111:354:1;63788:58:0;63859:31;63868:5;63875:7;63884:5;63859:8;:31::i;:::-;63263:635;;;63127:771;;;;;;;:::o;33219:170::-;33305:31;33322:4;33328:7;33305:16;:31::i;29792:112::-;29871:25;29882:4;29888:7;29871:10;:25::i;13887:152::-;13957:4;13981:50;13986:3;-1:-1:-1;;;;;14006:23:0;;13981:4;:50::i;26247:217::-;26332:4;-1:-1:-1;;;;;;26356:47:0;;26371:32;26356:47;;:100;;-1:-1:-1;18854:25:0;-1:-1:-1;;;;;;18839:40:0;;;26420:36;18730:157;57318:346;-1:-1:-1;;;;;57420:19:0;;57412:68;;;;-1:-1:-1;;;57412:68:0;;9672:2:1;57412:68:0;;;9654:21:1;9711:2;9691:18;;;9684:30;9750:34;9730:18;;;9723:62;9821:6;9801:18;;;9794:34;9845:19;;57412:68:0;9470:400:1;57412:68:0;-1:-1:-1;;;;;57499:21:0;;57491:68;;;;-1:-1:-1;;;57491:68:0;;10077:2:1;57491:68:0;;;10059:21:1;10116:2;10096:18;;;10089:30;10155:34;10135:18;;;10128:62;10226:4;10206:18;;;10199:32;10248:19;;57491:68:0;9875:398:1;57491:68:0;-1:-1:-1;;;;;57572:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;57624:32;;1800:25:1;;;57624:32:0;;1773:18:1;57624:32:0;;;;;;;;57318:346;;;:::o;54829:604::-;-1:-1:-1;;;;;54935:20:0;;54927:70;;;;-1:-1:-1;;;54927:70:0;;10480:2:1;54927:70:0;;;10462:21:1;10519:2;10499:18;;;10492:30;10558:34;10538:18;;;10531:62;10629:7;10609:18;;;10602:35;10654:19;;54927:70:0;10278:401:1;54927:70:0;-1:-1:-1;;;;;55016:23:0;;55008:71;;;;-1:-1:-1;;;55008:71:0;;10886:2:1;55008:71:0;;;10868:21:1;10925:2;10905:18;;;10898:30;10964:34;10944:18;;;10937:62;11035:5;11015:18;;;11008:33;11058:19;;55008:71:0;10684:399:1;55008:71:0;55092:47;55113:6;55121:9;55132:6;55092:20;:47::i;:::-;-1:-1:-1;;;;;55176:17:0;;55152:21;55176:17;;;:9;:17;;;;;;55212:23;;;;55204:74;;;;-1:-1:-1;;;55204:74:0;;11290:2:1;55204:74:0;;;11272:21:1;11329:2;11309:18;;;11302:30;11368:34;11348:18;;;11341:62;11439:8;11419:18;;;11412:36;11465:19;;55204:74:0;11088:402:1;55204:74:0;55309:22;55325:6;55309:13;:22;:::i;:::-;-1:-1:-1;;;;;55289:17:0;;;;;;;:9;:17;;;;;;:42;;;;55342:20;;;;;;;;:30;;55366:6;;55289:17;55342:30;;55366:6;;55342:30;:::i;:::-;;;;;;;;55407:9;-1:-1:-1;;;;;55390:35:0;55399:6;-1:-1:-1;;;;;55390:35:0;;55418:6;55390:35;;;;1800:25:1;;1788:2;1773:18;;1654:177;55390:35:0;;;;;;;;54916:517;54829:604;;;:::o;27943:147::-;27624:7;27651:12;;;;;;;;;;:22;;;26125:30;26136:4;21800:10;26125;:30::i;:::-;28057:25:::1;28068:4;28074:7;28057:10;:25::i;42421:281::-:0;42474:7;42515:16;42498:13;:33;42494:201;;;-1:-1:-1;42555:24:0;;42421:281::o;42494:201::-;-1:-1:-1;42863:165:0;;;42641:10;42863:165;;;;16920:25:1;;;;42653:12:0;16961:18:1;;;16954:34;42667:15:0;17004:18:1;;;16997:34;42968:13:0;17047:18:1;;;17040:34;43008:4:0;17090:19:1;;;;17083:84;;;;42863:165:0;;;;;;;;;;16892:19:1;;;;42863:165:0;;;42839:200;;;;;;64222:115::o;28991:218::-;-1:-1:-1;;;;;29087:23:0;;21800:10;29087:23;29079:83;;;;-1:-1:-1;;;29079:83:0;;11697:2:1;29079:83:0;;;11679:21:1;11736:2;11716:18;;;11709:30;11775:34;11755:18;;;11748:62;11846:17;11826:18;;;11819:45;11881:19;;29079:83:0;11495:411:1;29079:83:0;29175:26;29187:4;29193:7;29175:11;:26::i;14215:158::-;14288:4;14312:53;14320:3;-1:-1:-1;;;;;14340:23:0;;14312:7;:53::i;79014:120::-;78026:7;;;;78550:41;;;;-1:-1:-1;;;78550:41:0;;12113:2:1;78550:41:0;;;12095:21:1;12152:2;12132:18;;;12125:30;12191:22;12171:18;;;12164:50;12231:18;;78550:41:0;11911:344:1;78550:41:0;79073:7:::1;:15:::0;;-1:-1:-1;;79073:15:0::1;::::0;;79104:22:::1;21800:10:::0;79113:12:::1;79104:22;::::0;-1:-1:-1;;;;;3777:55:1;;;3759:74;;3747:2;3732:18;79104:22:0::1;;;;;;;79014:120::o:0;84199:147::-;84304:34;84322:7;84331:6;84304:17;:34::i;56386:494::-;-1:-1:-1;;;;;56470:21:0;;56462:67;;;;-1:-1:-1;;;56462:67:0;;12462:2:1;56462:67:0;;;12444:21:1;12501:2;12481:18;;;12474:30;12540:34;12520:18;;;12513:62;12611:3;12591:18;;;12584:31;12632:19;;56462:67:0;12260:397:1;56462:67:0;56542:49;56563:7;56580:1;56584:6;56542:20;:49::i;:::-;-1:-1:-1;;;;;56629:18:0;;56604:22;56629:18;;;:9;:18;;;;;;56666:24;;;;56658:71;;;;-1:-1:-1;;;56658:71:0;;12864:2:1;56658:71:0;;;12846:21:1;12903:2;12883:18;;;12876:30;12942:34;12922:18;;;12915:62;13013:4;12993:18;;;12986:32;13035:19;;56658:71:0;12662:398:1;56658:71:0;56761:23;56778:6;56761:14;:23;:::i;:::-;-1:-1:-1;;;;;56740:18:0;;;;;;:9;:18;;;;;:44;;;;56795:12;:22;;56811:6;;56740:18;56795:22;;56811:6;;56795:22;:::i;:::-;;;;-1:-1:-1;;56835:37:0;;1800:25:1;;;56861:1:0;;-1:-1:-1;;;;;56835:37:0;;;;;1788:2:1;1773:18;56835:37:0;1654:177:1;74289:1692:0;74387:4;74393:7;74439:1;74426:10;:14;74418:49;;;;-1:-1:-1;;;74418:49:0;;13267:2:1;74418:49:0;;;13249:21:1;13306:2;13286:18;;;13279:30;13345:24;13325:18;;;13318:52;13387:18;;74418:49:0;13065:346:1;74418:49:0;74554:18;65667:14;74540:10;:42;;74532:84;;;;-1:-1:-1;;;74532:84:0;;13618:2:1;74532:84:0;;;13600:21:1;13657:2;13637:18;;;13630:30;13696:31;13676:18;;;13669:59;13745:18;;74532:84:0;13416:353:1;74532:84:0;75755:13;75771:40;:9;75800:10;75771:28;:40::i;:::-;75837:20;;75755:56;;-1:-1:-1;75828:29:0;;75824:150;;;75882:5;75889:1;75874:17;;;;;;;75824:150;75932:4;75938:9;:16;;75955:5;75938:23;;;;;;;;:::i;:::-;;;;;;;;;75924:38;;;;;74289:1692;;;;;;:::o;78755:118::-;78026:7;;;;78280:9;78272:38;;;;-1:-1:-1;;;78272:38:0;;14165:2:1;78272:38:0;;;14147:21:1;14204:2;14184:18;;;14177:30;14243:18;14223;;;14216:46;14279:18;;78272:38:0;13963:340:1;78272:38:0;78815:7:::1;:14:::0;;-1:-1:-1;;78815:14:0::1;78825:4;78815:14;::::0;;78845:20:::1;78852:12;21800:10:::0;;21720:98;15173:158;15247:7;15298:22;15302:3;15314:5;15298:3;:22::i;14712:117::-;14775:7;14802:19;14810:3;11469:18;;11386:109;64475:207;-1:-1:-1;;;;;64596:14:0;;64535:15;64596:14;;;:7;:14;;;;;65667;;65804:1;65786:19;;;;65667:14;64657:17;64552:130;64475:207;;;:::o;43689:167::-;43766:7;43793:55;43815:20;:18;:20::i;:::-;43837:10;39231:57;;18394:66:1;39231:57:0;;;18382:79:1;18477:11;;;18470:27;;;18513:12;;;18506:28;;;39194:7:0;;18550:12:1;;39231:57:0;;;;;;;;;;;;39221:68;;;;;;39214:75;;39101:196;;;;;36750:1432;36835:7;37760:66;37746:80;;;37738:127;;;;-1:-1:-1;;;37738:127:0;;14510:2:1;37738:127:0;;;14492:21:1;14549:2;14529:18;;;14522:30;14588:34;14568:18;;;14561:62;-1:-1:-1;;;14639:18:1;;;14632:32;14681:19;;37738:127:0;14308:398:1;37738:127:0;37884:1;:7;;37889:2;37884:7;:18;;;;37895:1;:7;;37900:2;37895:7;37884:18;37876:65;;;;-1:-1:-1;;;37876:65:0;;14913:2:1;37876:65:0;;;14895:21:1;14952:2;14932:18;;;14925:30;14991:34;14971:18;;;14964:62;-1:-1:-1;;;15042:18:1;;;15035:32;15084:19;;37876:65:0;14711:398:1;37876:65:0;38056:24;;;38039:14;38056:24;;;;;;;;;15341:25:1;;;15414:4;15402:17;;15382:18;;;15375:45;;;;15436:18;;;15429:34;;;15479:18;;;15472:34;;;38056:24:0;;15313:19:1;;38056:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38056:24:0;;-1:-1:-1;;38056:24:0;;;-1:-1:-1;;;;;;;38099:20:0;;38091:57;;;;-1:-1:-1;;;38091:57:0;;15719:2:1;38091:57:0;;;15701:21:1;15758:2;15738:18;;;15731:30;15797:26;15777:18;;;15770:54;15841:18;;38091:57:0;15517:348:1;28335:149:0;27624:7;27651:12;;;;;;;;;;:22;;;26125:30;26136:4;21800:10;26125;:30::i;:::-;28450:26:::1;28462:4;28468:7;28450:11;:26::i;30239:229::-:0;26634:4;26658:12;;;;;;;;;;;-1:-1:-1;;;;;26658:29:0;;;;;;;;;;;;30309:152;;30353:6;:12;;;;;;;;;;;-1:-1:-1;;;;;30353:29:0;;;;;;;;;:36;;-1:-1:-1;;30353:36:0;30385:4;30353:36;;;30436:12;21800:10;;21720:98;30436:12;-1:-1:-1;;;;;30409:40:0;30427:7;-1:-1:-1;;;;;30409:40:0;30421:4;30409:40;;;;;;;;;;30239:229;;:::o;8942:414::-;9005:4;11268:19;;;:12;;;:19;;;;;;9022:327;;-1:-1:-1;9065:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;9248:18;;9226:19;;;:12;;;:19;;;;;;:40;;;;9281:11;;9022:327;-1:-1:-1;9332:5:0;9325:12;;83922:269;84068:52;84103:4;84109:2;84113:6;84068:34;:52::i;:::-;84131;84166:4;84172:2;84176:6;84131:34;:52::i;26985:384::-;26634:4;26658:12;;;;;;;;;;;-1:-1:-1;;;;;26658:29:0;;;;;;;;;;;;27061:301;;27197:41;27225:7;-1:-1:-1;;;;;27197:41:0;27235:2;27197:19;:41::i;:::-;27295:38;27323:4;27330:2;27295:19;:38::i;:::-;27118:230;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;27118:230:0;;;;;;;;;;-1:-1:-1;;;27104:246:0;;;;;;;:::i;30476:230::-;26634:4;26658:12;;;;;;;;;;;-1:-1:-1;;;;;26658:29:0;;;;;;;;;;;;30547:152;;;30622:5;30590:12;;;;;;;;;;;-1:-1:-1;;;;;30590:29:0;;;;;;;;;;:37;;-1:-1:-1;;30590:37:0;;;30647:40;21800:10;;30590:12;;30647:40;;30622:5;30647:40;30476:230;;:::o;9532:1553::-;9598:4;9737:19;;;:12;;;:19;;;;;;9773:15;;9769:1309;;10135:21;10159:14;10172:1;10159:10;:14;:::i;:::-;10208:18;;10135:38;;-1:-1:-1;10188:17:0;;10208:22;;10229:1;;10208:22;:::i;:::-;10188:42;;10475:17;10495:3;:11;;10507:9;10495:22;;;;;;;;:::i;:::-;;;;;;;;;10475:42;;10641:9;10612:3;:11;;10624:13;10612:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;10718:23;;;:12;;;:23;;;;;;:36;;;10879:17;;10718:3;;10879:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;10974:3;:12;;:19;10987:5;10974:19;;;;;;;;;;;10967:26;;;11017:4;11010:11;;;;;;;;9769:1309;11061:5;11054:12;;;;;59182:207;59112:4;59297:6;59275:19;50803:12;;;50715:108;59275:19;:28;;;;:::i;:::-;:37;;59267:75;;;;-1:-1:-1;;;59267:75:0;;17569:2:1;59267:75:0;;;17551:21:1;17608:2;17588:18;;;17581:30;17647:27;17627:18;;;17620:55;17692:18;;59267:75:0;17367:349:1;59267:75:0;59353:28;59365:7;59374:6;59353:11;:28::i;67666:918::-;67779:12;;67755:7;;67775:58;;-1:-1:-1;67820:1:0;67813:8;;67775:58;67886:12;;67845:11;;67911:424;67924:4;67918:3;:10;67911:424;;;67945:11;67959:23;67972:3;67977:4;67959:12;:23::i;:::-;67945:37;;68216:7;68203:5;68209:3;68203:10;;;;;;;;:::i;:::-;;;;;;;;;:20;68199:125;;;68251:3;68244:10;;68199:125;;;68301:7;:3;68307:1;68301:7;:::i;:::-;68295:13;;68199:125;67930:405;67911:424;;;68461:1;68455:3;:7;:36;;;;-1:-1:-1;68484:7:0;68466:5;68472:7;68478:1;68472:3;:7;:::i;:::-;68466:14;;;;;;;;:::i;:::-;;;;;;;;;:25;68455:36;68451:126;;;68515:7;68521:1;68515:3;:7;:::i;:::-;68508:14;;;;;;68451:126;-1:-1:-1;68562:3:0;-1:-1:-1;68555:10:0;;11839:204;11934:18;;11906:7;;11934:26;-1:-1:-1;11926:73:0;;;;-1:-1:-1;;;11926:73:0;;17923:2:1;11926:73:0;;;17905:21:1;17962:2;17942:18;;;17935:30;18001:34;17981:18;;;17974:62;18072:4;18052:18;;;18045:32;18094:19;;11926:73:0;17721:398:1;11926:73:0;12017:3;:11;;12029:5;12017:18;;;;;;;;:::i;:::-;;;;;;;;;12010:25;;11839:204;;;;:::o;79803:238::-;78026:7;;;;79977:9;79969:64;;;;-1:-1:-1;;;79969:64:0;;18775:2:1;79969:64:0;;;18757:21:1;18814:2;18794:18;;;18787:30;18853:34;18833:18;;;18826:62;18924:12;18904:18;;;18897:40;18954:19;;79969:64:0;18573:406:1;73739:542:0;73846:44;73873:4;73879:2;73883:6;73846:26;:44::i;:::-;-1:-1:-1;;;;;73905:18:0;;73901:373;;73953:26;73976:2;73953:22;:26::i;:::-;73990:28;:26;:28::i;73901:373::-;-1:-1:-1;;;;;74038:16:0;;74034:240;;74084:28;74107:4;74084:22;:28::i;74034:240::-;74199:28;74222:4;74199:22;:28::i;:::-;74238:26;74261:2;74238:22;:26::i;20571:447::-;20646:13;20672:19;20704:10;20708:6;20704:1;:10;:::i;:::-;:14;;20717:1;20704:14;:::i;:::-;20694:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20694:25:0;;20672:47;;20730:15;:6;20737:1;20730:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20730:15:0;;;;;;;;;20756;:6;20763:1;20756:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20756:15:0;;;;;;;;-1:-1:-1;20787:9:0;20799:10;20803:6;20799:1;:10;:::i;:::-;:14;;20812:1;20799:14;:::i;:::-;20787:26;;20782:131;20819:1;20815;:5;20782:131;;;20854:8;20863:5;20871:3;20863:11;20854:21;;;;;;;:::i;:::-;;;;20842:6;20849:1;20842:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;20842:33:0;;;;;;;;-1:-1:-1;20900:1:0;20890:11;;;;;20822:3;;;:::i;:::-;;;20782:131;;;-1:-1:-1;20931:10:0;;20923:55;;;;-1:-1:-1;;;20923:55:0;;19689:2:1;20923:55:0;;;19671:21:1;;;19708:18;;;19701:30;19767:34;19747:18;;;19740:62;19819:18;;20923:55:0;19487:356:1;55715:338:0;-1:-1:-1;;;;;55799:21:0;;55791:65;;;;-1:-1:-1;;;55791:65:0;;20050:2:1;55791:65:0;;;20032:21:1;20089:2;20069:18;;;20062:30;20128:33;20108:18;;;20101:61;20179:18;;55791:65:0;19848:355:1;55791:65:0;55869:49;55898:1;55902:7;55911:6;55869:20;:49::i;:::-;55947:6;55931:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;55964:18:0;;;;;;:9;:18;;;;;:28;;55986:6;;55964:18;:28;;55986:6;;55964:28;:::i;:::-;;;;-1:-1:-1;;56008:37:0;;1800:25:1;;;-1:-1:-1;;;;;56008:37:0;;;56025:1;;56008:37;;1788:2:1;1773:18;56008:37:0;;;;;;;55715:338;;:::o;66802:193::-;66864:7;66985:1;66976:5;66985:1;66976;:5;:::i;:::-;66968;66972:1;66968;:5;:::i;:::-;:13;;;;:::i;:::-;66967:19;;;;:::i;:::-;66957:5;66961:1;66957;:5;:::i;:::-;66947;66951:1;66947;:5;:::i;:::-;66946:17;;;;:::i;:::-;:41;;;;:::i;75989:146::-;-1:-1:-1;;;;;76073:33:0;;;;;;:24;:33;;;;;;;;50987:9;:18;;;;;;;76057:70;;76073:33;76057:15;:70::i;76108:18::-;76057:15;:70::i;76143:118::-;76200:53;76216:21;76239:13;50803:12;;;50715:108;76269:315;76364:17;76384:28;:18;65667:14;;65575:114;76384:28;76364:48;-1:-1:-1;76364:48:0;76427:30;76443:9;76427:15;:30::i;:::-;:42;76423:154;;;76486:29;;;;;;;;-1:-1:-1;76486:29:0;;;;;;;;;;;;;;76530:16;;;:35;;;;;;;;;;;;;;;76269:315::o;76592:212::-;76686:10;;76662:7;;76682:115;;-1:-1:-1;76725:1:0;;76592:212;-1:-1:-1;76592:212:0:o;76682:115::-;76770:10;;76766:3;;76770:14;;76783:1;;76770:14;:::i;:::-;76766:19;;;;;;;;:::i;:::-;;;;;;;;;76759:26;;76592:212;;;:::o;76682:115::-;76592:212;;;:::o;14:332:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;-1:-1:-1;;;;;;223:5:1;219:78;212:5;209:89;199:117;;312:1;309;302:12;543:258;615:1;625:113;639:6;636:1;633:13;625:113;;;715:11;;;709:18;696:11;;;689:39;661:2;654:10;625:113;;;756:6;753:1;750:13;747:48;;;791:1;782:6;777:3;773:16;766:27;747:48;;543:258;;;:::o;806:383::-;955:2;944:9;937:21;918:4;987:6;981:13;1030:6;1025:2;1014:9;1010:18;1003:34;1046:66;1105:6;1100:2;1089:9;1085:18;1080:2;1072:6;1068:15;1046:66;:::i;:::-;1173:2;1152:15;-1:-1:-1;;1148:29:1;1133:45;;;;1180:2;1129:54;;806:383;-1:-1:-1;;806:383:1:o;1194:196::-;1262:20;;-1:-1:-1;;;;;1311:54:1;;1301:65;;1291:93;;1380:1;1377;1370:12;1395:254;1463:6;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;1639:2;1624:18;;;;1611:32;;-1:-1:-1;;;1395:254:1:o;1836:328::-;1913:6;1921;1929;1982:2;1970:9;1961:7;1957:23;1953:32;1950:52;;;1998:1;1995;1988:12;1950:52;2021:29;2040:9;2021:29;:::i;:::-;2011:39;;2069:38;2103:2;2092:9;2088:18;2069:38;:::i;:::-;2059:48;;2154:2;2143:9;2139:18;2126:32;2116:42;;1836:328;;;;;:::o;2169:180::-;2228:6;2281:2;2269:9;2260:7;2256:23;2252:32;2249:52;;;2297:1;2294;2287:12;2249:52;-1:-1:-1;2320:23:1;;2169:180;-1:-1:-1;2169:180:1:o;2536:254::-;2604:6;2612;2665:2;2653:9;2644:7;2640:23;2636:32;2633:52;;;2681:1;2678;2671:12;2633:52;2717:9;2704:23;2694:33;;2746:38;2780:2;2769:9;2765:18;2746:38;:::i;:::-;2736:48;;2536:254;;;;;:::o;3169:186::-;3228:6;3281:2;3269:9;3260:7;3256:23;3252:32;3249:52;;;3297:1;3294;3287:12;3249:52;3320:29;3339:9;3320:29;:::i;3360:248::-;3428:6;3436;3489:2;3477:9;3468:7;3464:23;3460:32;3457:52;;;3505:1;3502;3495:12;3457:52;-1:-1:-1;;3528:23:1;;;3598:2;3583:18;;;3570:32;;-1:-1:-1;3360:248:1:o;3844:693::-;3955:6;3963;3971;3979;3987;3995;4003;4056:3;4044:9;4035:7;4031:23;4027:33;4024:53;;;4073:1;4070;4063:12;4024:53;4096:29;4115:9;4096:29;:::i;:::-;4086:39;;4144:38;4178:2;4167:9;4163:18;4144:38;:::i;:::-;4134:48;;4229:2;4218:9;4214:18;4201:32;4191:42;;4280:2;4269:9;4265:18;4252:32;4242:42;;4334:3;4323:9;4319:19;4306:33;4379:4;4372:5;4368:16;4361:5;4358:27;4348:55;;4399:1;4396;4389:12;4348:55;3844:693;;;;-1:-1:-1;3844:693:1;;;;4422:5;4474:3;4459:19;;4446:33;;-1:-1:-1;4526:3:1;4511:19;;;4498:33;;3844:693;-1:-1:-1;;3844:693:1:o;4542:260::-;4610:6;4618;4671:2;4659:9;4650:7;4646:23;4642:32;4639:52;;;4687:1;4684;4677:12;4639:52;4710:29;4729:9;4710:29;:::i;:::-;4700:39;;4758:38;4792:2;4781:9;4777:18;4758:38;:::i;4807:437::-;4886:1;4882:12;;;;4929;;;4950:61;;5004:4;4996:6;4992:17;4982:27;;4950:61;5057:2;5049:6;5046:14;5026:18;5023:38;5020:218;;;-1:-1:-1;;;5091:1:1;5084:88;5195:4;5192:1;5185:15;5223:4;5220:1;5213:15;5658:184;-1:-1:-1;;;5707:1:1;5700:88;5807:4;5804:1;5797:15;5831:4;5828:1;5821:15;5847:125;5887:4;5915:1;5912;5909:8;5906:34;;;5920:18;;:::i;:::-;-1:-1:-1;5957:9:1;;5847:125::o;5977:128::-;6017:3;6048:1;6044:6;6041:1;6038:13;6035:39;;;6054:18;;:::i;:::-;-1:-1:-1;6090:9:1;;5977:128::o;13774:184::-;-1:-1:-1;;;13823:1:1;13816:88;13923:4;13920:1;13913:15;13947:4;13944:1;13937:15;15870:786;16281:25;16276:3;16269:38;16251:3;16336:6;16330:13;16352:62;16407:6;16402:2;16397:3;16393:12;16386:4;16378:6;16374:17;16352:62;:::i;:::-;16478:19;16473:2;16433:16;;;16465:11;;;16458:40;16523:13;;16545:63;16523:13;16594:2;16586:11;;16579:4;16567:17;;16545:63;:::i;:::-;16628:17;16647:2;16624:26;;15870:786;-1:-1:-1;;;;15870:786:1:o;17178:184::-;-1:-1:-1;;;17227:1:1;17220:88;17327:4;17324:1;17317:15;17351:4;17348:1;17341:15;18984:168;19024:7;19090:1;19086;19082:6;19078:14;19075:1;19072:21;19067:1;19060:9;19053:17;19049:45;19046:71;;;19097:18;;:::i;:::-;-1:-1:-1;19137:9:1;;18984:168::o;19157:184::-;-1:-1:-1;;;19206:1:1;19199:88;19306:4;19303:1;19296:15;19330:4;19327:1;19320:15;19346:136;19385:3;19413:5;19403:39;;19422:18;;:::i;:::-;-1:-1:-1;;;19458:18:1;;19346:136::o;20208:184::-;-1:-1:-1;;;20257:1:1;20250:88;20357:4;20354:1;20347:15;20381:4;20378:1;20371:15;20397:112;20429:1;20455;20445:35;;20460:18;;:::i;:::-;-1:-1:-1;20494:9:1;;20397:112::o;20514:120::-;20554:1;20580;20570:35;;20585:18;;:::i;:::-;-1:-1:-1;20619:9:1;;20514:120::o

Swarm Source

ipfs://dff1d57f3dd6f223a058ab08a57bb99e21737436c78ce1c100bc55cfff18187b
Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading