Contract 0x31921e3ab975e0f0dc36ee0972614be204eef9dc 9

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2264174b6f0c65ca88991dfa8dd4435f11b4faa82e685caa27924456d4490185Scan112674782021-09-27 2:30:3045 mins ago0x5c02a5c0285a5982a5b48a02b2e1cfb163430cdc IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0xe41b0158804be641fa5d395eb5b0d61bd175016675911e45aab385847370dd7dScan112674282021-09-27 2:27:3348 mins ago0x5c02a5c0285a5982a5b48a02b2e1cfb163430cdc IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0x01566230990b1da2506f478ebc71d4f82a8dad7771df6bb401455363e1f7df32Scan112671682021-09-27 2:14:001 hr 1 min ago0x6117fb16f70d07dc5672b04d0e7437de83ace31f IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0x9ca257a20d1aca36f73161710fdd99d447bdf00343b388a645608c98e1292007Scan112671532021-09-27 2:13:151 hr 2 mins ago0x5c02a5c0285a5982a5b48a02b2e1cfb163430cdc IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0x3de6c1019624976865f455142e9bd9fc9d9ffe2d239be5f5bf39298ed773396fScan112670872021-09-27 2:09:571 hr 5 mins ago0x5c02a5c0285a5982a5b48a02b2e1cfb163430cdc IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0x326c6556150106ac9710ff97d6c6eb497ab5ac16ea22b9f96973df5ada5a2448Scan112668882021-09-27 1:59:591 hr 15 mins ago0x361bee60af80bfda8c957cd185f728deaba9d918 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.00015
0x730b57f1d19d7eac68ef083016cb8e04991bb9e8f5e1539c8748956a5ec60694Scan112667512021-09-27 1:53:081 hr 22 mins ago0x266f1c5a55fdeab85a2d873a91bac77d823c297e IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0x6d32c195c0f6f4bbb4e557b21ff537921142d6d10031445088e0516b47202e82Scan112667162021-09-27 1:51:231 hr 24 mins ago0x10a048317718ae71aa159683dff63fe93f7bf0c0 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0x353a7359ebf9833df75098801e1d166f6f1cdaefeec5b53f732b9079f572a509Scan112661932021-09-27 1:25:141 hr 50 mins ago0xccde780e78ace46442524fc22a1fddf8e1e13482 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0xa9ebafa2852e27ba05391e616816553dd269a90a3c11b0c8dde48c309f23be19Scan112659232021-09-27 1:11:432 hrs 3 mins ago0xb1cb1fdca69bf463fd6ab207ea477ffc3b0c0995 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0x4b01c2bf64f63fd50b80675e5cfeb35d202891763812ca6ddaded62c6d7ed068Scan112658952021-09-27 1:10:192 hrs 5 mins ago0xb1cb1fdca69bf463fd6ab207ea477ffc3b0c0995 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0xfc7f32697f037484b49614be49acbe082e8987dec8f0a8c3c654ee5168f2ae16Scan112658952021-09-27 1:10:192 hrs 5 mins ago0xb1cb1fdca69bf463fd6ab207ea477ffc3b0c0995 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0xdf243f8f9191959bf3cfec58e3fa828f246544c6d5ddfec5d228192bcddb0e62Scan112657662021-09-27 1:03:342 hrs 12 mins ago0x361bee60af80bfda8c957cd185f728deaba9d918 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.00015
0xc937026dec84b1bab62c64f171bacf48d70e79259ffdfd4744b61c10093c324dScan112642392021-09-26 23:45:503 hrs 29 mins ago0xe24854ca9a80e03628fa872b9404040062cf6e76 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001111985
0x656ff9f358cacfdd55dc6d1f796361c1aa34d3cef7963218eb4580e1c1ff9344Scan112638282021-09-26 23:25:173 hrs 50 mins ago0xe24854ca9a80e03628fa872b9404040062cf6e76 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001186985
0xc01aa6332bb7eba28eca5b88a3c78476c0313f4ea51861dfd83ec582d53c3f55Scan112631422021-09-26 22:50:584 hrs 24 mins ago0xdb61ee4b420ded4621dd9483fbb81a34fa106fb8 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0x355603bb387d8020920710efdd7ba6dc435f346d4e5f1354c911e12e43fa2a53Scan112630122021-09-26 22:44:284 hrs 31 mins ago0x1da7e43ec34f98f535e965be81e868171712a050 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0x9e65029698719d22cb92b08bc60e2ee15b3c39724437e114d29abfd23605686cScan112628322021-09-26 22:35:284 hrs 40 mins ago0xdf169b07904527480165af07188ea410171ca64d IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0xcab6bd2068b0081ab10952b715870d9962baef32c72a9fd38e1b4f187506c5ceScan112609992021-09-26 21:03:266 hrs 12 mins agoRugscreen Certificate: Deployer IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0xa24db2eed197f2f6be70fd6b8ceba31a74007b3a9398022b77e63c625f9f254fScan112609852021-09-26 21:02:446 hrs 12 mins agoRugscreen Certificate: Deployer IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0x56f48216b2ce3ab0cbfa1d72bf5f58e0103bbee458f8ba6de3673426f2bb485eScan112609102021-09-26 20:58:596 hrs 16 mins ago0xba4eebb277f0b781bacf6a1a29a69740461052e9 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001112045
0xe0197d133239dd780a43987dae33259d9519a418de70dcbfad6044c0896dff1cScan112595372021-09-26 19:49:107 hrs 26 mins ago0x361bee60af80bfda8c957cd185f728deaba9d918 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.00015
0x5c475566a974c6c57243c4b7a31853e7507672c36a4b9a720ed4ec5cc04a3e7bScan112593132021-09-26 19:37:547 hrs 37 mins ago0x361bee60af80bfda8c957cd185f728deaba9d918 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.00015
0xbdd56a02ab9baddb45c2bbaa15de85bd42b366ea9911e29a2d5dff74334b961eScan112586742021-09-26 19:05:578 hrs 9 mins ago0x2f03e92fbbc49717503689a64fa98cdd560c9e10 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
0xb8eeaf1626d1fb70d23c569b1eb55f0d3b059fbdf056a88ef8d314e170768e1eScan112586532021-09-26 19:04:548 hrs 10 mins ago0xf111f70b15313ad9d870cc2275f88dfbe5d831a5 IN  Rugscreen Certificate: RugscreenCertified Token0.009442060085836 BNB0.001187045
[ Download CSV Export 

OVERVIEW

The official NFT Token issued by Rugscreen.

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2264174b6f0c65ca88991dfa8dd4435f11b4faa82e685caa27924456d4490185112674782021-09-27 2:30:3045 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xe41b0158804be641fa5d395eb5b0d61bd175016675911e45aab385847370dd7d112674282021-09-27 2:27:3348 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x01566230990b1da2506f478ebc71d4f82a8dad7771df6bb401455363e1f7df32112671682021-09-27 2:14:001 hr 1 min ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x9ca257a20d1aca36f73161710fdd99d447bdf00343b388a645608c98e1292007112671532021-09-27 2:13:151 hr 2 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x3de6c1019624976865f455142e9bd9fc9d9ffe2d239be5f5bf39298ed773396f112670872021-09-27 2:09:571 hr 5 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x730b57f1d19d7eac68ef083016cb8e04991bb9e8f5e1539c8748956a5ec60694112667512021-09-27 1:53:081 hr 22 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x6d32c195c0f6f4bbb4e557b21ff537921142d6d10031445088e0516b47202e82112667162021-09-27 1:51:231 hr 24 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x353a7359ebf9833df75098801e1d166f6f1cdaefeec5b53f732b9079f572a509112661932021-09-27 1:25:141 hr 50 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xa9ebafa2852e27ba05391e616816553dd269a90a3c11b0c8dde48c309f23be19112659232021-09-27 1:11:432 hrs 3 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x4b01c2bf64f63fd50b80675e5cfeb35d202891763812ca6ddaded62c6d7ed068112658952021-09-27 1:10:192 hrs 5 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xfc7f32697f037484b49614be49acbe082e8987dec8f0a8c3c654ee5168f2ae16112658952021-09-27 1:10:192 hrs 5 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xc937026dec84b1bab62c64f171bacf48d70e79259ffdfd4744b61c10093c324d112642392021-09-26 23:45:503 hrs 29 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x656ff9f358cacfdd55dc6d1f796361c1aa34d3cef7963218eb4580e1c1ff9344112638282021-09-26 23:25:173 hrs 50 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xc01aa6332bb7eba28eca5b88a3c78476c0313f4ea51861dfd83ec582d53c3f55112631422021-09-26 22:50:584 hrs 24 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x355603bb387d8020920710efdd7ba6dc435f346d4e5f1354c911e12e43fa2a53112630122021-09-26 22:44:284 hrs 31 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x9e65029698719d22cb92b08bc60e2ee15b3c39724437e114d29abfd23605686c112628322021-09-26 22:35:284 hrs 40 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xcab6bd2068b0081ab10952b715870d9962baef32c72a9fd38e1b4f187506c5ce112609992021-09-26 21:03:266 hrs 12 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xa24db2eed197f2f6be70fd6b8ceba31a74007b3a9398022b77e63c625f9f254f112609852021-09-26 21:02:446 hrs 12 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x56f48216b2ce3ab0cbfa1d72bf5f58e0103bbee458f8ba6de3673426f2bb485e112609102021-09-26 20:58:596 hrs 16 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xbdd56a02ab9baddb45c2bbaa15de85bd42b366ea9911e29a2d5dff74334b961e112586742021-09-26 19:05:578 hrs 9 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0xb8eeaf1626d1fb70d23c569b1eb55f0d3b059fbdf056a88ef8d314e170768e1e112586532021-09-26 19:04:548 hrs 10 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x6cbe5bcbbeff8b939c698d8a340b108b5d1b9969189fb36acbe18597e9de4a77112579582021-09-26 18:30:068 hrs 45 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x50dda0526972aec3e4b1585b377afced2b5eb19d309d9e6e4c9f75c5b0b3d5c3112561132021-09-26 16:57:0210 hrs 18 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x72636fa4a1e342f92b58ae0b1f9d156a6398a86a5c62defd8128a83ba0ff2c61112556572021-09-26 16:34:1410 hrs 41 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
0x93199331f4bb3d2c52c0c99f1145d5c2c8bd9a306823c228c8d396635a68cba4112521042021-09-26 13:34:5613 hrs 40 mins ago Rugscreen Certificate: RugscreenCertified Token0x5dba9ca8febfbaef5563b0d7a9fac7f7f99edc990.00944206008583691 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SiteCertificateNFT

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/**
 *Submitted for verification at BscScan.com on 2020-12-01
*/

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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.0.0, only sets of type `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];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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


pragma solidity ^0.6.2;

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

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


pragma solidity ^0.6.0;

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

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

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


pragma solidity ^0.6.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

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

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

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


pragma solidity ^0.6.0;

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

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


pragma solidity ^0.6.2;


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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.6.2;


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

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

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

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

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


pragma solidity ^0.6.2;


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

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

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

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

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


pragma solidity ^0.6.0;

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

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


pragma solidity ^0.6.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
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 override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

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

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


pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

pragma solidity ^0.6.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 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) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    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(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(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(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

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

pragma solidity ^0.6.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--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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


pragma solidity ^0.6.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 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 override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).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(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, 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 returns (string memory) {
        return _baseURI;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view 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 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 = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || 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 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 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 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 returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || 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 = ownerOf(tokenId);

        _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(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        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);
    }

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    /**
     * @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: @openzeppelin/contracts/utils/Pausable.sol

pragma solidity ^0.6.0;



abstract contract ERC721Token is ERC721 {
    /**
    Removed any restrictions on sending
    from the previous contract to comply with our principles
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

    }
}

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


pragma solidity ^0.6.0;

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

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

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

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

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

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

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

// File: contracts/libraries/TransferHelper.sol


pragma solidity >=0.6.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
    }
}

// File: contracts/SiteCertificate/SiteCertificateNFT.sol






contract SiteCertificateNFT is ERC721Token, AccessControl, Ownable {
    bytes32 public constant UPDATE_TOKEN_URI_ROLE = keccak256('UPDATE_TOKEN_URI_ROLE');
    uint256 public nextTokenId = 1;
    address public mintFeeAddr;
    uint256 public mintFeeAmount;
    event Burn(address indexed sender, uint256 tokenId);
    event MintFeeAddressTransferred(address indexed previousOwner, address indexed newOwner);
    event SetMintFeeAmount(address indexed seller, uint256 oldMintFeeAmount, uint256 newMintFeeAmount);

    constructor(
        string memory name,
        string memory symbol,
        address _mintFeeAddr,
        uint256 _mintFeeAmount
    ) public ERC721(name, symbol) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(UPDATE_TOKEN_URI_ROLE, _msgSender());
        mintFeeAddr = _mintFeeAddr;
        mintFeeAmount = _mintFeeAmount;
        emit MintFeeAddressTransferred(address(0), mintFeeAddr);
        emit SetMintFeeAmount(_msgSender(), 0, mintFeeAmount);
    }

    receive() external payable {}

    function mint(address to, string memory _tokenURI) public payable returns (uint256 tokenId) {
        require(msg.value >= mintFeeAmount, 'msg value too low');
        TransferHelper.safeTransferETH(mintFeeAddr, mintFeeAmount);
        tokenId = nextTokenId;
        _mint(to, tokenId);
        nextTokenId++;
        _setTokenURI(tokenId, _tokenURI);
        if (msg.value > mintFeeAmount) TransferHelper.safeTransferETH(msg.sender, msg.value - mintFeeAmount);
    }

    function scan(address to, string memory _tokenURI) public payable returns (uint256 tokenId) {
        require(msg.value >= mintFeeAmount, 'msg value too low');
        TransferHelper.safeTransferETH(mintFeeAddr, mintFeeAmount);
        tokenId = nextTokenId;
        _mint(to, tokenId);
        nextTokenId++;
        _setTokenURI(tokenId, _tokenURI);
        if (msg.value > mintFeeAmount) TransferHelper.safeTransferETH(msg.sender, msg.value - mintFeeAmount);
    }


    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), 'caller is not owner nor approved');
        _burn(tokenId);
        emit Burn(_msgSender(), tokenId);
    }

    function setBaseURI(string memory baseURI) public {
        require(hasRole(UPDATE_TOKEN_URI_ROLE, _msgSender()), 'Must have update token uri role');
        _setBaseURI(baseURI);
    }

    function setTokenURI(uint256 tokenId, string memory tokenURI) public {
        require(hasRole(UPDATE_TOKEN_URI_ROLE, _msgSender()), 'Must have update token uri role');
        _setTokenURI(tokenId, tokenURI);
    }



    function transferMintFeeAddress(address _mintFeeAddr) public {
        require(_msgSender() == mintFeeAddr, 'FORBIDDEN');
        mintFeeAddr = _mintFeeAddr;
        emit MintFeeAddressTransferred(_msgSender(), mintFeeAddr);
    }

    function setMintFeeAmount(uint256 _mintFeeAmount) public onlyOwner {
        require(mintFeeAmount != _mintFeeAmount, 'Not need update');
        emit SetMintFeeAmount(_msgSender(), mintFeeAmount, _mintFeeAmount);
        mintFeeAmount = _mintFeeAmount;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_mintFeeAddr","type":"address"},{"internalType":"uint256","name":"_mintFeeAmount","type":"uint256"}],"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":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"MintFeeAddressTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldMintFeeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newMintFeeAmount","type":"uint256"}],"name":"SetMintFeeAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPDATE_TOKEN_URI_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFeeAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintFeeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"to","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"scan","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintFeeAmount","type":"uint256"}],"name":"setMintFeeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"_mintFeeAddr","type":"address"}],"name":"transferMintFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001600c553480156200001657600080fd5b506040516200353138038062003531833981810160405260808110156200003c57600080fd5b81019080805160405193929190846401000000008211156200005d57600080fd5b9083019060208201858111156200007357600080fd5b82516401000000008111828201881017156200008e57600080fd5b82525081516020918201929091019080838360005b83811015620000bd578181015183820152602001620000a3565b50505050905090810190601f168015620000eb5780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010f57600080fd5b9083019060208201858111156200012557600080fd5b82516401000000008111828201881017156200014057600080fd5b82525081516020918201929091019080838360005b838110156200016f57818101518382015260200162000155565b50505050905090810190601f1680156200019d5780820380516001836020036101000a031916815260200191505b506040908152602082015191015190925090508383620001c46301ffc9a760e01b6200037b565b8151620001d990600690602085019062000516565b508051620001ef90600790602084019062000516565b50620002026380ac58cd60e01b6200037b565b62000214635b5e139f60e01b6200037b565b6200022663780e9d6360e01b6200037b565b50600090506200023562000400565b600b80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200029960006200029362000400565b62000404565b620002c87fcf1e7e3bee0e3167872271ce5d51dcec9a6ad0ff65a358daa0e5988775cca4e96200029362000400565b600d80546001600160a01b0319166001600160a01b038481169190911791829055600e8390556040519116906000907fb55e540bc4aff5195703d7c24c8acdce597e5786b44df9ca3202f686313c9846908290a36200032662000400565b6001600160a01b03167f5333df160d2d64e9a08458ca4dbcffa141c7b398a94ec77e02960c4478ab268e6000600e54604051808381526020018281526020019250505060405180910390a250505050620005b2565b6001600160e01b03198082161415620003db576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b62000410828262000414565b5050565b6000828152600a602090815260409091206200043b91839062001b6b6200048f821b17901c565b1562000410576200044b62000400565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620004a6836001600160a01b038416620004af565b90505b92915050565b6000620004bd8383620004fe565b620004f557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620004a9565b506000620004a9565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200055957805160ff191683800117855562000589565b8280016001018555821562000589579182015b82811115620005895782518255916020019190600101906200056c565b50620005979291506200059b565b5090565b5b808211156200059757600081556001016200059c565b612f6f80620005c26000396000f3fe6080604052600436106102345760003560e01c806370a082311161012e578063a217fddf116100ab578063ca15c8731161006f578063ca15c87314610a9c578063d0def521146107a1578063d547741f14610ac6578063e985e9c514610aff578063f2fde38b14610b3a5761023b565b8063a217fddf1461093c578063a22cb46514610951578063ac4732b91461098c578063b88d4fde146109a1578063c87b56dd14610a725761023b565b80638da5cb5b116100f25780638da5cb5b1461087f5780639010d07c1461089457806391d14854146108c45780639247cfe6146108fd57806395d89b41146109275761023b565b806370a0823114610759578063715018a61461078c578063729a6982146107a157806375794a3c146108555780637e622c561461086a5761023b565b80632f2ff15d116101bc5780634f6ccce7116101805780634f6ccce71461062a57806355f804b3146106545780636352211e146107055780636a857ed21461072f5780636c0360eb146107445761023b565b80632f2ff15d146105125780632f745c591461054b57806336568abe1461058457806342842e0e146105bd57806342966c68146106005761023b565b80630ed4d456116102035780630ed4d45614610393578063162094c4146103c657806318160ddd1461047e57806323b872dd146104a5578063248a9ca3146104e85761023b565b806301ffc9a71461024057806306fdde0314610288578063081812fc14610312578063095ea7b3146103585761023b565b3661023b57005b600080fd5b34801561024c57600080fd5b506102746004803603602081101561026357600080fd5b50356001600160e01b031916610b6d565b604080519115158252519081900360200190f35b34801561029457600080fd5b5061029d610b90565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d75781810151838201526020016102bf565b50505050905090810190601f1680156103045780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561031e57600080fd5b5061033c6004803603602081101561033557600080fd5b5035610c26565b604080516001600160a01b039092168252519081900360200190f35b34801561036457600080fd5b506103916004803603604081101561037b57600080fd5b506001600160a01b038135169060200135610c88565b005b34801561039f57600080fd5b50610391600480360360208110156103b657600080fd5b50356001600160a01b0316610d63565b3480156103d257600080fd5b50610391600480360360408110156103e957600080fd5b81359190810190604081016020820135600160201b81111561040a57600080fd5b82018360208201111561041c57600080fd5b803590602001918460018302840111600160201b8311171561043d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e20945050505050565b34801561048a57600080fd5b50610493610eb0565b60408051918252519081900360200190f35b3480156104b157600080fd5b50610391600480360360608110156104c857600080fd5b506001600160a01b03813581169160208101359091169060400135610ec1565b3480156104f457600080fd5b506104936004803603602081101561050b57600080fd5b5035610f18565b34801561051e57600080fd5b506103916004803603604081101561053557600080fd5b50803590602001356001600160a01b0316610f2d565b34801561055757600080fd5b506104936004803603604081101561056e57600080fd5b506001600160a01b038135169060200135610f90565b34801561059057600080fd5b50610391600480360360408110156105a757600080fd5b50803590602001356001600160a01b0316610fbb565b3480156105c957600080fd5b50610391600480360360608110156105e057600080fd5b506001600160a01b0381358116916020810135909116906040013561101c565b34801561060c57600080fd5b506103916004803603602081101561062357600080fd5b5035611037565b34801561063657600080fd5b506104936004803603602081101561064d57600080fd5b50356110e7565b34801561066057600080fd5b506103916004803603602081101561067757600080fd5b810190602081018135600160201b81111561069157600080fd5b8201836020820111156106a357600080fd5b803590602001918460018302840111600160201b831117156106c457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110fd945050505050565b34801561071157600080fd5b5061033c6004803603602081101561072857600080fd5b5035611186565b34801561073b57600080fd5b5061033c6111ae565b34801561075057600080fd5b5061029d6111bd565b34801561076557600080fd5b506104936004803603602081101561077c57600080fd5b50356001600160a01b031661121e565b34801561079857600080fd5b50610391611286565b610493600480360360408110156107b757600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156107e157600080fd5b8201836020820111156107f357600080fd5b803590602001918460018302840111600160201b8311171561081457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061133a945050505050565b34801561086157600080fd5b506104936113d9565b34801561087657600080fd5b506104936113df565b34801561088b57600080fd5b5061033c611403565b3480156108a057600080fd5b5061033c600480360360408110156108b757600080fd5b5080359060200135611412565b3480156108d057600080fd5b50610274600480360360408110156108e757600080fd5b50803590602001356001600160a01b031661142a565b34801561090957600080fd5b506103916004803603602081101561092057600080fd5b5035611442565b34801561093357600080fd5b5061029d61154c565b34801561094857600080fd5b506104936115ad565b34801561095d57600080fd5b506103916004803603604081101561097457600080fd5b506001600160a01b03813516906020013515156115b2565b34801561099857600080fd5b506104936116b7565b3480156109ad57600080fd5b50610391600480360360808110156109c457600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b8111156109fe57600080fd5b820183602082011115610a1057600080fd5b803590602001918460018302840111600160201b83111715610a3157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116bd945050505050565b348015610a7e57600080fd5b5061029d60048036036020811015610a9557600080fd5b503561171b565b348015610aa857600080fd5b5061049360048036036020811015610abf57600080fd5b50356119c2565b348015610ad257600080fd5b5061039160048036036040811015610ae957600080fd5b50803590602001356001600160a01b03166119d9565b348015610b0b57600080fd5b5061027460048036036040811015610b2257600080fd5b506001600160a01b0381358116916020013516611a32565b348015610b4657600080fd5b5061039160048036036020811015610b5d57600080fd5b50356001600160a01b0316611a60565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c1c5780601f10610bf157610100808354040283529160200191610c1c565b820191906000526020600020905b815481529060010190602001808311610bff57829003601f168201915b5050505050905090565b6000610c3182611b80565b610c6c5760405162461bcd60e51b815260040180806020018281038252602c815260200180612de6602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c9382611186565b9050806001600160a01b0316836001600160a01b03161415610ce65760405162461bcd60e51b8152600401808060200182810382526021815260200180612e966021913960400191505060405180910390fd5b806001600160a01b0316610cf8611b8d565b6001600160a01b03161480610d195750610d1981610d14611b8d565b611a32565b610d545760405162461bcd60e51b8152600401808060200182810382526038815260200180612d396038913960400191505060405180910390fd5b610d5e8383611b91565b505050565b600d546001600160a01b0316610d77611b8d565b6001600160a01b031614610dbe576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b600d80546001600160a01b0319166001600160a01b03838116919091179182905516610de8611b8d565b6001600160a01b03167fb55e540bc4aff5195703d7c24c8acdce597e5786b44df9ca3202f686313c984660405160405180910390a350565b610e517fcf1e7e3bee0e3167872271ce5d51dcec9a6ad0ff65a358daa0e5988775cca4e9610e4c611b8d565b61142a565b610ea2576040805162461bcd60e51b815260206004820152601f60248201527f4d75737420686176652075706461746520746f6b656e2075726920726f6c6500604482015290519081900360640190fd5b610eac8282611bff565b5050565b6000610ebc6002611c62565b905090565b610ed2610ecc611b8d565b82611c6d565b610f0d5760405162461bcd60e51b8152600401808060200182810382526031815260200180612eb76031913960400191505060405180910390fd5b610d5e838383611d11565b6000908152600a602052604090206002015490565b6000828152600a6020526040902060020154610f4b90610e4c611b8d565b610f865760405162461bcd60e51b815260040180806020018281038252602f815260200180612c32602f913960400191505060405180910390fd5b610eac8282611e5d565b6001600160a01b0382166000908152600160205260408120610fb29083611ec6565b90505b92915050565b610fc3611b8d565b6001600160a01b0316816001600160a01b0316146110125760405162461bcd60e51b815260040180806020018281038252602f815260200180612f0b602f913960400191505060405180910390fd5b610eac8282611ed2565b610d5e838383604051806020016040528060008152506116bd565b611042610ecc611b8d565b611093576040805162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564604482015290519081900360640190fd5b61109c81611f3b565b6110a4611b8d565b6001600160a01b03167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5826040518082815260200191505060405180910390a250565b6000806110f5600284612008565b509392505050565b6111297fcf1e7e3bee0e3167872271ce5d51dcec9a6ad0ff65a358daa0e5988775cca4e9610e4c611b8d565b61117a576040805162461bcd60e51b815260206004820152601f60248201527f4d75737420686176652075706461746520746f6b656e2075726920726f6c6500604482015290519081900360640190fd5b61118381612024565b50565b6000610fb582604051806060016040528060298152602001612d9b6029913960029190612037565b600d546001600160a01b031681565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c1c5780601f10610bf157610100808354040283529160200191610c1c565b60006001600160a01b0382166112655760405162461bcd60e51b815260040180806020018281038252602a815260200180612d71602a913960400191505060405180910390fd5b6001600160a01b0382166000908152600160205260409020610fb590611c62565b61128e611b8d565b600b546001600160a01b039081169116146112f0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80546001600160a01b0319169055565b6000600e54341015611387576040805162461bcd60e51b81526020600482015260116024820152706d73672076616c756520746f6f206c6f7760781b604482015290519081900360640190fd5b600d54600e546113a0916001600160a01b03169061204e565b50600c546113ae8382612141565b600c805460010190556113c18183611bff565b600e54341115610fb557610fb533600e54340361204e565b600c5481565b7fcf1e7e3bee0e3167872271ce5d51dcec9a6ad0ff65a358daa0e5988775cca4e981565b600b546001600160a01b031690565b6000828152600a60205260408120610fb29083611ec6565b6000828152600a60205260408120610fb2908361226f565b61144a611b8d565b600b546001600160a01b039081169116146114ac576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b80600e5414156114f5576040805162461bcd60e51b815260206004820152600f60248201526e4e6f74206e6565642075706461746560881b604482015290519081900360640190fd5b6114fd611b8d565b6001600160a01b03167f5333df160d2d64e9a08458ca4dbcffa141c7b398a94ec77e02960c4478ab268e600e5483604051808381526020018281526020019250505060405180910390a2600e55565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610c1c5780601f10610bf157610100808354040283529160200191610c1c565b600081565b6115ba611b8d565b6001600160a01b0316826001600160a01b03161415611620576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806005600061162d611b8d565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611671611b8d565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600e5481565b6116ce6116c8611b8d565b83611c6d565b6117095760405162461bcd60e51b8152600401808060200182810382526031815260200180612eb76031913960400191505060405180910390fd5b61171584848484612284565b50505050565b606061172682611b80565b6117615760405162461bcd60e51b815260040180806020018281038252602f815260200180612e67602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156117f65780601f106117cb576101008083540402835291602001916117f6565b820191906000526020600020905b8154815290600101906020018083116117d957829003601f168201915b50506009549394505050506002600019610100600184161502019091160461181f579050610b8b565b8051156118f05760098160405160200180838054600181600116156101000203166002900480156118875780601f10611865576101008083540402835291820191611887565b820191906000526020600020905b815481529060010190602001808311611873575b5050825160208401908083835b602083106118b35780518252601f199092019160209182019101611894565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610b8b565b60096118fb846122d6565b60405160200180838054600181600116156101000203166002900480156119595780601f10611937576101008083540402835291820191611959565b820191906000526020600020905b815481529060010190602001808311611945575b5050825160208401908083835b602083106119855780518252601f199092019160209182019101611966565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6000818152600a60205260408120610fb590611c62565b6000828152600a60205260409020600201546119f790610e4c611b8d565b6110125760405162461bcd60e51b8152600401808060200182810382526030815260200180612d096030913960400191505060405180910390fd5b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611a68611b8d565b600b546001600160a01b03908116911614611aca576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611b0f5760405162461bcd60e51b8152600401808060200182810382526026815260200180612c936026913960400191505060405180910390fd5b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610fb2836001600160a01b0384166123b1565b6000610fb56002836123fb565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bc682611186565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c0882611b80565b611c435760405162461bcd60e51b815260040180806020018281038252602c815260200180612e12602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610d5e92840190612b3c565b6000610fb582612407565b6000611c7882611b80565b611cb35760405162461bcd60e51b815260040180806020018281038252602c815260200180612cdd602c913960400191505060405180910390fd5b6000611cbe83611186565b9050806001600160a01b0316846001600160a01b03161480611cf95750836001600160a01b0316611cee84610c26565b6001600160a01b0316145b80611d095750611d098185611a32565b949350505050565b826001600160a01b0316611d2482611186565b6001600160a01b031614611d695760405162461bcd60e51b8152600401808060200182810382526029815260200180612e3e6029913960400191505060405180910390fd5b6001600160a01b038216611dae5760405162461bcd60e51b8152600401808060200182810382526024815260200180612cb96024913960400191505060405180910390fd5b611db983838361240b565b611dc4600082611b91565b6001600160a01b0383166000908152600160205260409020611de69082612416565b506001600160a01b0382166000908152600160205260409020611e099082612422565b50611e166002828461242e565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600a60205260409020611e759082611b6b565b15610eac57611e82611b8d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610fb28383612444565b6000828152600a60205260409020611eea90826124a8565b15610eac57611ef7611b8d565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000611f4682611186565b9050611f548160008461240b565b611f5f600083611b91565b6000828152600860205260409020546002600019610100600184161502019091160415611f9d576000828152600860205260408120611f9d91612bba565b6001600160a01b0381166000908152600160205260409020611fbf9083612416565b50611fcb6002836124bd565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600080808061201786866124c9565b9097909650945050505050565b8051610eac906009906020840190612b3c565b6000612044848484612544565b90505b9392505050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b6020831061209a5780518252601f19909201916020918201910161207b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146120fc576040519150601f19603f3d011682016040523d82523d6000602084013e612101565b606091505b5050905080610d5e5760405162461bcd60e51b8152600401808060200182810382526023815260200180612ee86023913960400191505060405180910390fd5b6001600160a01b03821661219c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6121a581611b80565b156121f7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6122036000838361240b565b6001600160a01b03821660009081526001602052604090206122259082612422565b506122326002828461242e565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610fb2836001600160a01b03841661260e565b61228f848484611d11565b61229b84848484612626565b6117155760405162461bcd60e51b8152600401808060200182810382526032815260200180612c616032913960400191505060405180910390fd5b6060816122fb57506040805180820190915260018152600360fc1b6020820152610b8b565b8160005b811561231357600101600a820491506122ff565b60608167ffffffffffffffff8111801561232c57600080fd5b506040519080825280601f01601f191660200182016040528015612357576020820181803683370190505b50859350905060001982015b83156123a857600a840660300160f81b8282806001900393508151811061238657fe5b60200101906001600160f81b031916908160001a905350600a84049350612363565b50949350505050565b60006123bd838361260e565b6123f357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610fb5565b506000610fb5565b6000610fb2838361260e565b5490565b610d5e838383610d5e565b6000610fb2838361278e565b6000610fb283836123b1565b600061204484846001600160a01b038516612854565b815460009082106124865760405162461bcd60e51b8152600401808060200182810382526022815260200180612c106022913960400191505060405180910390fd5b82600001828154811061249557fe5b9060005260206000200154905092915050565b6000610fb2836001600160a01b03841661278e565b6000610fb283836128eb565b81546000908190831061250d5760405162461bcd60e51b8152600401808060200182810382526022815260200180612dc46022913960400191505060405180910390fd5b600084600001848154811061251e57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816125df5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125a457818101518382015260200161258c565b50505050905090810190601f1680156125d15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106125f257fe5b9060005260206000209060020201600101549150509392505050565b60009081526001919091016020526040902054151590565b600061263a846001600160a01b03166129bf565b61264657506001611d09565b6060612754630a85bd0160e11b61265b611b8d565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126c25781810151838201526020016126aa565b50505050905090810190601f1680156126ef5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612c61603291396001600160a01b03881691906129c5565b9050600081806020019051602081101561276d57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000818152600183016020526040812054801561284a57835460001980830191908101906000908790839081106127c157fe5b90600052602060002001549050808760000184815481106127de57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061280e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610fb5565b6000915050610fb5565b6000828152600184016020526040812054806128b9575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612047565b828560000160018303815481106128cc57fe5b9060005260206000209060020201600101819055506000915050612047565b6000818152600183016020526040812054801561284a578354600019808301919081019060009087908390811061291e57fe5b906000526020600020906002020190508087600001848154811061293e57fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061297d57fe5b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610fb59350505050565b3b151590565b6060612044848460008560606129da856129bf565b612a2b576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612a6a5780518252601f199092019160209182019101612a4b565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612acc576040519150601f19603f3d011682016040523d82523d6000602084013e612ad1565b606091505b50915091508115612ae5579150611d099050565b805115612af55780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156125a457818101518382015260200161258c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612b7d57805160ff1916838001178555612baa565b82800160010185558215612baa579182015b82811115612baa578251825591602001919060010190612b8f565b50612bb6929150612bfa565b5090565b50805460018160011615610100020316600290046000825580601f10612be05750611183565b601f01602090049060005260206000209081019061118391905b5b80821115612bb65760008155600101612bfb56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665645472616e7366657248656c7065723a204554485f5452414e534645525f4641494c4544416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212201d3f1b96429389d7d8c6a071c6f21a05db80a30f947bf00f0286835999d857ea64736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000096ac74adad18b64d6809f4f3a6ccb0ac805be054000000000000000000000000000000000000000000000000000de86bc4b5777a000000000000000000000000000000000000000000000000000000000000001552756773637265656e2043657274696669636174650000000000000000000000000000000000000000000000000000000000000000000000000000000000001252756773637265656e4365727469666965640000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000096ac74adad18b64d6809f4f3a6ccb0ac805be054000000000000000000000000000000000000000000000000000de86bc4b5777a000000000000000000000000000000000000000000000000000000000000001552756773637265656e2043657274696669636174650000000000000000000000000000000000000000000000000000000000000000000000000000000000001252756773637265656e4365727469666965640000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Rugscreen Certificate
Arg [1] : symbol (string): RugscreenCertified
Arg [2] : _mintFeeAddr (address): 0x96ac74adad18b64d6809f4f3a6ccb0ac805be054
Arg [3] : _mintFeeAmount (uint256): 3914724256610170

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000096ac74adad18b64d6809f4f3a6ccb0ac805be054
Arg [3] : 000000000000000000000000000000000000000000000000000de86bc4b5777a
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [5] : 52756773637265656e2043657274696669636174650000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [7] : 52756773637265656e4365727469666965640000000000000000000000000000


Deployed ByteCode Sourcemap

68944:3194:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31880:142;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31880:142:0;-1:-1:-1;;;;;;31880:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;51855:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54542:213;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54542:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;54542:213:0;;;;;;;;;;;;;;54086:390;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54086:390:0;;;;;;;;:::i;:::-;;71630:234;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71630:234:0;-1:-1:-1;;;;;71630:234:0;;:::i;71400:218::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71400:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71400:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71400:218:0;;-1:-1:-1;71400:218:0;;-1:-1:-1;;;;;71400:218:0:i;53580:203::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;55416:305;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55416:305:0;;;;;;;;;;;;;;;;;:::i;19509:114::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19509:114:0;;:::i;19885:227::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19885:227:0;;;;;;-1:-1:-1;;;;;19885:227:0;;:::i;53350:154::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53350:154:0;;;;;;;;:::i;21094:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21094:209:0;;;;;;-1:-1:-1;;;;;21094:209:0;;:::i;55792:151::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55792:151:0;;;;;;;;;;;;;;;;;:::i;70985:211::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70985:211:0;;:::i;53860:164::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53860:164:0;;:::i;71204:188::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71204:188:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;71204:188:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71204:188:0;;-1:-1:-1;71204:188:0;;-1:-1:-1;;;;;71204:188:0:i;51619:169::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51619:169:0;;:::i;69144:26::-;;;;;;;;;;;;;:::i;53177:89::-;;;;;;;;;;;;;:::i;51342:215::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51342:215:0;-1:-1:-1;;;;;51342:215:0;;:::i;66624:148::-;;;;;;;;;;;;;:::i;70500:475::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;70500:475:0;;;;;;;;;;;;;;;-1:-1:-1;;;70500:475:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;70500:475:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70500:475:0;;-1:-1:-1;70500:475:0;;-1:-1:-1;;;;;70500:475:0:i;69107:30::-;;;;;;;;;;;;;:::i;69018:82::-;;;;;;;;;;;;;:::i;65982:79::-;;;;;;;;;;;;;:::i;19182:138::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19182:138:0;;;;;;;:::i;18143:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18143:139:0;;;;;;-1:-1:-1;;;;;18143:139:0;;:::i;71872:263::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71872:263:0;;:::i;52016:96::-;;;;;;;;;;;;;:::i;16888:49::-;;;;;;;;;;;;;:::i;54827:295::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54827:295:0;;;;;;;;;;:::i;69177:28::-;;;;;;;;;;;;;:::i;56014:285::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;56014:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;56014:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;56014:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56014:285:0;;-1:-1:-1;56014:285:0;;-1:-1:-1;;;;;56014:285:0:i;52183:755::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52183:755:0;;:::i;18456:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18456:127:0;;:::i;20357:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20357:230:0;;;;;;-1:-1:-1;;;;;20357:230:0;;:::i;55193:156::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55193:156:0;;;;;;;;;;:::i;66927:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66927:244:0;-1:-1:-1;;;;;66927:244:0;;:::i;31880:142::-;-1:-1:-1;;;;;;31981:33:0;;31957:4;31981:33;;;;;;;;;;;;;31880:142;;;;:::o;51855:92::-;51934:5;51927:12;;;;;;;;-1:-1:-1;;51927:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51901:13;;51927:12;;51934:5;;51927:12;;51934:5;51927:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51855:92;:::o;54542:213::-;54610:7;54638:16;54646:7;54638;:16::i;:::-;54630:73;;;;-1:-1:-1;;;54630:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54723:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54723:24:0;;54542:213::o;54086:390::-;54167:13;54183:16;54191:7;54183;:16::i;:::-;54167:32;;54224:5;-1:-1:-1;;;;;54218:11:0;:2;-1:-1:-1;;;;;54218:11:0;;;54210:57;;;;-1:-1:-1;;;54210:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54304:5;-1:-1:-1;;;;;54288:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;54288:21:0;;:62;;;;54313:37;54330:5;54337:12;:10;:12::i;:::-;54313:16;:37::i;:::-;54280:154;;;;-1:-1:-1;;;54280:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54447:21;54456:2;54460:7;54447:8;:21::i;:::-;54086:390;;;:::o;71630:234::-;71726:11;;-1:-1:-1;;;;;71726:11:0;71710:12;:10;:12::i;:::-;-1:-1:-1;;;;;71710:27:0;;71702:49;;;;;-1:-1:-1;;;71702:49:0;;;;;;;;;;;;-1:-1:-1;;;71702:49:0;;;;;;;;;;;;;;;71762:11;:26;;-1:-1:-1;;;;;;71762:26:0;-1:-1:-1;;;;;71762:26:0;;;;;;;;;;;71844:11;71830:12;:10;:12::i;:::-;-1:-1:-1;;;;;71804:52:0;;;;;;;;;;;71630:234;:::o;71400:218::-;71488:44;69066:34;71519:12;:10;:12::i;:::-;71488:7;:44::i;:::-;71480:88;;;;;-1:-1:-1;;;71480:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;71579:31;71592:7;71601:8;71579:12;:31::i;:::-;71400:218;;:::o;53580:203::-;53633:7;53754:21;:12;:19;:21::i;:::-;53747:28;;53580:203;:::o;55416:305::-;55577:41;55596:12;:10;:12::i;:::-;55610:7;55577:18;:41::i;:::-;55569:103;;;;-1:-1:-1;;;55569:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55685:28;55695:4;55701:2;55705:7;55685:9;:28::i;19509:114::-;19566:7;19593:12;;;:6;:12;;;;;:22;;;;19509:114::o;19885:227::-;19977:12;;;;:6;:12;;;;;:22;;;19969:45;;20001:12;:10;:12::i;19969:45::-;19961:105;;;;-1:-1:-1;;;19961:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20079:25;20090:4;20096:7;20079:10;:25::i;53350:154::-;-1:-1:-1;;;;;53466:20:0;;53439:7;53466:20;;;:13;:20;;;;;:30;;53490:5;53466:23;:30::i;:::-;53459:37;;53350:154;;;;;:::o;21094:209::-;21192:12;:10;:12::i;:::-;-1:-1:-1;;;;;21181:23:0;:7;-1:-1:-1;;;;;21181:23:0;;21173:83;;;;-1:-1:-1;;;21173:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21269:26;21281:4;21287:7;21269:11;:26::i;55792:151::-;55896:39;55913:4;55919:2;55923:7;55896:39;;;;;;;;;;;;:16;:39::i;70985:211::-;71042:41;71061:12;:10;:12::i;71042:41::-;71034:86;;;;;-1:-1:-1;;;71034:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71131:14;71137:7;71131:5;:14::i;:::-;71166:12;:10;:12::i;:::-;-1:-1:-1;;;;;71161:27:0;;71180:7;71161:27;;;;;;;;;;;;;;;;;;70985:211;:::o;53860:164::-;53927:7;;53969:22;:12;53985:5;53969:15;:22::i;:::-;-1:-1:-1;53947:44:0;53860:164;-1:-1:-1;;;53860:164:0:o;71204:188::-;71273:44;69066:34;71304:12;:10;:12::i;71273:44::-;71265:88;;;;;-1:-1:-1;;;71265:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;71364:20;71376:7;71364:11;:20::i;:::-;71204:188;:::o;51619:169::-;51683:7;51710:70;51727:7;51710:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;69144:26::-;;;-1:-1:-1;;;;;69144:26:0;;:::o;53177:89::-;53250:8;53243:15;;;;;;;;-1:-1:-1;;53243:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53217:13;;53243:15;;53250:8;;53243:15;;53250:8;53243:15;;;;;;;;;;;;;;;;;;;;;;;;51342:215;51406:7;-1:-1:-1;;;;;51434:19:0;;51426:74;;;;-1:-1:-1;;;51426:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51520:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;66624:148::-;66204:12;:10;:12::i;:::-;66194:6;;-1:-1:-1;;;;;66194:6:0;;;:22;;;66186:67;;;;;-1:-1:-1;;;66186:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66715:6:::1;::::0;66694:40:::1;::::0;66731:1:::1;::::0;-1:-1:-1;;;;;66715:6:0::1;::::0;66694:40:::1;::::0;66731:1;;66694:40:::1;66745:6;:19:::0;;-1:-1:-1;;;;;;66745:19:0::1;::::0;;66624:148::o;70500:475::-;70575:15;70624:13;;70611:9;:26;;70603:56;;;;;-1:-1:-1;;;70603:56:0;;;;;;;;;;;;-1:-1:-1;;;70603:56:0;;;;;;;;;;;;;;;70701:11;;70714:13;;70670:58;;-1:-1:-1;;;;;70701:11:0;;70670:30;:58::i;:::-;-1:-1:-1;70749:11:0;;70771:18;70777:2;70749:11;70771:5;:18::i;:::-;70800:11;:13;;;;;;70824:32;70837:7;70846:9;70824:12;:32::i;:::-;70883:13;;70871:9;:25;70867:100;;;70898:69;70929:10;70953:13;;70941:9;:25;70898:30;:69::i;69107:30::-;;;;:::o;69018:82::-;69066:34;69018:82;:::o;65982:79::-;66047:6;;-1:-1:-1;;;;;66047:6:0;65982:79;:::o;19182:138::-;19255:7;19282:12;;;:6;:12;;;;;:30;;19306:5;19282:23;:30::i;18143:139::-;18212:4;18236:12;;;:6;:12;;;;;:38;;18266:7;18236:29;:38::i;71872:263::-;66204:12;:10;:12::i;:::-;66194:6;;-1:-1:-1;;;;;66194:6:0;;;:22;;;66186:67;;;;;-1:-1:-1;;;66186:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71975:14:::1;71958:13;;:31;;71950:59;;;::::0;;-1:-1:-1;;;71950:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;71950:59:0;;;;;;;;;;;;;::::1;;72042:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;72025:61:0::1;;72056:13;;72071:14;72025:61;;;;;;;;;;;;;;;;;;;;;;;;72097:13;:30:::0;71872:263::o;52016:96::-;52097:7;52090:14;;;;;;;;-1:-1:-1;;52090:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52064:13;;52090:14;;52097:7;;52090:14;;52097:7;52090:14;;;;;;;;;;;;;;;;;;;;;;;;16888:49;16933:4;16888:49;:::o;54827:295::-;54942:12;:10;:12::i;:::-;-1:-1:-1;;;;;54930:24:0;:8;-1:-1:-1;;;;;54930:24:0;;;54922:62;;;;;-1:-1:-1;;;54922:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;55042:8;54997:18;:32;55016:12;:10;:12::i;:::-;-1:-1:-1;;;;;54997:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;54997:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;54997:53:0;;;;;;;;;;;55081:12;:10;:12::i;:::-;-1:-1:-1;;;;;55066:48:0;;55105:8;55066:48;;;;;;;;;;;;;;;;;;;;54827:295;;:::o;69177:28::-;;;;:::o;56014:285::-;56146:41;56165:12;:10;:12::i;:::-;56179:7;56146:18;:41::i;:::-;56138:103;;;;-1:-1:-1;;;56138:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56252:39;56266:4;56272:2;56276:7;56285:5;56252:13;:39::i;:::-;56014:285;;;;:::o;52183:755::-;52248:13;52282:16;52290:7;52282;:16::i;:::-;52274:76;;;;-1:-1:-1;;;52274:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52389:19;;;;:10;:19;;;;;;;;;52363:45;;;;;;-1:-1:-1;;52363:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;52389:19;52363:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52490:8:0;52484:22;52363:45;;-1:-1:-1;;;;52484:22:0;-1:-1:-1;;52484:22:0;;;;;;;;;;;52480:76;;52535:9;-1:-1:-1;52528:16:0;;52480:76;52660:23;;:27;52656:112;;52735:8;52745:9;52718:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52718:37:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52718:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52704:52;;;;;52656:112;52900:8;52910:18;:7;:16;:18::i;:::-;52883:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52883:46:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52883:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52869:61;;;52183:755;;;:::o;18456:127::-;18519:7;18546:12;;;:6;:12;;;;;:29;;:27;:29::i;20357:230::-;20450:12;;;;:6;:12;;;;;:22;;;20442:45;;20474:12;:10;:12::i;20442:45::-;20434:106;;;;-1:-1:-1;;;20434:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55193:156;-1:-1:-1;;;;;55306:25:0;;;55282:4;55306:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55193:156::o;66927:244::-;66204:12;:10;:12::i;:::-;66194:6;;-1:-1:-1;;;;;66194:6:0;;;:22;;;66186:67;;;;;-1:-1:-1;;;66186:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;67016:22:0;::::1;67008:73;;;;-1:-1:-1::0;;;67008:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67118:6;::::0;67097:38:::1;::::0;-1:-1:-1;;;;;67097:38:0;;::::1;::::0;67118:6:::1;::::0;67097:38:::1;::::0;67118:6:::1;::::0;67097:38:::1;67146:6;:17:::0;;-1:-1:-1;;;;;;67146:17:0::1;-1:-1:-1::0;;;;;67146:17:0;;;::::1;::::0;;;::::1;::::0;;66927:244::o;5140:143::-;5210:4;5234:41;5239:3;-1:-1:-1;;;;;5259:14:0;;5234:4;:41::i;57766:119::-;57823:4;57847:30;:12;57869:7;57847:21;:30::i;14831:106::-;14919:10;14831:106;:::o;63593:158::-;63659:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63659:29:0;-1:-1:-1;;;;;63659:29:0;;;;;;;;:24;;63713:16;63659:24;63713:7;:16::i;:::-;-1:-1:-1;;;;;63704:39:0;;;;;;;;;;;63593:158;;:::o;61871:215::-;61971:16;61979:7;61971;:16::i;:::-;61963:73;;;;-1:-1:-1;;;61963:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62047:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;45269:123::-;45338:7;45365:19;45373:3;45365:7;:19::i;58052:333::-;58137:4;58162:16;58170:7;58162;:16::i;:::-;58154:73;;;;-1:-1:-1;;;58154:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58238:13;58254:16;58262:7;58254;:16::i;:::-;58238:32;;58300:5;-1:-1:-1;;;;;58289:16:0;:7;-1:-1:-1;;;;;58289:16:0;;:51;;;;58333:7;-1:-1:-1;;;;;58309:31:0;:20;58321:7;58309:11;:20::i;:::-;-1:-1:-1;;;;;58309:31:0;;58289:51;:87;;;;58344:32;58361:5;58368:7;58344:16;:32::i;:::-;58281:96;58052:333;-1:-1:-1;;;;58052:333:0:o;61141:574::-;61259:4;-1:-1:-1;;;;;61239:24:0;:16;61247:7;61239;:16::i;:::-;-1:-1:-1;;;;;61239:24:0;;61231:78;;;;-1:-1:-1;;;61231:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61328:16:0;;61320:65;;;;-1:-1:-1;;;61320:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61398:39;61419:4;61425:2;61429:7;61398:20;:39::i;:::-;61502:29;61519:1;61523:7;61502:8;:29::i;:::-;-1:-1:-1;;;;;61544:19:0;;;;;;:13;:19;;;;;:35;;61571:7;61544:26;:35::i;:::-;-1:-1:-1;;;;;;61590:17:0;;;;;;:13;:17;;;;;:30;;61612:7;61590:21;:30::i;:::-;-1:-1:-1;61633:29:0;:12;61650:7;61659:2;61633:16;:29::i;:::-;;61699:7;61695:2;-1:-1:-1;;;;;61680:27:0;61689:4;-1:-1:-1;;;;;61680:27:0;;;;;;;;;;;61141:574;;;:::o;22337:188::-;22411:12;;;;:6;:12;;;;;:33;;22436:7;22411:24;:33::i;:::-;22407:111;;;22493:12;:10;:12::i;:::-;-1:-1:-1;;;;;22466:40:0;22484:7;-1:-1:-1;;;;;22466:40:0;22478:4;22466:40;;;;;;;;;;22337:188;;:::o;8018:137::-;8089:7;8124:22;8128:3;8140:5;8124:3;:22::i;22533:192::-;22608:12;;;;:6;:12;;;;;:36;;22636:7;22608:27;:36::i;:::-;22604:114;;;22693:12;:10;:12::i;:::-;-1:-1:-1;;;;;22666:40:0;22684:7;-1:-1:-1;;;;;22666:40:0;22678:4;22666:40;;;;;;;;;;22533:192;;:::o;60284:520::-;60344:13;60360:16;60368:7;60360;:16::i;:::-;60344:32;;60389:48;60410:5;60425:1;60429:7;60389:20;:48::i;:::-;60478:29;60495:1;60499:7;60478:8;:29::i;:::-;60566:19;;;;:10;:19;;;;;60560:33;;-1:-1:-1;;60560:33:0;;;;;;;;;;;:38;60556:97;;60622:19;;;;:10;:19;;;;;60615:26;;;:::i;:::-;-1:-1:-1;;;;;60665:20:0;;;;;;:13;:20;;;;;:36;;60693:7;60665:27;:36::i;:::-;-1:-1:-1;60714:28:0;:12;60734:7;60714:19;:28::i;:::-;-1:-1:-1;60760:36:0;;60788:7;;60784:1;;-1:-1:-1;;;;;60760:36:0;;;;;60784:1;;60760:36;60284:520;;:::o;45731:227::-;45811:7;;;;45871:22;45875:3;45887:5;45871:3;:22::i;:::-;45840:53;;;;-1:-1:-1;45731:227:0;-1:-1:-1;;;;;45731:227:0:o;62316:100::-;62389:19;;;;:8;;:19;;;;;:::i;46393:204::-;46500:7;46543:44;46548:3;46568;46574:12;46543:4;:44::i;:::-;46535:53;-1:-1:-1;46393:204:0;;;;;;:::o;68666:200::-;68779:12;;;68739;68779;;;;;;;;;-1:-1:-1;;;;;68757:7:0;;;68772:5;;68757:35;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;68757:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68738:54;;;68811:7;68803:55;;;;-1:-1:-1;;;68803:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59651:404;-1:-1:-1;;;;;59731:16:0;;59723:61;;;;;-1:-1:-1;;;59723:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59804:16;59812:7;59804;:16::i;:::-;59803:17;59795:58;;;;;-1:-1:-1;;;59795:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;59866:45;59895:1;59899:2;59903:7;59866:20;:45::i;:::-;-1:-1:-1;;;;;59924:17:0;;;;;;:13;:17;;;;;:30;;59946:7;59924:21;:30::i;:::-;-1:-1:-1;59967:29:0;:12;59984:7;59993:2;59967:16;:29::i;:::-;-1:-1:-1;60014:33:0;;60039:7;;-1:-1:-1;;;;;60014:33:0;;;60031:1;;60014:33;;60031:1;;60014:33;59651:404;;:::o;5694:158::-;5774:4;5798:46;5808:3;-1:-1:-1;;;;;5828:14:0;;5798:9;:46::i;57181:272::-;57295:28;57305:4;57311:2;57315:7;57295:9;:28::i;:::-;57342:48;57365:4;57371:2;57375:7;57384:5;57342:22;:48::i;:::-;57334:111;;;;-1:-1:-1;;;57334:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46836:744;46892:13;47113:10;47109:53;;-1:-1:-1;47140:10:0;;;;;;;;;;;;-1:-1:-1;;;47140:10:0;;;;;;47109:53;47187:5;47172:12;47228:78;47235:9;;47228:78;;47261:8;;47292:2;47284:10;;;;47228:78;;;47316:19;47348:6;47338:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47338:17:0;-1:-1:-1;47410:5:0;;-1:-1:-1;47316:39:0;-1:-1:-1;;;47382:10:0;;47426:115;47433:9;;47426:115;;47500:2;47493:4;:9;47488:2;:14;47477:27;;47459:6;47466:7;;;;;;;47459:15;;;;;;;;;;;:45;-1:-1:-1;;;;;47459:45:0;;;;;;;;-1:-1:-1;47527:2:0;47519:10;;;;47426:115;;;-1:-1:-1;47565:6:0;46836:744;-1:-1:-1;;;;46836:744:0:o;1794:414::-;1857:4;1879:21;1889:3;1894:5;1879:9;:21::i;:::-;1874:327;;-1:-1:-1;1917:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;2100:18;;2078:19;;;:12;;;:19;;;;;;:40;;;;2133:11;;1874:327;-1:-1:-1;2184:5:0;2177:12;;45030:151;45114:4;45138:35;45148:3;45168;45138:9;:35::i;42652:110::-;42735:19;;42652:110::o;64718:165::-;64828:45;64855:4;64861:2;64865:7;64828:26;:45::i;7105:137::-;7175:4;7199:35;7207:3;7227:5;7199:7;:35::i;6798:131::-;6865:4;6889:32;6894:3;6914:5;6889:4;:32::i;44462:176::-;44551:4;44575:55;44580:3;44600;-1:-1:-1;;;;;44614:14:0;;44575:4;:55::i;4682:204::-;4777:18;;4749:7;;4777:26;-1:-1:-1;4769:73:0;;;;-1:-1:-1;;;4769:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4860:3;:11;;4872:5;4860:18;;;;;;;;;;;;;;;;4853:25;;4682:204;;;;:::o;5459:149::-;5532:4;5556:44;5564:3;-1:-1:-1;;;;;5584:14:0;;5556:7;:44::i;44804:142::-;44881:4;44905:33;44913:3;44933;44905:7;:33::i;43117:279::-;43221:19;;43184:7;;;;43221:27;-1:-1:-1;43213:74:0;;;;-1:-1:-1;;;43213:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43300:22;43325:3;:12;;43338:5;43325:19;;;;;;;;;;;;;;;;;;43300:44;;43363:5;:10;;;43375:5;:12;;;43355:33;;;;;43117:279;;;;;:::o;43819:319::-;43913:7;43952:17;;;:12;;;:17;;;;;;44003:12;43988:13;43980:36;;;;-1:-1:-1;;;43980:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44070:3;:12;;44094:1;44083:8;:12;44070:26;;;;;;;;;;;;;;;;;;:33;;;44063:40;;;43819:319;;;;;:::o;4014:129::-;4087:4;4111:19;;;:12;;;;;:19;;;;;;:24;;;4014:129::o;62981:604::-;63102:4;63129:15;:2;-1:-1:-1;;;;;63129:13:0;;:15::i;:::-;63124:60;;-1:-1:-1;63168:4:0;63161:11;;63124:60;63194:23;63220:252;-1:-1:-1;;;63333:12:0;:10;:12::i;:::-;63360:4;63379:7;63401:5;63236:181;;;;;;-1:-1:-1;;;;;63236:181:0;;;;;;-1:-1:-1;;;;;63236:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63236:181:0;;;;;;;-1:-1:-1;;;;;63236:181:0;;;;;;;;;;;63220:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63220:15:0;;;:252;:15;:252::i;:::-;63194:278;;63483:13;63510:10;63499:32;;;;;;;;;;;;;;;-1:-1:-1;63499:32:0;-1:-1:-1;;;;;;63550:26:0;-1:-1:-1;;;63550:26:0;;-1:-1:-1;;;62981:604:0;;;;;;:::o;2384:1544::-;2450:4;2589:19;;;:12;;;:19;;;;;;2625:15;;2621:1300;;3060:18;;-1:-1:-1;;3011:14:0;;;;3060:22;;;;2987:21;;3060:3;;:22;;3347;;;;;;;;;;;;;;3327:42;;3493:9;3464:3;:11;;3476:13;3464:26;;;;;;;;;;;;;;;;;;;:38;;;;3570:23;;;3612:1;3570:12;;;:23;;;;;;3596:17;;;3570:43;;3722:17;;3570:3;;3722:17;;;;;;;;;;;;;;;;;;;;;;3817:3;:12;;:19;3830:5;3817:19;;;;;;;;;;;3810:26;;;3860:4;3853:11;;;;;;;;2621:1300;3904:5;3897:12;;;;;39932:692;40008:4;40143:17;;;:12;;;:17;;;;;;40177:13;40173:444;;-1:-1:-1;;40262:38:0;;;;;;;;;;;;;;;;;;40244:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;40459:19;;40439:17;;;:12;;;:17;;;;;;;:39;40493:11;;40173:444;40573:5;40537:3;:12;;40561:1;40550:8;:12;40537:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;40600:5;40593:12;;;;;40799:1549;40863:4;40998:17;;;:12;;;:17;;;;;;41032:13;;41028:1313;;41464:19;;-1:-1:-1;;41417:12:0;;;;41464:23;;;;41393:21;;41464:3;;:23;;41761;;;;;;;;;;;;;;;;41732:52;;41909:9;41879:3;:12;;41892:13;41879:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;41999:14;;41986:28;;:12;;;:28;;;;;42017:17;;;41986:48;;42143:18;;41986:3;;42143:18;;;;;;;;;;;;;;-1:-1:-1;;42143:18:0;;;;;;;;;;;;;;;;;;;;;42239:17;;;:12;;;:17;;;;;;42232:24;;;;42143:18;-1:-1:-1;42273:11:0;;-1:-1:-1;;;;42273:11:0;8926:422;9293:20;9332:8;;;8926:422::o;11844:196::-;11947:12;11979:53;12002:6;12010:4;12016:1;12019:12;13351;13384:18;13395:6;13384:10;:18::i;:::-;13376:60;;;;;-1:-1:-1;;;13376:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13510:12;13524:23;13551:6;-1:-1:-1;;;;;13551:11:0;13571:8;13582:4;13551:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13551:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13509:78;;;;13602:7;13598:595;;;13633:10;-1:-1:-1;13626:17:0;;-1:-1:-1;13626:17:0;13598:595;13747:17;;:21;13743:439;;14010:10;14004:17;14071:15;14058:10;14054:2;14050:19;14043:44;13958:148;14146:20;;-1:-1:-1;;;14146:20:0;;;;;;;;;;;;;;;;;14153:12;;14146:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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