Contract 0xc031b7793f17100e9b7ad369ca05e5ec8a0f5b5c 2

 

Contract Overview

WeaponizedCountries: WC Token
Balance:
69 FTM

FTM Value:
$31.35 (@ $0.45/FTM)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x870b9c79f57f1eadaf96d8d18b970ec38c833e2bb08880f0ebdaf710d65fe069Set Approval For...586507342023-03-29 16:14:4212 hrs 29 mins ago0x5ccf599b7d43bc3f576ea01ec0aa307ecbc94102 IN  WeaponizedCountries: WC Token0 FTM0.001628632419
0x9d85e1634d5f635d7093ae91546f99b6c3fbdc19dc56afd89af83c71240acb36Set Approval For...580125752023-03-20 22:27:259 days 6 hrs ago0xe7d304a8bd5e5c27aa86c5bcafe2d834c4578367 IN  WeaponizedCountries: WC Token0 FTM0.002054712
0xf8de9d2fa2f35a669a5247982aab349c194c06cbcac7908834801ab136ce21faSet Approval For...579153292023-03-19 12:50:2710 days 15 hrs ago0xc91b41cabfeca199c6e2b84a9da08d24f3853397 IN  WeaponizedCountries: WC Token0 FTM0.001487745
0x8090918f14c32481b837c68aad167954d763a79112ea0a7ae27b37d68dd4ba08Set Approval For...574686952023-03-12 21:35:3517 days 7 hrs ago0x072abd40da86bff9cb10a9cc7fb6960e46ee580c IN  WeaponizedCountries: WC Token0 FTM0.005850437788
0x02d139285980c0159d39c62817585a7fa5020ba17a1f25f57de5bf47c0886e85Set Approval For...571468032023-03-07 22:04:2422 days 6 hrs ago0xd60cc3e55c298649fbb1fbb3c73694b03fb13ae9 IN  WeaponizedCountries: WC Token0 FTM0.001262095202
0xc554d0a474eb10270b108023142f3174f64fdf6c7543153827d0b5ec42740af5Set Approval For...565244502023-02-26 3:40:0332 days 1 hr ago0xa178682201119217d88cdee77d8651e6b82075a5 IN  WeaponizedCountries: WC Token0 FTM0.000825757886
0x0469797c1fcd2f5dc953e44dee46e86b0c330dccacfaa1be1fc3149da69f6354Set Approval For...565244362023-02-26 3:39:3132 days 1 hr ago0xa178682201119217d88cdee77d8651e6b82075a5 IN  WeaponizedCountries: WC Token0 FTM0.000826155819
0xa9017a56fc908c51df946937cd511262736a18202a6b1a01efbe0b00057a9b0dSet Approval For...565096242023-02-25 20:59:5732 days 7 hrs ago0x6f8a888ba6fa303542fd168cfb58c6ed56edc9e1 IN  WeaponizedCountries: WC Token0 FTM0.002168764061
0xfdc89e853e79a75fa6c27b61c298914f4ec4c00940c55b4697da4c2d0b8fe16dSet Approval For...565096052023-02-25 20:59:2932 days 7 hrs ago0x6f8a888ba6fa303542fd168cfb58c6ed56edc9e1 IN  WeaponizedCountries: WC Token0 FTM0.002145007122
0x1aea858cdd4bf51274faa6b297fb032700a4844b7efd2fe84435d9596f7ee414Set Approval For...565079902023-02-25 20:12:0232 days 8 hrs ago0xb3572f27615cd0d4c8e3b95f20fbbf43ab4d7cbd IN  WeaponizedCountries: WC Token0 FTM0.005093179131
0x2cdd155dc4decadb5ac689034922be6f617d2375747404fa4fbb848b7f4a4823Add Credit557361352023-02-13 23:20:1544 days 5 hrs agoWeaponizedCountries: Deployer IN  WeaponizedCountries: WC Token0 FTM0.016065883211
0xb6027ddf6725b69fb01cbc8b4042a3ce19e2e9b88f1e6ab34b8aba00a1cc4420Set Approval For...552668322023-02-07 14:33:2450 days 14 hrs ago0x4367012b518fa423924e5064a4ff17c0020b70b5 IN  WeaponizedCountries: WC Token0 FTM0.002696678019
0x13633cc9ab9f21d0f60722afd3edfbdee1653870cdf371542e11d14e74a5eabeSafe Transfer Fr...552359012023-02-07 2:32:3551 days 2 hrs ago0x6c4fdc08d58c6a1db1c145ae5d0a847da9df0032 IN  WeaponizedCountries: WC Token0 FTM0.005349417749
0x18723edc4cee1d30a994d8a9596057fbf16efe722818b8cffd13d1476687ccecSet Approval For...550842132023-02-04 20:16:2753 days 8 hrs ago0xcc4e072b0aa6c4934dafc87465afab52c55509af IN  WeaponizedCountries: WC Token0 FTM0.005535047287
0x0d33ef95753e833ac692ff52cfbab1840fee12da38b195372ce1922101a11daeMint550841762023-02-04 20:15:4153 days 8 hrs ago0xcc4e072b0aa6c4934dafc87465afab52c55509af IN  WeaponizedCountries: WC Token69 FTM0.023361545792
0xcbdaeee47b70b396260a25e357c5fadf174751d3ed9f84fb773e6ae122a72367Set Approval For...545732942023-01-28 2:28:3461 days 2 hrs ago0x77b13b881ccec49f721a76c38c4ebe09004ae042 IN  WeaponizedCountries: WC Token0 FTM0.002679279419
0x5bf1547f37a47ecc63fb4f37b8dd87f7507194dba1ca144ebfedf0354a4f1d2cSet Approval For...538078882023-01-15 10:47:4773 days 17 hrs ago0x56157abe1706a2323844ad6d76bd8bc731bb92cf IN  WeaponizedCountries: WC Token0 FTM0.002066863866
0x7f9a9d298abbd2fa233ad6dced572c1e0b70bb50cfeec9d9a80e4265a2692928Set Approval For...537729362023-01-14 19:21:1274 days 9 hrs ago0x4ab70e74fee1f0024b05d38ef448a5f25f40a90b IN  WeaponizedCountries: WC Token0 FTM0.003937299197
0x26225b586a8eed08fcb71596e372cb12e56ce5597498c19ec04497f6ce4cf699Safe Transfer Fr...537425672023-01-14 8:52:0074 days 19 hrs ago0x0f39cd50847f568c66073f0b72c66269971b8a50 IN  WeaponizedCountries: WC Token0 FTM0.03785028
0x8f8416c0030c4aac759143aa2b94e04617965e956ad07e7f059af55905d334acSafe Transfer Fr...529607372022-12-28 5:14:2491 days 23 hrs ago0x750872cb963321506fdf4f037240e821ac39cbfd IN  WeaponizedCountries: WC Token0 FTM0.017489583
0x8f2da69c943e3c182a3208ef04eb0016f453b4241fd421ad4f9fe77036f1841aSet Approval For...526190032022-12-21 9:47:2598 days 18 hrs ago0x1dbaf5afdd389d34c2aadeaa94c256994e7331b0 IN  WeaponizedCountries: WC Token0 FTM0.00165305
0x5e11c9c2b5b13cad9853fdd969a4a4581f6e0e061ecd61dbcb8e4251167cf995Set Approval For...523270672022-12-14 11:24:27105 days 17 hrs ago0x727a10ae1afc91754d357b4748f6d793c9795026 IN  WeaponizedCountries: WC Token0 FTM0.001386841327
0x8def02a1fa2065d80cd267ab54fae7bf590e17fa846f1c6c41dface6564eb67bSafe Transfer Fr...522513172022-12-13 4:19:16107 days 25 mins ago0x750872cb963321506fdf4f037240e821ac39cbfd IN  WeaponizedCountries: WC Token0 FTM0.002709441
0xc2f74cbfe19ded1279c3ad713d1eaae3611d88ac4da5484d07e65e1a268467a2Set Approval For...519677722022-12-06 22:27:59113 days 6 hrs ago0xd51b681526ba8ec9f54b07c3274a9e5bf0c10111 IN  WeaponizedCountries: WC Token0 FTM0.00171222186
0xd01e03867531e02a295e3f7e40e652f1c11a2601898dc03a14c8e6a5d29d2843Add Credit519466452022-12-06 7:38:23113 days 21 hrs agoWeaponizedCountries: Deployer IN  WeaponizedCountries: WC Token0 FTM0.004950437897
[ Download CSV Export 

OVERVIEW

Weaponized Countries is a Fantom trading card NFT collection of 5188 randomized country characters featuring 500+ unique weapons and traits!

Latest 10 internal transactions
Parent Txn Hash Block From To Value
0x48ecf734b0000f83bc8e60e7a91d95b2599fb7298a850d99341d4e73258051c0451296502022-08-17 23:32:43224 days 5 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer690 FTM
0x259e22bf88af0ce72a47571a014b40c4bd4ae7857b90ea92171151006c8dc835368185182022-04-24 0:28:10340 days 4 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer2,208 FTM
0x76dded646d65877fc7320e1c62e03741f2e6007388f0262ebdbbb654d8c25ff1324189942022-03-03 6:57:13391 days 21 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer4,623 FTM
0xafb5cb70718ff0a12253298dde540ce74bdfc0779615f2b4211c77e569cc260c312887792022-02-18 3:09:00405 days 1 hr ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer345 FTM
0xa731564b429e7d496865a26dd927ba1e1a70a0b09e39da68f89ad5b6be338f14308277122022-02-13 8:41:47409 days 20 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer1,242 FTM
0x4b5ec850ca1aa32bc806a91427c28dded743ebc17606d63e7267aa09ebcdbe8d298282412022-02-03 0:23:27420 days 4 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer138 FTM
0x640f980cf0d3ae76e6f529fbdb5970c80996b7d5bfb31059b007717b60f88c02277203482022-01-12 6:57:21441 days 21 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer966 FTM
0x2bfba66cdee4177a12ea2ed5eb70de36e467de34cdff3cf39bf4e22d5088d804235213862021-11-29 23:37:22485 days 5 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer552 FTM
0x16ab7e6be1ea06ff7edd67e29e082318a9f1e74baa7ed170818a1e0764f0e99d202281492021-10-27 6:12:28518 days 22 hrs ago WeaponizedCountries: WC TokenWeaponizedCountries: Deployer14,076.6 FTM
0x9f07e0a32f1e34a166c63dbe69c29f3a40f5a677d72b5eefd3f533fc9d02aaea188321942021-10-11 12:54:13534 days 15 hrs ago WeaponizedCountries: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WeaponizedCountries

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-10-11
*/

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

pragma solidity >=0.6.0 <0.8.0;

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

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


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

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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


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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}


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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

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

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry 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.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

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

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

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

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));
    }

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

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

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

   /**
    * @dev Returns the element 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(uint256(value))));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}


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

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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


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

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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


// File: @openzeppelin/contracts/introspection/IERC165.sol

pragma solidity >=0.6.0 <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: @openzeppelin/contracts/introspection/ERC165.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}


// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}


// File: @openzeppelin/contracts/token/ERC721/IERC721.sol

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}


// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol

pragma solidity >=0.6.2 <0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol

pragma solidity >=0.6.2 <0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


// File: @openzeppelin/contracts/token/ERC721/ERC721.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, tokenId.toString()));
    }

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _tokenOwners.contains(tokenId);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     d*
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId); // internal owner

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner
    }

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


/**
 * @title WeaponizedCountries contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
contract WeaponizedCountries is ERC721, Ownable {
    using SafeMath for uint256;
    uint256 public constant MAX_Supply = 5188;
    uint256 public price = 69000000000000000000; // 69 FTM
    bool public hasSaleStarted = false;
    
    uint256 private scopeIndex = 0;
    uint256 private omitIndex = 0;
    uint256 private ownerIndex = 0;
        
    bool private omitted = false;
    bool private airdropped = false;



    mapping(uint256 => uint256) swappedIDs;
    
    mapping(address => uint256) userCredit;

    // The IPFS hash for all WeaponizedCountries concatenated stored here
    string public METADATA_PROVENANCE_HASH = "4d315de108610def833cc7cb4acfe91af29600ba6370039dd535d21ec4193a24";

    constructor(string memory baseURI) ERC721("WeaponizedCountries","WC")  {
        setBaseURI(baseURI);
    }

    function tokensOfOwner(address _owner) external view returns(uint256[] memory ) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 index;
            for (index = 0; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }

    function genID() private returns(uint256) {
        uint256 scope = MAX_Supply-scopeIndex;
        uint256 swap;
        uint256 result;

        uint256 i = randomNumber() % scope;

        //Setup the value to swap in for the selected ID
        if (swappedIDs[scope-1] == 0){
            swap = scope-1;
        } else {
            swap = swappedIDs[scope-1];
        }

        //Select a random ID, swap it out with an unselected one then shorten the selection range by 1
        if (swappedIDs[i] == 0){
            result = i;
            swappedIDs[i] = swap;
        } else {
            result = swappedIDs[i];
            swappedIDs[i] = swap;
        }
        return result+1;
    }

    function randomNumber() private view returns(uint256){
        return uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp)));
    }

    function mint(uint256 numWeaponizedCountries) public payable {
        require(hasSaleStarted == true, "Sale hasn't started");
        require(totalSupply().add(numWeaponizedCountries) <= MAX_Supply, "Exceeds MAX_Supply");
        
        if (totalSupply() >= 1000){
            require(numWeaponizedCountries > 0 && numWeaponizedCountries <= 24, "You can mint minimum 1, maximum 24 WeaponizedCountries");
            
            if (numWeaponizedCountries == 24) {
                require(msg.value >= price.mul(numWeaponizedCountries).mul(20).div(24), "FTM value sent is below the price");
            } else if (numWeaponizedCountries >= 7) {
                require(msg.value >= price.mul(numWeaponizedCountries).mul(6).div(7), "FTM value sent is below the price");
            } else {
                require(msg.value >= price.mul(numWeaponizedCountries), "FTM value sent is below the price");
            }
            
        }else {
            require(numWeaponizedCountries == 1, "You can only mint 1 FREE WeaponizedCountries per transaction");
        }
        
        
        for (uint i = 0; i < numWeaponizedCountries; i++) {
            _safeMint(msg.sender, genID());
            scopeIndex++;
        }
    }
    
    function mintCredit() public {
        require(hasSaleStarted == true, "Sale hasn't started");
        require(totalSupply().add(1) <= MAX_Supply, "Exceeds MAX_Supply");
        require(userCredit[msg.sender] >= 1, "No Credits");

        _safeMint(msg.sender, genID());
        scopeIndex++;
        userCredit[msg.sender] -= 1;
    }

    function balanceOfCredit(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return userCredit[owner];
    }

    // Owner Functions
    function setBaseURI(string memory baseURI) public onlyOwner {
        _setBaseURI(baseURI);
    }

    function startSale() public onlyOwner {
        require(omitted == true, "tokenIDs minted on Ethereum have not yet been excluded");
        require(airdropped == true, "Founders NFTs have not been airdropped");
        hasSaleStarted = true;
    }
    
    function pauseSale() public onlyOwner {
        hasSaleStarted = false;
    }

    function withdrawAll() public onlyOwner {
        msg.sender.transfer(address(this).balance);
    }
    
    function addCredit(address owner, uint256 credits) public onlyOwner {
        userCredit[owner] += credits;
    }
    
    //Eliminate existing ETH NFTS from standard minting
    function omitExisting(uint256[] memory existing, uint256 stackSize) public onlyOwner {
        require(omitted == false, "Pre-existing ETH NFTs are already accounted for");

        bool finalLoop = false;
        
        for (uint256 ID = 0; ID < stackSize; ID++){
            uint256 scope = MAX_Supply-scopeIndex;
            uint256 swap;
            uint256 i = existing[omitIndex]-1;
            
           //Setup the value to swap in for the selected ID
            if (swappedIDs[scope-1] == 0){
                swap = scope-1;
            } else {
                swap = swappedIDs[scope-1];
            }
    
            swappedIDs[i] = swap;
            
            scopeIndex++;
            omitIndex++;
            if (omitIndex >= existing.length){
                finalLoop = true;
                break;
            }
        }
        
        if (finalLoop == true){
            omitted = true;
        }
    }
    
    //Airdrop function 
    function bridgeBatchMint(address[] memory to, uint256[] memory tokenId, uint256 stackSize) public onlyOwner{
        require(omitted == true, "tokenIDs minted on Ethereum have not yet been excluded");
        require(airdropped == false, "Founders NFTs have been airdropped");
        
        bool finalLoop = false;
        
        for (uint256 ID = 0; ID < stackSize; ID++){
            address owner = to[ownerIndex];
            uint256 token = tokenId[ownerIndex];
            
            _safeMint(owner, token);
            
            ownerIndex++;
            if (ownerIndex >= to.length){
                finalLoop = true;
                break;
            }
        }
        
        if (finalLoop == true){
            airdropped = true;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_Supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"credits","type":"uint256"}],"name":"addCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfCredit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"internalType":"uint256","name":"stackSize","type":"uint256"}],"name":"bridgeBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numWeaponizedCountries","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"existing","type":"uint256[]"},{"internalType":"uint256","name":"stackSize","type":"uint256"}],"name":"omitExisting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526803bd913e6c1df40000600b556000600c60006101000a81548160ff0219169083151502179055506000600d556000600e556000600f556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff021916908315150217905550604051806060016040528060408152602001620053256040913960139080519060200190620000a29291906200058b565b50348015620000b057600080fd5b50604051620053653803806200536583398181016040526020811015620000d657600080fd5b8101908080516040519392919084640100000000821115620000f757600080fd5b838201915060208201858111156200010e57600080fd5b82518660018202830111640100000000821117156200012c57600080fd5b8083526020830192505050908051906020019080838360005b838110156200016257808201518184015260208101905062000145565b50505050905090810190601f168015620001905780820380516001836020036101000a031916815260200191505b506040525050506040518060400160405280601381526020017f576561706f6e697a6564436f756e7472696573000000000000000000000000008152506040518060400160405280600281526020017f57430000000000000000000000000000000000000000000000000000000000008152506200021b6301ffc9a760e01b6200036060201b60201c565b8160069080519060200190620002339291906200058b565b5080600790805190602001906200024c9291906200058b565b50620002656380ac58cd60e01b6200036060201b60201c565b6200027d635b5e139f60e01b6200036060201b60201c565b6200029563780e9d6360e01b6200036060201b60201c565b50506000620002a96200046960201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35062000359816200047160201b60201c565b5062000641565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620003fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b620004816200046960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004a76200054560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000531576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b62000542816200056f60201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8060099080519060200190620005879291906200058b565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620005c357600085556200060f565b82601f10620005de57805160ff19168380011785556200060f565b828001600101855582156200060f579182015b828111156200060e578251825591602001919060010190620005f1565b5b5090506200061e919062000622565b5090565b5b808211156200063d57600081600090555060010162000623565b5090565b614cd480620006516000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd14610eaf578063e985e9c514610f63578063f0c9dc6014610fea578063f2fde38b1461107a578063f3234a67146110cb57610204565b8063a0712d6814610cfb578063a22cb46514610d29578063b66a0e5d14610d86578063b88d4fde14610d9d57610204565b80638da5cb5b116100e75780638da5cb5b146109cd578063952bf07114610a0e57806395d89b4114610b715780639eba016f14610c01578063a035b1fe14610cd057610204565b8063715018a61461089e5780637d27d66c146108b55780638462151c14610910578063853828b6146109b657610204565b806323b872dd1161019b57806355367ba91161016a57806355367ba91461066557806355f804b31461067c5780636352211e146107445780636c0360eb146107a957806370a082311461083957610204565b806323b872dd146104b15780632f745c591461052c57806342842e0e1461059b5780634f6ccce71461061657610204565b80630b191314116101d75780630b191314146103c957806314a1fc35146103f457806318160ddd146104595780631c8b232d1461048457610204565b806301ffc9a71461020957806306fdde0314610279578063081812fc14610309578063095ea7b31461036e575b600080fd5b34801561021557600080fd5b506102616004803603602081101561022c57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690602001909291905050506110e2565b60405180821515815260200191505060405180910390f35b34801561028557600080fd5b5061028e611149565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102ce5780820151818401526020810190506102b3565b50505050905090810190601f1680156102fb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561031557600080fd5b506103426004803603602081101561032c57600080fd5b81019080803590602001909291905050506111eb565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561037a57600080fd5b506103c76004803603604081101561039157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611286565b005b3480156103d557600080fd5b506103de6113ca565b6040518082815260200191505060405180910390f35b34801561040057600080fd5b506104436004803603602081101561041757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113d0565b6040518082815260200191505060405180910390f35b34801561046557600080fd5b5061046e61149e565b6040518082815260200191505060405180910390f35b34801561049057600080fd5b506104996114af565b60405180821515815260200191505060405180910390f35b3480156104bd57600080fd5b5061052a600480360360608110156104d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506114c2565b005b34801561053857600080fd5b506105856004803603604081101561054f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611538565b6040518082815260200191505060405180910390f35b3480156105a757600080fd5b50610614600480360360608110156105be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611593565b005b34801561062257600080fd5b5061064f6004803603602081101561063957600080fd5b81019080803590602001909291905050506115b3565b6040518082815260200191505060405180910390f35b34801561067157600080fd5b5061067a6115d6565b005b34801561068857600080fd5b506107426004803603602081101561069f57600080fd5b81019080803590602001906401000000008111156106bc57600080fd5b8201836020820111156106ce57600080fd5b803590602001918460018302840111640100000000831117156106f057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506116a2565b005b34801561075057600080fd5b5061077d6004803603602081101561076757600080fd5b810190808035906020019092919050505061175d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156107b557600080fd5b506107be611794565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107fe5780820151818401526020810190506107e3565b50505050905090810190601f16801561082b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561084557600080fd5b506108886004803603602081101561085c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611836565b6040518082815260200191505060405180910390f35b3480156108aa57600080fd5b506108b361190b565b005b3480156108c157600080fd5b5061090e600480360360408110156108d857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a7b565b005b34801561091c57600080fd5b5061095f6004803603602081101561093357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b7b565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156109a2578082015181840152602081019050610987565b505050509050019250505060405180910390f35b3480156109c257600080fd5b506109cb611c74565b005b3480156109d957600080fd5b506109e2611d6c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610a1a57600080fd5b50610b6f60048036036060811015610a3157600080fd5b8101908080359060200190640100000000811115610a4e57600080fd5b820183602082011115610a6057600080fd5b80359060200191846020830284011164010000000083111715610a8257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190640100000000811115610ae257600080fd5b820183602082011115610af457600080fd5b80359060200191846020830284011164010000000083111715610b1657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050919291929080359060200190929190505050611d96565b005b348015610b7d57600080fd5b50610b86611fcd565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bc6578082015181840152602081019050610bab565b50505050905090810190601f168015610bf35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610c0d57600080fd5b50610cce60048036036040811015610c2457600080fd5b8101908080359060200190640100000000811115610c4157600080fd5b820183602082011115610c5357600080fd5b80359060200191846020830284011164010000000083111715610c7557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019092919050505061206f565b005b348015610cdc57600080fd5b50610ce5612294565b6040518082815260200191505060405180910390f35b610d2760048036036020811015610d1157600080fd5b810190808035906020019092919050505061229a565b005b348015610d3557600080fd5b50610d8460048036036040811015610d4c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612678565b005b348015610d9257600080fd5b50610d9b61282e565b005b348015610da957600080fd5b50610ead60048036036080811015610dc057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610e2757600080fd5b820183602082011115610e3957600080fd5b80359060200191846001830284011164010000000083111715610e5b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506129d2565b005b348015610ebb57600080fd5b50610ee860048036036020811015610ed257600080fd5b8101908080359060200190929190505050612a4a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610f28578082015181840152602081019050610f0d565b50505050905090810190601f168015610f555780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610f6f57600080fd5b50610fd260048036036040811015610f8657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612d1b565b60405180821515815260200191505060405180910390f35b348015610ff657600080fd5b50610fff612daf565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561103f578082015181840152602081019050611024565b50505050905090810190601f16801561106c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561108657600080fd5b506110c96004803603602081101561109d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612e4d565b005b3480156110d757600080fd5b506110e0613042565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111e15780601f106111b6576101008083540402835291602001916111e1565b820191906000526020600020905b8154815290600101906020018083116111c457829003601f168201915b5050505050905090565b60006111f682613286565b61124b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614b10602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006112918261175d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611318576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614bca6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166113376132a3565b73ffffffffffffffffffffffffffffffffffffffff1614806113665750611365816113606132a3565b612d1b565b5b6113bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180614a426038913960400191505060405180910390fd5b6113c583836132ab565b505050565b61144481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614a7a602a913960400191505060405180910390fd5b601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006114aa6002613364565b905090565b600c60009054906101000a900460ff1681565b6114d36114cd6132a3565b82613379565b611528576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614c0c6031913960400191505060405180910390fd5b61153383838361346d565b505050565b600061158b82600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206136b090919063ffffffff16565b905092915050565b6115ae838383604051806020016040528060008152506129d2565b505050565b6000806115ca8360026136ca90919063ffffffff16565b50905080915050919050565b6115de6132a3565b73ffffffffffffffffffffffffffffffffffffffff166115fc611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611685576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000600c60006101000a81548160ff021916908315150217905550565b6116aa6132a3565b73ffffffffffffffffffffffffffffffffffffffff166116c8611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611751576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61175a816136f6565b50565b600061178d82604051806060016040528060298152602001614aa46029913960026137109092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561182c5780601f106118015761010080835404028352916020019161182c565b820191906000526020600020905b81548152906001019060200180831161180f57829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614a7a602a913960400191505060405180910390fd5b611904600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061372f565b9050919050565b6119136132a3565b73ffffffffffffffffffffffffffffffffffffffff16611931611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146119ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611a836132a3565b73ffffffffffffffffffffffffffffffffffffffff16611aa1611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611b2a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505050565b60606000611b8883611836565b90506000811415611be357600067ffffffffffffffff81118015611bab57600080fd5b50604051908082528060200260200182016040528015611bda5781602001602082028036833780820191505090505b50915050611c6f565b60608167ffffffffffffffff81118015611bfc57600080fd5b50604051908082528060200260200182016040528015611c2b5781602001602082028036833780820191505090505b50905060005b82811015611c6857611c438582611538565b828281518110611c4f57fe5b6020026020010181815250508080600101915050611c31565b8193505050505b919050565b611c7c6132a3565b73ffffffffffffffffffffffffffffffffffffffff16611c9a611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611d23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611d69573d6000803e3d6000fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d9e6132a3565b73ffffffffffffffffffffffffffffffffffffffff16611dbc611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611e45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60011515601060009054906101000a900460ff16151514611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614b946036913960400191505060405180910390fd5b60001515601060019054906101000a900460ff16151514611f1d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149ce6022913960400191505060405180910390fd5b6000805b82811015611f9d57600085600f5481518110611f3957fe5b60200260200101519050600085600f5481518110611f5357fe5b60200260200101519050611f678282613744565b600f600081548092919060010191905055508651600f5410611f8e57600193505050611f9d565b50508080600101915050611f21565b50600115158115151415611fc7576001601060016101000a81548160ff0219169083151502179055505b50505050565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120655780601f1061203a57610100808354040283529160200191612065565b820191906000526020600020905b81548152906001019060200180831161204857829003601f168201915b5050505050905090565b6120776132a3565b73ffffffffffffffffffffffffffffffffffffffff16612095611d6c565b73ffffffffffffffffffffffffffffffffffffffff161461211e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60001515601060009054906101000a900460ff1615151461218a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061499f602f913960400191505060405180910390fd5b6000805b82811015612265576000600d54611444039050600080600187600e54815181106121b457fe5b60200260200101510390506000601160006001860381526020019081526020016000205414156121e957600183039150612203565b601160006001850381526020019081526020016000205491505b816011600083815260200190815260200160002081905550600d60008154809291906001019190505550600e600081548092919060010191905055508651600e54106122555760019450505050612265565b505050808060010191505061218e565b5060011515811515141561228f576001601060006101000a81548160ff0219169083151502179055505b505050565b600b5481565b60011515600c60009054906101000a900460ff16151514612323576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f53616c65206861736e277420737461727465640000000000000000000000000081525060200191505060405180910390fd5b6114446123408261233261149e565b61376290919063ffffffff16565b11156123b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f45786365656473204d41585f537570706c79000000000000000000000000000081525060200191505060405180910390fd5b6103e86123bf61149e565b106125df576000811180156123d5575060188111155b61242a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806149456036913960400191505060405180910390fd5b60188114156124cb5761246e6018612460601461245285600b546137ea90919063ffffffff16565b6137ea90919063ffffffff16565b61387090919063ffffffff16565b3410156124c6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614beb6021913960400191505060405180910390fd5b6125da565b6007811061256b5761250e600761250060066124f285600b546137ea90919063ffffffff16565b6137ea90919063ffffffff16565b61387090919063ffffffff16565b341015612566576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614beb6021913960400191505060405180910390fd5b6125d9565b61258081600b546137ea90919063ffffffff16565b3410156125d8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614beb6021913960400191505060405180910390fd5b5b5b612639565b60018114612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180614c63603c913960400191505060405180910390fd5b5b60005b8181101561267457612655336126506138f9565b613744565b600d60008154809291906001019190505550808060010191505061263c565b5050565b6126806132a3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b806005600061272e6132a3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166127db6132a3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b6128366132a3565b73ffffffffffffffffffffffffffffffffffffffff16612854611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146128dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60011515601060009054906101000a900460ff16151514612949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614b946036913960400191505060405180910390fd5b60011515601060019054906101000a900460ff161515146129b5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614c3d6026913960400191505060405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b6129e36129dd6132a3565b83613379565b612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614c0c6031913960400191505060405180910390fd5b612a44848484846139d9565b50505050565b6060612a5582613286565b612aaa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614b65602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b535780601f10612b2857610100808354040283529160200191612b53565b820191906000526020600020905b815481529060010190602001808311612b3657829003601f168201915b505050505090506060612b64611794565b9050600081511415612b7a578192505050612d16565b600082511115612c4b5780826040516020018083805190602001908083835b60208310612bbc5780518252602082019150602081019050602083039250612b99565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612c0d5780518252602082019150602081019050602083039250612bea565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050612d16565b80612c5585613a4b565b6040516020018083805190602001908083835b60208310612c8b5780518252602082019150602081019050602083039250612c68565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612cdc5780518252602082019150602081019050602083039250612cb9565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60138054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612e455780601f10612e1a57610100808354040283529160200191612e45565b820191906000526020600020905b815481529060010190602001808311612e2857829003601f168201915b505050505081565b612e556132a3565b73ffffffffffffffffffffffffffffffffffffffff16612e73611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614612efc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061491f6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60011515600c60009054906101000a900460ff161515146130cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f53616c65206861736e277420737461727465640000000000000000000000000081525060200191505060405180910390fd5b6114446130e960016130db61149e565b61376290919063ffffffff16565b111561315d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f45786365656473204d41585f537570706c79000000000000000000000000000081525060200191505060405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015613213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e6f20437265646974730000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6132243361321f6138f9565b613744565b600d600081548092919060010191905055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550565b600061329c826002613b9290919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661331e8361175d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061337282600001613bac565b9050919050565b600061338482613286565b6133d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a16602c913960400191505060405180910390fd5b60006133e48361175d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061345357508373ffffffffffffffffffffffffffffffffffffffff1661343b846111eb565b73ffffffffffffffffffffffffffffffffffffffff16145b8061346457506134638185612d1b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661348d8261175d565b73ffffffffffffffffffffffffffffffffffffffff16146134f9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614b3c6029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561357f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061497b6024913960400191505060405180910390fd5b61358a838383613bbd565b6135956000826132ab565b6135e681600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613bc290919063ffffffff16565b5061363881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613bdc90919063ffffffff16565b5061364f81836002613bf69092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006136bf8360000183613c2b565b60001c905092915050565b6000806000806136dd8660000186613cae565b915091508160001c8160001c9350935050509250929050565b806009908051906020019061370c92919061481f565b5050565b6000613723846000018460001b84613d47565b60001c90509392505050565b600061373d82600001613e3d565b9050919050565b61375e828260405180602001604052806000815250613e4e565b5050565b6000808284019050838110156137e0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000808314156137fd576000905061386a565b600082840290508284828161380e57fe5b0414613865576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614aef6021913960400191505060405180910390fd5b809150505b92915050565b60008082116138e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816138f057fe5b04905092915050565b600080600d54611444039050600080600083613913613ebf565b8161391a57fe5b06905060006011600060018703815260200190815260200160002054141561394757600184039250613961565b601160006001860381526020019081526020016000205492505b60006011600083815260200190815260200160002054141561399d578091508260116000838152602001908152602001600020819055506139cc565b601160008281526020019081526020016000205491508260116000838152602001908152602001600020819055505b6001820194505050505090565b6139e484848461346d565b6139f084848484613ef8565b613a45576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148ed6032913960400191505060405180910390fd5b50505050565b60606000821415613a93576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613b8d565b600082905060005b60008214613abd578080600101915050600a8281613ab557fe5b049150613a9b565b60608167ffffffffffffffff81118015613ad657600080fd5b506040519080825280601f01601f191660200182016040528015613b095781602001600182028036833780820191505090505b50905060006001830390508593505b60008414613b8557600a8481613b2a57fe5b0660300160f81b82828060019003935081518110613b4457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481613b7d57fe5b049350613b18565b819450505050505b919050565b6000613ba4836000018360001b614111565b905092915050565b600081600001805490509050919050565b505050565b6000613bd4836000018360001b614134565b905092915050565b6000613bee836000018360001b61421c565b905092915050565b6000613c22846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b61428c565b90509392505050565b600081836000018054905011613c8c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148cb6022913960400191505060405180910390fd5b826000018281548110613c9b57fe5b9060005260206000200154905092915050565b60008082846000018054905011613d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614acd6022913960400191505060405180910390fd5b6000846000018481548110613d2157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613e0e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613dd3578082015181840152602081019050613db8565b50505050905090810190601f168015613e005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110613e2157fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b613e588383614368565b613e656000848484613ef8565b613eba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148ed6032913960400191505060405180910390fd5b505050565b6000444260405160200180838152602001828152602001925050506040516020818303038152906040528051906020012060001c905090565b6000613f198473ffffffffffffffffffffffffffffffffffffffff1661455c565b613f265760019050614109565b606061409063150b7a0260e01b613f3b6132a3565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613fbf578082015181840152602081019050613fa4565b50505050905090810190601f168015613fec5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016148ed603291398773ffffffffffffffffffffffffffffffffffffffff1661456f9092919063ffffffff16565b905060008180602001905160208110156140a957600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114614210576000600182039050600060018660000180549050039050600086600001828154811061417f57fe5b906000526020600020015490508087600001848154811061419c57fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806141d457fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050614216565b60009150505b92915050565b60006142288383614587565b614281578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050614286565b600090505b92915050565b600080846001016000858152602001908152602001600020549050600081141561433357846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050614361565b8285600001600183038154811061434657fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561440b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61441481613286565b15614487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61449360008383613bbd565b6144e481600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613bdc90919063ffffffff16565b506144fb81836002613bf69092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b606061457e84846000856145aa565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015614605576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149f06026913960400191505060405180910390fd5b61460e8561455c565b614680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106146d057805182526020820191506020810190506020830392506146ad565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614732576040519150601f19603f3d011682016040523d82523d6000602084013e614737565b606091505b5091509150614747828286614753565b92505050949350505050565b6060831561476357829050614818565b6000835111156147765782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156147dd5780820151818401526020810190506147c2565b50505050905090810190601f16801561480a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282614855576000855561489c565b82601f1061486e57805160ff191683800117855561489c565b8280016001018555821561489c579182015b8281111561489b578251825591602001919060010190614880565b5b5090506148a991906148ad565b5090565b5b808211156148c65760008160009055506001016148ae565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373596f752063616e206d696e74206d696e696d756d20312c206d6178696d756d20323420576561706f6e697a6564436f756e74726965734552433732313a207472616e7366657220746f20746865207a65726f20616464726573735072652d6578697374696e6720455448204e4654732061726520616c7265616479206163636f756e74656420666f72466f756e64657273204e4654732068617665206265656e2061697264726f70706564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e746f6b656e494473206d696e746564206f6e20457468657265756d2068617665206e6f7420796574206265656e206578636c756465644552433732313a20617070726f76616c20746f2063757272656e74206f776e657246544d2076616c75652073656e742069732062656c6f77207468652070726963654552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564466f756e64657273204e4654732068617665206e6f74206265656e2061697264726f70706564596f752063616e206f6e6c79206d696e742031204652454520576561706f6e697a6564436f756e747269657320706572207472616e73616374696f6ea26469706673582212200fa4a857934fcf8f76e94a7f14272247f147ceaf88c8f54539b47899cdf8e34f64736f6c63430007050033346433313564653130383631306465663833336363376362346163666539316166323936303062613633373030333964643533356432316563343139336132340000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d624b474a7532505031366f38337a7545356d45476273354c65424a4b4c4d524162513554755467316e3751332f00000000000000000000000000000000000000000000000000000000

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d624b474a7532505031366f38337a7545356d45476273354c65424a4b4c4d524162513554755467316e3751332f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://ipfs.io/ipfs/QmbKGJu2PP16o83zuE5mEGbs5LeBJKLMRAbQ5TuTg1n7Q3/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [2] : 68747470733a2f2f697066732e696f2f697066732f516d624b474a7532505031
Arg [3] : 366f38337a7545356d45476273354c65424a4b4c4d524162513554755467316e
Arg [4] : 3751332f00000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

66838:6689:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41382:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53764:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56550:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;56080:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;66926:41;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;70739:206;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55558:211;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;67034:34;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;57440:305;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55320:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57816:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55846:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;71347:79;;;;;;;;;;;;;:::i;:::-;;70977:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53520:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55139:97;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53237:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2746:148;;;;;;;;;;;;;:::i;:::-;;71547:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67686:540;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71434:101;;;;;;;;;;;;;:::i;:::-;;2095:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;72731:793;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53933:104;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71731:963;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;66974:43;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;69119:1257;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56843:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;71084:251;;;;;;;;;;;;;:::i;:::-;;58038:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54108:792;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57209:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67453:107;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3049:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;70388:343;;;;;;;;;;;;;:::i;:::-;;41382:150;41467:4;41491:20;:33;41512:11;41491:33;;;;;;;;;;;;;;;;;;;;;;;;;;;41484:40;;41382:150;;;:::o;53764:100::-;53818:13;53851:5;53844:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53764:100;:::o;56550:221::-;56626:7;56654:16;56662:7;56654;:16::i;:::-;56646:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56739:15;:24;56755:7;56739:24;;;;;;;;;;;;;;;;;;;;;56732:31;;56550:221;;;:::o;56080:404::-;56161:13;56177:23;56192:7;56177:14;:23::i;:::-;56161:39;;56225:5;56219:11;;:2;:11;;;;56211:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56305:5;56289:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;56314:44;56338:5;56345:12;:10;:12::i;:::-;56314:23;:44::i;:::-;56289:69;56281:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56455:21;56464:2;56468:7;56455:8;:21::i;:::-;56080:404;;;:::o;66926:41::-;66963:4;66926:41;:::o;70739:206::-;70808:7;70853:1;70836:19;;:5;:19;;;;70828:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70920:10;:17;70931:5;70920:17;;;;;;;;;;;;;;;;70913:24;;70739:206;;;:::o;55558:211::-;55619:7;55740:21;:12;:19;:21::i;:::-;55733:28;;55558:211;:::o;67034:34::-;;;;;;;;;;;;;:::o;57440:305::-;57601:41;57620:12;:10;:12::i;:::-;57634:7;57601:18;:41::i;:::-;57593:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57709:28;57719:4;57725:2;57729:7;57709:9;:28::i;:::-;57440:305;;;:::o;55320:162::-;55417:7;55444:30;55468:5;55444:13;:20;55458:5;55444:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;55437:37;;55320:162;;;;:::o;57816:151::-;57920:39;57937:4;57943:2;57947:7;57920:39;;;;;;;;;;;;:16;:39::i;:::-;57816:151;;;:::o;55846:172::-;55921:7;55942:15;55963:22;55979:5;55963:12;:15;;:22;;;;:::i;:::-;55941:44;;;56003:7;55996:14;;;55846:172;;;:::o;71347:79::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71413:5:::1;71396:14;;:22;;;;;;;;;;;;;;;;;;71347:79::o:0;70977:99::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71048:20:::1;71060:7;71048:11;:20::i;:::-;70977:99:::0;:::o;53520:177::-;53592:7;53619:70;53636:7;53619:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;53612:77;;53520:177;;;:::o;55139:97::-;55187:13;55220:8;55213:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55139:97;:::o;53237:221::-;53309:7;53354:1;53337:19;;:5;:19;;;;53329:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53421:29;:13;:20;53435:5;53421:20;;;;;;;;;;;;;;;:27;:29::i;:::-;53414:36;;53237:221;;;:::o;2746:148::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2853:1:::1;2816:40;;2837:6;;;;;;;;;;;2816:40;;;;;;;;;;;;2884:1;2867:6;;:19;;;;;;;;;;;;;;;;;;2746:148::o:0;71547:115::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71647:7:::1;71626:10;:17;71637:5;71626:17;;;;;;;;;;;;;;;;:28;;;;;;;;;;;71547:115:::0;;:::o;67686:540::-;67747:16;67777:18;67798:17;67808:6;67798:9;:17::i;:::-;67777:38;;67844:1;67830:10;:15;67826:393;;;67921:1;67907:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67900:23;;;;;67826:393;67956:23;67996:10;67982:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67956:51;;68022:13;68050:130;68074:10;68066:5;:18;68050:130;;;68130:34;68150:6;68158:5;68130:19;:34::i;:::-;68114:6;68121:5;68114:13;;;;;;;;;;;;;:50;;;;;68086:7;;;;;;;68050:130;;;68201:6;68194:13;;;;;67686:540;;;;:::o;71434:101::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71485:10:::1;:19;;:42;71505:21;71485:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;71434:101::o:0;2095:87::-;2141:7;2168:6;;;;;;;;;;;2161:13;;2095:87;:::o;72731:793::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72868:4:::1;72857:15;;:7;;;;;;;;;;;:15;;;72849:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72964:5;72950:19;;:10;;;;;;;;;;;:19;;;72942:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73029:14;73077:10:::0;73072:359:::1;73098:9;73093:2;:14;73072:359;;;73129:13;73145:2;73148:10;;73145:14;;;;;;;;;;;;;;73129:30;;73174:13;73190:7;73198:10;;73190:19;;;;;;;;;;;;;;73174:35;;73238:23;73248:5;73255;73238:9;:23::i;:::-;73290:10;;:12;;;;;;;;;;;;;73335:2;:9;73321:10;;:23;73317:103;;73376:4;73364:16;;73399:5;;;;73317:103;73072:359;;73109:4;;;;;;;73072:359;;;;73468:4;73455:17;;:9;:17;;;73451:66;;;73501:4;73488:10;;:17;;;;;;;;;;;;;;;;;;73451:66;2386:1;72731:793:::0;;;:::o;53933:104::-;53989:13;54022:7;54015:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53933:104;:::o;71731:963::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71846:5:::1;71835:16;;:7;;;;;;;;;;;:16;;;71827:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71916:14;71964:10:::0;71959:645:::1;71985:9;71980:2;:14;71959:645;;;72016:13;72043:10;;66963:4;72032:21;72016:37;;72068:12;72095:9:::0;72127:1:::1;72107:8;72116:9;;72107:19;;;;;;;;;;;;;;:21;72095:33;;72245:1;72222:10;:19;72239:1;72233:5;:7;72222:19;;;;;;;;;;;;:24;72218:145;;;72279:1;72273:5;:7;72266:14;;72218:145;;;72328:10;:19;72345:1;72339:5;:7;72328:19;;;;;;;;;;;;72321:26;;72218:145;72399:4;72383:10;:13;72394:1;72383:13;;;;;;;;;;;:20;;;;72432:10;;:12;;;;;;;;;;;;;72459:9;;:11;;;;;;;;;;;;;72502:8;:15;72489:9;;:28;72485:108;;72549:4;72537:16;;72572:5;;;;;72485:108;71959:645;;;71996:4;;;;;;;71959:645;;;;72641:4;72628:17;;:9;:17;;;72624:63;;;72671:4;72661:7;;:14;;;;;;;;;;;;;;;;;;72624:63;2386:1;71731:963:::0;;:::o;66974:43::-;;;;:::o;69119:1257::-;69217:4;69199:22;;:14;;;;;;;;;;;:22;;;69191:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66963:4;69264:41;69282:22;69264:13;:11;:13::i;:::-;:17;;:41;;;;:::i;:::-;:55;;69256:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69384:4;69367:13;:11;:13::i;:::-;:21;69363:842;;69437:1;69412:22;:26;:58;;;;;69468:2;69442:22;:28;;69412:58;69404:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69588:2;69562:22;:28;69558:490;;;69632:49;69678:2;69632:41;69670:2;69632:33;69642:22;69632:5;;:9;;:33;;;;:::i;:::-;:37;;:41;;;;:::i;:::-;:45;;:49;;;;:::i;:::-;69619:9;:62;;69611:108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69558:490;;;69771:1;69745:22;:27;69741:307;;69814:47;69859:1;69814:40;69852:1;69814:33;69824:22;69814:5;;:9;;:33;;;;:::i;:::-;:37;;:40;;;;:::i;:::-;:44;;:47;;;;:::i;:::-;69801:9;:60;;69793:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69741:307;;;69961:33;69971:22;69961:5;;:9;;:33;;;;:::i;:::-;69948:9;:46;;69940:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69741:307;69558:490;69363:842;;;70127:1;70101:22;:27;70093:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69363:842;70240:6;70235:134;70256:22;70252:1;:26;70235:134;;;70300:30;70310:10;70322:7;:5;:7::i;:::-;70300:9;:30::i;:::-;70345:10;;:12;;;;;;;;;;;;;70280:3;;;;;;;70235:134;;;;69119:1257;:::o;56843:295::-;56958:12;:10;:12::i;:::-;56946:24;;:8;:24;;;;56938:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57058:8;57013:18;:32;57032:12;:10;:12::i;:::-;57013:32;;;;;;;;;;;;;;;:42;57046:8;57013:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;57111:8;57082:48;;57097:12;:10;:12::i;:::-;57082:48;;;57121:8;57082:48;;;;;;;;;;;;;;;;;;;;56843:295;;:::o;71084:251::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71152:4:::1;71141:15;;:7;;;;;;;;;;;:15;;;71133:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71248:4;71234:18;;:10;;;;;;;;;;;:18;;;71226:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71323:4;71306:14;;:21;;;;;;;;;;;;;;;;;;71084:251::o:0;58038:285::-;58170:41;58189:12;:10;:12::i;:::-;58203:7;58170:18;:41::i;:::-;58162:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58276:39;58290:4;58296:2;58300:7;58309:5;58276:13;:39::i;:::-;58038:285;;;;:::o;54108:792::-;54181:13;54215:16;54223:7;54215;:16::i;:::-;54207:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54296:23;54322:10;:19;54333:7;54322:19;;;;;;;;;;;54296:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54352:18;54373:9;:7;:9::i;:::-;54352:30;;54480:1;54464:4;54458:18;:23;54454:72;;;54505:9;54498:16;;;;;;54454:72;54656:1;54636:9;54630:23;:27;54626:108;;;54705:4;54711:9;54688:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54674:48;;;;;;54626:108;54866:4;54872:18;:7;:16;:18::i;:::-;54849:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54835:57;;;;54108:792;;;;:::o;57209:164::-;57306:4;57330:18;:25;57349:5;57330:25;;;;;;;;;;;;;;;:35;57356:8;57330:35;;;;;;;;;;;;;;;;;;;;;;;;;57323:42;;57209:164;;;;:::o;67453:107::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3049:244::-;2326:12;:10;:12::i;:::-;2315:23;;:7;:5;:7::i;:::-;:23;;;2307:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3158:1:::1;3138:22;;:8;:22;;;;3130:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3248:8;3219:38;;3240:6;;;;;;;;;;;3219:38;;;;;;;;;;;;3277:8;3268:6;;:17;;;;;;;;;;;;;;;;;;3049:244:::0;:::o;70388:343::-;70454:4;70436:22;;:14;;;;;;;;;;;:22;;;70428:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66963:4;70501:20;70519:1;70501:13;:11;:13::i;:::-;:17;;:20;;;;:::i;:::-;:34;;70493:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70603:1;70577:10;:22;70588:10;70577:22;;;;;;;;;;;;;;;;:27;;70569:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70632:30;70642:10;70654:7;:5;:7::i;:::-;70632:9;:30::i;:::-;70673:10;;:12;;;;;;;;;;;;;70722:1;70696:10;:22;70707:10;70696:22;;;;;;;;;;;;;;;;:27;;;;;;;;;;;70388:343::o;59790:127::-;59855:4;59879:30;59901:7;59879:12;:21;;:30;;;;:::i;:::-;59872:37;;59790:127;;;:::o;632:106::-;685:15;720:10;713:17;;632:106;:::o;65808:192::-;65910:2;65883:15;:24;65899:7;65883:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;65966:7;65962:2;65928:46;;65937:23;65952:7;65937:14;:23::i;:::-;65928:46;;;;;;;;;;;;65808:192;;:::o;12358:123::-;12427:7;12454:19;12462:3;:10;;12454:7;:19::i;:::-;12447:26;;12358:123;;;:::o;60084:355::-;60177:4;60202:16;60210:7;60202;:16::i;:::-;60194:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60278:13;60294:23;60309:7;60294:14;:23::i;:::-;60278:39;;60347:5;60336:16;;:7;:16;;;:51;;;;60380:7;60356:31;;:20;60368:7;60356:11;:20::i;:::-;:31;;;60336:51;:94;;;;60391:39;60415:5;60422:7;60391:23;:39::i;:::-;60336:94;60328:103;;;60084:355;;;;:::o;63220:599::-;63345:4;63318:31;;:23;63333:7;63318:14;:23::i;:::-;:31;;;63310:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63446:1;63432:16;;:2;:16;;;;63424:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63502:39;63523:4;63529:2;63533:7;63502:20;:39::i;:::-;63606:29;63623:1;63627:7;63606:8;:29::i;:::-;63648:35;63675:7;63648:13;:19;63662:4;63648:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;63694:30;63716:7;63694:13;:17;63708:2;63694:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;63737:29;63754:7;63763:2;63737:12;:16;;:29;;;;;:::i;:::-;;63803:7;63799:2;63784:27;;63793:4;63784:27;;;;;;;;;;;;63220:599;;;:::o;23896:137::-;23967:7;24002:22;24006:3;:10;;24018:5;24002:3;:22::i;:::-;23994:31;;23987:38;;23896:137;;;;:::o;12820:236::-;12900:7;12909;12930:11;12943:13;12960:22;12964:3;:10;;12976:5;12960:3;:22::i;:::-;12929:53;;;;13009:3;13001:12;;13039:5;13031:14;;12993:55;;;;;;12820:236;;;;;:::o;64420:100::-;64504:8;64493;:19;;;;;;;;;;;;:::i;:::-;;64420:100;:::o;14106:213::-;14213:7;14264:44;14269:3;:10;;14289:3;14281:12;;14295;14264:4;:44::i;:::-;14256:53;;14233:78;;14106:213;;;;;:::o;23438:114::-;23498:7;23525:19;23533:3;:10;;23525:7;:19::i;:::-;23518:26;;23438:114;;;:::o;60782:110::-;60858:26;60868:2;60872:7;60858:26;;;;;;;;;;;;:9;:26::i;:::-;60782:110;;:::o;34866:179::-;34924:7;34944:9;34960:1;34956;:5;34944:17;;34985:1;34980;:6;;34972:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35036:1;35029:8;;;34866:179;;;;:::o;35745:220::-;35803:7;35832:1;35827;:6;35823:20;;;35842:1;35835:8;;;;35823:20;35854:9;35870:1;35866;:5;35854:17;;35899:1;35894;35890;:5;;;;;;:10;35882:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35956:1;35949:8;;;35745:220;;;;;:::o;36443:153::-;36501:7;36533:1;36529;:5;36521:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36587:1;36583;:5;;;;;;36576:12;;36443:153;;;;:::o;68234:719::-;68267:7;68287:13;68314:10;;66963:4;68303:21;68287:37;;68335:12;68358:14;68385:9;68414:5;68397:14;:12;:14::i;:::-;:22;;;;;;68385:34;;68517:1;68494:10;:19;68511:1;68505:5;:7;68494:19;;;;;;;;;;;;:24;68490:129;;;68547:1;68541:5;:7;68534:14;;68490:129;;;68588:10;:19;68605:1;68599:5;:7;68588:19;;;;;;;;;;;;68581:26;;68490:129;68756:1;68739:10;:13;68750:1;68739:13;;;;;;;;;;;;:18;68735:185;;;68782:1;68773:10;;68814:4;68798:10;:13;68809:1;68798:13;;;;;;;;;;;:20;;;;68735:185;;;68860:10;:13;68871:1;68860:13;;;;;;;;;;;;68851:22;;68904:4;68888:10;:13;68899:1;68888:13;;;;;;;;;;;:20;;;;68735:185;68944:1;68937:6;:8;68930:15;;;;;;68234:719;:::o;59205:272::-;59319:28;59329:4;59335:2;59339:7;59319:9;:28::i;:::-;59366:48;59389:4;59395:2;59399:7;59408:5;59366:22;:48::i;:::-;59358:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59205:272;;;;:::o;3542:746::-;3598:13;3828:1;3819:5;:10;3815:53;;;3846:10;;;;;;;;;;;;;;;;;;;;;3815:53;3878:12;3893:5;3878:20;;3909:14;3934:78;3949:1;3941:4;:9;3934:78;;3967:8;;;;;;;3998:2;3990:10;;;;;;;;;3934:78;;;4022:19;4054:6;4044:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4022:39;;4072:13;4097:1;4088:6;:10;4072:26;;4116:5;4109:12;;4132:117;4147:1;4139:4;:9;4132:117;;4208:2;4201:4;:9;;;;;;4196:2;:14;4183:29;;4165:6;4172:7;;;;;;;4165:15;;;;;;;;;;;:47;;;;;;;;;;;4235:2;4227:10;;;;;;;;;4132:117;;;4273:6;4259:21;;;;;;3542:746;;;;:::o;12119:151::-;12203:4;12227:35;12237:3;:10;;12257:3;12249:12;;12227:9;:35::i;:::-;12220:42;;12119:151;;;;:::o;8937:110::-;8993:7;9020:3;:12;;:19;;;;9013:26;;8937:110;;;:::o;66613:93::-;;;;:::o;22983:137::-;23053:4;23077:35;23085:3;:10;;23105:5;23097:14;;23077:7;:35::i;:::-;23070:42;;22983:137;;;;:::o;22676:131::-;22743:4;22767:32;22772:3;:10;;22792:5;22784:14;;22767:4;:32::i;:::-;22760:39;;22676:131;;;;:::o;11542:185::-;11631:4;11655:64;11660:3;:10;;11680:3;11672:12;;11710:5;11694:23;;11686:32;;11655:4;:64::i;:::-;11648:71;;11542:185;;;;;:::o;18934:204::-;19001:7;19050:5;19029:3;:11;;:18;;;;:26;19021:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19112:3;:11;;19124:5;19112:18;;;;;;;;;;;;;;;;19105:25;;18934:204;;;;:::o;9402:279::-;9469:7;9478;9528:5;9506:3;:12;;:19;;;;:27;9498:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9585:22;9610:3;:12;;9623:5;9610:19;;;;;;;;;;;;;;;;;;9585:44;;9648:5;:10;;;9660:5;:12;;;9640:33;;;;;9402:279;;;;;:::o;10899:319::-;10993:7;11013:16;11032:3;:12;;:17;11045:3;11032:17;;;;;;;;;;;;11013:36;;11080:1;11068:8;:13;;11083:12;11060:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11150:3;:12;;11174:1;11163:8;:12;11150:26;;;;;;;;;;;;;;;;;;:33;;;11143:40;;;10899:319;;;;;:::o;18481:109::-;18537:7;18564:3;:11;;:18;;;;18557:25;;18481:109;;;:::o;61119:250::-;61215:18;61221:2;61225:7;61215:5;:18::i;:::-;61252:54;61283:1;61287:2;61291:7;61300:5;61252:22;:54::i;:::-;61244:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61119:250;;;:::o;68961:150::-;69006:7;69067:16;69085:15;69050:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69040:62;;;;;;69032:71;;69025:78;;68961:150;:::o;65085:604::-;65206:4;65233:15;:2;:13;;;:15::i;:::-;65228:60;;65272:4;65265:11;;;;65228:60;65298:23;65324:252;65377:45;;;65437:12;:10;:12::i;:::-;65464:4;65483:7;65505:5;65340:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65324:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;65298:278;;65587:13;65614:10;65603:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65587:48;;50234:10;65664:16;;65654:26;;;:6;:26;;;;65646:35;;;;65085:604;;;;;;;:::o;8717:125::-;8788:4;8833:1;8812:3;:12;;:17;8825:3;8812:17;;;;;;;;;;;;:22;;8805:29;;8717:125;;;;:::o;16636:1544::-;16702:4;16820:18;16841:3;:12;;:19;16854:5;16841:19;;;;;;;;;;;;16820:40;;16891:1;16877:10;:15;16873:1300;;17239:21;17276:1;17263:10;:14;17239:38;;17292:17;17333:1;17312:3;:11;;:18;;;;:22;17292:42;;17579:17;17599:3;:11;;17611:9;17599:22;;;;;;;;;;;;;;;;17579:42;;17745:9;17716:3;:11;;17728:13;17716:26;;;;;;;;;;;;;;;:38;;;;17864:1;17848:13;:17;17822:3;:12;;:23;17835:9;17822:23;;;;;;;;;;;:43;;;;17974:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;18069:3;:12;;:19;18082:5;18069:19;;;;;;;;;;;18062:26;;;18112:4;18105:11;;;;;;;;16873:1300;18156:5;18149:12;;;16636:1544;;;;;:::o;16046:414::-;16109:4;16131:21;16141:3;16146:5;16131:9;:21::i;:::-;16126:327;;16169:3;:11;;16186:5;16169:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16352:3;:11;;:18;;;;16330:3;:12;;:19;16343:5;16330:19;;;;;;;;;;;:40;;;;16392:4;16385:11;;;;16126:327;16436:5;16429:12;;16046:414;;;;;:::o;6217:692::-;6293:4;6409:16;6428:3;:12;;:17;6441:3;6428:17;;;;;;;;;;;;6409:36;;6474:1;6462:8;:13;6458:444;;;6529:3;:12;;6547:38;;;;;;;;6564:3;6547:38;;;;6577:5;6547:38;;;6529:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6744:3;:12;;:19;;;;6724:3;:12;;:17;6737:3;6724:17;;;;;;;;;;;:39;;;;6785:4;6778:11;;;;;6458:444;6858:5;6822:3;:12;;6846:1;6835:8;:12;6822:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;6885:5;6878:12;;;6217:692;;;;;;:::o;61705:404::-;61799:1;61785:16;;:2;:16;;;;61777:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61858:16;61866:7;61858;:16::i;:::-;61857:17;61849:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61920:45;61949:1;61953:2;61957:7;61920:20;:45::i;:::-;61978:30;62000:7;61978:13;:17;61992:2;61978:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;62021:29;62038:7;62047:2;62021:12;:16;;:29;;;;;:::i;:::-;;62093:7;62089:2;62068:33;;62085:1;62068:33;;;;;;;;;;;;61705:404;;:::o;24812:422::-;24872:4;25080:12;25191:7;25179:20;25171:28;;25225:1;25218:4;:8;25211:15;;;24812:422;;;:::o;27730:195::-;27833:12;27865:52;27887:6;27895:4;27901:1;27904:12;27865:21;:52::i;:::-;27858:59;;27730:195;;;;;:::o;18266:129::-;18339:4;18386:1;18363:3;:12;;:19;18376:5;18363:19;;;;;;;;;;;;:24;;18356:31;;18266:129;;;;:::o;28782:530::-;28909:12;28967:5;28942:21;:30;;28934:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29034:18;29045:6;29034:10;:18::i;:::-;29026:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29160:12;29174:23;29201:6;:11;;29221:5;29229:4;29201:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29159:75;;;;29252:52;29270:7;29279:10;29291:12;29252:17;:52::i;:::-;29245:59;;;;28782:530;;;;;;:::o;31322:742::-;31437:12;31466:7;31462:595;;;31497:10;31490:17;;;;31462:595;31631:1;31611:10;:17;:21;31607:439;;;31874:10;31868:17;31935:15;31922:10;31918:2;31914:19;31907:44;31822:148;32017:12;32010:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31322:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

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

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.