Contract 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x9a09856e6a6cfaa90fd38ea84e66df7bd93742892b29ee3ac4f8c9eb9b2b881eSet Approval For...135082042024-04-16 12:38:438 days 9 hrs ago0xaa9fa5d55a44b2cbf9ccbdc7bd8c4716f4e30b9c IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.23380490
0xd9163eb9290d112b8bff3a8c6d0906fcef05e264fc63f486709d1f1ac1c25ff0Set Approval For...133820062024-04-08 6:05:0516 days 16 hrs ago0xaa9fa5d55a44b2cbf9ccbdc7bd8c4716f4e30b9c IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.23380490
0x8a2015a445c0511a24f628bad6223520c3181a7a91ee1899b8a3b2a18566efcfSet Approval For...133030232024-04-03 2:16:2821 days 20 hrs agoCronos ID Name ianrousey.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.23380490
0x929aa87768bf5ddad52b7098fdefbf6bed4838c08c6a1986cbb9b2c16c5d81c3Set Approval For...124991782024-02-10 21:31:1174 days 1 hr ago0x4745fee9876e5bebf27d9f5fda8b08881e8f2995 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.467470906 10,097
0xb9e713265eb575e66e5e14c02653b526db31624ba6f31eda67bd921a1aaf0b34Set Approval For...124166132024-02-05 12:32:1779 days 10 hrs agoCronos ID Name local.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0xbbf1a891a0c255d1875c20eeeeb85bd52b552afa9ff8a731ffdea4b13b403159Set Approval For...123341582024-01-31 3:46:1784 days 18 hrs ago0x3030a3db6dce439302ffb75fd3071c100d4b0186 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0xb7396b1c2c746a52a3bb1f7b6fcb4d44caad7735a49a6cd79585f31e7d946ef6Set Approval For...122442652024-01-25 7:21:3490 days 15 hrs agoCronos ID Name moose.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.467470906 10,097
0x60162a73d5c9d081e70f617d7837707c97fb87e98c6e829a07e00504c11c651fSet Approval For...121218362024-01-17 8:29:4698 days 14 hrs ago0x0e103c7ae0b5496af8ab0968b1ab8227c08c407d IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.463049447 10,001.5
0x09254cf27eed9c2a5af1eafc842bfa048df5b40668a03fe8cf12e20570844298Set Approval For...121171102024-01-17 1:07:0598 days 21 hrs ago0xcb0d2953e57c3a3300eebe87cb894b4216026f9e IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.467470906 10,097
0xbc6be67fbbde38a49495dcff0d1a32cad9dcba595c4f73a7ea75a702e8092004Set Approval For...121094922024-01-16 13:13:4499 days 9 hrs agoCronos ID Name andy88.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0xef682b774624a1722249f08315881d1fc593c960ebb988760441abf417e9cfa3Set Approval For...119916982024-01-08 21:14:21107 days 1 hr ago0x3e1ebe46f0e515c22168f2f8a8103c3114e7cc13 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.467470906 10,097
0xdb26ada8ad27013923903494e65fdb18d64fb98aa3eb0a00b4f2f54fa49df759Transfer From118949092024-01-02 14:13:50113 days 8 hrs ago0xa882d6988e5691b1e01cac1eaa771ca4a71e40b0 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO1.010
0x5d409eb066c823fdf43da651bbab6f2ad38bec466fa68e82bcebe8dc5ac9a587Set Approval For...117540362023-12-24 10:44:41122 days 11 hrs agoCronos ID Name effortlessgold.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0xd8d2eec257d19439c3c645eb6c9b2d92ce42859bbc75c9cf19445d2bf40a0c62Set Approval For...117486202023-12-24 2:18:26122 days 20 hrs agoCronos ID Name thejungle.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0xfec24adf7b1d468aaa3ce40bbeb137726c314a17cc9101b2a664bdabca9cb3c2Set Approval For...117475442023-12-24 0:37:50122 days 21 hrs agoCronos ID Name trumpsacriminal.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0x094a30538f6fa102df4c5428c21f4a1e441cded7b3d962a5811ded8f171cd6f3Set Approval For...117348042023-12-23 4:47:21123 days 17 hrs ago0x03859f28681d0bf1e49cc36ef25b42b8d0c5fe30 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.24629860
0x260de1a343a46082cb6da9a17a1c75c47a81846751aa263f35d2b88d32c76eaaSet Approval For...117347872023-12-23 4:45:46123 days 17 hrs ago0x03859f28681d0bf1e49cc36ef25b42b8d0c5fe30 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.24629860
0xfc5bd0d94bea5e85fdd2acfe85f79bb83d5734507727c4def175034decb418deSet Approval For...117287012023-12-22 19:17:02124 days 3 hrs ago0x8e73469954e6691c521b0af4bf27aadc7950cfb6 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0x11b9655453b943af53b957c37ddbcd05e1c28326a8ec797ea0030add4f977f51Set Approval For...117231472023-12-22 10:38:59124 days 11 hrs ago0x373ba06f14a07c164880b2de39c95504181d7afd IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.463049447 10,001.5
0xc8ddb2dc3c3782fbc101412df7c12d64900c79bc1766f745fc58a72d336d814aSet Approval For...117035942023-12-21 4:13:20125 days 18 hrs ago0x68f7fbf5dd2325ff14ef9b6431a1735eddd1cf9c IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0xe6134dbca961946196033dff6bf9e803e5eba5ec2ca9aa12dba94afcee523995Transfer From117035542023-12-21 4:09:38125 days 18 hrs agoCronos ID Name effortlessgold.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO1.010
0xf6e9a947f357f001809e16f4bd4571532569e3e6a4b16fb620f37893ca24c837Set Approval For...116658122023-12-18 17:21:34128 days 5 hrs ago0x634a5dc4cda63ea8d0699d9387cdcfffc6408b84 IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.46760980
0x3a18b073af35628496a58948634a66b6814ff83324304bd61167ef293f340aaaSet Approval For...116420792023-12-17 4:01:17129 days 18 hrs agoCronos ID Name andru.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO1.1615994593620
0x972b445e9739bfb6451d34612f2634a33f6757224862603cd0708f0c82c82710Set Approval For...116387452023-12-16 22:51:23129 days 23 hrs ago0x08f9fd43743117d5b0862926a61ae0aa05e0dc0e IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.9661827276880
0x5e3bde099959820b7154de8615a9b8a143121dc6ec58ab076b5cbba0ea14b195Set Approval For...115732192023-12-12 15:36:20134 days 6 hrs agoCronos ID Name scottytrades.cro IN  0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0 CRO0.2130691400530
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xca072a46621072da7ffb6475dc9cecde9446b76928ef214ecfbec2e5c4d73b7856238632022-11-18 21:56:16523 days 39 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd1.1 CRO
0xca072a46621072da7ffb6475dc9cecde9446b76928ef214ecfbec2e5c4d73b7856238632022-11-18 21:56:16523 days 39 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c278.9 CRO
0x619a46e00eec775f0da75408d626b415d6e058a09bbb95a6e95e3d277c4ea0c856238612022-11-18 21:56:05523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd2.2 CRO
0x619a46e00eec775f0da75408d626b415d6e058a09bbb95a6e95e3d277c4ea0c856238612022-11-18 21:56:05523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2717.8 CRO
0x418cc98850b93149c8cca234528734a935b99d3334fe2a14dc7998aa441f5cf256238572022-11-18 21:55:42523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd11 CRO
0x418cc98850b93149c8cca234528734a935b99d3334fe2a14dc7998aa441f5cf256238572022-11-18 21:55:42523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2789 CRO
0x6e97dfad393e55df13e4565974e12bfd7ba5724b830f835d17eebe3db881b8f656238562022-11-18 21:55:37523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd16.5 CRO
0x6e97dfad393e55df13e4565974e12bfd7ba5724b830f835d17eebe3db881b8f656238562022-11-18 21:55:37523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c27133.5 CRO
0x7ea9db37f037ecbd3cf660a2fc452af835918844b939564e45f046ae3630187256238552022-11-18 21:55:31523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd11 CRO
0x7ea9db37f037ecbd3cf660a2fc452af835918844b939564e45f046ae3630187256238552022-11-18 21:55:31523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2789 CRO
0x3d8a17d363a6a633a3ecd518f7a7d63582e817c453564f863362438f5f2414bb56238542022-11-18 21:55:25523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd5.5 CRO
0x3d8a17d363a6a633a3ecd518f7a7d63582e817c453564f863362438f5f2414bb56238542022-11-18 21:55:25523 days 40 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2744.5 CRO
0x123956640daa785366727bce473ab77c95363ed17c2d83911cdac73147b8848056238512022-11-18 21:55:08523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd5.5 CRO
0x123956640daa785366727bce473ab77c95363ed17c2d83911cdac73147b8848056238512022-11-18 21:55:08523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2744.5 CRO
0xe4d40d533f4c79f876e1ef3b8351c1169b797de1dfb7bf942e94f61df29911a856238512022-11-18 21:55:08523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd5.5 CRO
0xe4d40d533f4c79f876e1ef3b8351c1169b797de1dfb7bf942e94f61df29911a856238512022-11-18 21:55:08523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2744.5 CRO
0x2db9efa1f28492aafb9eacc9a186d3e10caa0408687b94be7c5ccc1362801a0d56238502022-11-18 21:55:02523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd2.2 CRO
0x2db9efa1f28492aafb9eacc9a186d3e10caa0408687b94be7c5ccc1362801a0d56238502022-11-18 21:55:02523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2717.8 CRO
0x146957383abbd9198272395c3a7f4aee81e77104dcaabc964f1ef10c9a24093256238492022-11-18 21:54:56523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd5.5 CRO
0x146957383abbd9198272395c3a7f4aee81e77104dcaabc964f1ef10c9a24093256238492022-11-18 21:54:56523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c2744.5 CRO
0x8785c26bfab1787837a50f567d2dc68a2f99a6c805dc926810dfc014c78fff9556238482022-11-18 21:54:51523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd16.5 CRO
0x8785c26bfab1787837a50f567d2dc68a2f99a6c805dc926810dfc014c78fff9556238482022-11-18 21:54:51523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c27133.5 CRO
0x58daf8a1453821af51fd7fd986984d5f1ed45844830ae57a440be29ef928db8456238452022-11-18 21:54:33523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd16.5 CRO
0x58daf8a1453821af51fd7fd986984d5f1ed45844830ae57a440be29ef928db8456238452022-11-18 21:54:33523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0x0808bbccb5be091aa9aa40547a02fa4819745c27133.5 CRO
0x9552bf49c7cb3b654fc8684320d1eed804700ae1379e2892f812d5009e09ced456238422022-11-18 21:54:16523 days 41 mins ago 0x4fbb16c096b52adebdfa7fa71a74f492fddd722d0xe6534d13c852e2985343f8b9f1f20b84e3dc6dcd16.5 CRO
[ Download CSV Export 
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at cronoscan.com on 2022-11-16
*/

pragma solidity ^0.8.0;

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

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

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

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

interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

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

    /**
     * @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);
}

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

contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

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

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `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, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}


abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}


contract NFT is ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Strings for uint256;
string public baseURI;
string public baseExtension = ".json";
uint256 public cost;
uint256 public ercCost;
uint256 public maxSupply;
address public admin;
address public pltf = 0xe6534D13C852e2985343f8b9f1f20B84E3dC6Dcd;
uint256 public maxMintAmount = 15;
mapping(uint256 => uint256) private assignOrders;
uint256 public NftLeftToAssign;
IERC20 _usdc = IERC20(0xc21223249CA28397B4B6541dfFaEcC539BfF0c59);
modifier onlySeller() {
      require(msg.sender == admin, "caller is not bridge");
      _;
  }
modifier onlyPlatform() {
      require(msg.sender == pltf, "caller is not bridge");
      _;
  }
constructor(
  string memory _name,
  string memory _symbol,
  string memory _initBaseURI,
  address seller,
  uint256 supply,
  uint256 pay,
  uint256 ucost
) ERC721(_name, _symbol) {
  baseURI = _initBaseURI;
  NftLeftToAssign = supply;
  maxSupply = supply;
  cost = pay;
  ercCost = ucost;
  admin = seller;
}
  function calculateRoyalties(uint256 amount, uint256 royaltiesBips)
          internal
          pure
          returns (uint256 royaltiesAmount)
      {
          royaltiesAmount = amount.mul(royaltiesBips).div(10000);
      }
  function _payout(address _recipient, uint256 _amount) internal {
          // attempt to send the funds to the recipient
          (bool success, ) = payable(_recipient).call{value: _amount, gas: 50000}(
              ""
          );
          require(success);
      }
  function _ercPayout(address minter, address _recipient, uint256 _amount) internal {
          // attempt to send the funds to the recipient
          (bool success) = IERC20(_usdc).transferFrom(address(minter), address(_recipient), _amount);
          require(success);
      }
// internal
function _baseURI() internal view virtual override returns (string memory) {
  return baseURI;
}
function _fillAssignOrder(uint256 orderA, uint256 orderB) internal returns(uint256) {
  uint256 temp = orderA;
  if (assignOrders[orderA] > 0) temp = assignOrders[orderA];
  assignOrders[orderA] = orderB;
  if (assignOrders[orderB] > 0) assignOrders[orderA] = assignOrders[orderB];
  assignOrders[orderB] = temp;
  return assignOrders[orderA];
}
function _random() public view returns(uint256) {
  return uint256(
    keccak256(
      abi.encodePacked(
        block.timestamp + block.difficulty + block.gaslimit + block.number +
        ((uint256(keccak256(abi.encodePacked(block.coinbase)))) / block.timestamp) +
        ((uint256(keccak256(abi.encodePacked(_msgSender())))) / block.timestamp)
      )
    )
  ) / NftLeftToAssign;
}
function indexFind() internal returns(uint256){
    uint256 randIndex = _random() % NftLeftToAssign;
    uint256 NFTIndex = _fillAssignOrder(--NftLeftToAssign, randIndex);
    return NFTIndex;
}
function croCost(uint256 _mintamount) public view returns(uint256){
    return _mintamount * cost;
}
function usdcCost(uint256 _mintamount) public view returns(uint256){
    return _mintamount * ercCost;
}
// public
function mint(uint256 _mintAmount) public payable {
  uint256 supply = totalSupply();
  require(_mintAmount > 0, "you cannot mint 0 nft");
  require(_mintAmount <= maxMintAmount, "only mint 15 nft at a time");
  require(supply + _mintAmount <= maxSupply, "exceeding max supply");
  require(msg.value >= cost * _mintAmount, "insufficient payment");
  uint256 cst = cost * _mintAmount;
  uint256 usr = calculateRoyalties(cst, 8900);
  uint256 plf = calculateRoyalties(cst, 1100);
  _payout(admin, usr);
  _payout(pltf, plf);
  for (uint256 i = 0; i < _mintAmount; i++) {
    _safeMint(msg.sender, indexFind());
  }
}
function usdcMint(uint256 _mintAmount) public{
  uint256 supply = totalSupply();
  require(_mintAmount > 0, "you cannot mint 0 nft");
  require(_mintAmount <= maxMintAmount, "only mint 15 nft at a time");
  require(supply + _mintAmount <= maxSupply, "exceeding max supply");
  uint256 tokenPayment = _mintAmount * ercCost;
  require(IERC20(_usdc).allowance(msg.sender, address(this)) >= tokenPayment, "approve usdc Spending");
  uint256 usr = calculateRoyalties(tokenPayment, 8900);
  uint256 plf = calculateRoyalties(tokenPayment, 1100);
  _ercPayout(msg.sender, admin, usr);
  _ercPayout(msg.sender, pltf, plf);
  for (uint256 i = 0; i < _mintAmount; i++) {
    _safeMint(msg.sender, indexFind());
  }
}
function walletOfOwner(address _owner)
  public
  view
  returns (uint256[] memory)
{
  uint256 ownerTokenCount = balanceOf(_owner);
  uint256[] memory tokenIds = new uint256[](ownerTokenCount);
  for (uint256 i; i < ownerTokenCount; i++) {
    tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
  }
  return tokenIds;
}
function tokenURI(uint256 tokenId)
  public
  view
  virtual
  override
  returns (string memory)
{
  require(
    _exists(tokenId),
    "ERC721Metadata: URI query for nonexistent token"
  );
  string memory currentBaseURI = _baseURI();
  return bytes(currentBaseURI).length > 0
      ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
      : "";
}
//only owner
function setCost(uint256 _newCost) public onlySeller {
  cost = _newCost;
}
function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyPlatform {
  maxMintAmount = _newmaxMintAmount;
}
function setBaseURI(string memory _newBaseURI) public onlyPlatform {
  baseURI = _newBaseURI;
}
function setBaseExtension(string memory _newBaseExtension) public onlyPlatform {
  baseExtension = _newBaseExtension;
}
function withdraw() public payable onlyPlatform {
  (bool os, ) = payable(owner()).call{value: address(this).balance}("");
  require(os);
  
}
  function recoverToken(address _token) external onlyPlatform {
      uint256 balance = IERC20(_token).balanceOf(address(this));
      require(balance != 0, "Operations: Cannot recover zero balance");
      IERC20(_token).transfer(address(msg.sender), balance);
  }
  function recoverNonFungibleToken(address _token, uint256 _tokenId) external onlyPlatform{
      IERC721(_token).transferFrom(address(this), address(msg.sender), _tokenId);
  }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"seller","type":"address"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"pay","type":"uint256"},{"internalType":"uint256","name":"ucost","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"NftLeftToAssign","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_random","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintamount","type":"uint256"}],"name":"croCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ercCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pltf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"recoverNonFungibleToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintamount","type":"uint256"}],"name":"usdcCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"usdcMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600c919062000199565b50601180546001600160a01b031990811673e6534d13c852e2985343f8b9f1f20b84e3dc6dcd17909155600f6012556015805490911673c21223249ca28397b4b6541dffaecc539bff0c591790553480156200008357600080fd5b50604051620031d7380380620031d7833981016040819052620000a691620002f6565b865187908790620000bf90600090602085019062000199565b508051620000d590600190602084019062000199565b505050620000f2620000ec6200014360201b60201c565b62000147565b84516200010790600b90602088019062000199565b506014839055600f92909255600d55600e55601080546001600160a01b0319166001600160a01b0392909216919091179055506200041b915050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001a790620003c8565b90600052602060002090601f016020900481019282620001cb576000855562000216565b82601f10620001e657805160ff191683800117855562000216565b8280016001018555821562000216579182015b8281111562000216578251825591602001919060010190620001f9565b506200022492915062000228565b5090565b5b8082111562000224576000815560010162000229565b600082601f8301126200025157600080fd5b81516001600160401b03808211156200026e576200026e62000405565b604051601f8301601f19908116603f0116810190828211818310171562000299576200029962000405565b81604052838152602092508683858801011115620002b657600080fd5b600091505b83821015620002da5785820183015181830184015290820190620002bb565b83821115620002ec5760008385830101525b9695505050505050565b600080600080600080600060e0888a0312156200031257600080fd5b87516001600160401b03808211156200032a57600080fd5b620003388b838c016200023f565b985060208a01519150808211156200034f57600080fd5b6200035d8b838c016200023f565b975060408a01519150808211156200037457600080fd5b50620003838a828b016200023f565b60608a015190965090506001600160a01b0381168114620003a357600080fd5b809450506080880151925060a0880151915060c0880151905092959891949750929550565b600181811c90821680620003dd57607f821691505b60208210811415620003ff57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612dac806200042b6000396000f3fe6080604052600436106102465760003560e01c806370a0823111610139578063bb0fd147116100b6578063d846d69c1161007a578063d846d69c14610666578063da3ef23f1461067c578063e985e9c51461069c578063f2fde38b146106e5578063f851a44014610705578063f8afe4691461072557600080fd5b8063bb0fd147146105db578063c6682862146105fb578063c8755ddc14610610578063c87b56dd14610630578063d5abeb011461065057600080fd5b806395d89b41116100fd57806395d89b41146105535780639be65a6014610568578063a0712d6814610588578063a22cb4651461059b578063b88d4fde146105bb57600080fd5b806370a08231146104ca578063715018a6146104ea5780637aab51ec146104ff5780637f00c7a6146105155780638da5cb5b1461053557600080fd5b80633ccfd60b116101c757806344a0d68a1161018b57806344a0d68a146104355780634f6ccce71461045557806355f804b3146104755780636352211e146104955780636c0360eb146104b557600080fd5b80633ccfd60b146103a05780633d44253b146103a8578063401b9167146103c857806342842e0e146103e8578063438b63001461040857600080fd5b806313faede61161020e57806313faede61461031f57806318160ddd14610335578063239c70ae1461034a57806323b872dd146103605780632f745c591461038057600080fd5b806301ffc9a71461024b57806306748fb11461028057806306fdde03146102a3578063081812fc146102c5578063095ea7b3146102fd575b600080fd5b34801561025757600080fd5b5061026b61026636600461288a565b610745565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610770565b604051908152602001610277565b3480156102af57600080fd5b506102b8610879565b6040516102779190612ab0565b3480156102d157600080fd5b506102e56102e036600461290d565b61090b565b6040516001600160a01b039091168152602001610277565b34801561030957600080fd5b5061031d610318366004612843565b610932565b005b34801561032b57600080fd5b50610295600d5481565b34801561034157600080fd5b50600854610295565b34801561035657600080fd5b5061029560125481565b34801561036c57600080fd5b5061031d61037b366004612754565b610a4d565b34801561038c57600080fd5b5061029561039b366004612843565b610a7e565b61031d610b14565b3480156103b457600080fd5b5061031d6103c336600461290d565b610bb2565b3480156103d457600080fd5b506102956103e336600461290d565b610e0e565b3480156103f457600080fd5b5061031d610403366004612754565b610e1e565b34801561041457600080fd5b50610428610423366004612706565b610e39565b6040516102779190612a6c565b34801561044157600080fd5b5061031d61045036600461290d565b610edb565b34801561046157600080fd5b5061029561047036600461290d565b610f0a565b34801561048157600080fd5b5061031d6104903660046128c4565b610f9d565b3480156104a157600080fd5b506102e56104b036600461290d565b610fde565b3480156104c157600080fd5b506102b861103e565b3480156104d657600080fd5b506102956104e5366004612706565b6110cc565b3480156104f657600080fd5b5061031d611152565b34801561050b57600080fd5b5061029560145481565b34801561052157600080fd5b5061031d61053036600461290d565b611166565b34801561054157600080fd5b50600a546001600160a01b03166102e5565b34801561055f57600080fd5b506102b8611195565b34801561057457600080fd5b5061031d610583366004612706565b6111a4565b61031d61059636600461290d565b611327565b3480156105a757600080fd5b5061031d6105b636600461280c565b6114fc565b3480156105c757600080fd5b5061031d6105d6366004612790565b611507565b3480156105e757600080fd5b5061031d6105f6366004612843565b61153f565b34801561060757600080fd5b506102b86115cb565b34801561061c57600080fd5b5061029561062b36600461290d565b6115d8565b34801561063c57600080fd5b506102b861064b36600461290d565b6115e8565b34801561065c57600080fd5b50610295600f5481565b34801561067257600080fd5b50610295600e5481565b34801561068857600080fd5b5061031d6106973660046128c4565b6116c6565b3480156106a857600080fd5b5061026b6106b7366004612721565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106f157600080fd5b5061031d610700366004612706565b611703565b34801561071157600080fd5b506010546102e5906001600160a01b031681565b34801561073157600080fd5b506011546102e5906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b148061076a575061076a82611779565b92915050565b60006014544261077d3390565b6040516020016107a5919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040528051906020012060001c6107c89190612bed565b6040516bffffffffffffffffffffffff194160601b16602082015242906034016040516020818303038152906040528051906020012060001c61080b9190612bed565b43456108174442612bd5565b6108219190612bd5565b61082b9190612bd5565b6108359190612bd5565b61083f9190612bd5565b60405160200161085191815260200190565b6040516020818303038152906040528051906020012060001c6108749190612bed565b905090565b60606000805461088890612c7a565b80601f01602080910402602001604051908101604052809291908181526020018280546108b490612c7a565b80156109015780601f106108d657610100808354040283529160200191610901565b820191906000526020600020905b8154815290600101906020018083116108e457829003601f168201915b5050505050905090565b6000610916826117c9565b506000908152600460205260409020546001600160a01b031690565b600061093d82610fde565b9050806001600160a01b0316836001600160a01b031614156109b05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109cc57506109cc81336106b7565b610a3e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109a7565b610a488383611828565b505050565b610a573382611896565b610a735760405162461bcd60e51b81526004016109a790612ac3565b610a48838383611915565b6000610a89836110cc565b8210610aeb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109a7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6011546001600160a01b03163314610b3e5760405162461bcd60e51b81526004016109a790612ba7565b6000610b52600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b9c576040519150601f19603f3d011682016040523d82523d6000602084013e610ba1565b606091505b5050905080610baf57600080fd5b50565b6000610bbd60085490565b905060008211610c075760405162461bcd60e51b81526020600482015260156024820152741e5bdd4818d85b9b9bdd081b5a5b9d080c081b999d605a1b60448201526064016109a7565b601254821115610c595760405162461bcd60e51b815260206004820152601a60248201527f6f6e6c79206d696e74203135206e667420617420612074696d6500000000000060448201526064016109a7565b600f54610c668383612bd5565b1115610cab5760405162461bcd60e51b8152602060048201526014602482015273657863656564696e67206d617820737570706c7960601b60448201526064016109a7565b6000600e5483610cbb9190612c01565b601554604051636eb1769f60e11b815233600482015230602482015291925082916001600160a01b039091169063dd62ed3e9060440160206040518083038186803b158015610d0957600080fd5b505afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d419190612926565b1015610d875760405162461bcd60e51b8152602060048201526015602482015274617070726f76652075736463205370656e64696e6760581b60448201526064016109a7565b6000610d95826122c4611a86565b90506000610da58361044c611a86565b601054909150610dc09033906001600160a01b031684611a9e565b601154610dd89033906001600160a01b031683611a9e565b60005b85811015610e0657610df433610def611b39565b611b72565b80610dfe81612cb5565b915050610ddb565b505050505050565b6000600e548261076a9190612c01565b610a4883838360405180602001604052806000815250611507565b60606000610e46836110cc565b905060008167ffffffffffffffff811115610e6357610e63612d3c565b604051908082528060200260200182016040528015610e8c578160200160208202803683370190505b50905060005b82811015610ed357610ea48582610a7e565b828281518110610eb657610eb6612d26565b602090810291909101015280610ecb81612cb5565b915050610e92565b509392505050565b6010546001600160a01b03163314610f055760405162461bcd60e51b81526004016109a790612ba7565b600d55565b6000610f1560085490565b8210610f785760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109a7565b60088281548110610f8b57610f8b612d26565b90600052602060002001549050919050565b6011546001600160a01b03163314610fc75760405162461bcd60e51b81526004016109a790612ba7565b8051610fda90600b9060208401906125db565b5050565b6000818152600260205260408120546001600160a01b03168061076a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109a7565b600b805461104b90612c7a565b80601f016020809104026020016040519081016040528092919081815260200182805461107790612c7a565b80156110c45780601f10611099576101008083540402835291602001916110c4565b820191906000526020600020905b8154815290600101906020018083116110a757829003601f168201915b505050505081565b60006001600160a01b0382166111365760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109a7565b506001600160a01b031660009081526003602052604090205490565b61115a611b8c565b6111646000611be6565b565b6011546001600160a01b031633146111905760405162461bcd60e51b81526004016109a790612ba7565b601255565b60606001805461088890612c7a565b6011546001600160a01b031633146111ce5760405162461bcd60e51b81526004016109a790612ba7565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561121057600080fd5b505afa158015611224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112489190612926565b9050806112a75760405162461bcd60e51b815260206004820152602760248201527f4f7065726174696f6e733a2043616e6e6f74207265636f766572207a65726f2060448201526662616c616e636560c81b60648201526084016109a7565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb90604401602060405180830381600087803b1580156112ef57600080fd5b505af1158015611303573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a48919061286d565b600061133260085490565b90506000821161137c5760405162461bcd60e51b81526020600482015260156024820152741e5bdd4818d85b9b9bdd081b5a5b9d080c081b999d605a1b60448201526064016109a7565b6012548211156113ce5760405162461bcd60e51b815260206004820152601a60248201527f6f6e6c79206d696e74203135206e667420617420612074696d6500000000000060448201526064016109a7565b600f546113db8383612bd5565b11156114205760405162461bcd60e51b8152602060048201526014602482015273657863656564696e67206d617820737570706c7960601b60448201526064016109a7565b81600d5461142e9190612c01565b3410156114745760405162461bcd60e51b81526020600482015260146024820152731a5b9cdd59999a58da595b9d081c185e5b595b9d60621b60448201526064016109a7565b600082600d546114849190612c01565b90506000611494826122c4611a86565b905060006114a48361044c611a86565b6010549091506114bd906001600160a01b031683611c38565b6011546114d3906001600160a01b031682611c38565b60005b85811015610e06576114ea33610def611b39565b806114f481612cb5565b9150506114d6565b610fda338383611c9d565b6115113383611896565b61152d5760405162461bcd60e51b81526004016109a790612ac3565b61153984848484611d6c565b50505050565b6011546001600160a01b031633146115695760405162461bcd60e51b81526004016109a790612ba7565b6040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038316906323b872dd90606401600060405180830381600087803b1580156115b757600080fd5b505af1158015610e06573d6000803e3d6000fd5b600c805461104b90612c7a565b6000600d548261076a9190612c01565b6000818152600260205260409020546060906001600160a01b03166116675760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109a7565b6000611671611d9f565b9050600081511161169157604051806020016040528060008152506116bf565b8061169b84611dae565b600c6040516020016116af9392919061296b565b6040516020818303038152906040525b9392505050565b6011546001600160a01b031633146116f05760405162461bcd60e51b81526004016109a790612ba7565b8051610fda90600c9060208401906125db565b61170b611b8c565b6001600160a01b0381166117705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a7565b610baf81611be6565b60006001600160e01b031982166380ac58cd60e01b14806117aa57506001600160e01b03198216635b5e139f60e01b145b8061076a57506301ffc9a760e01b6001600160e01b031983161461076a565b6000818152600260205260409020546001600160a01b0316610baf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109a7565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061185d82610fde565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806118a283610fde565b9050806001600160a01b0316846001600160a01b031614806118e957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061190d5750836001600160a01b03166119028461090b565b6001600160a01b0316145b949350505050565b826001600160a01b031661192882610fde565b6001600160a01b03161461194e5760405162461bcd60e51b81526004016109a790612b62565b6001600160a01b0382166119b05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109a7565b6119bd8383836001611e43565b826001600160a01b03166119d082610fde565b6001600160a01b0316146119f65760405162461bcd60e51b81526004016109a790612b62565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006116bf612710611a988585611f83565b90611f8f565b6015546040516323b872dd60e01b81526001600160a01b03858116600483015284811660248301526044820184905260009216906323b872dd90606401602060405180830381600087803b158015611af557600080fd5b505af1158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d919061286d565b90508061153957600080fd5b600080601454611b47610770565b611b519190612cd0565b905060006116bf601460008154611b6790612c63565b918290555083611f9b565b610fda828260405180602001604052806000815250612012565b600a546001600160a01b031633146111645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611c8a576040519150601f19603f3d011682016040523d82523d6000602084013e611c8f565b606091505b5050905080610a4857600080fd5b816001600160a01b0316836001600160a01b03161415611cff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611d77848484611915565b611d8384848484612045565b6115395760405162461bcd60e51b81526004016109a790612b10565b6060600b805461088890612c7a565b60606000611dbb83612152565b600101905060008167ffffffffffffffff811115611ddb57611ddb612d3c565b6040519080825280601f01601f191660200182016040528015611e05576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611e3e57610ed3565b611e0f565b611e4f8484848461222a565b6001811115611ebe5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016109a7565b816001600160a01b038516611f1a57611f1581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611f3d565b836001600160a01b0316856001600160a01b031614611f3d57611f3d85826122b2565b6001600160a01b038416611f5957611f548161234f565b611f7c565b846001600160a01b0316846001600160a01b031614611f7c57611f7c84826123fe565b5050505050565b60006116bf8284612c01565b60006116bf8284612bed565b600082815260136020526040812054839015611fc257506000838152601360205260409020545b60008481526013602052604080822085905584825290205415611ff657600083815260136020526040808220548683529120555b6000928352601360205260408084209190915592825250205490565b61201c8383612442565b6120296000848484612045565b610a485760405162461bcd60e51b81526004016109a790612b10565b60006001600160a01b0384163b1561214757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612089903390899088908890600401612a2f565b602060405180830381600087803b1580156120a357600080fd5b505af19250505080156120d3575060408051601f3d908101601f191682019092526120d0918101906128a7565b60015b61212d573d808015612101576040519150601f19603f3d011682016040523d82523d6000602084013e612106565b606091505b5080516121255760405162461bcd60e51b81526004016109a790612b10565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061190d565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121915772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106121bd576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106121db57662386f26fc10000830492506010015b6305f5e10083106121f3576305f5e100830492506008015b612710831061220757612710830492506004015b60648310612219576064830492506002015b600a831061076a5760010192915050565b6001811115611539576001600160a01b03841615612270576001600160a01b0384166000908152600360205260408120805483929061226a908490612c20565b90915550505b6001600160a01b03831615611539576001600160a01b038316600090815260036020526040812080548392906122a7908490612bd5565b909155505050505050565b600060016122bf846110cc565b6122c99190612c20565b60008381526007602052604090205490915080821461231c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061236190600190612c20565b6000838152600960205260408120546008805493945090928490811061238957612389612d26565b9060005260206000200154905080600883815481106123aa576123aa612d26565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806123e2576123e2612d10565b6001900381819060005260206000200160009055905550505050565b6000612409836110cc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166124985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109a7565b6000818152600260205260409020546001600160a01b0316156124fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a7565b61250b600083836001611e43565b6000818152600260205260409020546001600160a01b0316156125705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a7565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546125e790612c7a565b90600052602060002090601f016020900481019282612609576000855561264f565b82601f1061262257805160ff191683800117855561264f565b8280016001018555821561264f579182015b8281111561264f578251825591602001919060010190612634565b5061265b92915061265f565b5090565b5b8082111561265b5760008155600101612660565b600067ffffffffffffffff8084111561268f5761268f612d3c565b604051601f8501601f19908116603f011681019082821181831017156126b7576126b7612d3c565b816040528093508581528686860111156126d057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461270157600080fd5b919050565b60006020828403121561271857600080fd5b6116bf826126ea565b6000806040838503121561273457600080fd5b61273d836126ea565b915061274b602084016126ea565b90509250929050565b60008060006060848603121561276957600080fd5b612772846126ea565b9250612780602085016126ea565b9150604084013590509250925092565b600080600080608085870312156127a657600080fd5b6127af856126ea565b93506127bd602086016126ea565b925060408501359150606085013567ffffffffffffffff8111156127e057600080fd5b8501601f810187136127f157600080fd5b61280087823560208401612674565b91505092959194509250565b6000806040838503121561281f57600080fd5b612828836126ea565b9150602083013561283881612d52565b809150509250929050565b6000806040838503121561285657600080fd5b61285f836126ea565b946020939093013593505050565b60006020828403121561287f57600080fd5b81516116bf81612d52565b60006020828403121561289c57600080fd5b81356116bf81612d60565b6000602082840312156128b957600080fd5b81516116bf81612d60565b6000602082840312156128d657600080fd5b813567ffffffffffffffff8111156128ed57600080fd5b8201601f810184136128fe57600080fd5b61190d84823560208401612674565b60006020828403121561291f57600080fd5b5035919050565b60006020828403121561293857600080fd5b5051919050565b60008151808452612957816020860160208601612c37565b601f01601f19169290920160200192915050565b60008451602061297e8285838a01612c37565b8551918401916129918184848a01612c37565b8554920191600090600181811c90808316806129ae57607f831692505b8583108114156129cc57634e487b7160e01b85526022600452602485fd5b8080156129e057600181146129f157612a1e565b60ff19851688528388019550612a1e565b60008b81526020902060005b85811015612a165781548a8201529084019088016129fd565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a629083018461293f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612aa457835183529284019291840191600101612a88565b50909695505050505050565b6020815260006116bf602083018461293f565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526014908201527363616c6c6572206973206e6f742062726964676560601b604082015260600190565b60008219821115612be857612be8612ce4565b500190565b600082612bfc57612bfc612cfa565b500490565b6000816000190483118215151615612c1b57612c1b612ce4565b500290565b600082821015612c3257612c32612ce4565b500390565b60005b83811015612c52578181015183820152602001612c3a565b838111156115395750506000910152565b600081612c7257612c72612ce4565b506000190190565b600181811c90821680612c8e57607f821691505b60208210811415612caf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cc957612cc9612ce4565b5060010190565b600082612cdf57612cdf612cfa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610baf57600080fd5b6001600160e01b031981168114610baf57600080fdfea264697066735822122024d67b6036d7a84bf1df21d64a79bc67fcb9ebc4bdd21f8585f26eb9755c44c564736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000808bbccb5be091aa9aa40547a02fa4819745c2700000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000002b5e3af16b188000000000000000000000000000000000000000000000000000030927f74c9de00000000000000000000000000000000000000000000000000000000000000000014536f752d536f7520426561727320446567656e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000045353424400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003968747470733a2f2f6e7963332e6469676974616c6f6365616e7370616365732e636f6d2f63726f6e6f736261792f736f75736f756a736f6e2f00000000000000

Deployed Bytecode

0x6080604052600436106102465760003560e01c806370a0823111610139578063bb0fd147116100b6578063d846d69c1161007a578063d846d69c14610666578063da3ef23f1461067c578063e985e9c51461069c578063f2fde38b146106e5578063f851a44014610705578063f8afe4691461072557600080fd5b8063bb0fd147146105db578063c6682862146105fb578063c8755ddc14610610578063c87b56dd14610630578063d5abeb011461065057600080fd5b806395d89b41116100fd57806395d89b41146105535780639be65a6014610568578063a0712d6814610588578063a22cb4651461059b578063b88d4fde146105bb57600080fd5b806370a08231146104ca578063715018a6146104ea5780637aab51ec146104ff5780637f00c7a6146105155780638da5cb5b1461053557600080fd5b80633ccfd60b116101c757806344a0d68a1161018b57806344a0d68a146104355780634f6ccce71461045557806355f804b3146104755780636352211e146104955780636c0360eb146104b557600080fd5b80633ccfd60b146103a05780633d44253b146103a8578063401b9167146103c857806342842e0e146103e8578063438b63001461040857600080fd5b806313faede61161020e57806313faede61461031f57806318160ddd14610335578063239c70ae1461034a57806323b872dd146103605780632f745c591461038057600080fd5b806301ffc9a71461024b57806306748fb11461028057806306fdde03146102a3578063081812fc146102c5578063095ea7b3146102fd575b600080fd5b34801561025757600080fd5b5061026b61026636600461288a565b610745565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610770565b604051908152602001610277565b3480156102af57600080fd5b506102b8610879565b6040516102779190612ab0565b3480156102d157600080fd5b506102e56102e036600461290d565b61090b565b6040516001600160a01b039091168152602001610277565b34801561030957600080fd5b5061031d610318366004612843565b610932565b005b34801561032b57600080fd5b50610295600d5481565b34801561034157600080fd5b50600854610295565b34801561035657600080fd5b5061029560125481565b34801561036c57600080fd5b5061031d61037b366004612754565b610a4d565b34801561038c57600080fd5b5061029561039b366004612843565b610a7e565b61031d610b14565b3480156103b457600080fd5b5061031d6103c336600461290d565b610bb2565b3480156103d457600080fd5b506102956103e336600461290d565b610e0e565b3480156103f457600080fd5b5061031d610403366004612754565b610e1e565b34801561041457600080fd5b50610428610423366004612706565b610e39565b6040516102779190612a6c565b34801561044157600080fd5b5061031d61045036600461290d565b610edb565b34801561046157600080fd5b5061029561047036600461290d565b610f0a565b34801561048157600080fd5b5061031d6104903660046128c4565b610f9d565b3480156104a157600080fd5b506102e56104b036600461290d565b610fde565b3480156104c157600080fd5b506102b861103e565b3480156104d657600080fd5b506102956104e5366004612706565b6110cc565b3480156104f657600080fd5b5061031d611152565b34801561050b57600080fd5b5061029560145481565b34801561052157600080fd5b5061031d61053036600461290d565b611166565b34801561054157600080fd5b50600a546001600160a01b03166102e5565b34801561055f57600080fd5b506102b8611195565b34801561057457600080fd5b5061031d610583366004612706565b6111a4565b61031d61059636600461290d565b611327565b3480156105a757600080fd5b5061031d6105b636600461280c565b6114fc565b3480156105c757600080fd5b5061031d6105d6366004612790565b611507565b3480156105e757600080fd5b5061031d6105f6366004612843565b61153f565b34801561060757600080fd5b506102b86115cb565b34801561061c57600080fd5b5061029561062b36600461290d565b6115d8565b34801561063c57600080fd5b506102b861064b36600461290d565b6115e8565b34801561065c57600080fd5b50610295600f5481565b34801561067257600080fd5b50610295600e5481565b34801561068857600080fd5b5061031d6106973660046128c4565b6116c6565b3480156106a857600080fd5b5061026b6106b7366004612721565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106f157600080fd5b5061031d610700366004612706565b611703565b34801561071157600080fd5b506010546102e5906001600160a01b031681565b34801561073157600080fd5b506011546102e5906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b148061076a575061076a82611779565b92915050565b60006014544261077d3390565b6040516020016107a5919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040528051906020012060001c6107c89190612bed565b6040516bffffffffffffffffffffffff194160601b16602082015242906034016040516020818303038152906040528051906020012060001c61080b9190612bed565b43456108174442612bd5565b6108219190612bd5565b61082b9190612bd5565b6108359190612bd5565b61083f9190612bd5565b60405160200161085191815260200190565b6040516020818303038152906040528051906020012060001c6108749190612bed565b905090565b60606000805461088890612c7a565b80601f01602080910402602001604051908101604052809291908181526020018280546108b490612c7a565b80156109015780601f106108d657610100808354040283529160200191610901565b820191906000526020600020905b8154815290600101906020018083116108e457829003601f168201915b5050505050905090565b6000610916826117c9565b506000908152600460205260409020546001600160a01b031690565b600061093d82610fde565b9050806001600160a01b0316836001600160a01b031614156109b05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109cc57506109cc81336106b7565b610a3e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109a7565b610a488383611828565b505050565b610a573382611896565b610a735760405162461bcd60e51b81526004016109a790612ac3565b610a48838383611915565b6000610a89836110cc565b8210610aeb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109a7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6011546001600160a01b03163314610b3e5760405162461bcd60e51b81526004016109a790612ba7565b6000610b52600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b9c576040519150601f19603f3d011682016040523d82523d6000602084013e610ba1565b606091505b5050905080610baf57600080fd5b50565b6000610bbd60085490565b905060008211610c075760405162461bcd60e51b81526020600482015260156024820152741e5bdd4818d85b9b9bdd081b5a5b9d080c081b999d605a1b60448201526064016109a7565b601254821115610c595760405162461bcd60e51b815260206004820152601a60248201527f6f6e6c79206d696e74203135206e667420617420612074696d6500000000000060448201526064016109a7565b600f54610c668383612bd5565b1115610cab5760405162461bcd60e51b8152602060048201526014602482015273657863656564696e67206d617820737570706c7960601b60448201526064016109a7565b6000600e5483610cbb9190612c01565b601554604051636eb1769f60e11b815233600482015230602482015291925082916001600160a01b039091169063dd62ed3e9060440160206040518083038186803b158015610d0957600080fd5b505afa158015610d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d419190612926565b1015610d875760405162461bcd60e51b8152602060048201526015602482015274617070726f76652075736463205370656e64696e6760581b60448201526064016109a7565b6000610d95826122c4611a86565b90506000610da58361044c611a86565b601054909150610dc09033906001600160a01b031684611a9e565b601154610dd89033906001600160a01b031683611a9e565b60005b85811015610e0657610df433610def611b39565b611b72565b80610dfe81612cb5565b915050610ddb565b505050505050565b6000600e548261076a9190612c01565b610a4883838360405180602001604052806000815250611507565b60606000610e46836110cc565b905060008167ffffffffffffffff811115610e6357610e63612d3c565b604051908082528060200260200182016040528015610e8c578160200160208202803683370190505b50905060005b82811015610ed357610ea48582610a7e565b828281518110610eb657610eb6612d26565b602090810291909101015280610ecb81612cb5565b915050610e92565b509392505050565b6010546001600160a01b03163314610f055760405162461bcd60e51b81526004016109a790612ba7565b600d55565b6000610f1560085490565b8210610f785760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109a7565b60088281548110610f8b57610f8b612d26565b90600052602060002001549050919050565b6011546001600160a01b03163314610fc75760405162461bcd60e51b81526004016109a790612ba7565b8051610fda90600b9060208401906125db565b5050565b6000818152600260205260408120546001600160a01b03168061076a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109a7565b600b805461104b90612c7a565b80601f016020809104026020016040519081016040528092919081815260200182805461107790612c7a565b80156110c45780601f10611099576101008083540402835291602001916110c4565b820191906000526020600020905b8154815290600101906020018083116110a757829003601f168201915b505050505081565b60006001600160a01b0382166111365760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109a7565b506001600160a01b031660009081526003602052604090205490565b61115a611b8c565b6111646000611be6565b565b6011546001600160a01b031633146111905760405162461bcd60e51b81526004016109a790612ba7565b601255565b60606001805461088890612c7a565b6011546001600160a01b031633146111ce5760405162461bcd60e51b81526004016109a790612ba7565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561121057600080fd5b505afa158015611224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112489190612926565b9050806112a75760405162461bcd60e51b815260206004820152602760248201527f4f7065726174696f6e733a2043616e6e6f74207265636f766572207a65726f2060448201526662616c616e636560c81b60648201526084016109a7565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb90604401602060405180830381600087803b1580156112ef57600080fd5b505af1158015611303573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a48919061286d565b600061133260085490565b90506000821161137c5760405162461bcd60e51b81526020600482015260156024820152741e5bdd4818d85b9b9bdd081b5a5b9d080c081b999d605a1b60448201526064016109a7565b6012548211156113ce5760405162461bcd60e51b815260206004820152601a60248201527f6f6e6c79206d696e74203135206e667420617420612074696d6500000000000060448201526064016109a7565b600f546113db8383612bd5565b11156114205760405162461bcd60e51b8152602060048201526014602482015273657863656564696e67206d617820737570706c7960601b60448201526064016109a7565b81600d5461142e9190612c01565b3410156114745760405162461bcd60e51b81526020600482015260146024820152731a5b9cdd59999a58da595b9d081c185e5b595b9d60621b60448201526064016109a7565b600082600d546114849190612c01565b90506000611494826122c4611a86565b905060006114a48361044c611a86565b6010549091506114bd906001600160a01b031683611c38565b6011546114d3906001600160a01b031682611c38565b60005b85811015610e06576114ea33610def611b39565b806114f481612cb5565b9150506114d6565b610fda338383611c9d565b6115113383611896565b61152d5760405162461bcd60e51b81526004016109a790612ac3565b61153984848484611d6c565b50505050565b6011546001600160a01b031633146115695760405162461bcd60e51b81526004016109a790612ba7565b6040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038316906323b872dd90606401600060405180830381600087803b1580156115b757600080fd5b505af1158015610e06573d6000803e3d6000fd5b600c805461104b90612c7a565b6000600d548261076a9190612c01565b6000818152600260205260409020546060906001600160a01b03166116675760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109a7565b6000611671611d9f565b9050600081511161169157604051806020016040528060008152506116bf565b8061169b84611dae565b600c6040516020016116af9392919061296b565b6040516020818303038152906040525b9392505050565b6011546001600160a01b031633146116f05760405162461bcd60e51b81526004016109a790612ba7565b8051610fda90600c9060208401906125db565b61170b611b8c565b6001600160a01b0381166117705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a7565b610baf81611be6565b60006001600160e01b031982166380ac58cd60e01b14806117aa57506001600160e01b03198216635b5e139f60e01b145b8061076a57506301ffc9a760e01b6001600160e01b031983161461076a565b6000818152600260205260409020546001600160a01b0316610baf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109a7565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061185d82610fde565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806118a283610fde565b9050806001600160a01b0316846001600160a01b031614806118e957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061190d5750836001600160a01b03166119028461090b565b6001600160a01b0316145b949350505050565b826001600160a01b031661192882610fde565b6001600160a01b03161461194e5760405162461bcd60e51b81526004016109a790612b62565b6001600160a01b0382166119b05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109a7565b6119bd8383836001611e43565b826001600160a01b03166119d082610fde565b6001600160a01b0316146119f65760405162461bcd60e51b81526004016109a790612b62565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006116bf612710611a988585611f83565b90611f8f565b6015546040516323b872dd60e01b81526001600160a01b03858116600483015284811660248301526044820184905260009216906323b872dd90606401602060405180830381600087803b158015611af557600080fd5b505af1158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d919061286d565b90508061153957600080fd5b600080601454611b47610770565b611b519190612cd0565b905060006116bf601460008154611b6790612c63565b918290555083611f9b565b610fda828260405180602001604052806000815250612012565b600a546001600160a01b031633146111645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826001600160a01b03168261c35090604051600060405180830381858888f193505050503d8060008114611c8a576040519150601f19603f3d011682016040523d82523d6000602084013e611c8f565b606091505b5050905080610a4857600080fd5b816001600160a01b0316836001600160a01b03161415611cff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611d77848484611915565b611d8384848484612045565b6115395760405162461bcd60e51b81526004016109a790612b10565b6060600b805461088890612c7a565b60606000611dbb83612152565b600101905060008167ffffffffffffffff811115611ddb57611ddb612d3c565b6040519080825280601f01601f191660200182016040528015611e05576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611e3e57610ed3565b611e0f565b611e4f8484848461222a565b6001811115611ebe5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016109a7565b816001600160a01b038516611f1a57611f1581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611f3d565b836001600160a01b0316856001600160a01b031614611f3d57611f3d85826122b2565b6001600160a01b038416611f5957611f548161234f565b611f7c565b846001600160a01b0316846001600160a01b031614611f7c57611f7c84826123fe565b5050505050565b60006116bf8284612c01565b60006116bf8284612bed565b600082815260136020526040812054839015611fc257506000838152601360205260409020545b60008481526013602052604080822085905584825290205415611ff657600083815260136020526040808220548683529120555b6000928352601360205260408084209190915592825250205490565b61201c8383612442565b6120296000848484612045565b610a485760405162461bcd60e51b81526004016109a790612b10565b60006001600160a01b0384163b1561214757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612089903390899088908890600401612a2f565b602060405180830381600087803b1580156120a357600080fd5b505af19250505080156120d3575060408051601f3d908101601f191682019092526120d0918101906128a7565b60015b61212d573d808015612101576040519150601f19603f3d011682016040523d82523d6000602084013e612106565b606091505b5080516121255760405162461bcd60e51b81526004016109a790612b10565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061190d565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121915772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106121bd576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106121db57662386f26fc10000830492506010015b6305f5e10083106121f3576305f5e100830492506008015b612710831061220757612710830492506004015b60648310612219576064830492506002015b600a831061076a5760010192915050565b6001811115611539576001600160a01b03841615612270576001600160a01b0384166000908152600360205260408120805483929061226a908490612c20565b90915550505b6001600160a01b03831615611539576001600160a01b038316600090815260036020526040812080548392906122a7908490612bd5565b909155505050505050565b600060016122bf846110cc565b6122c99190612c20565b60008381526007602052604090205490915080821461231c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061236190600190612c20565b6000838152600960205260408120546008805493945090928490811061238957612389612d26565b9060005260206000200154905080600883815481106123aa576123aa612d26565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806123e2576123e2612d10565b6001900381819060005260206000200160009055905550505050565b6000612409836110cc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166124985760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109a7565b6000818152600260205260409020546001600160a01b0316156124fd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a7565b61250b600083836001611e43565b6000818152600260205260409020546001600160a01b0316156125705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a7565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546125e790612c7a565b90600052602060002090601f016020900481019282612609576000855561264f565b82601f1061262257805160ff191683800117855561264f565b8280016001018555821561264f579182015b8281111561264f578251825591602001919060010190612634565b5061265b92915061265f565b5090565b5b8082111561265b5760008155600101612660565b600067ffffffffffffffff8084111561268f5761268f612d3c565b604051601f8501601f19908116603f011681019082821181831017156126b7576126b7612d3c565b816040528093508581528686860111156126d057600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461270157600080fd5b919050565b60006020828403121561271857600080fd5b6116bf826126ea565b6000806040838503121561273457600080fd5b61273d836126ea565b915061274b602084016126ea565b90509250929050565b60008060006060848603121561276957600080fd5b612772846126ea565b9250612780602085016126ea565b9150604084013590509250925092565b600080600080608085870312156127a657600080fd5b6127af856126ea565b93506127bd602086016126ea565b925060408501359150606085013567ffffffffffffffff8111156127e057600080fd5b8501601f810187136127f157600080fd5b61280087823560208401612674565b91505092959194509250565b6000806040838503121561281f57600080fd5b612828836126ea565b9150602083013561283881612d52565b809150509250929050565b6000806040838503121561285657600080fd5b61285f836126ea565b946020939093013593505050565b60006020828403121561287f57600080fd5b81516116bf81612d52565b60006020828403121561289c57600080fd5b81356116bf81612d60565b6000602082840312156128b957600080fd5b81516116bf81612d60565b6000602082840312156128d657600080fd5b813567ffffffffffffffff8111156128ed57600080fd5b8201601f810184136128fe57600080fd5b61190d84823560208401612674565b60006020828403121561291f57600080fd5b5035919050565b60006020828403121561293857600080fd5b5051919050565b60008151808452612957816020860160208601612c37565b601f01601f19169290920160200192915050565b60008451602061297e8285838a01612c37565b8551918401916129918184848a01612c37565b8554920191600090600181811c90808316806129ae57607f831692505b8583108114156129cc57634e487b7160e01b85526022600452602485fd5b8080156129e057600181146129f157612a1e565b60ff19851688528388019550612a1e565b60008b81526020902060005b85811015612a165781548a8201529084019088016129fd565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a629083018461293f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612aa457835183529284019291840191600101612a88565b50909695505050505050565b6020815260006116bf602083018461293f565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526014908201527363616c6c6572206973206e6f742062726964676560601b604082015260600190565b60008219821115612be857612be8612ce4565b500190565b600082612bfc57612bfc612cfa565b500490565b6000816000190483118215151615612c1b57612c1b612ce4565b500290565b600082821015612c3257612c32612ce4565b500390565b60005b83811015612c52578181015183820152602001612c3a565b838111156115395750506000910152565b600081612c7257612c72612ce4565b506000190190565b600181811c90821680612c8e57607f821691505b60208210811415612caf57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cc957612cc9612ce4565b5060010190565b600082612cdf57612cdf612cfa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610baf57600080fd5b6001600160e01b031981168114610baf57600080fdfea264697066735822122024d67b6036d7a84bf1df21d64a79bc67fcb9ebc4bdd21f8585f26eb9755c44c564736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000808bbccb5be091aa9aa40547a02fa4819745c2700000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000002b5e3af16b188000000000000000000000000000000000000000000000000000030927f74c9de00000000000000000000000000000000000000000000000000000000000000000014536f752d536f7520426561727320446567656e7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000045353424400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003968747470733a2f2f6e7963332e6469676974616c6f6365616e7370616365732e636f6d2f63726f6e6f736261792f736f75736f756a736f6e2f00000000000000

-----Decoded View---------------
Arg [0] : _name (string): Sou-Sou Bears Degens
Arg [1] : _symbol (string): SSBD
Arg [2] : _initBaseURI (string): https://nyc3.digitaloceanspaces.com/cronosbay/sousoujson/
Arg [3] : seller (address): 0x0808bbccb5be091aa9aa40547a02fa4819745c27
Arg [4] : supply (uint256): 1000
Arg [5] : pay (uint256): 50000000000000000000
Arg [6] : ucost (uint256): 3500000000000000000

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000000808bbccb5be091aa9aa40547a02fa4819745c27
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 000000000000000000000000000000000000000000000002b5e3af16b1880000
Arg [6] : 00000000000000000000000000000000000000000000000030927f74c9de0000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [8] : 536f752d536f7520426561727320446567656e73000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [10] : 5353424400000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000039
Arg [12] : 68747470733a2f2f6e7963332e6469676974616c6f6365616e7370616365732e
Arg [13] : 636f6d2f63726f6e6f736261792f736f75736f756a736f6e2f00000000000000


Deployed ByteCode Sourcemap

66317:6246:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60380:224;;;;;;;;;;-1:-1:-1;60380:224:0;;;;;:::i;:::-;;:::i;:::-;;;9596:14:1;;9589:22;9571:41;;9559:2;9544:18;60380:224:0;;;;;;;;68635:398;;;;;;;;;;;;;:::i;:::-;;;19245:25:1;;;19233:2;19218:18;68635:398:0;19099:177:1;44857:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;46369:171::-;;;;;;;;;;-1:-1:-1;46369:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7289:32:1;;;7271:51;;7259:2;7244:18;46369:171:0;7125:203:1;45887:416:0;;;;;;;;;;-1:-1:-1;45887:416:0;;;;;:::i;:::-;;:::i;:::-;;66483:19;;;;;;;;;;;;;;;;61020:113;;;;;;;;;;-1:-1:-1;61108:10:0;:17;61020:113;;66647:33;;;;;;;;;;;;;;;;47069:335;;;;;;;;;;-1:-1:-1;47069:335:0;;;;;:::i;:::-;;:::i;60688:256::-;;;;;;;;;;-1:-1:-1;60688:256:0;;;;;:::i;:::-;;:::i;71962:146::-;;;:::i;70088:719::-;;;;;;;;;;-1:-1:-1;70088:719:0;;;;;:::i;:::-;;:::i;69339:106::-;;;;;;;;;;-1:-1:-1;69339:106:0;;;;;:::i;:::-;;:::i;47475:185::-;;;;;;;;;;-1:-1:-1;47475:185:0;;;;;:::i;:::-;;:::i;70809:326::-;;;;;;;;;;-1:-1:-1;70809:326:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;71544:77::-;;;;;;;;;;-1:-1:-1;71544:77:0;;;;;:::i;:::-;;:::i;61210:233::-;;;;;;;;;;-1:-1:-1;61210:233:0;;;;;:::i;:::-;;:::i;71740:97::-;;;;;;;;;;-1:-1:-1;71740:97:0;;;;;:::i;:::-;;:::i;44567:223::-;;;;;;;;;;-1:-1:-1;44567:223:0;;;;;:::i;:::-;;:::i;66419:21::-;;;;;;;;;;;;;:::i;44298:207::-;;;;;;;;;;-1:-1:-1;44298:207:0;;;;;:::i;:::-;;:::i;25418:103::-;;;;;;;;;;;;;:::i;66734:30::-;;;;;;;;;;;;;;;;71623:115;;;;;;;;;;-1:-1:-1;71623:115:0;;;;;:::i;:::-;;:::i;24770:87::-;;;;;;;;;;-1:-1:-1;24843:6:0;;-1:-1:-1;;;;;24843:6:0;24770:87;;45026:104;;;;;;;;;;;;;:::i;72112:267::-;;;;;;;;;;-1:-1:-1;72112:267:0;;;;;:::i;:::-;;:::i;69458:628::-;;;;;;:::i;:::-;;:::i;46612:155::-;;;;;;;;;;-1:-1:-1;46612:155:0;;;;;:::i;:::-;;:::i;47731:322::-;;;;;;;;;;-1:-1:-1;47731:322:0;;;;;:::i;:::-;;:::i;72383:177::-;;;;;;;;;;-1:-1:-1;72383:177:0;;;;;:::i;:::-;;:::i;66443:37::-;;;;;;;;;;;;;:::i;69235:102::-;;;;;;;;;;-1:-1:-1;69235:102:0;;;;;:::i;:::-;;:::i;71137:391::-;;;;;;;;;;-1:-1:-1;71137:391:0;;;;;:::i;:::-;;:::i;66530:24::-;;;;;;;;;;;;;;;;66505:22;;;;;;;;;;;;;;;;71839:121;;;;;;;;;;-1:-1:-1;71839:121:0;;;;;:::i;:::-;;:::i;46838:164::-;;;;;;;;;;-1:-1:-1;46838:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;46959:25:0;;;46935:4;46959:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;46838:164;25676:201;;;;;;;;;;-1:-1:-1;25676:201:0;;;;;:::i;:::-;;:::i;66557:20::-;;;;;;;;;;-1:-1:-1;66557:20:0;;;;-1:-1:-1;;;;;66557:20:0;;;66580:64;;;;;;;;;;-1:-1:-1;66580:64:0;;;;-1:-1:-1;;;;;66580:64:0;;;60380:224;60482:4;-1:-1:-1;;;;;;60506:50:0;;-1:-1:-1;;;60506:50:0;;:90;;;60560:36;60584:11;60560:23;:36::i;:::-;60499:97;60380:224;-1:-1:-1;;60380:224:0:o;68635:398::-;68674:7;69014:15;;68974;68955:12;24066:10;;23986:98;68955:12;68938:30;;;;;;;4861:2:1;4857:15;;;;-1:-1:-1;;4853:53:1;4841:66;;4932:2;4923:12;;4712:229;68938:30:0;;;;;;;;;;;;;68928:41;;;;;;68920:50;;68919:70;;;;:::i;:::-;68852:32;;-1:-1:-1;;68869:14:0;4861:2:1;4857:15;4853:53;68852:32:0;;;4841:66:1;68890:15:0;;4923:12:1;;68852:32:0;;;;;;;;;;;;68842:43;;;;;;68834:52;;68833:72;;;;:::i;:::-;68808:12;68791:14;68754:34;68772:16;68754:15;:34;:::i;:::-;:51;;;;:::i;:::-;:66;;;;:::i;:::-;:152;;;;:::i;:::-;:236;;;;:::i;:::-;68727:272;;;;;;7067:19:1;;7111:2;7102:12;;6938:182;68727:272:0;;;;;;;;;;;;;68709:297;;;;;;68695:316;;:334;;;;:::i;:::-;68688:341;;68635:398;:::o;44857:100::-;44911:13;44944:5;44937:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44857:100;:::o;46369:171::-;46445:7;46465:23;46480:7;46465:14;:23::i;:::-;-1:-1:-1;46508:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46508:24:0;;46369:171::o;45887:416::-;45968:13;45984:23;45999:7;45984:14;:23::i;:::-;45968:39;;46032:5;-1:-1:-1;;;;;46026:11:0;:2;-1:-1:-1;;;;;46026:11:0;;;46018:57;;;;-1:-1:-1;;;46018:57:0;;17634:2:1;46018:57:0;;;17616:21:1;17673:2;17653:18;;;17646:30;17712:34;17692:18;;;17685:62;-1:-1:-1;;;17763:18:1;;;17756:31;17804:19;;46018:57:0;;;;;;;;;24066:10;-1:-1:-1;;;;;46110:21:0;;;;:62;;-1:-1:-1;46135:37:0;46152:5;24066:10;46838:164;:::i;46135:37::-;46088:173;;;;-1:-1:-1;;;46088:173:0;;18036:2:1;46088:173:0;;;18018:21:1;18075:2;18055:18;;;18048:30;18114:34;18094:18;;;18087:62;18185:31;18165:18;;;18158:59;18234:19;;46088:173:0;17834:425:1;46088:173:0;46274:21;46283:2;46287:7;46274:8;:21::i;:::-;45957:346;45887:416;;:::o;47069:335::-;47264:41;24066:10;47297:7;47264:18;:41::i;:::-;47256:99;;;;-1:-1:-1;;;47256:99:0;;;;;;;:::i;:::-;47368:28;47378:4;47384:2;47388:7;47368:9;:28::i;60688:256::-;60785:7;60821:23;60838:5;60821:16;:23::i;:::-;60813:5;:31;60805:87;;;;-1:-1:-1;;;60805:87:0;;10871:2:1;60805:87:0;;;10853:21:1;10910:2;10890:18;;;10883:30;10949:34;10929:18;;;10922:62;-1:-1:-1;;;11000:18:1;;;10993:41;11051:19;;60805:87:0;10669:407:1;60805:87:0;-1:-1:-1;;;;;;60910:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;60688:256::o;71962:146::-;66991:4;;-1:-1:-1;;;;;66991:4:0;66977:10;:18;66969:51;;;;-1:-1:-1;;;66969:51:0;;;;;;;:::i;:::-;72016:7:::1;72037;24843:6:::0;;-1:-1:-1;;;;;24843:6:0;;24770:87;72037:7:::1;-1:-1:-1::0;;;;;72029:21:0::1;72058;72029:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72015:69;;;72097:2;72089:11;;;::::0;::::1;;72010:98;71962:146::o:0;70088:719::-;70138:14;70155:13;61108:10;:17;;61020:113;70155:13;70138:30;;70195:1;70181:11;:15;70173:49;;;;-1:-1:-1;;;70173:49:0;;16931:2:1;70173:49:0;;;16913:21:1;16970:2;16950:18;;;16943:30;-1:-1:-1;;;16989:18:1;;;16982:51;17050:18;;70173:49:0;16729:345:1;70173:49:0;70250:13;;70235:11;:28;;70227:67;;;;-1:-1:-1;;;70227:67:0;;15438:2:1;70227:67:0;;;15420:21:1;15477:2;15457:18;;;15450:30;15516:28;15496:18;;;15489:56;15562:18;;70227:67:0;15236:350:1;70227:67:0;70331:9;;70307:20;70316:11;70307:6;:20;:::i;:::-;:33;;70299:66;;;;-1:-1:-1;;;70299:66:0;;14679:2:1;70299:66:0;;;14661:21:1;14718:2;14698:18;;;14691:30;-1:-1:-1;;;14737:18:1;;;14730:50;14797:18;;70299:66:0;14477:344:1;70299:66:0;70370:20;70407:7;;70393:11;:21;;;;:::i;:::-;70434:5;;70427:50;;-1:-1:-1;;;70427:50:0;;70451:10;70427:50;;;7545:34:1;70471:4:0;7595:18:1;;;7588:43;70370:44:0;;-1:-1:-1;70370:44:0;;-1:-1:-1;;;;;70434:5:0;;;;70427:23;;7480:18:1;;70427:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:66;;70419:100;;;;-1:-1:-1;;;70419:100:0;;12872:2:1;70419:100:0;;;12854:21:1;12911:2;12891:18;;;12884:30;-1:-1:-1;;;12930:18:1;;;12923:51;12991:18;;70419:100:0;12670:345:1;70419:100:0;70524:11;70538:38;70557:12;70571:4;70538:18;:38::i;:::-;70524:52;;70581:11;70595:38;70614:12;70628:4;70595:18;:38::i;:::-;70661:5;;70581:52;;-1:-1:-1;70638:34:0;;70649:10;;-1:-1:-1;;;;;70661:5:0;70668:3;70638:10;:34::i;:::-;70700:4;;70677:33;;70688:10;;-1:-1:-1;;;;;70700:4:0;70706:3;70677:10;:33::i;:::-;70720:9;70715:89;70739:11;70735:1;:15;70715:89;;;70764:34;70774:10;70786:11;:9;:11::i;:::-;70764:9;:34::i;:::-;70752:3;;;;:::i;:::-;;;;70715:89;;;;70133:674;;;;70088:719;:::o;69339:106::-;69398:7;69434;;69420:11;:21;;;;:::i;47475:185::-;47613:39;47630:4;47636:2;47640:7;47613:39;;;;;;;;;;;;:16;:39::i;70809:326::-;70878:16;70902:23;70928:17;70938:6;70928:9;:17::i;:::-;70902:43;;70950:25;70992:15;70978:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70978:30:0;;70950:58;;71018:9;71013:99;71033:15;71029:1;:19;71013:99;;;71076:30;71096:6;71104:1;71076:19;:30::i;:::-;71062:8;71071:1;71062:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;71050:3;;;;:::i;:::-;;;;71013:99;;;-1:-1:-1;71123:8:0;70809:326;-1:-1:-1;;;70809:326:0:o;71544:77::-;66888:5;;-1:-1:-1;;;;;66888:5:0;66874:10;:19;66866:52;;;;-1:-1:-1;;;66866:52:0;;;;;;;:::i;:::-;71602:4:::1;:15:::0;71544:77::o;61210:233::-;61285:7;61321:30;61108:10;:17;;61020:113;61321:30;61313:5;:38;61305:95;;;;-1:-1:-1;;;61305:95:0;;18466:2:1;61305:95:0;;;18448:21:1;18505:2;18485:18;;;18478:30;18544:34;18524:18;;;18517:62;-1:-1:-1;;;18595:18:1;;;18588:42;18647:19;;61305:95:0;18264:408:1;61305:95:0;61418:10;61429:5;61418:17;;;;;;;;:::i;:::-;;;;;;;;;61411:24;;61210:233;;;:::o;71740:97::-;66991:4;;-1:-1:-1;;;;;66991:4:0;66977:10;:18;66969:51;;;;-1:-1:-1;;;66969:51:0;;;;;;;:::i;:::-;71812:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;71740:97:::0;:::o;44567:223::-;44639:7;49454:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49454:16:0;;44703:56;;;;-1:-1:-1;;;44703:56:0;;17281:2:1;44703:56:0;;;17263:21:1;17320:2;17300:18;;;17293:30;-1:-1:-1;;;17339:18:1;;;17332:54;17403:18;;44703:56:0;17079:348:1;66419:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44298:207::-;44370:7;-1:-1:-1;;;;;44398:19:0;;44390:73;;;;-1:-1:-1;;;44390:73:0;;15028:2:1;44390:73:0;;;15010:21:1;15067:2;15047:18;;;15040:30;15106:34;15086:18;;;15079:62;-1:-1:-1;;;15157:18:1;;;15150:39;15206:19;;44390:73:0;14826:405:1;44390:73:0;-1:-1:-1;;;;;;44481:16:0;;;;;:9;:16;;;;;;;44298:207::o;25418:103::-;24656:13;:11;:13::i;:::-;25483:30:::1;25510:1;25483:18;:30::i;:::-;25418:103::o:0;71623:115::-;66991:4;;-1:-1:-1;;;;;66991:4:0;66977:10;:18;66969:51;;;;-1:-1:-1;;;66969:51:0;;;;;;;:::i;:::-;71701:13:::1;:33:::0;71623:115::o;45026:104::-;45082:13;45115:7;45108:14;;;;;:::i;72112:267::-;66991:4;;-1:-1:-1;;;;;66991:4:0;66977:10;:18;66969:51;;;;-1:-1:-1;;;66969:51:0;;;;;;;:::i;:::-;72199:39:::1;::::0;-1:-1:-1;;;72199:39:0;;72232:4:::1;72199:39;::::0;::::1;7271:51:1::0;72181:15:0::1;::::0;-1:-1:-1;;;;;72199:24:0;::::1;::::0;::::1;::::0;7244:18:1;;72199:39:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72181:57:::0;-1:-1:-1;72255:12:0;72247:64:::1;;;::::0;-1:-1:-1;;;72247:64:0;;10049:2:1;72247:64:0::1;::::0;::::1;10031:21:1::0;10088:2;10068:18;;;10061:30;10127:34;10107:18;;;10100:62;-1:-1:-1;;;10178:18:1;;;10171:37;10225:19;;72247:64:0::1;9847:403:1::0;72247:64:0::1;72320:53;::::0;-1:-1:-1;;;72320:53:0;;72352:10:::1;72320:53;::::0;::::1;8689:51:1::0;8756:18;;;8749:34;;;-1:-1:-1;;;;;72320:23:0;::::1;::::0;::::1;::::0;8662:18:1;;72320:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;69458:628::-:0;69513:14;69530:13;61108:10;:17;;61020:113;69530:13;69513:30;;69570:1;69556:11;:15;69548:49;;;;-1:-1:-1;;;69548:49:0;;16931:2:1;69548:49:0;;;16913:21:1;16970:2;16950:18;;;16943:30;-1:-1:-1;;;16989:18:1;;;16982:51;17050:18;;69548:49:0;16729:345:1;69548:49:0;69625:13;;69610:11;:28;;69602:67;;;;-1:-1:-1;;;69602:67:0;;15438:2:1;69602:67:0;;;15420:21:1;15477:2;15457:18;;;15450:30;15516:28;15496:18;;;15489:56;15562:18;;69602:67:0;15236:350:1;69602:67:0;69706:9;;69682:20;69691:11;69682:6;:20;:::i;:::-;:33;;69674:66;;;;-1:-1:-1;;;69674:66:0;;14679:2:1;69674:66:0;;;14661:21:1;14718:2;14698:18;;;14691:30;-1:-1:-1;;;14737:18:1;;;14730:50;14797:18;;69674:66:0;14477:344:1;69674:66:0;69773:11;69766:4;;:18;;;;:::i;:::-;69753:9;:31;;69745:64;;;;-1:-1:-1;;;69745:64:0;;13976:2:1;69745:64:0;;;13958:21:1;14015:2;13995:18;;;13988:30;-1:-1:-1;;;14034:18:1;;;14027:50;14094:18;;69745:64:0;13774:344:1;69745:64:0;69814:11;69835;69828:4;;:18;;;;:::i;:::-;69814:32;;69851:11;69865:29;69884:3;69889:4;69865:18;:29::i;:::-;69851:43;;69899:11;69913:29;69932:3;69937:4;69913:18;:29::i;:::-;69955:5;;69899:43;;-1:-1:-1;69947:19:0;;-1:-1:-1;;;;;69955:5:0;69962:3;69947:7;:19::i;:::-;69979:4;;69971:18;;-1:-1:-1;;;;;69979:4:0;69985:3;69971:7;:18::i;:::-;69999:9;69994:89;70018:11;70014:1;:15;69994:89;;;70043:34;70053:10;70065:11;:9;:11::i;70043:34::-;70031:3;;;;:::i;:::-;;;;69994:89;;46612:155;46707:52;24066:10;46740:8;46750;46707:18;:52::i;47731:322::-;47905:41;24066:10;47938:7;47905:18;:41::i;:::-;47897:99;;;;-1:-1:-1;;;47897:99:0;;;;;;;:::i;:::-;48007:38;48021:4;48027:2;48031:7;48040:4;48007:13;:38::i;:::-;47731:322;;;;:::o;72383:177::-;66991:4;;-1:-1:-1;;;;;66991:4:0;66977:10;:18;66969:51;;;;-1:-1:-1;;;66969:51:0;;;;;;;:::i;:::-;72480:74:::1;::::0;-1:-1:-1;;;72480:74:0;;72517:4:::1;72480:74;::::0;::::1;7882:34:1::0;72532:10:0::1;7932:18:1::0;;;7925:43;7984:18;;;7977:34;;;-1:-1:-1;;;;;72480:28:0;::::1;::::0;::::1;::::0;7817:18:1;;72480:74:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;66443:37:::0;;;;;;;:::i;69235:102::-;69293:7;69329:4;;69315:11;:18;;;;:::i;71137:391::-;49856:4;49454:16;;;:7;:16;;;;;;71225:13;;-1:-1:-1;;;;;49454:16:0;71246:91;;;;-1:-1:-1;;;71246:91:0;;16515:2:1;71246:91:0;;;16497:21:1;16554:2;16534:18;;;16527:30;16593:34;16573:18;;;16566:62;-1:-1:-1;;;16644:18:1;;;16637:45;16699:19;;71246:91:0;16313:411:1;71246:91:0;71342:28;71373:10;:8;:10::i;:::-;71342:41;;71426:1;71401:14;71395:28;:32;:129;;;;;;;;;;;;;;;;;71461:14;71477:18;:7;:16;:18::i;:::-;71497:13;71444:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71395:129;71388:136;71137:391;-1:-1:-1;;;71137:391:0:o;71839:121::-;66991:4;;-1:-1:-1;;;;;66991:4:0;66977:10;:18;66969:51;;;;-1:-1:-1;;;66969:51:0;;;;;;;:::i;:::-;71923:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;25676:201::-:0;24656:13;:11;:13::i;:::-;-1:-1:-1;;;;;25765:22:0;::::1;25757:73;;;::::0;-1:-1:-1;;;25757:73:0;;11702:2:1;25757:73:0::1;::::0;::::1;11684:21:1::0;11741:2;11721:18;;;11714:30;11780:34;11760:18;;;11753:62;-1:-1:-1;;;11831:18:1;;;11824:36;11877:19;;25757:73:0::1;11500:402:1::0;25757:73:0::1;25841:28;25860:8;25841:18;:28::i;43929:305::-:0;44031:4;-1:-1:-1;;;;;;44068:40:0;;-1:-1:-1;;;44068:40:0;;:105;;-1:-1:-1;;;;;;;44125:48:0;;-1:-1:-1;;;44125:48:0;44068:105;:158;;;-1:-1:-1;;;;;;;;;;36827:40:0;;;44190:36;36718:157;56188:135;49856:4;49454:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49454:16:0;56262:53;;;;-1:-1:-1;;;56262:53:0;;17281:2:1;56262:53:0;;;17263:21:1;17320:2;17300:18;;;17293:30;-1:-1:-1;;;17339:18:1;;;17332:54;17403:18;;56262:53:0;17079:348:1;55467:174:0;55542:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;55542:29:0;-1:-1:-1;;;;;55542:29:0;;;;;;;;:24;;55596:23;55542:24;55596:14;:23::i;:::-;-1:-1:-1;;;;;55587:46:0;;;;;;;;;;;55467:174;;:::o;50086:264::-;50179:4;50196:13;50212:23;50227:7;50212:14;:23::i;:::-;50196:39;;50265:5;-1:-1:-1;;;;;50254:16:0;:7;-1:-1:-1;;;;;50254:16:0;;:52;;;-1:-1:-1;;;;;;46959:25:0;;;46935:4;46959:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;50274:32;50254:87;;;;50334:7;-1:-1:-1;;;;;50310:31:0;:20;50322:7;50310:11;:20::i;:::-;-1:-1:-1;;;;;50310:31:0;;50254:87;50246:96;50086:264;-1:-1:-1;;;;50086:264:0:o;54085:1263::-;54244:4;-1:-1:-1;;;;;54217:31:0;:23;54232:7;54217:14;:23::i;:::-;-1:-1:-1;;;;;54217:31:0;;54209:81;;;;-1:-1:-1;;;54209:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;54309:16:0;;54301:65;;;;-1:-1:-1;;;54301:65:0;;13571:2:1;54301:65:0;;;13553:21:1;13610:2;13590:18;;;13583:30;13649:34;13629:18;;;13622:62;-1:-1:-1;;;13700:18:1;;;13693:34;13744:19;;54301:65:0;13369:400:1;54301:65:0;54379:42;54400:4;54406:2;54410:7;54419:1;54379:20;:42::i;:::-;54551:4;-1:-1:-1;;;;;54524:31:0;:23;54539:7;54524:14;:23::i;:::-;-1:-1:-1;;;;;54524:31:0;;54516:81;;;;-1:-1:-1;;;54516:81:0;;;;;;;:::i;:::-;54669:24;;;;:15;:24;;;;;;;;54662:31;;-1:-1:-1;;;;;;54662:31:0;;;;;;-1:-1:-1;;;;;55145:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;55145:20:0;;;55180:13;;;;;;;;;:18;;54662:31;55180:18;;;55220:16;;;:7;:16;;;;;;:21;;;;;;;;;;55259:27;;54685:7;;55259:27;;;45957:346;45887:416;;:::o;67370:232::-;67493:23;67556:36;67586:5;67556:25;:6;67567:13;67556:10;:25::i;:::-;:29;;:36::i;67885:281::-;68061:5;;68054:73;;-1:-1:-1;;;68054:73:0;;-1:-1:-1;;;;;7900:15:1;;;68054:73:0;;;7882:34:1;7952:15;;;7932:18;;;7925:43;7984:18;;;7977:34;;;68038:12:0;;68061:5;;68054:26;;7817:18:1;;68054:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68037:90;;68148:7;68140:16;;;;;69035:198;69073:7;69088:17;69120:15;;69108:9;:7;:9::i;:::-;:27;;;;:::i;:::-;69088:47;;69142:16;69161:46;69180:15;;69178:17;;;;;:::i;:::-;;;;;-1:-1:-1;69197:9:0;69161:16;:46::i;50692:110::-;50768:26;50778:2;50782:7;50768:26;;;;;;;;;;;;:9;:26::i;24935:132::-;24843:6;;-1:-1:-1;;;;;24843:6:0;24066:10;24999:23;24991:68;;;;-1:-1:-1;;;24991:68:0;;16154:2:1;24991:68:0;;;16136:21:1;;;16173:18;;;16166:30;16232:34;16212:18;;;16205:62;16284:18;;24991:68:0;15952:356:1;26037:191:0;26130:6;;;-1:-1:-1;;;;;26147:17:0;;;-1:-1:-1;;;;;;26147:17:0;;;;;;;26180:40;;26130:6;;;26147:17;26130:6;;26180:40;;26111:16;;26180:40;26100:128;26037:191;:::o;67606:275::-;67740:12;67766:10;-1:-1:-1;;;;;67758:24:0;67790:7;67804:5;67758:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67739:103;;;67863:7;67855:16;;;;;55784:315;55939:8;-1:-1:-1;;;;;55930:17:0;:5;-1:-1:-1;;;;;55930:17:0;;;55922:55;;;;-1:-1:-1;;;55922:55:0;;14325:2:1;55922:55:0;;;14307:21:1;14364:2;14344:18;;;14337:30;14403:27;14383:18;;;14376:55;14448:18;;55922:55:0;14123:349:1;55922:55:0;-1:-1:-1;;;;;55988:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;55988:46:0;;;;;;;;;;56050:41;;9571::1;;;56050::0;;9544:18:1;56050:41:0;;;;;;;55784:315;;;:::o;48934:313::-;49090:28;49100:4;49106:2;49110:7;49090:9;:28::i;:::-;49137:47;49160:4;49166:2;49170:7;49179:4;49137:22;:47::i;:::-;49129:110;;;;-1:-1:-1;;;49129:110:0;;;;;;;:::i;68181:98::-;68241:13;68268:7;68261:14;;;;;:::i;22059:716::-;22115:13;22166:14;22183:17;22194:5;22183:10;:17::i;:::-;22203:1;22183:21;22166:38;;22219:20;22253:6;22242:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22242:18:0;-1:-1:-1;22219:41:0;-1:-1:-1;22384:28:0;;;22400:2;22384:28;22441:288;-1:-1:-1;;22473:5:0;-1:-1:-1;;;22610:2:0;22599:14;;22594:30;22473:5;22581:44;22671:2;22662:11;;;-1:-1:-1;22696:10:0;22692:21;;22708:5;;22692:21;22441:288;;61517:915;61694:61;61721:4;61727:2;61731:12;61745:9;61694:26;:61::i;:::-;61784:1;61772:9;:13;61768:222;;;61915:63;;-1:-1:-1;;;61915:63:0;;18879:2:1;61915:63:0;;;18861:21:1;18918:2;18898:18;;;18891:30;18957:34;18937:18;;;18930:62;-1:-1:-1;;;19008:18:1;;;19001:51;19069:19;;61915:63:0;18677:417:1;61768:222:0;62020:12;-1:-1:-1;;;;;62049:18:0;;62045:187;;62084:40;62116:7;63259:10;:17;;63232:24;;;;:15;:24;;;;;:44;;;63287:24;;;;;;;;;;;;63155:164;62084:40;62045:187;;;62154:2;-1:-1:-1;;;;;62146:10:0;:4;-1:-1:-1;;;;;62146:10:0;;62142:90;;62173:47;62206:4;62212:7;62173:32;:47::i;:::-;-1:-1:-1;;;;;62246:16:0;;62242:183;;62279:45;62316:7;62279:36;:45::i;:::-;62242:183;;;62352:4;-1:-1:-1;;;;;62346:10:0;:2;-1:-1:-1;;;;;62346:10:0;;62342:83;;62373:40;62401:2;62405:7;62373:27;:40::i;:::-;61683:749;61517:915;;;;:::o;3115:98::-;3173:7;3200:5;3204:1;3200;:5;:::i;3514:98::-;3572:7;3599:5;3603:1;3599;:5;:::i;68281:352::-;68356:7;68400:20;;;:12;:20;;;;;;68385:6;;68400:24;68396:57;;-1:-1:-1;68433:20:0;;;;:12;:20;;;;;;68396:57;68458:20;;;;:12;:20;;;;;;:29;;;68496:20;;;;;;:24;68492:73;;68545:20;;;;:12;:20;;;;;;;68522;;;;;:43;68492:73;68570:20;;;;:12;:20;;;;;;:27;;;;68609:20;;;-1:-1:-1;68609:20:0;;;68281:352::o;51029:319::-;51158:18;51164:2;51168:7;51158:5;:18::i;:::-;51209:53;51240:1;51244:2;51248:7;51257:4;51209:22;:53::i;:::-;51187:153;;;;-1:-1:-1;;;51187:153:0;;;;;;;:::i;56887:853::-;57041:4;-1:-1:-1;;;;;57062:13:0;;27538:19;:23;57058:675;;57098:71;;-1:-1:-1;;;57098:71:0;;-1:-1:-1;;;;;57098:36:0;;;;;:71;;24066:10;;57149:4;;57155:7;;57164:4;;57098:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57098:71:0;;;;;;;;-1:-1:-1;;57098:71:0;;;;;;;;;;;;:::i;:::-;;;57094:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57339:13:0;;57335:328;;57382:60;;-1:-1:-1;;;57382:60:0;;;;;;;:::i;57335:328::-;57613:6;57607:13;57598:6;57594:2;57590:15;57583:38;57094:584;-1:-1:-1;;;;;;57220:51:0;-1:-1:-1;;;57220:51:0;;-1:-1:-1;57213:58:0;;57058:675;-1:-1:-1;57717:4:0;56887:853;;;;;;:::o;19119:922::-;19172:7;;-1:-1:-1;;;19250:15:0;;19246:102;;-1:-1:-1;;;19286:15:0;;;-1:-1:-1;19330:2:0;19320:12;19246:102;19375:6;19366:5;:15;19362:102;;19411:6;19402:15;;;-1:-1:-1;19446:2:0;19436:12;19362:102;19491:6;19482:5;:15;19478:102;;19527:6;19518:15;;;-1:-1:-1;19562:2:0;19552:12;19478:102;19607:5;19598;:14;19594:99;;19642:5;19633:14;;;-1:-1:-1;19676:1:0;19666:11;19594:99;19720:5;19711;:14;19707:99;;19755:5;19746:14;;;-1:-1:-1;19789:1:0;19779:11;19707:99;19833:5;19824;:14;19820:99;;19868:5;19859:14;;;-1:-1:-1;19902:1:0;19892:11;19820:99;19946:5;19937;:14;19933:66;;19982:1;19972:11;20027:6;19119:922;-1:-1:-1;;19119:922:0:o;58472:410::-;58662:1;58650:9;:13;58646:229;;;-1:-1:-1;;;;;58684:18:0;;;58680:87;;-1:-1:-1;;;;;58723:15:0;;;;;;:9;:15;;;;;:28;;58742:9;;58723:15;:28;;58742:9;;58723:28;:::i;:::-;;;;-1:-1:-1;;58680:87:0;-1:-1:-1;;;;;58785:16:0;;;58781:83;;-1:-1:-1;;;;;58822:13:0;;;;;;:9;:13;;;;;:26;;58839:9;;58822:13;:26;;58839:9;;58822:26;:::i;:::-;;;;-1:-1:-1;;58472:410:0;;;;:::o;63946:988::-;64212:22;64262:1;64237:22;64254:4;64237:16;:22::i;:::-;:26;;;;:::i;:::-;64274:18;64295:26;;;:17;:26;;;;;;64212:51;;-1:-1:-1;64428:28:0;;;64424:328;;-1:-1:-1;;;;;64495:18:0;;64473:19;64495:18;;;:12;:18;;;;;;;;:34;;;;;;;;;64546:30;;;;;;:44;;;64663:30;;:17;:30;;;;;:43;;;64424:328;-1:-1:-1;64848:26:0;;;;:17;:26;;;;;;;;64841:33;;;-1:-1:-1;;;;;64892:18:0;;;;;:12;:18;;;;;:34;;;;;;;64885:41;63946:988::o;65229:1079::-;65507:10;:17;65482:22;;65507:21;;65527:1;;65507:21;:::i;:::-;65539:18;65560:24;;;:15;:24;;;;;;65933:10;:26;;65482:46;;-1:-1:-1;65560:24:0;;65482:46;;65933:26;;;;;;:::i;:::-;;;;;;;;;65911:48;;65997:11;65972:10;65983;65972:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;66077:28;;;:15;:28;;;;;;;:41;;;66249:24;;;;;66242:31;66284:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;65300:1008;;;65229:1079;:::o;62733:221::-;62818:14;62835:20;62852:2;62835:16;:20::i;:::-;-1:-1:-1;;;;;62866:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;62911:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;62733:221:0:o;51684:942::-;-1:-1:-1;;;;;51764:16:0;;51756:61;;;;-1:-1:-1;;;51756:61:0;;15793:2:1;51756:61:0;;;15775:21:1;;;15812:18;;;15805:30;15871:34;15851:18;;;15844:62;15923:18;;51756:61:0;15591:356:1;51756:61:0;49856:4;49454:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49454:16:0;49880:31;51828:58;;;;-1:-1:-1;;;51828:58:0;;12515:2:1;51828:58:0;;;12497:21:1;12554:2;12534:18;;;12527:30;12593;12573:18;;;12566:58;12641:18;;51828:58:0;12313:352:1;51828:58:0;51899:48;51928:1;51932:2;51936:7;51945:1;51899:20;:48::i;:::-;49856:4;49454:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49454:16:0;49880:31;52037:58;;;;-1:-1:-1;;;52037:58:0;;12515:2:1;52037:58:0;;;12497:21:1;12554:2;12534:18;;;12527:30;12593;12573:18;;;12566:58;12641:18;;52037:58:0;12313:352:1;52037:58:0;-1:-1:-1;;;;;52444:13:0;;;;;;:9;:13;;;;;;;;:18;;52461:1;52444:18;;;52486:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;52486:21:0;;;;;52525:33;52494:7;;52444:13;;52525:33;;52444:13;;52525:33;71812:21:::1;71740:97:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:315::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2545:28;2567:5;2545:28;:::i;:::-;2592:5;2582:15;;;2288:315;;;;;:::o;2608:254::-;2676:6;2684;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2776:29;2795:9;2776:29;:::i;:::-;2766:39;2852:2;2837:18;;;;2824:32;;-1:-1:-1;;;2608:254:1:o;2867:245::-;2934:6;2987:2;2975:9;2966:7;2962:23;2958:32;2955:52;;;3003:1;3000;2993:12;2955:52;3035:9;3029:16;3054:28;3076:5;3054:28;:::i;3117:245::-;3175:6;3228:2;3216:9;3207:7;3203:23;3199:32;3196:52;;;3244:1;3241;3234:12;3196:52;3283:9;3270:23;3302:30;3326:5;3302:30;:::i;3367:249::-;3436:6;3489:2;3477:9;3468:7;3464:23;3460:32;3457:52;;;3505:1;3502;3495:12;3457:52;3537:9;3531:16;3556:30;3580:5;3556:30;:::i;3621:450::-;3690:6;3743:2;3731:9;3722:7;3718:23;3714:32;3711:52;;;3759:1;3756;3749:12;3711:52;3799:9;3786:23;3832:18;3824:6;3821:30;3818:50;;;3864:1;3861;3854:12;3818:50;3887:22;;3940:4;3932:13;;3928:27;-1:-1:-1;3918:55:1;;3969:1;3966;3959:12;3918:55;3992:73;4057:7;4052:2;4039:16;4034:2;4030;4026:11;3992:73;:::i;4076:180::-;4135:6;4188:2;4176:9;4167:7;4163:23;4159:32;4156:52;;;4204:1;4201;4194:12;4156:52;-1:-1:-1;4227:23:1;;4076:180;-1:-1:-1;4076:180:1:o;4261:184::-;4331:6;4384:2;4372:9;4363:7;4359:23;4355:32;4352:52;;;4400:1;4397;4390:12;4352:52;-1:-1:-1;4423:16:1;;4261:184;-1:-1:-1;4261:184:1:o;4450:257::-;4491:3;4529:5;4523:12;4556:6;4551:3;4544:19;4572:63;4628:6;4621:4;4616:3;4612:14;4605:4;4598:5;4594:16;4572:63;:::i;:::-;4689:2;4668:15;-1:-1:-1;;4664:29:1;4655:39;;;;4696:4;4651:50;;4450:257;-1:-1:-1;;4450:257:1:o;5196:1527::-;5420:3;5458:6;5452:13;5484:4;5497:51;5541:6;5536:3;5531:2;5523:6;5519:15;5497:51;:::i;:::-;5611:13;;5570:16;;;;5633:55;5611:13;5570:16;5655:15;;;5633:55;:::i;:::-;5777:13;;5710:20;;;5750:1;;5837;5859:18;;;;5912;;;;5939:93;;6017:4;6007:8;6003:19;5991:31;;5939:93;6080:2;6070:8;6067:16;6047:18;6044:40;6041:167;;;-1:-1:-1;;;6107:33:1;;6163:4;6160:1;6153:15;6193:4;6114:3;6181:17;6041:167;6224:18;6251:110;;;;6375:1;6370:328;;;;6217:481;;6251:110;-1:-1:-1;;6286:24:1;;6272:39;;6331:20;;;;-1:-1:-1;6251:110:1;;6370:328;19354:1;19347:14;;;19391:4;19378:18;;6465:1;6479:169;6493:8;6490:1;6487:15;6479:169;;;6575:14;;6560:13;;;6553:37;6618:16;;;;6510:10;;6479:169;;;6483:3;;6679:8;6672:5;6668:20;6661:27;;6217:481;-1:-1:-1;6714:3:1;;5196:1527;-1:-1:-1;;;;;;;;;;;5196:1527:1:o;8022:488::-;-1:-1:-1;;;;;8291:15:1;;;8273:34;;8343:15;;8338:2;8323:18;;8316:43;8390:2;8375:18;;8368:34;;;8438:3;8433:2;8418:18;;8411:31;;;8216:4;;8459:45;;8484:19;;8476:6;8459:45;:::i;:::-;8451:53;8022:488;-1:-1:-1;;;;;;8022:488:1:o;8794:632::-;8965:2;9017:21;;;9087:13;;8990:18;;;9109:22;;;8936:4;;8965:2;9188:15;;;;9162:2;9147:18;;;8936:4;9231:169;9245:6;9242:1;9239:13;9231:169;;;9306:13;;9294:26;;9375:15;;;;9340:12;;;;9267:1;9260:9;9231:169;;;-1:-1:-1;9417:3:1;;8794:632;-1:-1:-1;;;;;;8794:632:1:o;9623:219::-;9772:2;9761:9;9754:21;9735:4;9792:44;9832:2;9821:9;9817:18;9809:6;9792:44;:::i;10255:409::-;10457:2;10439:21;;;10496:2;10476:18;;;10469:30;10535:34;10530:2;10515:18;;10508:62;-1:-1:-1;;;10601:2:1;10586:18;;10579:43;10654:3;10639:19;;10255:409::o;11081:414::-;11283:2;11265:21;;;11322:2;11302:18;;;11295:30;11361:34;11356:2;11341:18;;11334:62;-1:-1:-1;;;11427:2:1;11412:18;;11405:48;11485:3;11470:19;;11081:414::o;11907:401::-;12109:2;12091:21;;;12148:2;12128:18;;;12121:30;12187:34;12182:2;12167:18;;12160:62;-1:-1:-1;;;12253:2:1;12238:18;;12231:35;12298:3;12283:19;;11907:401::o;13020:344::-;13222:2;13204:21;;;13261:2;13241:18;;;13234:30;-1:-1:-1;;;13295:2:1;13280:18;;13273:50;13355:2;13340:18;;13020:344::o;19407:128::-;19447:3;19478:1;19474:6;19471:1;19468:13;19465:39;;;19484:18;;:::i;:::-;-1:-1:-1;19520:9:1;;19407:128::o;19540:120::-;19580:1;19606;19596:35;;19611:18;;:::i;:::-;-1:-1:-1;19645:9:1;;19540:120::o;19665:168::-;19705:7;19771:1;19767;19763:6;19759:14;19756:1;19753:21;19748:1;19741:9;19734:17;19730:45;19727:71;;;19778:18;;:::i;:::-;-1:-1:-1;19818:9:1;;19665:168::o;19838:125::-;19878:4;19906:1;19903;19900:8;19897:34;;;19911:18;;:::i;:::-;-1:-1:-1;19948:9:1;;19838:125::o;19968:258::-;20040:1;20050:113;20064:6;20061:1;20058:13;20050:113;;;20140:11;;;20134:18;20121:11;;;20114:39;20086:2;20079:10;20050:113;;;20181:6;20178:1;20175:13;20172:48;;;-1:-1:-1;;20216:1:1;20198:16;;20191:27;19968:258::o;20231:136::-;20270:3;20298:5;20288:39;;20307:18;;:::i;:::-;-1:-1:-1;;;20343:18:1;;20231:136::o;20372:380::-;20451:1;20447:12;;;;20494;;;20515:61;;20569:4;20561:6;20557:17;20547:27;;20515:61;20622:2;20614:6;20611:14;20591:18;20588:38;20585:161;;;20668:10;20663:3;20659:20;20656:1;20649:31;20703:4;20700:1;20693:15;20731:4;20728:1;20721:15;20585:161;;20372:380;;;:::o;20757:135::-;20796:3;-1:-1:-1;;20817:17:1;;20814:43;;;20837:18;;:::i;:::-;-1:-1:-1;20884:1:1;20873:13;;20757:135::o;20897:112::-;20929:1;20955;20945:35;;20960:18;;:::i;:::-;-1:-1:-1;20994:9:1;;20897:112::o;21014:127::-;21075:10;21070:3;21066:20;21063:1;21056:31;21106:4;21103:1;21096:15;21130:4;21127:1;21120:15;21146:127;21207:10;21202:3;21198:20;21195:1;21188:31;21238:4;21235:1;21228:15;21262:4;21259:1;21252:15;21278:127;21339:10;21334:3;21330:20;21327:1;21320:31;21370:4;21367:1;21360:15;21394:4;21391:1;21384:15;21410:127;21471:10;21466:3;21462:20;21459:1;21452:31;21502:4;21499:1;21492:15;21526:4;21523:1;21516:15;21542:127;21603:10;21598:3;21594:20;21591:1;21584:31;21634:4;21631:1;21624:15;21658:4;21655:1;21648:15;21674:118;21760:5;21753:13;21746:21;21739:5;21736:32;21726:60;;21782:1;21779;21772:12;21797:131;-1:-1:-1;;;;;;21871:32:1;;21861:43;;21851:71;;21918:1;21915;21908:12

Swarm Source

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