Contract 0x39db0cc060b817f26dafba5c1e97e5a79976e3c6 2

 

Contract Overview

Balance:
4.391209025840239349 BNB

BNB Value:
$2,049.20 (@ $466.66/BNB)
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe144daf5ee699978953ca76eab915007873047923d4dffd21db4110dce158273Set Approval For...117904612021-10-15 9:44:502 days 8 hrs ago0x18eeda2a6bb673deec7cdbf5167d13b9dc061189 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0x157fef7a640adf94135b18476696ba89bd7eb1b99835766f8b907d11633ac15cSet Approval For...117904172021-10-15 9:42:382 days 8 hrs ago0x18eeda2a6bb673deec7cdbf5167d13b9dc061189 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0x9ab00cc6eae8b1952299122d648cd9e61a1cb5832327f2b882873a8b93134a2eTake User117683622021-10-14 15:17:353 days 2 hrs ago0x048e810537a3677d44b2abed8df0d6cf6064e75e IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0x1ad50eb520fc59689d2ae295a05faf8d18667abf679fb71f3bc6ee8eca54d89cSet Approval For...117607142021-10-14 8:52:573 days 9 hrs ago0xe7394f05f97257958361329a3fd4f879773c0469 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0x0cf8363815b62cb12ad80bbea49754fc7fef692e21c2ca409cc3073e78cc401eTake User117425662021-10-13 17:40:374 days 28 mins ago0x3fa425394a87a2f3e659f11cc8478e30c0978452 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0x6fc6395de04ef5db7d0aa57e1eaa2f1b52d29cd30569dd8ee846e8cd920c1d6cTake User117366862021-10-13 12:40:484 days 5 hrs ago0xb3312b71a3a2fbccc85efb7748849cd8da69d452 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0xa1e9f36a4ab172fc4038cf2ab37a897888d4b9875bae162999c8abc1d79b2b5cTake User117306612021-10-13 7:24:534 days 10 hrs ago0x3c0ada4b9771049d85d187cc77d7d04c06a9030e IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0xd145788124a72d14843588e3c00189975554500e84b953d0d7e2ef39917cf585Take User116956762021-10-12 2:03:555 days 16 hrs ago0xd12f0aaf5160818ca54d4476b616ecc089308f04 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0xe59a4eb9716cf4be6a0f7e84a61b5bd9dd83b07231a51d86ecd127e7ada1ed16Mint116526492021-10-10 13:23:497 days 4 hrs ago0x43e20491feb0e21ab4f1b37b2b0baad0069d7864 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60.15 BNB0.003575475
0x5d85a39871b449289bbcc63df8b4210ac279e0c7191e20954cc242657dcd372dMint116493182021-10-10 10:37:137 days 7 hrs ago0x9a73a7230fbfc95cb5768379d056e2cc2ed31146 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60.45 BNB0.00883228
0x4242ba8e306b30faabb49a5a8a7c42321ddbb8ac290ba469980eb976bb1d5d99Set Approval For...116443352021-10-10 6:27:547 days 11 hrs ago0x0fec1a7b2a42050f7b92a679a731b983dd2e62a1 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0x5118bc43901e1ae7dfc5536ab8af0f23c2f911193e634855f9a9088879922d46Take User116432102021-10-10 5:31:397 days 12 hrs ago0xf11a93247ab222acac5eb79ee43687bf952f9de0 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0xfba0e2094f5e16f72cf61227e0569bc40787f8b396ec2e4d505b4d1db32bcd93Take User116243892021-10-09 13:49:368 days 4 hrs ago0x04bfcb7b6bc81361f14c1e2c7592d712e3b9f456 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0x9eceeffebf3a8b529b02460ba8d8fec7b072a72f7ae08bb4275156ad3755b4c8Take User116131362021-10-09 4:25:148 days 13 hrs ago0x91873da1097fbf2e404855e78bdfe38ddfc2d292 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0xe0b370e39e8d6d0d709b80a49146f67ff5dd6d89270c13dc60274385623cf7bcTake User115897482021-10-08 8:50:479 days 9 hrs agoPro Blockchain: Deployer IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0x79fb355752a4a833387bd032502560c69dd3339f65da252005131cd8af5eeb43Take User115896012021-10-08 8:43:269 days 9 hrs ago0x29d3014aa1ae78054275d8e88abcd719da3c51b4 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0x7998965da2100511bdc23baa663dd7cb57a56ca6f764bda5cfcb8b75d11dde63Transfer From115732142021-10-07 19:03:519 days 23 hrs ago0x49b6e421b6fb1084f9f4112eb9f6f97a3e98c98c IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00046234
0x527d972cb6cff72436ad68bef0db82bd9a1009b0cc36308fe851ffa2b46f200fTransfer From115731902021-10-07 19:02:399 days 23 hrs ago0x49b6e421b6fb1084f9f4112eb9f6f97a3e98c98c IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00053734
0xeff6b408e64a437ff7175dffda92602026dc07d097392b6f26b389a14d3e5679Set Approval For...115669592021-10-07 13:50:2110 days 4 hrs ago0x18d29cc5d404c6cc1326dd793bf36c9862c4aa7e IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0xf832945a6bda145166ad35f0b82fe399f159bdecdef565145528c75aab2016d7Mint115655512021-10-07 12:39:5410 days 5 hrs ago0xbb08c0f067f80237636724e28e3414c4fef128b0 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60.45 BNB0.00902356
0xfbf213ade5630dd701c0a42c55b98f5651927cadaee6ef63adfbda0545b54db0Set Approval For...115611242021-10-07 8:58:3110 days 9 hrs ago0xe7394f05f97257958361329a3fd4f879773c0469 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0xfc7ff13b629a1e135d10ab127b34c046d3873bf0221acf0af2e277326fa6519bTake User115477482021-10-06 21:48:3510 days 20 hrs ago0xd3edeb449b2f93210d19e19a9e7f348998f437ec IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.00011189
0x10b61d91bc8fb4c89d0fd6aedca7a74c6524d4b8366327fe0ef5afc19353cc7cSet Approval For...115361752021-10-06 12:09:1411 days 6 hrs ago0xeb0f5dce389a86a64c71f91ece001067a9cd574e IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0x97fcdc86089d2a2c1de99626ba59f02af47a58b5b9866cf3c245bb2eddabd48dSet Approval For...115361402021-10-06 12:07:2911 days 6 hrs ago0xeb0f5dce389a86a64c71f91ece001067a9cd574e IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
0xf9fc664c43658eca92015720992aae0836d61dfab033e97d6892d9e200775b83Set Approval For...115348472021-10-06 11:02:4911 days 7 hrs ago0x5177d3598055a441c88306ace7711eab271e9cf4 IN  0x39db0cc060b817f26dafba5c1e97e5a79976e3c60 BNB0.000224475
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x9ab00cc6eae8b1952299122d648cd9e61a1cb5832327f2b882873a8b93134a2e117683622021-10-14 15:17:353 days 2 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x048e810537a3677d44b2abed8df0d6cf6064e75e0.01225 BNB
0x0cf8363815b62cb12ad80bbea49754fc7fef692e21c2ca409cc3073e78cc401e117425662021-10-13 17:40:374 days 28 mins ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x3fa425394a87a2f3e659f11cc8478e30c09784520.565848542839210375 BNB
0x6fc6395de04ef5db7d0aa57e1eaa2f1b52d29cd30569dd8ee846e8cd920c1d6c117366862021-10-13 12:40:484 days 5 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xb3312b71a3a2fbccc85efb7748849cd8da69d4520.146602113868957212 BNB
0xa1e9f36a4ab172fc4038cf2ab37a897888d4b9875bae162999c8abc1d79b2b5c117306612021-10-13 7:24:534 days 10 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x3c0ada4b9771049d85d187cc77d7d04c06a9030e0.027503696013288947 BNB
0xd145788124a72d14843588e3c00189975554500e84b953d0d7e2ef39917cf585116956762021-10-12 2:03:555 days 16 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xd12f0aaf5160818ca54d4476b616ecc089308f040.027503696013288947 BNB
0xe59a4eb9716cf4be6a0f7e84a61b5bd9dd83b07231a51d86ecd127e7ada1ed16116526492021-10-10 13:23:497 days 4 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xbdd2269c5d1cc7441972882599c81fdfc10f8bba0.015 BNB
0xe59a4eb9716cf4be6a0f7e84a61b5bd9dd83b07231a51d86ecd127e7ada1ed16116526492021-10-10 13:23:497 days 4 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0c6fb5c233de1153af142ac253223314a579205c0.12 BNB
0x5d85a39871b449289bbcc63df8b4210ac279e0c7191e20954cc242657dcd372d116493182021-10-10 10:37:137 days 7 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x8d15b82a8b8e2f0fa7c2f4133ff8aff15be316790.045 BNB
0x5d85a39871b449289bbcc63df8b4210ac279e0c7191e20954cc242657dcd372d116493182021-10-10 10:37:137 days 7 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0c6fb5c233de1153af142ac253223314a579205c0.12 BNB
0x5d85a39871b449289bbcc63df8b4210ac279e0c7191e20954cc242657dcd372d116493182021-10-10 10:37:137 days 7 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0c6fb5c233de1153af142ac253223314a579205c0.12 BNB
0x5d85a39871b449289bbcc63df8b4210ac279e0c7191e20954cc242657dcd372d116493182021-10-10 10:37:137 days 7 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0c6fb5c233de1153af142ac253223314a579205c0.12 BNB
0x5118bc43901e1ae7dfc5536ab8af0f23c2f911193e634855f9a9088879922d46116432102021-10-10 5:31:397 days 12 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xf11a93247ab222acac5eb79ee43687bf952f9de00.000732558139534879 BNB
0xfba0e2094f5e16f72cf61227e0569bc40787f8b396ec2e4d505b4d1db32bcd93116243892021-10-09 13:49:368 days 4 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x04bfcb7b6bc81361f14c1e2c7592d712e3b9f4560.01225 BNB
0x9eceeffebf3a8b529b02460ba8d8fec7b072a72f7ae08bb4275156ad3755b4c8116131362021-10-09 4:25:148 days 13 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x91873da1097fbf2e404855e78bdfe38ddfc2d2920.027760091362126159 BNB
0xe0b370e39e8d6d0d709b80a49146f67ff5dd6d89270c13dc60274385623cf7bc115897482021-10-08 8:50:479 days 9 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c6Pro Blockchain: Deployer0.164330945115230279 BNB
0x79fb355752a4a833387bd032502560c69dd3339f65da252005131cd8af5eeb43115896012021-10-08 8:43:269 days 9 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x29d3014aa1ae78054275d8e88abcd719da3c51b40.0175 BNB
0xf832945a6bda145166ad35f0b82fe399f159bdecdef565145528c75aab2016d7115655512021-10-07 12:39:5410 days 5 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xddb3f55a45a604bee418799072048708384608510.045 BNB
0xf832945a6bda145166ad35f0b82fe399f159bdecdef565145528c75aab2016d7115655512021-10-07 12:39:5410 days 5 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0c6fb5c233de1153af142ac253223314a579205c0.12 BNB
0xf832945a6bda145166ad35f0b82fe399f159bdecdef565145528c75aab2016d7115655512021-10-07 12:39:5410 days 5 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0c6fb5c233de1153af142ac253223314a579205c0.12 BNB
0xf832945a6bda145166ad35f0b82fe399f159bdecdef565145528c75aab2016d7115655512021-10-07 12:39:5410 days 5 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0c6fb5c233de1153af142ac253223314a579205c0.12 BNB
0xfc7ff13b629a1e135d10ab127b34c046d3873bf0221acf0af2e277326fa6519b115477482021-10-06 21:48:3510 days 20 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xd3edeb449b2f93210d19e19a9e7f348998f437ec0.017658637873754068 BNB
0xeb611afd3c6676429c457f1d4aa6f02a4cc3dbde77ed4b5f1c3ccbf42e6721ba115258782021-10-06 3:33:5711 days 14 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x048e810537a3677d44b2abed8df0d6cf6064e75e0.224 BNB
0x8aadca40766e9f40a95f2d2adac44af5c1e0fcb720e5abf4b248e2f925fd095e114815502021-10-04 14:34:5613 days 3 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60x0874452d497180c5beb7193e31a5d60f97b5a42a0.026996137873754068 BNB
0x846a0855d5bd477c4749ae1ffafdbac0c372cf35b4507b6ad272e40fd6829315114765622021-10-04 10:24:5913 days 7 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xa0f31bf73ed86ab881d6e8f5ae2e4ec9e81f04fc0.025871137873754068 BNB
0x0a38f62f9a2bd6be8085648ae9b1117c4768b94fde834a232088c9af6ff332ef114739422021-10-04 8:13:5913 days 9 hrs ago 0x39db0cc060b817f26dafba5c1e97e5a79976e3c60xf5b56ef33ef08f6fde57b2f79a857e3dfb4ea1a30.047033172833815238 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BAmongus

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-09-19
*/

