Contract 0x3a1c331bb2cba92f3f623068947babae3ed99a36

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0x01f396ba7c883c99c2679afbcd57bb276aca3b0889fb5e703a69780196d2f31994716092021-07-25 17:45:465 hrs 32 mins ago0x37902998b6d2cd7117527133e5891553e63439bb IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x0cac2796c35bceb575d063ef5291996d7c71a22d10a4f19fb233de9d5e56a4c194588272021-07-25 6:53:1916 hrs 25 mins ago0x5347270f306c2d221fb92aacccb8e4a0ff739d63 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x96f269aab56de5fbfd835ad87b8901c7232514bb312389f56fb9d83cedd2633394365332021-07-24 12:09:071 day 11 hrs ago0xe29d71c89bb6891764bcb5894d71dbf3277567df IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0xed483e9f1be8405df3128770da35b3aafbab75c6d2de9161c76bcc66422011ee94123902021-07-23 15:55:532 days 7 hrs ago0xb72eaf786048c54efcfd14e8bce482f659a99ec0 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x2100ad285afae6623e222b5d6ba0f2da34fbf1d272d8b468ae264eb45332c44293833942021-07-22 15:40:453 days 7 hrs ago0x9461bac0d3bc743ddc2a4acaebd0ddfa8e98b9ce IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00012819
0x679fbd451e6489587c0524016b2987e07901853328ef855bc207112c8f6fb85c93811412021-07-22 13:48:053 days 9 hrs ago0x95e83813064afe9c3223158442a21c8e6302ec08 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0xc421c262f8d78f8da9d325a43271520943530ff09132e6a9a68debebb77111f893459342021-07-21 8:27:014 days 14 hrs ago0x17bd0da51a23de98b9b958750d0a333034475f65 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0xd1d6b356d44203da3b60a91840729262b61bd2ad87348ce36acd71c6ce4cea7292858762021-07-19 6:22:006 days 16 hrs ago0x615756f9b36e3d1bf8155eb1cc27052c810f52cf IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0xccbb935607845b6a4298b38106b12f6ac07632bfe6f5cdd6932598a0508ba90492854382021-07-19 6:00:066 days 17 hrs ago0x9597bae2f38fcb5cedbef4a572030f0bf465eb92 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0xe7a3eba67260cd65e4df4307baea374a0fcdd33385342b68702f68152bb63a7892763512021-07-18 22:25:457 days 52 mins ago0x2d069b426d9cef4909aa7c03a2da4bc1b3c25007 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0x7e3fca07a589c3406c1ea274033c9ea9eb0d1d199504392f92dab92a8070645492709082021-07-18 17:52:487 days 5 hrs ago0x327f37509a58859ea0ed2aaacefa784a292d9007 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0x543a4ba9fc6d6f269f67d843f2b084907b922fbfb53bd53f66ad2aaa0f7f6bfd92597862021-07-18 8:36:427 days 14 hrs ago0x56216ddb4c3cd95c81c5367d87b9eab4bb0098e8 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0xa5c1c8805b2a595e5571a7e0afb6c70b9301bd95bc5a86ea058ff8b400e73bcd92458312021-07-17 20:58:578 days 2 hrs ago0xfa71fbd66da8256ca66c085b9475ba4b61d7375d IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0xa97dcbf1dea5dd0210641883dce8001bb9c9f77921b5d514e0cd3f969ad3f4f292197032021-07-16 23:11:109 days 7 mins ago0xc92f59ee6689bbc38d755fcc662a668700b321bb IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x57dbd75323bb83292a706e1a4ffef27153b08819b9b1c5348b87e68d1bc4398792134562021-07-16 17:58:499 days 5 hrs ago0x376b7b1f1205a95aef716ee992641f0677b81f36 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x1176d8690690843dd86ea249b629ada3ff1da603bb50a36d29756185390b071192023642021-07-16 8:43:539 days 14 hrs ago0xc814ddda86dec634db770553c252aef75cf4830e IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0x6cb416df73ec283f4e03d9d0b86109422d802198d3b944e16ad52fe2c408374591874252021-07-15 20:16:4410 days 3 hrs ago0x3cfb37f1076a16e4eb260cddad7b033494b068a4 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x9898ab2c2a82c5649225ece103235dc2f0feeac2958fec269a475a847c29b72b91756592021-07-15 10:28:1810 days 12 hrs ago0x001bceef26e5e693c811bde69b32600a6efd9c5a IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0xf83352cf8d96ec8d91d4b488e9eda75b2cac92b2232d37269d4ad86d1112efb991650742021-07-15 1:38:3910 days 21 hrs ago0xb37429e8df814e0c87f70c0745668f9cf5a1ae41 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x3fb9c9ac018ba78bced6078d927f4ce5e0d0ba2c9286d2a6c4e0686f4e51953991598162021-07-14 21:15:4511 days 2 hrs ago0xb37429e8df814e0c87f70c0745668f9cf5a1ae41 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
0xd6ebaafbfed5392e68d7fa63bbf285ed829e1e162fd498e09f6c29d0a00be7f191587222021-07-14 20:21:0311 days 2 hrs ago0xeb20d6e6a5062e0a4783a8daf94d653273a0f7f3 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0xecaf74f70101e51a2cc27b084d6b65c099e57cf9e6433eb062abb227b5d3706f91213162021-07-13 13:09:5112 days 10 hrs ago0xc14ffaa8f1f7ed1248b5a36af2d3f584799589a5 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x149e567d34f8c7948d8df5ca7d057e3a1eb42efc886b984920a355ecfef92bbd90807762021-07-12 3:22:5013 days 19 hrs ago0xb37429e8df814e0c87f70c0745668f9cf5a1ae41 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022419
0x8ed9ec31c7f047b178bb00a4c03d1c75cad741c2958e4d4e5d230058de8eec3790773612021-07-12 0:32:0513 days 22 hrs ago0xe4fd4de76c36b403776815ff80078e6e9642923f IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.0002286126
0x411f618f23bc7e2e747984f805416ed2cac2fbc0f842686a08e110a41d9208a090567472021-07-11 7:21:0614 days 15 hrs ago0xdae442e757374088bebad7e24e5a541dc6c94e54 IN  0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB0.00022413
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x9d758d075b9a5238a1ade4bb68cd2c7bda7413f9e68226c5ebb8154b0c5225ed54713352021-03-07 11:59:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x9d758d075b9a5238a1ade4bb68cd2c7bda7413f9e68226c5ebb8154b0c5225ed54713352021-03-07 11:59:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x9d758d075b9a5238a1ade4bb68cd2c7bda7413f9e68226c5ebb8154b0c5225ed54713352021-03-07 11:59:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x75363ab6e65e10976b83bdda618515acb2ee99d724b111a40616e283b67ed3b454710732021-03-07 11:46:36140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x75363ab6e65e10976b83bdda618515acb2ee99d724b111a40616e283b67ed3b454710732021-03-07 11:46:36140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x75363ab6e65e10976b83bdda618515acb2ee99d724b111a40616e283b67ed3b454710732021-03-07 11:46:36140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x3a128fee9b943d11db8547b56fb28e63a5cc64dfeceed23b27e0338ae6c1afef54710372021-03-07 11:44:48140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x3a128fee9b943d11db8547b56fb28e63a5cc64dfeceed23b27e0338ae6c1afef54710372021-03-07 11:44:48140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x3a128fee9b943d11db8547b56fb28e63a5cc64dfeceed23b27e0338ae6c1afef54710372021-03-07 11:44:48140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xa99a616b6559a1df19b89c9aab2c950a5e08e1c342878a05edcfd875816535cd54710292021-03-07 11:44:24140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xa99a616b6559a1df19b89c9aab2c950a5e08e1c342878a05edcfd875816535cd54710292021-03-07 11:44:24140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xa99a616b6559a1df19b89c9aab2c950a5e08e1c342878a05edcfd875816535cd54710292021-03-07 11:44:24140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xc71e9bdfe244a56df97437e5662c99dbe8d0c089a9f30ead60f78fca059681bd54710152021-03-07 11:43:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xc71e9bdfe244a56df97437e5662c99dbe8d0c089a9f30ead60f78fca059681bd54710152021-03-07 11:43:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xc71e9bdfe244a56df97437e5662c99dbe8d0c089a9f30ead60f78fca059681bd54710152021-03-07 11:43:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x52d8a92bd4998d96308114c17413f7688f71289c40765eb45e6cbbaa6ecd5e7754709712021-03-07 11:41:30140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x52d8a92bd4998d96308114c17413f7688f71289c40765eb45e6cbbaa6ecd5e7754709712021-03-07 11:41:30140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x52d8a92bd4998d96308114c17413f7688f71289c40765eb45e6cbbaa6ecd5e7754709712021-03-07 11:41:30140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xdefbeb575c416dfff604356c7134740a9050051a826eb21fff293675cae95c4d54708752021-03-07 11:36:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xdefbeb575c416dfff604356c7134740a9050051a826eb21fff293675cae95c4d54708752021-03-07 11:36:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0xdefbeb575c416dfff604356c7134740a9050051a826eb21fff293675cae95c4d54708752021-03-07 11:36:42140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x046d69b564cf6d76d61bf74393c434700c881e570215cbe290454b479b941b5554708162021-03-07 11:33:45140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x046d69b564cf6d76d61bf74393c434700c881e570215cbe290454b479b941b5554708162021-03-07 11:33:45140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x046d69b564cf6d76d61bf74393c434700c881e570215cbe290454b479b941b5554708162021-03-07 11:33:45140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
0x27838422cef8827e12144ca5087e554080aaaa6a2d69f10a8c113425f178e68454705692021-03-07 11:21:24140 days 11 hrs ago 0x5466bbb3c6280943c8a9b0c39e3ad7d31b2bb78d 0x3a1c331bb2cba92f3f623068947babae3ed99a360 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokocryptoNFT

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 999999 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity)

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

// 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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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

// SPDX-License-Identifier: MIT

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/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;


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

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

    bool private _paused;

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;



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

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

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

// SPDX-License-Identifier: MIT

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/toko/TokocryptoNFT.sol

pragma solidity =0.6.6;






contract TokocryptoNFT is ERC721Pausable, AccessControl, Ownable {
    bytes32 public constant UPDATE_TOKEN_URI_ROLE = keccak256('UPDATE_TOKEN_URI_ROLE');
    bytes32 public constant PAUSED_ROLE = keccak256('PAUSED_ROLE');
    uint256 public nextTokenId = 1;
    event Burn(address indexed sender, uint256 tokenId);

    constructor() public ERC721('Tokocrypto NFT', 'TKONFT') {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(UPDATE_TOKEN_URI_ROLE, _msgSender());
        _setupRole(PAUSED_ROLE, _msgSender());
    }

    function mint(address to, string memory _tokenURI) public onlyOwner returns (uint256 tokenId) {
        tokenId = nextTokenId;
        _mint(to, tokenId);
        nextTokenId++;
        _setTokenURI(tokenId, _tokenURI);
    }

    function batchMint(
        address to,
        string memory _tokenURI,
        uint256 size
    ) public onlyOwner returns (uint256[] memory tokenIds) {
        require(size != 0, 'size must be granter than zero');
        tokenIds = new uint256[](size);
        for (uint256 i = 0; i < size; ++i) {
            tokenIds[i] = mint(to, _tokenURI);
        }
    }

    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 pause() public whenNotPaused {
        require(hasRole(PAUSED_ROLE, _msgSender()), 'Must have pause role');
        _pause();
    }

    function unpause() public whenPaused {
        require(hasRole(PAUSED_ROLE, _msgSender()), 'Must have pause role');
        _unpause();
    }

    function transferAnyERC20Token(address tokenAddress, uint256 amount) public onlyOwner {
        IERC20(tokenAddress).transfer(owner(), amount);
    }

    function transferAnyERC721Token(address tokenAddress, uint256 tokenId) public onlyOwner {
        IERC721(tokenAddress).transferFrom(address(this), owner(), tokenId);
    }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSED_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":"address","name":"to","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"size","type":"uint256"}],"name":"batchMint","outputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"stateMutability":"nonpayable","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":"nonpayable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"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":"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":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferAnyERC721Token","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600d553480156200001657600080fd5b50604080518082018252600e81526d151bdadbd8dc9e5c1d1bc813919560921b602080830191909152825180840190935260068352651512d3d3919560d21b9083015290620000756301ffc9a760e01b6001600160e01b036200021116565b81516200008a906006906020850190620003d1565b508051620000a0906007906020840190620003d1565b50620000bc6380ac58cd60e01b6001600160e01b036200021116565b620000d7635b5e139f60e01b6001600160e01b036200021116565b620000f263780e9d6360e01b6001600160e01b036200021116565b5050600a805460ff191690556000620001136001600160e01b036200029616565b600c80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200018960006200017a6001600160e01b036200029616565b6001600160e01b036200029b16565b604080517f5550444154455f544f4b454e5f5552495f524f4c45000000000000000000000081529051908190036015019020620001d3906200017a6001600160e01b036200029616565b604080516a5041555345445f524f4c4560a81b8152905190819003600b0190206200020b906200017a6001600160e01b036200029616565b62000473565b6001600160e01b0319808216141562000271576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b335b90565b620002b082826001600160e01b03620002b416565b5050565b6000828152600b60209081526040909120620002db9183906200320062000338821b17901c565b15620002b057620002f46001600160e01b036200029616565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000358836001600160a01b0384166001600160e01b036200036116565b90505b92915050565b60006200037883836001600160e01b03620003b916565b620003b0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200035b565b5060006200035b565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200041457805160ff191683800117855562000444565b8280016001018555821562000444579182015b828111156200044457825182559160200191906001019062000427565b506200045292915062000456565b5090565b6200029891905b808211156200045257600081556001016200045d565b613f9280620004836000396000f3fe608060405234801561001057600080fd5b50600436106102d35760003560e01c8063715018a611610186578063a22cb465116100e3578063ca15c87311610097578063dc39d06d11610071578063dc39d06d14610bb4578063e985e9c514610bed578063f2fde38b14610c28576102d3565b8063ca15c87314610a9b578063d0def52114610ab8578063d547741f14610b7b576102d3565b8063b88d4fde116100c8578063b88d4fde14610896578063c87b56dd14610969578063c8dfca1314610986576102d3565b8063a22cb46514610853578063ae57937b1461088e576102d3565b80639010d07c1161013a57806391d148541161011f57806391d148541461080a57806395d89b4114610843578063a217fddf1461084b576102d3565b80639010d07c146107ae57806390750d07146107d1576102d3565b80637e622c561161016b5780637e622c56146107965780638456cb591461079e5780638da5cb5b146107a6576102d3565b8063715018a61461078657806375794a3c1461078e576102d3565b806336568abe1161023457806355f804b3116101e85780636352211e116101cd5780636352211e1461072e5780636c0360eb1461074b57806370a0823114610753576102d3565b806355f804b3146106805780635c975abb14610726576102d3565b806342842e0e1161021957806342842e0e1461060357806342966c68146106465780634f6ccce714610663576102d3565b806336568abe146105c25780633f4ba83a146105fb576102d3565b806318160ddd1161028b578063248a9ca311610270578063248a9ca3146105335780632f2ff15d146105505780632f745c5914610589576102d3565b806318160ddd146104d657806323b872dd146104f0576102d3565b8063081812fc116102bc578063081812fc146103a8578063095ea7b3146103ee578063162094c414610429576102d3565b806301ffc9a7146102d857806306fdde031461032b575b600080fd5b610317600480360360208110156102ee57600080fd5b50357fffffffff0000000000000000000000000000000000000000000000000000000016610c5b565b604080519115158252519081900360200190f35b610333610c96565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036d578181015183820152602001610355565b50505050905090810190601f16801561039a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103c5600480360360208110156103be57600080fd5b5035610d4b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6104276004803603604081101561040457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610dd4565b005b6104276004803603604081101561043f57600080fd5b8135919081019060408101602082013564010000000081111561046157600080fd5b82018360208201111561047357600080fd5b8035906020019184600183028401116401000000008311171561049557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f17945050505050565b6104de610fd3565b60408051918252519081900360200190f35b6104276004803603606081101561050657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610fe4565b6104de6004803603602081101561054957600080fd5b5035611055565b6104276004803603604081101561056657600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff1661106a565b6104de6004803603604081101561059f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356110e7565b610427600480360360408110156105d857600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16611125565b6104276111ba565b6104276004803603606081101561061957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356112de565b6104276004803603602081101561065c57600080fd5b50356112f9565b6104de6004803603602081101561067957600080fd5b50356113d0565b6104276004803603602081101561069657600080fd5b8101906020810181356401000000008111156106b157600080fd5b8201836020820111156106c357600080fd5b803590602001918460018302840111640100000000831117156106e557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113ec945050505050565b6103176114a1565b6103c56004803603602081101561074457600080fd5b50356114aa565b6103336114d8565b6104de6004803603602081101561076957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611557565b6104276115f3565b6104de6116f3565b6104de6116f9565b61042761172e565b6103c5611851565b6103c5600480360360408110156107c457600080fd5b508035906020013561186d565b610427600480360360408110156107e757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561188b565b6103176004803603604081101561082057600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff166119fa565b610333611a18565b6104de611a97565b6104276004803603604081101561086957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515611a9c565b6104de611c0d565b610427600480360360808110156108ac57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235811692602081013590911691604082013591908101906080810160608201356401000000008111156108f457600080fd5b82018360208201111561090657600080fd5b8035906020019184600183028401116401000000008311171561092857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c42945050505050565b6103336004803603602081101561097f57600080fd5b5035611cba565b610a4b6004803603606081101561099c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691908101906040810160208201356401000000008111156109d457600080fd5b8201836020820111156109e657600080fd5b80359060200191846001830284011164010000000083111715610a0857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611ff3915050565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a87578181015183820152602001610a6f565b505050509050019250505060405180910390f35b6104de60048036036020811015610ab157600080fd5b503561216a565b6104de60048036036040811015610ace57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169190810190604081016020820135640100000000811115610b0657600080fd5b820183602082011115610b1857600080fd5b80359060200191846001830284011164010000000083111715610b3a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612181945050505050565b61042760048036036040811015610b9157600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16612235565b61042760048036036040811015610bca57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356122a8565b61031760048036036040811015610c0357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166123f1565b61042760048036036020811015610c3e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661242c565b7fffffffff00000000000000000000000000000000000000000000000000000000811660009081526020819052604090205460ff165b919050565b60068054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d405780601f10610d1557610100808354040283529160200191610d40565b820191906000526020600020905b815481529060010190602001808311610d2357829003601f168201915b505050505090505b90565b6000610d56826125b7565b610dab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613e2c602c913960400191505060405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610ddf826114aa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613edc6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e856125ca565b73ffffffffffffffffffffffffffffffffffffffff161480610eb35750610eb381610eae6125ca565b6123f1565b610f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180613d7f6038913960400191505060405180910390fd5b610f1283836125ce565b505050565b604080517f5550444154455f544f4b454e5f5552495f524f4c45000000000000000000000081529051908190036015019020610f5a90610f556125ca565b6119fa565b610fc557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4d75737420686176652075706461746520746f6b656e2075726920726f6c6500604482015290519081900360640190fd5b610fcf828261266e565b5050565b6000610fdf60026126eb565b905090565b610ff5610fef6125ca565b826126f6565b61104a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613efd6031913960400191505060405180910390fd5b610f128383836127e8565b6000908152600b602052604090206002015490565b6000828152600b602052604090206002015461108890610f556125ca565b6110dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613c78602f913960400191505060405180910390fd5b610fcf82826129d5565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040812061111c908363ffffffff612a5e16565b90505b92915050565b61112d6125ca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613f2e602f913960400191505060405180910390fd5b610fcf8282612a6a565b600a5460ff1661122b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b604080517f5041555345445f524f4c450000000000000000000000000000000000000000008152905190819003600b01902061126990610f556125ca565b6112d457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d757374206861766520706175736520726f6c65000000000000000000000000604482015290519081900360640190fd5b6112dc612af3565b565b610f1283838360405180602001604052806000815250611c42565b611304610fef6125ca565b61136f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564604482015290519081900360640190fd5b61137881612bdf565b6113806125ca565b73ffffffffffffffffffffffffffffffffffffffff167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5826040518082815260200191505060405180910390a250565b6000806113e460028463ffffffff612cf016565b509392505050565b604080517f5550444154455f544f4b454e5f5552495f524f4c4500000000000000000000008152905190819003601501902061142a90610f556125ca565b61149557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4d75737420686176652075706461746520746f6b656e2075726920726f6c6500604482015290519081900360640190fd5b61149e81612d0c565b50565b600a5460ff1690565b600061111f82604051806060016040528060298152602001613de1602991396002919063ffffffff612d1f16565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d405780601f10610d1557610100808354040283529160200191610d40565b600073ffffffffffffffffffffffffffffffffffffffff82166115c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613db7602a913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216600090815260016020526040902061111f906126eb565b6115fb6125ca565b600c5473ffffffffffffffffffffffffffffffffffffffff90811691161461168457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600c5460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600d5481565b604080517f5550444154455f544f4b454e5f5552495f524f4c4500000000000000000000008152905190819003601501902081565b600a5460ff16156117a057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b604080517f5041555345445f524f4c450000000000000000000000000000000000000000008152905190819003600b0190206117de90610f556125ca565b61184957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d757374206861766520706175736520726f6c65000000000000000000000000604482015290519081900360640190fd5b6112dc612d36565b600c5473ffffffffffffffffffffffffffffffffffffffff1690565b6000828152600b6020526040812061111c908363ffffffff612a5e16565b6118936125ca565b600c5473ffffffffffffffffffffffffffffffffffffffff90811691161461191c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd30611941611851565b846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156119de57600080fd5b505af11580156119f2573d6000803e3d6000fd5b505050505050565b6000828152600b6020526040812061111c908363ffffffff612dfc16565b60078054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d405780601f10610d1557610100808354040283529160200191610d40565b600081565b611aa46125ca565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b3e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611b4b6125ca565b73ffffffffffffffffffffffffffffffffffffffff90811682526020808301939093526040918201600090812091871680825291909352912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001692151592909217909155611bba6125ca565b604080518415158152905173ffffffffffffffffffffffffffffffffffffffff92909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b604080517f5041555345445f524f4c450000000000000000000000000000000000000000008152905190819003600b01902081565b611c53611c4d6125ca565b836126f6565b611ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613efd6031913960400191505060405180910390fd5b611cb484848484612e1e565b50505050565b6060611cc5826125b7565b611d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613ead602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611dcd5780601f10611da257610100808354040283529160200191611dcd565b820191906000526020600020905b815481529060010190602001808311611db057829003601f168201915b505060095493945050505060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001841615020190911604611e14579050610c91565b805115611f03576009816040516020018083805460018160011615610100020316600290048015611e7c5780601f10611e5a576101008083540402835291820191611e7c565b820191906000526020600020905b815481529060010190602001808311611e68575b5050825160208401908083835b60208310611ec657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611e89565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050610c91565b6009611f0e84612e8a565b6040516020018083805460018160011615610100020316600290048015611f6c5780601f10611f4a576101008083540402835291820191611f6c565b820191906000526020600020905b815481529060010190602001808311611f58575b5050825160208401908083835b60208310611fb657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611f79565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b6060611ffd6125ca565b600c5473ffffffffffffffffffffffffffffffffffffffff90811691161461208657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b816120f257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f73697a65206d757374206265206772616e746572207468616e207a65726f0000604482015290519081900360640190fd5b8167ffffffffffffffff8111801561210957600080fd5b50604051908082528060200260200182016040528015612133578160200160208202803683370190505b50905060005b828110156113e45761214b8585612181565b82828151811061215757fe5b6020908102919091010152600101612139565b6000818152600b6020526040812061111f906126eb565b600061218b6125ca565b600c5473ffffffffffffffffffffffffffffffffffffffff90811691161461221457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b50600d546122228382612fb7565b600d8054600101905561111f818361266e565b6000828152600b602052604090206002015461225390610f556125ca565b6111b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526030815260200180613d4f6030913960400191505060405180910390fd5b6122b06125ca565b600c5473ffffffffffffffffffffffffffffffffffffffff90811691161461233957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61235d611851565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156123c757600080fd5b505af11580156123db573d6000803e3d6000fd5b505050506040513d6020811015611cb457600080fd5b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6124346125ca565b600c5473ffffffffffffffffffffffffffffffffffffffff9081169116146124bd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116612529576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613cd96026913960400191505060405180910390fd5b600c5460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600061111f60028363ffffffff61314c16565b3390565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612628826114aa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612677826125b7565b6126cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613e58602c913960400191505060405180910390fd5b60008281526008602090815260409091208251610f1292840190613b52565b600061111f82613158565b6000612701826125b7565b612756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613d23602c913960400191505060405180910390fd5b6000612761836114aa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127d057508373ffffffffffffffffffffffffffffffffffffffff166127b884610d4b565b73ffffffffffffffffffffffffffffffffffffffff16145b806127e057506127e081856123f1565b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16612808826114aa565b73ffffffffffffffffffffffffffffffffffffffff1614612874576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613e846029913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166128e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180613cff6024913960400191505060405180910390fd5b6128eb83838361315c565b6128f66000826125ce565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020526040902061292b908263ffffffff6131c516565b5073ffffffffffffffffffffffffffffffffffffffff82166000908152600160205260409020612961908263ffffffff6131d116565b506129746002828463ffffffff6131dd16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600b602052604090206129f3908263ffffffff61320016565b15610fcf57612a006125ca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061111c8383613222565b6000828152600b60205260409020612a88908263ffffffff6132a016565b15610fcf57612a956125ca565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600a5460ff16612b6457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612bb56125ca565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b6000612bea826114aa565b9050612bf88160008461315c565b612c036000836125ce565b60008281526008602052604090205460027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600184161502019091160415612c5f576000828152600860205260408120612c5f91613bd0565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020612c94908363ffffffff6131c516565b50612ca660028363ffffffff6132c216565b50604051829060009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080612cff86866132ce565b9097909650945050505050565b8051610fcf906009906020840190613b52565b6000612d2c848484613363565b90505b9392505050565b600a5460ff1615612da857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612bb56125ca565b600061111c8373ffffffffffffffffffffffffffffffffffffffff8416613447565b612e298484846127e8565b612e358484848461345f565b611cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180613ca76032913960400191505060405180910390fd5b606081612ecb575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610c91565b8160005b8115612ee357600101600a82049150612ecf565b60608167ffffffffffffffff81118015612efc57600080fd5b506040519080825280601f01601f191660200182016040528015612f27576020820181803683370190505b5085935090507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82015b8315612fae57600a840660300160f81b82828060019003935081518110612f7457fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84049350612f51565b50949350505050565b73ffffffffffffffffffffffffffffffffffffffff821661303957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b613042816125b7565b156130ae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b6130ba6000838361315c565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090206130ef908263ffffffff6131d116565b506131026002828463ffffffff6131dd16565b50604051819073ffffffffffffffffffffffffffffffffffffffff8416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600061111c8383613447565b5490565b613167838383610f12565b61316f6114a1565b15610f12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180613c4d602b913960400191505060405180910390fd5b600061111c83836136a1565b600061111c8383613785565b6000612d2c848473ffffffffffffffffffffffffffffffffffffffff85166137cf565b600061111c8373ffffffffffffffffffffffffffffffffffffffff8416613785565b8154600090821061327e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613c2b6022913960400191505060405180910390fd5b82600001828154811061328d57fe5b9060005260206000200154905092915050565b600061111c8373ffffffffffffffffffffffffffffffffffffffff84166136a1565b600061111c8383613866565b81546000908190831061332c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613e0a6022913960400191505060405180910390fd5b600084600001848154811061333d57fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281613418576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133dd5781810151838201526020016133c5565b50505050905090810190601f16801561340a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5084600001600182038154811061342b57fe5b9060005260206000209060020201600101549150509392505050565b60009081526001919091016020526040902054151590565b60006134808473ffffffffffffffffffffffffffffffffffffffff16613976565b61348c575060016127e0565b60606136367f150b7a02000000000000000000000000000000000000000000000000000000006134ba6125ca565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561356757818101518382015260200161354f565b50505050905090810190601f1680156135945780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001613ca76032913973ffffffffffffffffffffffffffffffffffffffff8816919063ffffffff61397c16565b9050600081806020019051602081101561364f57600080fd5b50517fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001492505050949350505050565b6000818152600183016020526040812054801561377b5783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80830191908101906000908790839081106136f257fe5b906000526020600020015490508087600001848154811061370f57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061373f57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061111f565b600091505061111f565b60006137918383613447565b6137c75750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561111f565b50600061111f565b600082815260018401602052604081205480613834575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612d2f565b8285600001600183038154811061384757fe5b9060005260206000209060020201600101819055506000915050612d2f565b6000818152600183016020526040812054801561377b5783547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80830191908101906000908790839081106138b757fe5b90600052602060002090600202019050808760000184815481106138d757fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061391657fe5b6000828152602080822060027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909401938402018281556001908101839055929093558881528982019092526040822091909155945061111f9350505050565b3b151590565b6060612d2c8484600085606061399185613976565b6139fc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613a6657805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613a29565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613ac8576040519150601f19603f3d011682016040523d82523d6000602084013e613acd565b606091505b50915091508115613ae15791506127e09050565b805115613af15780518082602001fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528651602484015286518793919283926044019190850190808383600083156133dd5781810151838201526020016133c5565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613b9357805160ff1916838001178555613bc0565b82800160010185558215613bc0579182015b82811115613bc0578251825591602001919060010190613ba5565b50613bcc929150613c10565b5090565b50805460018160011615610100020316600290046000825580601f10613bf6575061149e565b601f01602090049060005260206000209081019061149e91905b610d4891905b80821115613bcc5760008155600101613c1656fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732315061757361626c653a20746f6b656e207472616e73666572207768696c6520706175736564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220ef99e22e124e6f6763281c2cfbb46a22d5c92fcc147fd971b9afbcd31707775464736f6c63430006060033