/**
 *Submitted for verification at BscScan.com on 2021-09-10
*/

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/contracts/GSN/Context.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);
}

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;
}




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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/contracts/introspection/IERC165.sol




// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/contracts/token/ERC721/IERC721.sol


// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/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 { }
}



// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/contracts/token/ERC721/ERC721Burnable.sol



pragma solidity >=0.6.0 <0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.2/contracts/utils/Strings.sol





pragma solidity >=0.6.0 <0.8.0;


// File: contracts/BAmongus.sol

/*
https://bamongus.com
*/

pragma solidity ^0.7.0;



contract BAmongus is Context, ERC721Burnable {

    using SafeMath for uint256;
    
    
    
    //Minting
    uint256 public constant TOKEN_PRICE = 0.15 ether;
    uint public constant MAX_TOKENS = 20000;

    
    uint internal numTokens = 0;
    uint internal numSales = 0;
    
    //Bonus system
    uint public constant REFERRAL_PERCENT = 10;
    mapping(address => uint) public userTotalReferrals;
    
    uint public constant SUPERLIST_ONE_PERCENT = 3;
    uint public constant SUPERLIST_ONE_ENTER_COUNT = 49;
    
    uint public constant SUPERLIST_TWO_PERCENT = 7;
    uint public constant SUPERLIST_TWO_ENTER_COUNT =  149;
    
    bool public claimPaused = false;
    
    
    mapping(address => uint) public userTotalMints;
    
    //External info
    string public constant BASE_URL = "https://bamongus.com/mongus/getMetadata/";

    
    // Random index assignment
    uint internal nonce = 0;
    uint[MAX_TOKENS] internal indices;

    address payable _owner = address(0);
    address constant _ignoreReferral = 0xdDb3f55a45A604beE41879907204870838460851;
    
    modifier _ownerOnly(){
      require(msg.sender == _owner);
      _;
    }


    constructor() public ERC721("BAmongus", "MONGUS") {
        _owner = _msgSender();
        _setBaseURI(BASE_URL);
    }
    
    /**
     * Get random index 
     */
    function randomIndex() internal returns (uint) {
        uint totalSize = MAX_TOKENS - numTokens;
        uint index = uint(keccak256(abi.encodePacked(nonce, msg.sender, block.difficulty, block.timestamp))) % totalSize;
        uint value = 0;
        if (indices[index] != 0) {
            value = indices[index];
        } else {
            value = index;
        }

        // Move last value to selected position
        if (indices[totalSize - 1] == 0) {
            // Array position not initialized, so use position
            indices[index] = totalSize - 1;
        } else {
            // Array position holds a value so use that
            indices[index] = indices[totalSize - 1];
        }
        nonce++;
        // Don't allow a zero index, start counting at 1
        return value.add(1);
    }

     
     //POOLS 
    mapping(uint => address payable) public levelOne;
    uint public levelOneIndex = 0;
    ///
    mapping(uint =>address payable) public levelTwo;
    uint public levelTwoIndex = 0;
    
    
    struct UserStruct {
        bool isExist;
        uint id;
        uint countMint;
        uint lastRequestTrx;
        uint level;
        uint wallet;
        uint pool_id;
    }

    mapping(address => UserStruct) public users;
    uint public currUserID = 0;
    uint public totalMint = 0;
    
    uint public poolUserLevelOne = 0;
    uint public poolUserLevelTwo = 0;

    uint public countPool = 1;
    
    mapping (uint256 => address) public poolUser;


    /**
     * Mint one token internal
     */
    function _internalMint(address to) private returns (uint) {
        
        require(to != address(0), "Cannot mint to 0x0.");
        require(numTokens < MAX_TOKENS, "Token limit");
        
        //Get random token
        uint id = randomIndex();

        //Change internal token amount
        //numTokens++;
        
        //Incrase user total mints
        userTotalMints[to]++;
       

        
        //Pools mechanics
        
        uint developerAmount = 0;
        uint ownerAmount = 0;
        
        
        
            totalMint++;
            if(users[msg.sender].isExist){

                users[msg.sender].countMint++;

                if(users[msg.sender].countMint > SUPERLIST_TWO_ENTER_COUNT && users[msg.sender].level < 2){

                    users[msg.sender].level=2;
                    poolUserLevelTwo ++;
                    poolUserLevelOne --;
                }
                else if(users[msg.sender].countMint > SUPERLIST_ONE_ENTER_COUNT && users[msg.sender].level < 1){
                    poolUserLevelOne++;
                    users[msg.sender].level=1;
                    poolUser[countPool] = msg.sender;
                    users[msg.sender].pool_id = countPool;
                    countPool++;
                }

            } else {

                UserStruct memory userStruct;
                currUserID++;
                userStruct = UserStruct({
                    isExist : true,
                    id : currUserID,
                    countMint:1,
                    lastRequestTrx:0,
                    level:0,
                    wallet:0,
                    pool_id:0

                });

                users[msg.sender] = userStruct;

            }

            uint ownerTrx = 80;
            uint everylevelOneTrx = 0;
            uint everylevelTwoTrx= 0;

            if(poolUserLevelOne>0){
                everylevelOneTrx = ((TOKEN_PRICE * SUPERLIST_ONE_PERCENT)/100) / poolUserLevelOne;
            }else{
                ownerTrx += SUPERLIST_ONE_PERCENT;
            }


            if(poolUserLevelTwo>0){
                everylevelTwoTrx = ((TOKEN_PRICE * SUPERLIST_TWO_PERCENT)/100) / poolUserLevelTwo;
            }else{
                ownerTrx += SUPERLIST_TWO_PERCENT;
            }


            for(uint i = 1; i <= countPool ; i++){
                address userPoolAddress;
                userPoolAddress = poolUser[i];
                if(users[userPoolAddress].level == 2 && poolUserLevelTwo >0){
                    users[userPoolAddress].wallet += everylevelTwoTrx;
                }else if(users[userPoolAddress].level == 1 && poolUserLevelOne> 0){
                    users[userPoolAddress].wallet += everylevelOneTrx;
                }
            }
            
            
            //uint developerA1Trx =(ownerTrx * 100)/100 ;
            uint firstTrx = (ownerTrx * 100)/100;

           //developerAmount +=(nftPrice * developerA1Trx)/100;
            ownerAmount += (TOKEN_PRICE * firstTrx)/100;

            numTokens++;
            
            //Mint token
            _mint(to, id);
        
            //developerA1.transfer(developerAmount);
            _owner.transfer(ownerAmount);
       
       return id;
    }
    
    function takeUser() external payable  returns(uint){
        require(users[msg.sender].isExist == true, "user not valid");
        require(users[msg.sender].wallet> 0, "user have not enough trx");
        require(!claimPaused, "Bonus claiming paused");


        msg.sender.transfer(users[msg.sender].wallet);
        users[msg.sender].wallet = 0;

    }
    
    
    /**
     * Mint tokens depend on TOKEN_PRICE
     */
    function mint(address to, address payable referral) public payable{
        
        require(msg.value >= TOKEN_PRICE, "Not enought money");
        require(to != address(0), "Cannot mint to empty");
        require(numTokens < MAX_TOKENS, "Token limit");
        
        uint256 balance = msg.value;
        uint tokensMintedNow = 0;

        while(true){
           
            //Check is enought money for one token
             if(balance <  TOKEN_PRICE){
                 break;
             }
             
             //Sub user balance
             balance = balance.sub(TOKEN_PRICE);
             
             //Save referral amount info
             tokensMintedNow++;
            
            //Mint token tok user
            //ids.push(_internalMint(to));
            _internalMint(to);
        }
        
        //Its correct referral
        if(referral != to && referral != _owner && referral != _ignoreReferral){
            userTotalReferrals[referral]+=tokensMintedNow; 
        }
        
        //Return not used balance
        msg.sender.transfer(balance);
        
        //Send referral amount
        referral.transfer(msg.value.mul(REFERRAL_PERCENT).div(100));

 
    }
    
  
    
    /**
     * Claim owner tokens
     */
    function claimOwner(uint256 _amount) public _ownerOnly {
        msg.sender.transfer(_amount);
    }
    
    function setClaimStatus(bool _status) public _ownerOnly {
        claimPaused = _status;
    }
    
     fallback()  external payable {
         mint(msg.sender, _owner);
     }
     

    
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"BASE_URL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REFERRAL_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPERLIST_ONE_ENTER_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPERLIST_ONE_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPERLIST_TWO_ENTER_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPERLIST_TWO_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"claimOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"countPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currUserID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"uint256"}],"name":"levelOne","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelOneIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"levelTwo","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelTwoIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address payable","name":"referral","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolUser","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolUserLevelOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolUserLevelTwo","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":"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":"bool","name":"_status","type":"bool"}],"name":"setClaimStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"takeUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","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":[],"name":"totalMint","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":"","type":"address"}],"name":"userTotalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userTotalReferrals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"users","outputs":[{"internalType":"bool","name":"isExist","type":"bool"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"countMint","type":"uint256"},{"internalType":"uint256","name":"lastRequestTrx","type":"uint256"},{"internalType":"uint256","name":"level","type":"uint256"},{"internalType":"uint256","name":"wallet","type":"uint256"},{"internalType":"uint256","name":"pool_id","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526000600a819055600b819055600d805460ff19169055600f819055614e3080546001600160a01b0319169055614e32819055614e34819055614e36819055614e37819055614e38819055614e39556001614e3a553480156200006557600080fd5b50604080518082018252600881526742416d6f6e67757360c01b602080830191909152825180840190935260068352654d4f4e47555360d01b9083015290620000b56301ffc9a760e01b62000175565b8151620000ca90600690602085019062000217565b508051620000e090600790602084019062000217565b50620000f36380ac58cd60e01b62000175565b62000105635b5e139f60e01b62000175565b6200011763780e9d6360e01b62000175565b50620001249050620001fa565b614e3060006101000a8154816001600160a01b0302191690836001600160a01b031602179055506200016f6040518060600160405280602881526020016200322460289139620001fe565b620002b3565b6001600160e01b03198082161415620001d5576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b80516200021390600990602084019062000217565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025a57805160ff19168380011785556200028a565b828001600101855582156200028a579182015b828111156200028a5782518255916020019190600101906200026d565b50620002989291506200029c565b5090565b5b808211156200029857600081556001016200029d565b612f6180620002c36000396000f3fe6080604052600436106102675760003560e01c806369d6cca111610144578063b61c94b0116100b6578063d2d8cb671161007a578063d2d8cb6714610976578063d639c7b31461098b578063df9ea499146109a0578063e985e9c5146109b5578063ee1fe2ad146109f0578063f47c84c514610a1e57610267565b8063b61c94b014610832578063b88d4fde1461085c578063c6cdeb081461092f578063c71fb17e14610937578063c87b56dd1461094c57610267565b806395d89b411161010857806395d89b4114610736578063a22cb4651461074b578063a4bb170d14610786578063a87430ba1461079b578063ab5e124a14610808578063b2884a041461081d57610267565b806369d6cca1146106855780636c0360eb146106af57806370a08231146106c45780637f78636a146106f7578063928074fd1461070c57610267565b80633a35ccc8116101dd5780634f6ccce7116101a15780634f6ccce7146105a857806350f2e32c146105d257806359a7715a146105e75780635a80eb6c146105fc5780636352211e1461062f578063654f97a31461065957610267565b80633a35ccc8146104de5780633c215d82146104f357806342842e0e1461050857806342966c681461054b5780634f1fc6911461057557610267565b80630f4f79d91161022f5780630f4f79d9146103f957806318160ddd1461040e57806323b872dd146104235780632f745c591461046657806333a8915a1461049f57806337c40f4e146104b457610267565b806301ffc9a71461028157806306fdde03146102c9578063081812fc14610353578063095ea7b3146103995780630c32a464146103d2575b614e305461027f9033906001600160a01b0316610a33565b005b34801561028d57600080fd5b506102b5600480360360208110156102a457600080fd5b50356001600160e01b031916610c59565b604080519115158252519081900360200190f35b3480156102d557600080fd5b506102de610c7c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610318578181015183820152602001610300565b50505050905090810190601f1680156103455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035f57600080fd5b5061037d6004803603602081101561037657600080fd5b5035610d12565b604080516001600160a01b039092168252519081900360200190f35b3480156103a557600080fd5b5061027f600480360360408110156103bc57600080fd5b506001600160a01b038135169060200135610d74565b3480156103de57600080fd5b506103e7610e4f565b60408051918252519081900360200190f35b34801561040557600080fd5b506103e7610e54565b34801561041a57600080fd5b506103e7610e59565b34801561042f57600080fd5b5061027f6004803603606081101561044657600080fd5b506001600160a01b03813581169160208101359091169060400135610e6a565b34801561047257600080fd5b506103e76004803603604081101561048957600080fd5b506001600160a01b038135169060200135610ec1565b3480156104ab57600080fd5b506103e7610eec565b3480156104c057600080fd5b5061037d600480360360208110156104d757600080fd5b5035610ef1565b3480156104ea57600080fd5b506103e7610f0d565b3480156104ff57600080fd5b506103e7610f14565b34801561051457600080fd5b5061027f6004803603606081101561052b57600080fd5b506001600160a01b03813581169160208101359091169060400135610f1b565b34801561055757600080fd5b5061027f6004803603602081101561056e57600080fd5b5035610f36565b34801561058157600080fd5b506103e76004803603602081101561059857600080fd5b50356001600160a01b0316610f88565b3480156105b457600080fd5b506103e7600480360360208110156105cb57600080fd5b5035610f9a565b3480156105de57600080fd5b506103e7610fb0565b3480156105f357600080fd5b506103e7610fb5565b34801561060857600080fd5b506103e76004803603602081101561061f57600080fd5b50356001600160a01b0316610fbc565b34801561063b57600080fd5b5061037d6004803603602081101561065257600080fd5b5035610fce565b34801561066557600080fd5b5061027f6004803603602081101561067c57600080fd5b50351515610ff6565b34801561069157600080fd5b5061037d600480360360208110156106a857600080fd5b5035611021565b3480156106bb57600080fd5b506102de61103d565b3480156106d057600080fd5b506103e7600480360360208110156106e757600080fd5b50356001600160a01b031661109e565b34801561070357600080fd5b506102de611106565b34801561071857600080fd5b5061037d6004803603602081101561072f57600080fd5b5035611122565b34801561074257600080fd5b506102de61113e565b34801561075757600080fd5b5061027f6004803603604081101561076e57600080fd5b506001600160a01b038135169060200135151561119f565b34801561079257600080fd5b506103e76112a4565b3480156107a757600080fd5b506107ce600480360360208110156107be57600080fd5b50356001600160a01b03166112ab565b6040805197151588526020880196909652868601949094526060860192909252608085015260a084015260c0830152519081900360e00190f35b34801561081457600080fd5b506102b56112ed565b34801561082957600080fd5b506103e76112f6565b34801561083e57600080fd5b5061027f6004803603602081101561085557600080fd5b50356112fd565b34801561086857600080fd5b5061027f6004803603608081101561087f57600080fd5b6001600160a01b038235811692602081013590911691604082013591908101906080810160608201356401000000008111156108ba57600080fd5b8201836020820111156108cc57600080fd5b803590602001918460018302840111640100000000831117156108ee57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611346945050505050565b6103e76113a4565b34801561094357600080fd5b506103e7611507565b34801561095857600080fd5b506102de6004803603602081101561096f57600080fd5b503561150e565b34801561098257600080fd5b506103e7611791565b34801561099757600080fd5b506103e761179d565b3480156109ac57600080fd5b506103e76117a2565b3480156109c157600080fd5b506102b5600480360360408110156109d857600080fd5b506001600160a01b03813581169160200135166117a9565b61027f60048036036040811015610a0657600080fd5b506001600160a01b0381358116916020013516610a33565b348015610a2a57600080fd5b506103e76117d7565b670214e8348c4f0000341015610a84576040805162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676874206d6f6e657960781b604482015290519081900360640190fd5b6001600160a01b038216610ad6576040805162461bcd60e51b815260206004820152601460248201527343616e6e6f74206d696e7420746f20656d70747960601b604482015290519081900360640190fd5b614e20600a5410610b1c576040805162461bcd60e51b815260206004820152600b60248201526a151bdad95b881b1a5b5a5d60aa1b604482015290519081900360640190fd5b3460005b670214e8348c4f0000821015610b3557610b5b565b610b4782670214e8348c4f00006117dd565b9150600101610b558461183a565b50610b20565b836001600160a01b0316836001600160a01b031614158015610b8c5750614e30546001600160a01b03848116911614155b8015610bb557506001600160a01b03831673ddb3f55a45a604bee4187990720487083846085114155b15610bd9576001600160a01b0383166000908152600c602052604090208054820190555b604051339083156108fc029084906000818181858888f19350505050158015610c06573d6000803e3d6000fd5b506001600160a01b0383166108fc610c2a6064610c2434600a611c7d565b90611cd6565b6040518115909202916000818181858888f19350505050158015610c52573d6000803e3d6000fd5b5050505050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d085780601f10610cdd57610100808354040283529160200191610d08565b820191906000526020600020905b815481529060010190602001808311610ceb57829003601f168201915b5050505050905090565b6000610d1d82611d3d565b610d585760405162461bcd60e51b815260040180806020018281038252602c815260200180612e26602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610d7f82610fce565b9050806001600160a01b0316836001600160a01b03161415610dd25760405162461bcd60e51b8152600401808060200182810382526021815260200180612eaa6021913960400191505060405180910390fd5b806001600160a01b0316610de4611d4a565b6001600160a01b03161480610e055750610e0581610e00611d4a565b6117a9565b610e405760405162461bcd60e51b8152600401808060200182810382526038815260200180612d306038913960400191505060405180910390fd5b610e4a8383611d4e565b505050565b603181565b600781565b6000610e656002611dbc565b905090565b610e7b610e75611d4a565b82611dc7565b610eb65760405162461bcd60e51b8152600401808060200182810382526031815260200180612ecb6031913960400191505060405180910390fd5b610e4a838383611e6b565b6001600160a01b0382166000908152600160205260408120610ee39083611fb7565b90505b92915050565b600a81565b614e31602052600090815260409020546001600160a01b031681565b614e345481565b614e385481565b610e4a83838360405180602001604052806000815250611346565b610f41610e75611d4a565b610f7c5760405162461bcd60e51b8152600401808060200182810382526030815260200180612efc6030913960400191505060405180910390fd5b610f8581611fc3565b50565b600e6020526000908152604090205481565b600080610fa8600284612090565b509392505050565b609581565b614e375481565b600c6020526000908152604090205481565b6000610ee682604051806060016040528060298152602001612d9260299139600291906120ac565b614e30546001600160a01b0316331461100e57600080fd5b600d805460ff1916911515919091179055565b614e3b602052600090815260409020546001600160a01b031681565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d085780601f10610cdd57610100808354040283529160200191610d08565b60006001600160a01b0382166110e55760405162461bcd60e51b815260040180806020018281038252602a815260200180612d68602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610ee690611dbc565b604051806060016040528060288152602001612ddd6028913981565b614e33602052600090815260409020546001600160a01b031681565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d085780601f10610cdd57610100808354040283529160200191610d08565b6111a7611d4a565b6001600160a01b0316826001600160a01b0316141561120d576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061121a611d4a565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561125e611d4a565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b614e365481565b614e3560205260009081526040902080546001820154600283015460038401546004850154600586015460069096015460ff9095169593949293919290919087565b600d5460ff1681565b614e3a5481565b614e30546001600160a01b0316331461131557600080fd5b604051339082156108fc029083906000818181858888f19350505050158015611342573d6000803e3d6000fd5b5050565b611357611351611d4a565b83611dc7565b6113925760405162461bcd60e51b8152600401808060200182810382526031815260200180612ecb6031913960400191505060405180910390fd5b61139e848484846120c3565b50505050565b336000908152614e35602052604081205460ff1615156001146113ff576040805162461bcd60e51b815260206004820152600e60248201526d1d5cd95c881b9bdd081d985b1a5960921b604482015290519081900360640190fd5b336000908152614e356020526040902060050154611464576040805162461bcd60e51b815260206004820152601860248201527f757365722068617665206e6f7420656e6f756768207472780000000000000000604482015290519081900360640190fd5b600d5460ff16156114b4576040805162461bcd60e51b8152602060048201526015602482015274109bdb9d5cc818db185a5b5a5b99c81c185d5cd959605a1b604482015290519081900360640190fd5b336000818152614e35602052604080822060050154905181156108fc0292818181858888f193505050501580156114ef573d6000803e3d6000fd5b50336000908152614e35602052604081206005015590565b614e325481565b606061151982611d3d565b6115545760405162461bcd60e51b815260040180806020018281038252602f815260200180612e7b602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156115e95780601f106115be576101008083540402835291602001916115e9565b820191906000526020600020905b8154815290600101906020018083116115cc57829003601f168201915b5050505050905060606115fa61103d565b905080516000141561160e57509050610c77565b8151156116cf5780826040516020018083805190602001908083835b602083106116495780518252601f19909201916020918201910161162a565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106116915780518252601f199092019160209182019101611672565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610c77565b806116d985612115565b6040516020018083805190602001908083835b6020831061170b5780518252601f1990920191602091820191016116ec565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106117535780518252601f199092019160209182019101611734565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b670214e8348c4f000081565b600381565b614e395481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b614e2081565b600082821115611834576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60006001600160a01b03821661188d576040805162461bcd60e51b815260206004820152601360248201527221b0b73737ba1036b4b73a103a3790183c181760691b604482015290519081900360640190fd5b614e20600a54106118d3576040805162461bcd60e51b815260206004820152600b60248201526a151bdad95b881b1a5b5a5d60aa1b604482015290519081900360640190fd5b60006118dd6121f0565b6001600160a01b0384166000908152600e6020908152604080832080546001908101909155614e3780549091019055338352614e3590915281205491925090819060ff1615611a3757336000908152614e356020526040902060020180546001019081905560951080156119645750336000908152614e3560205260409020600401546002115b1561199b57336000908152614e35602052604090206002600490910155614e3980546001019055614e388054600019019055611a32565b336000908152614e35602052604090206002015460311080156119d15750336000908152614e3560205260409020600401546001115b15611a3257614e3880546001908101909155336000818152614e356020818152604080842060048101879055614e3a80548652614e3b845291852080546001600160a01b031916871790558154959094529190526006909101829055910190555b611ace565b611a3f612bf4565b50614e3680546001908101918290556040805160e08101825282815260208082019485528183018481526000606084018181526080850182815260a0860183815260c08701848152338552614e35909652969092209451855460ff1916901515178555965195840195909555516002830155935160038201559151600483015551600582015590516006909101555b614e3854605090600090819015611afa57614e3854660ffcb9e57d400081611af257fe5b049150611b01565b6003830192505b614e395415611b2557614e395466254db1c224400081611b1d57fe5b049050611b2c565b6007830192505b60015b614e3a548111611c03576000818152614e3b60209081526040808320546001600160a01b0316808452614e35909252909120600401546002148015611b7757506000614e3954115b15611ba3576001600160a01b0381166000908152614e3560205260409020600501805484019055611bfa565b6001600160a01b0381166000908152614e3560205260409020600401546001148015611bd257506000614e3854115b15611bfa576001600160a01b0381166000908152614e35602052604090206005018054850190555b50600101611b2f565b50600060648481020490506064670214e8348c4f00008202600a80546001019055049490940193611c3489886122ec565b614e30546040516001600160a01b039091169086156108fc029087906000818181858888f19350505050158015611c6f573d6000803e3d6000fd5b509598975050505050505050565b600082611c8c57506000610ee6565b82820282848281611c9957fe5b0414610ee35760405162461bcd60e51b8152600401808060200182810382526021815260200180612e056021913960400191505060405180910390fd5b6000808211611d2c576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611d3557fe5b049392505050565b6000610ee660028361241a565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d8382610fce565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610ee682612426565b6000611dd282611d3d565b611e0d5760405162461bcd60e51b815260040180806020018281038252602c815260200180612d04602c913960400191505060405180910390fd5b6000611e1883610fce565b9050806001600160a01b0316846001600160a01b03161480611e535750836001600160a01b0316611e4884610d12565b6001600160a01b0316145b80611e635750611e6381856117a9565b949350505050565b826001600160a01b0316611e7e82610fce565b6001600160a01b031614611ec35760405162461bcd60e51b8152600401808060200182810382526029815260200180612e526029913960400191505060405180910390fd5b6001600160a01b038216611f085760405162461bcd60e51b8152600401808060200182810382526024815260200180612ce06024913960400191505060405180910390fd5b611f13838383610e4a565b611f1e600082611d4e565b6001600160a01b0383166000908152600160205260409020611f40908261242a565b506001600160a01b0382166000908152600160205260409020611f639082612436565b50611f7060028284612442565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610ee38383612458565b6000611fce82610fce565b9050611fdc81600084610e4a565b611fe7600083611d4e565b600082815260086020526040902054600260001961010060018416150201909116041561202557600082815260086020526040812061202591612c33565b6001600160a01b0381166000908152600160205260409020612047908361242a565b506120536002836124bc565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061209f86866124c8565b9097909650945050505050565b60006120b9848484612543565b90505b9392505050565b6120ce848484611e6b565b6120da8484848461260d565b61139e5760405162461bcd60e51b8152600401808060200182810382526032815260200180612cae6032913960400191505060405180910390fd5b60608161213a57506040805180820190915260018152600360fc1b6020820152610c77565b8160005b811561215257600101600a8204915061213e565b60608167ffffffffffffffff8111801561216b57600080fd5b506040519080825280601f01601f191660200182016040528015612196576020820181803683370190505b50859350905060001982015b83156121e757600a840660300160f81b828280600190039350815181106121c557fe5b60200101906001600160f81b031916908160001a905350600a840493506121a2565b50949350505050565b600a54600f54604080516020808201939093523360601b81830152446054820152426074808301919091528251808303909101815260949091019091528051910120600091614e200390829082908161224557fe5b0690506000601082614e20811061225857fe5b01541561227657601082614e20811061226d57fe5b01549050612279565b50805b601060018403614e20811061228a57fe5b01546122a95760018303601083614e2081106122a257fe5b01556122cd565b601060018403614e2081106122ba57fe5b0154601083614e2081106122ca57fe5b01555b600f805460019081019091556122e4908290612775565b935050505090565b6001600160a01b038216612347576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b61235081611d3d565b156123a2576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6123ae60008383610e4a565b6001600160a01b03821660009081526001602052604090206123d09082612436565b506123dd60028284612442565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610ee383836127cf565b5490565b6000610ee383836127e7565b6000610ee383836128ad565b60006120b984846001600160a01b0385166128f7565b8154600090821061249a5760405162461bcd60e51b8152600401808060200182810382526022815260200180612c8c6022913960400191505060405180910390fd5b8260000182815481106124a957fe5b9060005260206000200154905092915050565b6000610ee3838361298e565b81546000908190831061250c5760405162461bcd60e51b8152600401808060200182810382526022815260200180612dbb6022913960400191505060405180910390fd5b600084600001848154811061251d57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816125de5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125a357818101518382015260200161258b565b50505050905090810190601f1680156125d05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106125f157fe5b9060005260206000209060020201600101549150509392505050565b6000612621846001600160a01b0316612a62565b61262d57506001611e63565b606061273b630a85bd0160e11b612642611d4a565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126a9578181015183820152602001612691565b50505050905090810190601f1680156126d65780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612cae603291396001600160a01b0388169190612a68565b9050600081806020019051602081101561275457600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b600082820183811015610ee3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60009081526001919091016020526040902054151590565b600081815260018301602052604081205480156128a3578354600019808301919081019060009087908390811061281a57fe5b906000526020600020015490508087600001848154811061283757fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061286757fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610ee6565b6000915050610ee6565b60006128b983836127cf565b6128ef57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610ee6565b506000610ee6565b60008281526001840160205260408120548061295c5750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556120bc565b8285600001600183038154811061296f57fe5b90600052602060002090600202016001018190555060009150506120bc565b600081815260018301602052604081205480156128a357835460001980830191908101906000908790839081106129c157fe5b90600052602060002090600202019050808760000184815481106129e157fe5b600091825260208083208454600290930201918255600193840154918401919091558354825289830190526040902090840190558654879080612a2057fe5b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610ee69350505050565b3b151590565b60606120b9848460008585612a7c85612a62565b612acd576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612b0c5780518252601f199092019160209182019101612aed565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612b6e576040519150601f19603f3d011682016040523d82523d6000602084013e612b73565b606091505b5091509150612b83828286612b8e565b979650505050505050565b60608315612b9d5750816120bc565b825115612bad5782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156125a357818101518382015260200161258b565b6040518060e001604052806000151581526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b50805460018160011615610100020316600290046000825580601f10612c595750610f85565b601f016020900490600052602060002090810190610f8591905b80821115612c875760008155600101612c73565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e647368747470733a2f2f62616d6f6e6775732e636f6d2f6d6f6e6775732f6765744d657461646174612f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220dec352af194c0ff625d2ad6ee52a27e7ea3322a364902a8ebba845d43fffc05364736f6c6343000700003368747470733a2f2f62616d6f6e6775732e636f6d2f6d6f6e6775732f6765744d657461646174612f

Deployed ByteCode Sourcemap

66243:8418:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74627:6;;74610:24;;74615:10;;-1:-1:-1;;;;;74627:6:0;74610:4;:24::i;:::-;66243:8418;47159:150;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47159:150:0;-1:-1:-1;;;;;;47159:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;52281:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55067:221;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55067:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;55067:221:0;;;;;;;;;;;;;;54597:404;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54597:404:0;;;;;;;;:::i;66730:51::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;66794:46;;;;;;;;;;;;;:::i;54075:211::-;;;;;;;;;;;;;:::i;55957:305::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55957:305:0;;;;;;;;;;;;;;;;;:::i;53837:162::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53837:162:0;;;;;;;;:::i;66565:42::-;;;;;;;;;;;;;:::i;68498:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68498:48:0;;:::i;68652:29::-;;;;;;;;;;;;;:::i;69017:32::-;;;;;;;;;;;;;:::i;56333:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;56333:151:0;;;;;;;;;;;;;;;;;:::i;65741:245::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65741:245:0;;:::i;66963:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66963:46:0;-1:-1:-1;;;;;66963:46:0;;:::i;54363:172::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54363:172:0;;:::i;66847:53::-;;;;;;;;;;;;;:::i;68979:25::-;;;;;;;;;;;;;:::i;66614:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66614:50:0;-1:-1:-1;;;;;66614:50:0;;:::i;52037:177::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52037:177:0;;:::i;74460:96::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74460:96:0;;;;:::i;69135:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69135:44:0;;:::i;53656:97::-;;;;;;;;;;;;;:::i;51754:221::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51754:221:0;-1:-1:-1;;;;;51754:221:0;;:::i;67043:76::-;;;;;;;;;;;;;:::i;68598:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68598:47:0;;:::i;52450:104::-;;;;;;;;;;;;;:::i;55360:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55360:295:0;;;;;;;;;;:::i;68946:26::-;;;;;;;;;;;;;:::i;68896:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68896:43:0;-1:-1:-1;;;;;68896:43:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66913:31;;;;;;;;;;;;;:::i;69097:25::-;;;;;;;;;;;;;:::i;74346:102::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74346:102:0;;:::i;56555:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56555:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56555:285:0;;-1:-1:-1;56555:285:0;;-1:-1:-1;;;;;56555:285:0:i;72596:363::-;;;:::i;68553:29::-;;;;;;;;;;;;;:::i;52625:792::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52625:792:0;;:::i;66363:48::-;;;;;;;;;;;;;:::i;66677:46::-;;;;;;;;;;;;;:::i;69056:32::-;;;;;;;;;;;;;:::i;55726:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55726:164:0;;;;;;;;;;:::i;73037:1242::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;73037:1242:0;;;;;;;;;;:::i;66418:39::-;;;;;;;;;;;;;:::i;73037:1242::-;66401:10;73132:9;:24;;73124:54;;;;;-1:-1:-1;;;73124:54:0;;;;;;;;;;;;-1:-1:-1;;;73124:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;73197:16:0;;73189:49;;;;;-1:-1:-1;;;73189:49:0;;;;;;;;;;;;-1:-1:-1;;;73189:49:0;;;;;;;;;;;;;;;66452:5;73257:9;;:22;73249:46;;;;;-1:-1:-1;;;73249:46:0;;;;;;;;;;;;-1:-1:-1;;;73249:46:0;;;;;;;;;;;;;;;73334:9;73316:15;73391:484;66401:10;73486:7;:22;73483:68;;;73529:5;;73483:68;73624:24;:7;66401:10;73624:11;:24::i;:::-;73614:34;-1:-1:-1;73721:17:0;;73846;73860:2;73846:13;:17::i;:::-;;73391:484;;;73942:2;-1:-1:-1;;;;;73930:14:0;:8;-1:-1:-1;;;;;73930:14:0;;;:36;;;;-1:-1:-1;73960:6:0;;-1:-1:-1;;;;;73948:18:0;;;73960:6;;73948:18;;73930:36;:67;;;;-1:-1:-1;;;;;;73970:27:0;;67315:42;73970:27;;73930:67;73927:144;;;-1:-1:-1;;;;;74013:28:0;;;;;;:18;:28;;;;;:45;;;;;;73927:144;74126:28;;:10;;:28;;;;;74146:7;;74126:28;;;;74146:7;74126:10;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;74207:17:0;;:59;74225:40;74261:3;74225:31;:9;66605:2;74225:13;:31::i;:::-;:35;;:40::i;:::-;74207:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73037:1242;;;;:::o;47159:150::-;-1:-1:-1;;;;;;47268:33:0;;47244:4;47268:33;;;;;;;;;;;;;47159:150;;;;:::o;52281:100::-;52368:5;52361:12;;;;;;;;-1:-1:-1;;52361:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52335:13;;52361:12;;52368:5;;52361:12;;52368:5;52361:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52281:100;:::o;55067:221::-;55143:7;55171:16;55179:7;55171;:16::i;:::-;55163:73;;;;-1:-1:-1;;;55163:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55256:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;55256:24:0;;55067:221::o;54597:404::-;54678:13;54694:23;54709:7;54694:14;:23::i;:::-;54678:39;;54742:5;-1:-1:-1;;;;;54736:11:0;:2;-1:-1:-1;;;;;54736:11:0;;;54728:57;;;;-1:-1:-1;;;54728:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54822:5;-1:-1:-1;;;;;54806:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;54806:21:0;;:69;;;;54831:44;54855:5;54862:12;:10;:12::i;:::-;54831:23;:44::i;:::-;54798:161;;;;-1:-1:-1;;;54798:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54972:21;54981:2;54985:7;54972:8;:21::i;:::-;54597:404;;;:::o;66730:51::-;66779:2;66730:51;:::o;66794:46::-;66839:1;66794:46;:::o;54075:211::-;54136:7;54257:21;:12;:19;:21::i;:::-;54250:28;;54075:211;:::o;55957:305::-;56118:41;56137:12;:10;:12::i;:::-;56151:7;56118:18;:41::i;:::-;56110:103;;;;-1:-1:-1;;;56110:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56226:28;56236:4;56242:2;56246:7;56226:9;:28::i;53837:162::-;-1:-1:-1;;;;;53961:20:0;;53934:7;53961:20;;;:13;:20;;;;;:30;;53985:5;53961:23;:30::i;:::-;53954:37;;53837:162;;;;;:::o;66565:42::-;66605:2;66565:42;:::o;68498:48::-;;;;;;;;;;;;-1:-1:-1;;;;;68498:48:0;;:::o;68652:29::-;;;;:::o;69017:32::-;;;;:::o;56333:151::-;56437:39;56454:4;56460:2;56464:7;56437:39;;;;;;;;;;;;:16;:39::i;65741:245::-;65859:41;65878:12;:10;:12::i;65859:41::-;65851:102;;;;-1:-1:-1;;;65851:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65964:14;65970:7;65964:5;:14::i;:::-;65741:245;:::o;66963:46::-;;;;;;;;;;;;;:::o;54363:172::-;54438:7;;54480:22;:12;54496:5;54480:15;:22::i;:::-;-1:-1:-1;54458:44:0;54363:172;-1:-1:-1;;;54363:172:0:o;66847:53::-;66897:3;66847:53;:::o;68979:25::-;;;;:::o;66614:50::-;;;;;;;;;;;;;:::o;52037:177::-;52109:7;52136:70;52153:7;52136:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;74460:96::-;67422:6;;-1:-1:-1;;;;;67422:6:0;67408:10;:20;67400:29;;;;;;74527:11:::1;:21:::0;;-1:-1:-1;;74527:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;74460:96::o;69135:44::-;;;;;;;;;;;;-1:-1:-1;;;;;69135:44:0;;:::o;53656:97::-;53737:8;53730:15;;;;;;;;-1:-1:-1;;53730:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53704:13;;53730:15;;53737:8;;53730:15;;53737:8;53730:15;;;;;;;;;;;;;;;;;;;;;;;;51754:221;51826:7;-1:-1:-1;;;;;51854:19:0;;51846:74;;;;-1:-1:-1;;;51846:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51938:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;67043:76::-;;;;;;;;;;;;;;;;;;;:::o;68598:47::-;;;;;;;;;;;;-1:-1:-1;;;;;68598:47:0;;:::o;52450:104::-;52539:7;52532:14;;;;;;;;-1:-1:-1;;52532:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52506:13;;52532:14;;52539:7;;52532:14;;52539:7;52532:14;;;;;;;;;;;;;;;;;;;;;;;;55360:295;55475:12;:10;:12::i;:::-;-1:-1:-1;;;;;55463:24:0;:8;-1:-1:-1;;;;;55463:24:0;;;55455:62;;;;;-1:-1:-1;;;55455:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;55575:8;55530:18;:32;55549:12;:10;:12::i;:::-;-1:-1:-1;;;;;55530:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;55530:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;55530:53:0;;;;;;;;;;;55614:12;:10;:12::i;:::-;-1:-1:-1;;;;;55599:48:0;;55638:8;55599:48;;;;;;;;;;;;;;;;;;;;55360:295;;:::o;68946:26::-;;;;:::o;68896:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;66913:31::-;;;;;;:::o;69097:25::-;;;;:::o;74346:102::-;67422:6;;-1:-1:-1;;;;;67422:6:0;67408:10;:20;67400:29;;;;;;74412:28:::1;::::0;:10:::1;::::0;:28;::::1;;;::::0;74432:7;;74412:28:::1;::::0;;;74432:7;74412:10;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;74346:102:::0;:::o;56555:285::-;56687:41;56706:12;:10;:12::i;:::-;56720:7;56687:18;:41::i;:::-;56679:103;;;;-1:-1:-1;;;56679:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56793:39;56807:4;56813:2;56817:7;56826:5;56793:13;:39::i;:::-;56555:285;;;;:::o;72596:363::-;72672:10;72642:4;72666:17;;;:5;:17;;;;;:25;;;:33;;:25;:33;72658:60;;;;;-1:-1:-1;;;72658:60:0;;;;;;;;;;;;-1:-1:-1;;;72658:60:0;;;;;;;;;;;;;;;72743:10;72763:1;72737:17;;;:5;:17;;;;;:24;;;72729:64;;;;;-1:-1:-1;;;72729:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;72813:11;;;;72812:12;72804:46;;;;;-1:-1:-1;;;72804:46:0;;;;;;;;;;;;-1:-1:-1;;;72804:46:0;;;;;;;;;;;;;;;72865:10;72885:17;;;;:5;:17;;;;;;:24;;;72865:45;;;;;;;;72885:17;72865:45;72885:24;72865:10;:45;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72927:10:0;72948:1;72921:17;;;:5;:17;;;;;:24;;:28;72596:363;:::o;68553:29::-;;;;:::o;52625:792::-;52698:13;52732:16;52740:7;52732;:16::i;:::-;52724:76;;;;-1:-1:-1;;;52724:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52839:19;;;;:10;:19;;;;;;;;;52813:45;;;;;;-1:-1:-1;;52813:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;52839:19;52813:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52869:18;52890:9;:7;:9::i;:::-;52869:30;;52981:4;52975:18;52997:1;52975:23;52971:72;;;-1:-1:-1;53022:9:0;-1:-1:-1;53015:16:0;;52971:72;53147:23;;:27;53143:108;;53222:4;53228:9;53205:33;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53205:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53205:33:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53205:33:0;;;;;;;;;;;;;-1:-1:-1;;53205:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53191:48;;;;;;53143:108;53383:4;53389:18;:7;:16;:18::i;:::-;53366:42;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53366:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53366:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53366:42:0;;;;;;;;;;;;;-1:-1:-1;;53366:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53352:57;;;;52625:792;;;:::o;66363:48::-;66401:10;66363:48;:::o;66677:46::-;66722:1;66677:46;:::o;69056:32::-;;;;:::o;55726:164::-;-1:-1:-1;;;;;55847:25:0;;;55823:4;55847:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55726:164::o;66418:39::-;66452:5;66418:39;:::o;38848:158::-;38906:7;38939:1;38934;:6;;38926:49;;;;;-1:-1:-1;;;38926:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38993:5:0;;;38848:158::o;69240:3344::-;69292:4;-1:-1:-1;;;;;69327:16:0;;69319:48;;;;;-1:-1:-1;;;69319:48:0;;;;;;;;;;;;-1:-1:-1;;;69319:48:0;;;;;;;;;;;;;;;66452:5;69386:9;;:22;69378:46;;;;;-1:-1:-1;;;69378:46:0;;;;;;;;;;;;-1:-1:-1;;;69378:46:0;;;;;;;;;;;;;;;69473:7;69483:13;:11;:13::i;:::-;-1:-1:-1;;;;;69619:18:0;;;;;;:14;:18;;;;;;;;:20;;;;;;;;;69808:9;:11;;;;;;;69843:10;69837:17;;:5;:17;;;;;:25;69473:23;;-1:-1:-1;69619:18:0;;;69837:25;;69834:1193;;;69890:10;69884:17;;;;:5;:17;;;;;:27;;:29;;;;;;;;66897:3;-1:-1:-1;69937:86:0;;;;-1:-1:-1;70002:10:0;69996:17;;;;:5;:17;;;;;:23;;;70022:1;-1:-1:-1;69937:86:0;69934:615;;;70055:10;70049:17;;;;:5;:17;;;;;70073:1;70049:23;;;;:25;70097:16;:19;;;;;;70139:16;:19;;-1:-1:-1;;70139:19:0;;;69934:615;;;70210:10;70204:17;;;;:5;:17;;;;;:27;;;66779:2;-1:-1:-1;70204:86:0;;;;-1:-1:-1;70269:10:0;70263:17;;;;:5;:17;;;;;:23;;;70289:1;-1:-1:-1;70204:86:0;70201:348;;;70314:16;:18;;;;;;;;;70361:10;70314:16;70355:17;;;:5;:17;;;;;;;;:23;;;:25;;;70412:9;;;70403:19;;:8;:19;;;;;:32;;-1:-1:-1;;;;;;70403:32:0;;;;;70486:9;;70458:17;;;;;;;:25;;;;:37;;;70518:11;;;;70201:348;69834:1193;;;70593:28;;:::i;:::-;-1:-1:-1;70640:10:0;:12;;;;;;;;;;70684:274;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70684:274:0;;;;;;;;;;;;;;;;;;;;;;;;70985:10;70979:17;;:5;:17;;;;;;;:30;;;;-1:-1:-1;;70979:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69834:1193;71160:16;;71059:2;;71043:13;;;;71160:18;71157:210;;71263:16;;71218:41;71263:16;71217:62;;;;;71198:81;;71157:210;;;66722:1;71318:33;;;;71157:210;71388:16;;:18;71385:210;;71491:16;;71446:41;71491:16;71445:62;;;;;71426:81;;71385:210;;;66839:1;71546:33;;;;71385:210;71626:1;71613:470;71634:9;;71629:1;:14;71613:470;;71669:23;71729:11;;;:8;:11;;;;;;;;;-1:-1:-1;;;;;71729:11:0;71762:22;;;:5;:22;;;;;;:28;;;71794:1;71762:33;:56;;;;;71817:1;71799:16;;:19;71762:56;71759:309;;;-1:-1:-1;;;;;71842:22:0;;;;;;:5;:22;;;;;:29;;:49;;;;;;71759:309;;;-1:-1:-1;;;;;71919:22:0;;;;;;:5;:22;;;;;:28;;;71951:1;71919:33;:56;;;;;71974:1;71956:16;;:19;71919:56;71916:152;;;-1:-1:-1;;;;;71999:22:0;;;;;;:5;:22;;;;;:29;;:49;;;;;;71916:152;-1:-1:-1;71646:3:0;;71613:470;;;-1:-1:-1;72184:13:0;72217:3;72201:14;;;72200:20;;-1:-1:-1;72342:3:0;66401:10;72318:22;;72362:9;:11;;;;;;72317:28;72302:43;;;;;72428:13;72434:2;72438;72428:5;:13::i;:::-;72520:6;;:28;;-1:-1:-1;;;;;72520:6:0;;;;:28;;;;;72536:11;;72520:6;:28;:6;:28;72536:11;72520:6;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72574:2:0;;69240:3344;-1:-1:-1;;;;;;;;69240:3344:0:o;39265:220::-;39323:7;39347:6;39343:20;;-1:-1:-1;39362:1:0;39355:8;;39343:20;39386:5;;;39390:1;39386;:5;:1;39410:5;;;;;:10;39402:56;;;;-1:-1:-1;;;39402:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39963:153;40021:7;40053:1;40049;:5;40041:44;;;;;-1:-1:-1;;;40041:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40107:1;40103;:5;;;;;;;39963:153;-1:-1:-1;;;39963:153:0:o;58307:127::-;58372:4;58396:30;:12;58418:7;58396:21;:30::i;759:106::-;847:10;759:106;:::o;64325:192::-;64400:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;64400:29:0;-1:-1:-1;;;;;64400:29:0;;;;;;;;:24;;64454:23;64400:24;64454:14;:23::i;:::-;-1:-1:-1;;;;;64445:46:0;;;;;;;;;;;64325:192;;:::o;15713:123::-;15782:7;15809:19;15817:3;15809:7;:19::i;58601:355::-;58694:4;58719:16;58727:7;58719;:16::i;:::-;58711:73;;;;-1:-1:-1;;;58711:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58795:13;58811:23;58826:7;58811:14;:23::i;:::-;58795:39;;58864:5;-1:-1:-1;;;;;58853:16:0;:7;-1:-1:-1;;;;;58853:16:0;;:51;;;;58897:7;-1:-1:-1;;;;;58873:31:0;:20;58885:7;58873:11;:20::i;:::-;-1:-1:-1;;;;;58873:31:0;;58853:51;:94;;;;58908:39;58932:5;58939:7;58908:23;:39::i;:::-;58845:103;58601:355;-1:-1:-1;;;;58601:355:0:o;61737:599::-;61862:4;-1:-1:-1;;;;;61835:31:0;:23;61850:7;61835:14;:23::i;:::-;-1:-1:-1;;;;;61835:31:0;;61827:85;;;;-1:-1:-1;;;61827:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61949:16:0;;61941:65;;;;-1:-1:-1;;;61941:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62019:39;62040:4;62046:2;62050:7;62019:20;:39::i;:::-;62123:29;62140:1;62144:7;62123:8;:29::i;:::-;-1:-1:-1;;;;;62165:19:0;;;;;;:13;:19;;;;;:35;;62192:7;62165:26;:35::i;:::-;-1:-1:-1;;;;;;62211:17:0;;;;;;:13;:17;;;;;:30;;62233:7;62211:21;:30::i;:::-;-1:-1:-1;62254:29:0;:12;62271:7;62280:2;62254:16;:29::i;:::-;;62320:7;62316:2;-1:-1:-1;;;;;62301:27:0;62310:4;-1:-1:-1;;;;;62301:27:0;;;;;;;;;;;61737:599;;;:::o;27306:137::-;27377:7;27412:22;27416:3;27428:5;27412:3;:22::i;60855:545::-;60915:13;60931:23;60946:7;60931:14;:23::i;:::-;60915:39;;60985:48;61006:5;61021:1;61025:7;60985:20;:48::i;:::-;61074:29;61091:1;61095:7;61074:8;:29::i;:::-;61162:19;;;;:10;:19;;;;;61156:33;;-1:-1:-1;;61156:33:0;;;;;;;;;;;:38;61152:97;;61218:19;;;;:10;:19;;;;;61211:26;;;:::i;:::-;-1:-1:-1;;;;;61261:20:0;;;;;;:13;:20;;;;;:36;;61289:7;61261:27;:36::i;:::-;-1:-1:-1;61310:28:0;:12;61330:7;61310:19;:28::i;:::-;-1:-1:-1;61356:36:0;;61384:7;;61380:1;;-1:-1:-1;;;;;61356:36:0;;;;;61380:1;;61356:36;60855:545;;:::o;16175:236::-;16255:7;;;;16315:22;16319:3;16331:5;16315:3;:22::i;:::-;16284:53;;;;-1:-1:-1;16175:236:0;-1:-1:-1;;;;;16175:236:0:o;17461:213::-;17568:7;17619:44;17624:3;17644;17650:12;17619:4;:44::i;:::-;17611:53;-1:-1:-1;17461:213:0;;;;;;:::o;57722:272::-;57836:28;57846:4;57852:2;57856:7;57836:9;:28::i;:::-;57883:48;57906:4;57912:2;57916:7;57925:5;57883:22;:48::i;:::-;57875:111;;;;-1:-1:-1;;;57875:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6842:746;6898:13;7119:10;7115:53;;-1:-1:-1;7146:10:0;;;;;;;;;;;;-1:-1:-1;;;7146:10:0;;;;;;7115:53;7193:5;7178:12;7234:78;7241:9;;7234:78;;7267:8;;7298:2;7290:10;;;;7234:78;;;7322:19;7354:6;7344:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7344:17:0;-1:-1:-1;7416:5:0;;-1:-1:-1;7322:39:0;-1:-1:-1;;;7388:10:0;;7432:117;7439:9;;7432:117;;7508:2;7501:4;:9;7496:2;:14;7483:29;;7465:6;7472:7;;;;;;;7465:15;;;;;;;;;;;:47;-1:-1:-1;;;;;7465:47:0;;;;;;;;-1:-1:-1;7535:2:0;7527:10;;;;7432:117;;;-1:-1:-1;7573:6:0;6842:746;-1:-1:-1;;;;6842:746:0:o;67635:833::-;67723:9;;67788:5;;67771:70;;;;;;;;;;;67795:10;67771:70;;;;;;67807:16;67771:70;;;;67825:15;67771:70;;;;;;;;;;;;;;;;;;;;;;;;;67761:81;;;;;67676:4;;66452:5;67710:22;;67676:4;;67710:22;;;67756:99;;;;;67743:112;;67866:10;67895:7;67903:5;67895:14;;;;;;;;;:19;67891:120;;67939:7;67947:5;67939:14;;;;;;;;;67931:22;;67891:120;;;-1:-1:-1;67994:5:0;67891:120;68076:7;68096:1;68084:9;:13;68076:22;;;;;;;;;68072:283;;68213:1;68201:9;:13;68184:7;68192:5;68184:14;;;;;;;;:30;68072:283;;;68321:7;68341:1;68329:9;:13;68321:22;;;;;;;;;68304:7;68312:5;68304:14;;;;;;;;:39;68072:283;68365:5;:7;;;;;;;;;68448:12;;:5;;:9;:12::i;:::-;68441:19;;;;;67635:833;:::o;60222:404::-;-1:-1:-1;;;;;60302:16:0;;60294:61;;;;;-1:-1:-1;;;60294:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60375:16;60383:7;60375;:16::i;:::-;60374:17;60366:58;;;;;-1:-1:-1;;;60366:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;60437:45;60466:1;60470:2;60474:7;60437:20;:45::i;:::-;-1:-1:-1;;;;;60495:17:0;;;;;;:13;:17;;;;;:30;;60517:7;60495:21;:30::i;:::-;-1:-1:-1;60538:29:0;:12;60555:7;60564:2;60538:16;:29::i;:::-;-1:-1:-1;60585:33:0;;60610:7;;-1:-1:-1;;;;;60585:33:0;;;60602:1;;60585:33;;60602:1;;60585:33;60222:404;;:::o;15474:151::-;15558:4;15582:35;15592:3;15612;15582:9;:35::i;12292:110::-;12375:19;;12292:110::o;26393:137::-;26463:4;26487:35;26495:3;26515:5;26487:7;:35::i;26086:131::-;26153:4;26177:32;26182:3;26202:5;26177:4;:32::i;14897:185::-;14986:4;15010:64;15015:3;15035;-1:-1:-1;;;;;15049:23:0;;15010:4;:64::i;22344:204::-;22439:18;;22411:7;;22439:26;-1:-1:-1;22431:73:0;;;;-1:-1:-1;;;22431:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22522:3;:11;;22534:5;22522:18;;;;;;;;;;;;;;;;22515:25;;22344:204;;;;:::o;15248:142::-;15325:4;15349:33;15357:3;15377;15349:7;:33::i;12757:279::-;12861:19;;12824:7;;;;12861:27;-1:-1:-1;12853:74:0;;;;-1:-1:-1;;;12853:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12940:22;12965:3;:12;;12978:5;12965:19;;;;;;;;;;;;;;;;;;12940:44;;13003:5;:10;;;13015:5;:12;;;12995:33;;;;;12757:279;;;;;:::o;14254:319::-;14348:7;14387:17;;;:12;;;:17;;;;;;14438:12;14423:13;14415:36;;;;-1:-1:-1;;;14415:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14505:3;:12;;14529:1;14518:8;:12;14505:26;;;;;;;;;;;;;;;;;;:33;;;14498:40;;;14254:319;;;;;:::o;63602:604::-;63723:4;63750:15;:2;-1:-1:-1;;;;;63750:13:0;;:15::i;:::-;63745:60;;-1:-1:-1;63789:4:0;63782:11;;63745:60;63815:23;63841:252;-1:-1:-1;;;63954:12:0;:10;:12::i;:::-;63981:4;64000:7;64022:5;63857:181;;;;;;-1:-1:-1;;;;;63857:181:0;;;;;;-1:-1:-1;;;;;63857:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63857:181:0;;;;;;;-1:-1:-1;;;;;63857:181:0;;;;;;;;;;;63841:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63841:15:0;;;:252;:15;:252::i;:::-;63815:278;;64104:13;64131:10;64120:32;;;;;;;;;;;;;;;-1:-1:-1;64120:32:0;-1:-1:-1;;;;;;64171:26:0;-1:-1:-1;;;64171:26:0;;-1:-1:-1;;;63602:604:0;;;;;;:::o;38386:179::-;38444:7;38476:5;;;38500:6;;;;38492:46;;;;;-1:-1:-1;;;38492:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;12072:125;12143:4;12167:17;;;:12;;;;;:17;;;;;;:22;;;12072:125::o;20046:1544::-;20112:4;20251:19;;;:12;;;:19;;;;;;20287:15;;20283:1300;;20722:18;;-1:-1:-1;;20673:14:0;;;;20722:22;;;;20649:21;;20722:3;;:22;;21009;;;;;;;;;;;;;;20989:42;;21155:9;21126:3;:11;;21138:13;21126:26;;;;;;;;;;;;;;;;;;;:38;;;;21232:23;;;21274:1;21232:12;;;:23;;;;;;21258:17;;;21232:43;;21384:17;;21232:3;;21384:17;;;;;;;;;;;;;;;;;;;;;;21479:3;:12;;:19;21492:5;21479:19;;;;;;;;;;;21472:26;;;21522:4;21515:11;;;;;;;;20283:1300;21566:5;21559:12;;;;;19456:414;19519:4;19541:21;19551:3;19556:5;19541:9;:21::i;:::-;19536:327;;-1:-1:-1;19579:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;19762:18;;19740:19;;;:12;;;:19;;;;;;:40;;;;19795:11;;19536:327;-1:-1:-1;19846:5:0;19839:12;;9572:692;9648:4;9783:17;;;:12;;;:17;;;;;;9817:13;9813:444;;-1:-1:-1;;9902:38:0;;;;;;;;;;;;;;;;;;9884:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;10099:19;;10079:17;;;:12;;;:17;;;;;;;:39;10133:11;;9813:444;10213:5;10177:3;:12;;10201:1;10190:8;:12;10177:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;10240:5;10233:12;;;;;10439:1549;10503:4;10638:17;;;:12;;;:17;;;;;;10672:13;;10668:1313;;11104:19;;-1:-1:-1;;11057:12:0;;;;11104:23;;;;11033:21;;11104:3;;:23;;11401;;;;;;;;;;;;;;;;11372:52;;11549:9;11519:3;:12;;11532:13;11519:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;11639:14;;11626:28;;:12;;;:28;;;;;11657:17;;;11626:48;;11783:18;;11626:3;;11783:18;;;;;;;;;;;;;;-1:-1:-1;;11783:18:0;;;;;;;;;;;;;;;;;;;;;11879:17;;;:12;;;:17;;;;;;11872:24;;;;11783:18;-1:-1:-1;11913:11:0;;-1:-1:-1;;;;11913:11:0;28277:422;28644:20;28683:8;;;28277:422::o;31195:195::-;31298:12;31330:52;31352:6;31360:4;31366:1;31369:12;31298;32499:18;32510:6;32499:10;:18::i;:::-;32491:60;;;;;-1:-1:-1;;;32491:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32625:12;32639:23;32666:6;-1:-1:-1;;;;;32666:11:0;32686:5;32694:4;32666:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32666:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32624:75;;;;32717:52;32735:7;32744:10;32756:12;32717:17;:52::i;:::-;32710:59;32247:530;-1:-1:-1;;;;;;;32247:530:0:o;34787:742::-;34902:12;34931:7;34927:595;;;-1:-1:-1;34962:10:0;34955:17;;34927:595;35076:17;;:21;35072:439;;35339:10;35333:17;35400:15;35387:10;35383:2;35379:19;35372:44;35287:148;35475:20;;-1:-1:-1;;;35475:20:0;;;;;;;;;;;;;;;;;35482:12;;35475:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://dec352af194c0ff625d2ad6ee52a27e7ea3322a364902a8ebba845d43fffc053
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.