Deployed ByteCode Sourcemap

73210:2460:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;73210:2460:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;32107:142:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32107:142:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;52218:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;52218:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54905:213;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;54905:213:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;54449:390;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;54449:390:0;;;;;;;;;:::i;:::-;;74805:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;74805:218:0;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;74805:218:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;74805:218:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;74805:218:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;74805:218:0;;-1:-1:-1;74805:218:0;;-1:-1:-1;;;;;74805:218:0:i;53943:203::-;;;:::i;:::-;;;;;;;;;;;;;;;;55779:305;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;55779:305:0;;;;;;;;;;;;;;;;;;:::i;19538:114::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;19538:114:0;;:::i;19914:227::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;19914:227:0;;;;;;;;;:::i;53713:154::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;53713:154:0;;;;;;;;;:::i;21123:209::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21123:209:0;;;;;;;;;:::i;75182:144::-;;;:::i;56155:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;56155:151:0;;;;;;;;;;;;;;;;;;:::i;74390:211::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;74390:211:0;;:::i;54223:164::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;54223:164:0;;:::i;74609:188::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;74609:188:0;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;74609:188:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;74609:188:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;74609:188:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;74609:188:0;;-1:-1:-1;74609:188:0;;-1:-1:-1;;;;;74609:188:0:i;68764:78::-;;;:::i;51982:169::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51982:169:0;;:::i;53540:89::-;;;:::i;51705:215::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51705:215:0;;;;:::i;72574:148::-;;;:::i;73440:30::-;;;:::i;73282:82::-;;;:::i;75031:143::-;;;:::i;71932:79::-;;;:::i;19211:138::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;19211:138:0;;;;;;;:::i;75493:174::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75493:174:0;;;;;;;;;:::i;18172:139::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;18172:139:0;;;;;;;;;:::i;52379:96::-;;;:::i;16917:49::-;;;:::i;55190:295::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;55190:295:0;;;;;;;;;;;:::i;73371:62::-;;;:::i;56377:285::-;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;56377:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;56377:285:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;56377:285:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;56377:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56377:285:0;;-1:-1:-1;56377:285:0;;-1:-1:-1;;;;;56377:285:0:i;52546:755::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;52546:755:0;;:::i;74008:374::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;74008:374:0;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;74008:374:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;74008:374:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;74008:374:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;74008:374:0;;-1:-1:-1;;74008:374:0;;;-1:-1:-1;74008:374:0;;-1:-1:-1;;74008:374:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;74008:374:0;;;;;;;;;;;;;;;;;18485:127;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;18485:127:0;;:::i;73770:230::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;73770:230:0;;;;;;;;;;;;;;;;27:11:-1;11:28;;8:2;;;52:1;49;42:12;8:2;73770:230:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;73770:230:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;73770:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;73770:230:0;;-1:-1:-1;73770:230:0;;-1:-1:-1;;;;;73770:230:0:i;20386:::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;20386:230:0;;;;;;;;;:::i;75334:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;75334:151:0;;;;;;;;;:::i;55556:156::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;55556:156:0;;;;;;;;;;;:::i;72877:244::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;72877:244:0;;;;:::i;32107:142::-;32208:33;;;32184:4;32208:33;;;;;;;;;;;;;32107:142;;;;:::o;52218:92::-;52297:5;52290:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52264:13;;52290:12;;52297:5;;52290:12;;52297:5;52290:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52218:92;;:::o;54905:213::-;54973:7;55001:16;55009:7;55001;:16::i;:::-;54993:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55086:24:0;;;;:15;:24;;;;;;;;;54905:213::o;54449:390::-;54530:13;54546:16;54554:7;54546;:16::i;:::-;54530:32;;54587:5;54581:11;;:2;:11;;;;54573:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54667:5;54651:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;54676:37;54693:5;54700:12;:10;:12::i;:::-;54676:16;:37::i;:::-;54643:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54810:21;54819:2;54823:7;54810:8;:21::i;:::-;54449:390;;;:::o;74805:218::-;73330:34;;;;;;;;;;;;;;;;74893:44;;74924:12;:10;:12::i;:::-;74893:7;:44::i;:::-;74885:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74984:31;74997:7;75006:8;74984:12;:31::i;:::-;74805:218;;:::o;53943:203::-;53996:7;54117:21;:12;:19;:21::i;:::-;54110:28;;53943:203;:::o;55779:305::-;55940:41;55959:12;:10;:12::i;:::-;55973:7;55940:18;:41::i;:::-;55932:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56048:28;56058:4;56064:2;56068:7;56048:9;:28::i;19538:114::-;19595:7;19622:12;;;:6;:12;;;;;:22;;;;19538:114::o;19914:227::-;20006:12;;;;:6;:12;;;;;:22;;;19998:45;;20030:12;:10;:12::i;19998:45::-;19990:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20108:25;20119:4;20125:7;20108:10;:25::i;53713:154::-;53829:20;;;53802:7;53829:20;;;:13;:20;;;;;:30;;53853:5;53829:30;:23;:30;:::i;:::-;53822:37;;53713:154;;;;;:::o;21123:209::-;21221:12;:10;:12::i;:::-;21210:23;;:7;:23;;;21202:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21298:26;21310:4;21316:7;21298:11;:26::i;75182:144::-;69358:7;;;;69350:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73409:24:::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;;75238:34:::1;::::0;75259:12:::1;:10;:12::i;75238:34::-;75230:67;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;75308:10;:8;:10::i;:::-;75182:144::o:0;56155:151::-;56259:39;56276:4;56282:2;56286:7;56259:39;;;;;;;;;;;;:16;:39::i;74390:211::-;74447:41;74466:12;:10;:12::i;74447:41::-;74439:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74536:14;74542:7;74536:5;:14::i;:::-;74571:12;:10;:12::i;:::-;74566:27;;;74585:7;74566:27;;;;;;;;;;;;;;;;;;74390:211;:::o;54223:164::-;54290:7;;54332:22;:12;54348:5;54332:22;:15;:22;:::i;:::-;-1:-1:-1;54310:44:0;54223:164;-1:-1:-1;;;54223:164:0:o;74609:188::-;73330:34;;;;;;;;;;;;;;;;74678:44;;74709:12;:10;:12::i;74678:44::-;74670:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74769:20;74781:7;74769:11;:20::i;:::-;74609:188;:::o;68764:78::-;68827:7;;;;68764:78;:::o;51982:169::-;52046:7;52073:70;52090:7;52073:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;53540:89::-;53613:8;53606:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53580:13;;53606:15;;53613:8;;53606:15;;53613:8;53606:15;;;;;;;;;;;;;;;;;;;;;;;;51705:215;51769:7;51797:19;;;51789:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51883:20;;;;;;;:13;:20;;;;;:29;;:27;:29::i;72574:148::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72665:6:::1;::::0;72644:40:::1;::::0;72681:1:::1;::::0;72644:40:::1;72665:6;::::0;72644:40:::1;::::0;72681:1;;72644:40:::1;72695:6;:19:::0;;;::::1;::::0;;72574:148::o;73440:30::-;;;;:::o;73282:82::-;73330:34;;;;;;;;;;;;;;;;73282:82;:::o;75031:143::-;69082:7;;;;69081:8;69073:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73409:24:::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;;75088:34:::1;::::0;75109:12:::1;:10;:12::i;75088:34::-;75080:67;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;75158:8;:6;:8::i;71932:79::-:0;71997:6;;;;71932:79;:::o;19211:138::-;19284:7;19311:12;;;:6;:12;;;;;:30;;19335:5;19311:30;:23;:30;:::i;75493:174::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75600:12:::1;75592:34;;;75635:4;75642:7;:5;:7::i;:::-;75651;75592:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;75592:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;75592:67:0;;;;75493:174:::0;;:::o;18172:139::-;18241:4;18265:12;;;:6;:12;;;;;:38;;18295:7;18265:38;:29;:38;:::i;52379:96::-;52460:7;52453:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52427:13;;52453:14;;52460:7;;52453:14;;52460:7;52453:14;;;;;;;;;;;;;;;;;;;;;;;;16917:49;16962:4;16917:49;:::o;55190:295::-;55305:12;:10;:12::i;:::-;55293:24;;:8;:24;;;;55285:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55405:8;55360:18;:32;55379:12;:10;:12::i;:::-;55360:32;;;;;;;;;;;;;;;;;;-1:-1:-1;55360:32:0;;;:42;;;;;;;;;;;;:53;;;;;;;;;;;;;;55444:12;:10;:12::i;:::-;55429:48;;;;;;;;;;;;;;;;;;;;;;;;;55190:295;;:::o;73371:62::-;73409:24;;;;;;;;;;;;;;;;73371:62;:::o;56377:285::-;56509:41;56528:12;:10;:12::i;:::-;56542:7;56509:18;:41::i;:::-;56501:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56615:39;56629:4;56635:2;56639:7;56648:5;56615:13;:39::i;:::-;56377:285;;;;:::o;52546:755::-;52611:13;52645:16;52653:7;52645;:16::i;:::-;52637:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52752:19;;;;:10;:19;;;;;;;;;52726:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;52752:19;52726:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52853:8:0;52847:22;52726:45;;-1:-1:-1;;;;52847:22:0;;;;;;;;;;;;;52843:76;;52898:9;-1:-1:-1;52891:16:0;;52843:76;53023:23;;:27;53019:112;;53098:8;53108:9;53081:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53081:37:0;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;53081:37:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;53081:37:0;;;53067:52;;;;;53019:112;53263:8;53273:18;:7;:16;:18::i;:::-;53246:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53246:46:0;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;53246:46:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;53246:46:0;;;53232:61;;;52546:755;;;:::o;74008:374::-;74138:25;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74184:9;74176:52:::1;;;::::0;;::::1;::::0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;74264:4;74250:19;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;74250:19:0;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;125:4;109:14;101:6;88:42;144:17;::::0;-1:-1;74250:19:0::1;-1:-1:-1::0;74239:30:0;-1:-1:-1;74285:9:0::1;74280:95;74304:4;74300:1;:8;74280:95;;;74344:19;74349:2;74353:9;74344:4;:19::i;:::-;74330:8;74339:1;74330:11;;;;;;;;;::::0;;::::1;::::0;;;;;:33;74310:3:::1;;74280:95;;18485:127:::0;18548:7;18575:12;;;:6;:12;;;;;:29;;:27;:29::i;73770:230::-;73847:15;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73885:11:0::1;::::0;73907:18:::1;73913:2:::0;73885:11;73907:5:::1;:18::i;:::-;73936:11;:13:::0;;::::1;;::::0;;73960:32:::1;73973:7:::0;73982:9;73960:12:::1;:32::i;20386:230::-:0;20479:12;;;;:6;:12;;;;;:22;;;20471:45;;20503:12;:10;:12::i;20471:45::-;20463:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75334:151;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75438:12:::1;75431:29;;;75461:7;:5;:7::i;:::-;75470:6;75431:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;75431:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;75431:46:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;55556:156:0::0;55669:25;;;;55645:4;55669:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55556:156::o;72877:244::-;72154:12;:10;:12::i;:::-;72144:6;;:22;:6;;;:22;;;72136:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72966:22:::1;::::0;::::1;72958:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73068:6;::::0;73047:38:::1;::::0;::::1;::::0;;::::1;::::0;73068:6:::1;::::0;73047:38:::1;::::0;73068:6:::1;::::0;73047:38:::1;73096:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;72877:244::o;58129:119::-;58186:4;58210:30;:12;58232:7;58210:30;:21;:30;:::i;14827:106::-;14915:10;14827:106;:::o;63956:158::-;64022:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;64076:16;64022:24;64076:7;:16::i;:::-;64067:39;;;;;;;;;;;;63956:158;;:::o;62234:215::-;62334:16;62342:7;62334;:16::i;:::-;62326:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62410:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;45564:123::-;45633:7;45660:19;45668:3;45660:7;:19::i;58415:333::-;58500:4;58525:16;58533:7;58525;:16::i;:::-;58517:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58601:13;58617:16;58625:7;58617;:16::i;:::-;58601:32;;58663:5;58652:16;;:7;:16;;;:51;;;;58696:7;58672:31;;:20;58684:7;58672:11;:20::i;:::-;:31;;;58652:51;:87;;;;58707:32;58724:5;58731:7;58707:16;:32::i;:::-;58644:96;58415:333;-1:-1:-1;;;;58415:333:0:o;61504:574::-;61622:4;61602:24;;:16;61610:7;61602;:16::i;:::-;:24;;;61594:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61691:16;;;61683:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61761:39;61782:4;61788:2;61792:7;61761:20;:39::i;:::-;61865:29;61882:1;61886:7;61865:8;:29::i;:::-;61907:19;;;;;;;:13;:19;;;;;:35;;61934:7;61907:35;:26;:35;:::i;:::-;-1:-1:-1;61953:17:0;;;;;;;:13;:17;;;;;:30;;61975:7;61953:30;:21;:30;:::i;:::-;-1:-1:-1;61996:29:0;:12;62013:7;62022:2;61996:29;:16;:29;:::i;:::-;;62062:7;62058:2;62043:27;;62052:4;62043:27;;;;;;;;;;;;61504:574;;;:::o;22366:188::-;22440:12;;;;:6;:12;;;;;:33;;22465:7;22440:33;:24;:33;:::i;:::-;22436:111;;;22522:12;:10;:12::i;:::-;22495:40;;22513:7;22495:40;;22507:4;22495:40;;;;;;;;;;22366:188;;:::o;7948:137::-;8019:7;8054:22;8058:3;8070:5;8054:3;:22::i;22562:192::-;22637:12;;;;:6;:12;;;;;:36;;22665:7;22637:36;:27;:36;:::i;:::-;22633:114;;;22722:12;:10;:12::i;:::-;22695:40;;22713:7;22695:40;;22707:4;22695:40;;;;;;;;;;22562:192;;:::o;69813:120::-;69358:7;;;;69350:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69872:7:::1;:15:::0;;;::::1;::::0;;69903:22:::1;69912:12;:10;:12::i;:::-;69903:22;::::0;;::::1;::::0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;69813:120::o:0;60647:520::-;60707:13;60723:16;60731:7;60723;:16::i;:::-;60707:32;;60752:48;60773:5;60788:1;60792:7;60752:20;:48::i;:::-;60841:29;60858:1;60862:7;60841:8;:29::i;:::-;60929:19;;;;:10;:19;;;;;60923:33;;;;;;;;;;;;;;:38;60919:97;;60985:19;;;;:10;:19;;;;;60978:26;;;:::i;:::-;61028:20;;;;;;;:13;:20;;;;;:36;;61056:7;61028:36;:27;:36;:::i;:::-;-1:-1:-1;61077:28:0;:12;61097:7;61077:28;:19;:28;:::i;:::-;-1:-1:-1;61123:36:0;;61151:7;;61147:1;;61123:36;;;;;;61147:1;;61123:36;60647:520;;:::o;46026:227::-;46106:7;;;;46166:22;46170:3;46182:5;46166:3;:22::i;:::-;46135:53;;;;-1:-1:-1;46026:227:0;-1:-1:-1;;;;;46026:227:0:o;62679:100::-;62752:19;;;;:8;;:19;;;;;:::i;46688:204::-;46795:7;46838:44;46843:3;46863;46869:12;46838:4;:44::i;:::-;46830:53;-1:-1:-1;46688:204:0;;;;;;:::o;69554:118::-;69082:7;;;;69081:8;69073:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69614:7:::1;:14:::0;;;::::1;69624:4;69614:14;::::0;;69644:20:::1;69651:12;:10;:12::i;5624:158::-:0;5704:4;5728:46;5738:3;5758:14;;;5728:9;:46::i;57544:272::-;57658:28;57668:4;57674:2;57678:7;57658:9;:28::i;:::-;57705:48;57728:4;57734:2;57738:7;57747:5;57705:22;:48::i;:::-;57697:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47166:744;47222:13;47443:10;47439:53;;-1:-1:-1;47470:10:0;;;;;;;;;;;;;;;;;;;47439:53;47517:5;47502:12;47558:78;47565:9;;47558:78;;47591:8;;47622:2;47614:10;;;;47558:78;;;47646:19;47678:6;47668:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;47668:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;47668:17:0;87:42:-1;143:17;;-1:-1;47668:17:0;-1:-1:-1;47740:5:0;;-1:-1:-1;47646:39:0;-1:-1:-1;47712:10:0;;;47756:115;47763:9;;47756:115;;47830:2;47823:4;:9;47818:2;:14;47807:27;;47789:6;47796:7;;;;;;;47789:15;;;;;;;;;;;:45;;;;;;;;;;-1:-1:-1;47857:2:0;47849:10;;;;47756:115;;;-1:-1:-1;47895:6:0;47166:744;-1:-1:-1;;;;47166:744:0:o;60014:404::-;60094:16;;;60086:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60167:16;60175:7;60167;:16::i;:::-;60166:17;60158:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60229:45;60258:1;60262:2;60266:7;60229:20;:45::i;:::-;60287:17;;;;;;;:13;:17;;;;;:30;;60309:7;60287:30;:21;:30;:::i;:::-;-1:-1:-1;60330:29:0;:12;60347:7;60356:2;60330:29;:16;:29;:::i;:::-;-1:-1:-1;60377:33:0;;60402:7;;60377:33;;;;60394:1;;60377:33;;60394:1;;60377:33;60014:404;;:::o;45325:151::-;45409:4;45433:35;45443:3;45463;45433:9;:35::i;42947:110::-;43030:19;;42947:110::o;70559:241::-;70669:45;70696:4;70702:2;70706:7;70669:26;:45::i;:::-;70736:8;:6;:8::i;:::-;70735:9;70727:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7035:137;7105:4;7129:35;7137:3;7157:5;7129:7;:35::i;6728:131::-;6795:4;6819:32;6824:3;6844:5;6819:4;:32::i;44757:176::-;44846:4;44870:55;44875:3;44895;44909:14;;;44870:4;:55::i;5070:143::-;5140:4;5164:41;5169:3;5189:14;;;5164:4;:41::i;4612:204::-;4707:18;;4679:7;;4707:26;-1:-1:-1;4699:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4790:3;:11;;4802:5;4790:18;;;;;;;;;;;;;;;;4783:25;;4612:204;;;;:::o;5389:149::-;5462:4;5486:44;5494:3;5514:14;;;5486:7;:44::i;45099:142::-;45176:4;45200:33;45208:3;45228;45200:7;:33::i;43412:279::-;43516:19;;43479:7;;;;43516:27;-1:-1:-1;43508:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43595:22;43620:3;:12;;43633:5;43620:19;;;;;;;;;;;;;;;;;;43595:44;;43658:5;:10;;;43670:5;:12;;;43650:33;;;;;43412:279;;;;;:::o;44114:319::-;44208:7;44247:17;;;:12;;;:17;;;;;;44298:12;44283:13;44275:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;44275:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44365:3;:12;;44389:1;44378:8;:12;44365:26;;;;;;;;;;;;;;;;;;:33;;;44358:40;;;44114:319;;;;;:::o;3944:129::-;4017:4;4041:19;;;:12;;;;;:19;;;;;;:24;;;3944:129::o;63344:604::-;63465:4;63492:15;:2;:13;;;:15::i;:::-;63487:60;;-1:-1:-1;63531:4:0;63524:11;;63487:60;63557:23;63583:252;63636:45;63696:12;:10;:12::i;:::-;63723:4;63742:7;63764:5;63599:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;63599:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;63599:181:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;63599:181:0;63583:252;;;;;;;;;;;;;;;;;:15;;;;:252;;:15;:252;:::i;:::-;63557:278;;63846:13;63873:10;63862:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;63862:32:0;63913:26;;63923:16;63913:26;;-1:-1:-1;;;63344:604:0;;;;;;:::o;2314:1544::-;2380:4;2519:19;;;:12;;;:19;;;;;;2555:15;;2551:1300;;2990:18;;2941:14;;;;;2990:22;;;;2917:21;;2990:3;;:22;;3277;;;;;;;;;;;;;;3257:42;;3423:9;3394:3;:11;;3406:13;3394:26;;;;;;;;;;;;;;;;;;;:38;;;;3500:23;;;3542:1;3500:12;;;:23;;;;;;3526:17;;;3500:43;;3652:17;;3500:3;;3652:17;;;;;;;;;;;;;;;;;;;;;;3747:3;:12;;:19;3760:5;3747:19;;;;;;;;;;;3740:26;;;3790:4;3783:11;;;;;;;;2551:1300;3834:5;3827:12;;;;;1724:414;1787:4;1809:21;1819:3;1824:5;1809:9;:21::i;:::-;1804:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;1847:11:0;:23;;;;;;;;;;;;;2030:18;;2008:19;;;:12;;;:19;;;;;;:40;;;;2063:11;;1804:327;-1:-1:-1;2114:5:0;2107:12;;40227:692;40303:4;40438:17;;;:12;;;:17;;;;;;40472:13;40468:444;;-1:-1:-1;;40557:38:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;40539:12:0;:57;;;;;;;;;;;;;;;;;;;;;;;;40754:19;;40734:17;;;:12;;;:17;;;;;;;:39;40788:11;;40468:444;40868:5;40832:3;:12;;40856:1;40845:8;:12;40832:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;40895:5;40888:12;;;;;41094:1549;41158:4;41293:17;;;:12;;;:17;;;;;;41327:13;;41323:1313;;41759:19;;41712:12;;;;;41759:23;;;;41688:21;;41759:3;;:23;;42056;;;;;;;;;;;;;;;;42027:52;;42204:9;42174:3;:12;;42187:13;42174:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;42294:14;;42281:28;;:12;;;:28;;;;;42312:17;;;42281:48;;42438:18;;42281:3;;42438:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42534:17;;;:12;;;:17;;;;;;42527:24;;;;42438:18;-1:-1:-1;42568:11:0;;-1:-1:-1;;;;42568:11:0;8889:422;9256:20;9295:8;;;8889:422::o;11807:196::-;11910:12;11942:53;11965:6;11973:4;11979:1;11982:12;13314;13347:18;13358:6;13347:10;:18::i;:::-;13339:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13473:12;13487:23;13514:6;:11;;13534:8;13545:4;13514:36;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;13514:36:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;13472:78:0;;;;13565:7;13561:595;;;13596:10;-1:-1:-1;13589:17:0;;-1:-1:-1;13589:17:0;13561:595;13710:17;;:21;13706:439;;13973:10;13967:17;14034:15;14021:10;14017:2;14013:19;14006:44;13921:148;14109:20;;;;;;;;;;;;;;;;;;;;14116:12;;14109:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;73210:2460:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73210:2460:0;;;-1:-1:-1;73210:2460:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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