Contract 0x382305f7e5332e426fab9eebdd22f0471e69c24b

Contract Overview

Balance:
2,444.229292300667814329 CRO

CRO Value:
$286.71 (@ $0.12/CRO)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x71141df770d120b2be159864ed004357896b6999d8416298357e946004899293Boost Accessory ...47917772022-09-25 4:47:1120 secs ago0x456e996b64b79cd9a12d405ec934dc0b3c224b51 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.545397207547 4,912.957225769
0x5066c8b5f86fcc4d9ffb81b4af2b739ae8ff64071bf8e82a96fb0a4b89d8b17eBoost Accessory ...47917702022-09-25 4:46:311 min ago0x456e996b64b79cd9a12d405ec934dc0b3c224b51 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.647852061584 4,912.957559831
0x33ed18c81f993edd9eb72e59362460b37f466b61718d0eb32bc1200216083760Boost Accessory ...47902582022-09-25 2:23:262 hrs 24 mins ago0xa0daaa5552fda3f3d14cb7618d83ce5c085a16ad IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.545405068178 4,913.028034617
0x59f14c835df66a8f84f532798a6ded1d9c7f89b22881354de1557740f6dfe5f4Claim Rewards47902372022-09-25 2:21:272 hrs 26 mins ago0xa0daaa5552fda3f3d14cb7618d83ce5c085a16ad IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.401812078892 4,913.029026008
0xe01b214a73fff2ce73b7c096a89ab659e0c974595868a9b2b05de697b9dfad54Claim Rewards47841922022-09-24 16:48:0811 hrs 59 mins ago0x71041aaba0ae72fa558550f50652b2d279370879 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.360563031467 4,913.306962837
0x9828b04bc405c9c7ac4a3ecef46e20bf394da9eebe6505573868b25fe3a24f91Claim Rewards47839922022-09-24 16:29:1212 hrs 18 mins ago0x774c2b04a1b6837d8522cfe09dcb95b078e0c0b0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.366925 5,000
0xf95bc6ef77ff41271ecfafda78e045c7e35eafb459ffffd716643de91215d974Claim Rewards47838852022-09-24 16:19:0612 hrs 28 mins ago0x97b50a3ca53a2256e1a24f0a3c559de8b427b2a4 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.366925 5,000
0xa773245535d83777b0f6bfbb50508fb5abfc8703210f6a5d88518961a0c9cba8Boost Accessory ...47836272022-09-24 15:54:3712 hrs 52 mins ago0x1f9aaaadcd7240bc2a0762b38bce1c43cf6b8fe4 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.647901556932 4,913.332905619
0x27ae88139b78f6ad23cc08a8744d2193defe6234cf7e8bf494c6e771aaf23246Stake NFT47829052022-09-24 14:45:5514 hrs 1 min ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.891481021072 4,913.365415965
0xa118aae40f4e526299e6a60a85ae72726d739eed388e27ccf4b528bece193ad2Unlock Accessory...47829012022-09-24 14:45:3314 hrs 1 min ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.802352602487 4,913.365600045
0x1a04a3c06f0b2877f310d341121d75991dacccb244a163af4ee2d12886ab158dStake NFT47828922022-09-24 14:44:4214 hrs 2 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.775633783304 4,913.365998815
0x969b5d60460ca4525a265d5060c3d78e97bec0d46c364b30b84a92580d60f3acUnlock Accessory...47828862022-09-24 14:44:0714 hrs 3 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.802352711365 4,913.366266781
0x593d0c9ba20b3be04dd53a53f75641ef67bf8ccc524d00d46359a354bf5b49a6Stake NFT47828812022-09-24 14:43:3914 hrs 3 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.760549826181 4,913.366492979
0xd2d5b402d4e98ee52a288879c99720c875d3f38d1ade8644efa9730396d95618Unlock Accessory...47828752022-09-24 14:43:0514 hrs 4 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.802352792879 4,913.36676595
0x99620f23089abf1da30f6fe4d3cafc75790b02c73e6dfca1da9a07c8c845be6bStake NFT47828702022-09-24 14:42:3714 hrs 4 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.745465866999 4,913.366993579
0x4eaf70dd50d3ecb730537bf8f6ab634674674cb11583af8bf01b9e5bbec10c9aStake NFT47828662022-09-24 14:42:1414 hrs 5 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.992696702779 4,913.367168777
0xdb05b89849f165609ec9bfe9ccc8806fca0b208f6f48aae1c38ec8f5f7575ed7Unlock Accessory...47828532022-09-24 14:40:5914 hrs 6 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.802352954127 4,913.367753385
0x3ba2a49c9d11810a4661e79a6fe832ab6f94890b81ffad1b22f73c4721c22930Unlock Accessory...47828462022-09-24 14:40:1914 hrs 7 mins ago0x1ff52f4b4e0242fe7cfe2452d2a895739ba497d0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.80235300243 4,913.368049178
0xdd4620f86134925a261de8ce8ac1a27bf721d28b66a5b3fc8d4489e7cb759deaBoost Accessory ...47821652022-09-24 13:35:4415 hrs 11 mins ago0xf462978892606ebbdb43a577cacfe57e4f6932c0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.762883782888 4,913.398830967
0x87027402dd548fda5e82fa214f2b0c46e8f355b8aabed0e084a497547182c7b3Claim Rewards47803612022-09-24 10:44:3518 hrs 2 mins ago0x9ce549fd785571ab941f0de7ee073208cf030d72 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.360575790816 4,913.480831458
0xc43df245ac69ea9660a5d9ca0ceab50b3f4c3e5c5917f37a0fc9f9409191f092Claim Rewards47801892022-09-24 10:28:1218 hrs 19 mins ago0xe9b9ec5feec87205e38d2f4ca90844ec4c0f4751 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.360576359625 4,913.488582483
0x1ce05599bfbb27dc4ee4ab81c25093cfa45cacdb67b2b2ca217182da425b71c3Claim Rewards47796272022-09-24 9:34:5819 hrs 12 mins ago0x715261d27bf49ad3b7c1c8aee2bad9647616af5c IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.401851794692 4,913.51463829
0x50690c6224208274c7aaf83a5bdae31ae0957219e399412a78f5d45425b4410fClaim Rewards47782292022-09-24 7:22:4721 hrs 24 mins ago0xa0daaa5552fda3f3d14cb7618d83ce5c085a16ad IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.401857129184 4,913.579864089
0x0c6da382df5d9bda20d1260b7daf83d4f2f679ea3863cbb0b4075e13c4143bb3Boost Accessory ...47730352022-09-23 23:11:181 day 5 hrs ago0xd6144225e7f968b9a4bc239e34e890f7a9ea68bf IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.647965806314 4,913.820137978
0x7769059ead5f928736bebc97f086244645522fdb58cd9c577d834881a31df699Stake NFT47715792022-09-23 20:53:141 day 7 hrs ago0xf462978892606ebbdb43a577cacfe57e4f6932c0 IN  0x382305f7e5332e426fab9eebdd22f0471e69c24b0 CRO0.891575567474 4,913.886505038
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x5066c8b5f86fcc4d9ffb81b4af2b739ae8ff64071bf8e82a96fb0a4b89d8b17e47917702022-09-25 4:46:311 min ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x456e996b64b79cd9a12d405ec934dc0b3c224b5117.66978873515799 CRO
0x59f14c835df66a8f84f532798a6ded1d9c7f89b22881354de1557740f6dfe5f447902372022-09-25 2:21:272 hrs 26 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0xa0daaa5552fda3f3d14cb7618d83ce5c085a16ad1.920306567673746 CRO
0xde069f9f905a3b46d33155f2c8b6980d02fd77d8f4adc9e0a0dcc591fbc1aa3a47880432022-09-24 22:53:355 hrs 53 mins ago 0xc40469cccb76e080d26b84f460753bc0cf57f90b 0x382305f7e5332e426fab9eebdd22f0471e69c24b50.47471222290209732 CRO
0xe01b214a73fff2ce73b7c096a89ab659e0c974595868a9b2b05de697b9dfad5447841922022-09-24 16:48:0811 hrs 59 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x71041aaba0ae72fa558550f50652b2d27937087913.78433072395132 CRO
0x9828b04bc405c9c7ac4a3ecef46e20bf394da9eebe6505573868b25fe3a24f9147839922022-09-24 16:29:1212 hrs 18 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x774c2b04a1b6837d8522cfe09dcb95b078e0c0b05.65560588183078 CRO
0xf95bc6ef77ff41271ecfafda78e045c7e35eafb459ffffd716643de91215d97447838852022-09-24 16:19:0612 hrs 28 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x97b50a3ca53a2256e1a24f0a3c559de8b427b2a46.5605028229237048 CRO
0xa773245535d83777b0f6bfbb50508fb5abfc8703210f6a5d88518961a0c9cba847836272022-09-24 15:54:3712 hrs 52 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x1f9aaaadcd7240bc2a0762b38bce1c43cf6b8fe45.389524315559629 CRO
0x5ff8d99ee552597604bed5f0a1dd8d5c98af23570c222199c98ee4f122b4f33b47825632022-09-24 14:13:2914 hrs 34 mins ago 0xd74d690052deddfba52b39300de92670234af2d7 0x382305f7e5332e426fab9eebdd22f0471e69c24b0.4 CRO
0x30586a2718721733dd978d64dbada620694c69bc2d63e378f7ab2edc2087ba9647821862022-09-24 13:37:4415 hrs 9 mins ago 0xd74d690052deddfba52b39300de92670234af2d7 0x382305f7e5332e426fab9eebdd22f0471e69c24b7.2 CRO
0xdd4620f86134925a261de8ce8ac1a27bf721d28b66a5b3fc8d4489e7cb759dea47821652022-09-24 13:35:4415 hrs 11 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0xf462978892606ebbdb43a577cacfe57e4f6932c01.20755256321818 CRO
0x27bb85774efee995784ec3242448cd815a09f82e9c996776c9a7e142442def5e47821542022-09-24 13:34:4215 hrs 12 mins ago 0xc40469cccb76e080d26b84f460753bc0cf57f90b 0x382305f7e5332e426fab9eebdd22f0471e69c24b85.120690864060398066 CRO
0x87027402dd548fda5e82fa214f2b0c46e8f355b8aabed0e084a497547182c7b347803612022-09-24 10:44:3518 hrs 2 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x9ce549fd785571ab941f0de7ee073208cf030d726.7076041048934 CRO
0xc43df245ac69ea9660a5d9ca0ceab50b3f4c3e5c5917f37a0fc9f9409191f09247801892022-09-24 10:28:1218 hrs 19 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0xe9b9ec5feec87205e38d2f4ca90844ec4c0f475110.500029646088458 CRO
0x1ce05599bfbb27dc4ee4ab81c25093cfa45cacdb67b2b2ca217182da425b71c347796272022-09-24 9:34:5819 hrs 12 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x715261d27bf49ad3b7c1c8aee2bad9647616af5c9.69540700586344 CRO
0x54e6bf2bf0763cb986cc77c90a502899d1e649f342c6b758f5b02e2478df6e9047791172022-09-24 8:46:4820 hrs ago 0xc40469cccb76e080d26b84f460753bc0cf57f90b 0x382305f7e5332e426fab9eebdd22f0471e69c24b241.047307570039038842 CRO
0x50690c6224208274c7aaf83a5bdae31ae0957219e399412a78f5d45425b4410f47782292022-09-24 7:22:4721 hrs 24 mins ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0xa0daaa5552fda3f3d14cb7618d83ce5c085a16ad1.3939989301398925 CRO
0xd636b5c42d140ca156e48f3f29c39386e23d14b6a684e0b5b5dec7459aea0e4c47768242022-09-24 5:10:0023 hrs 37 mins ago 0xc40469cccb76e080d26b84f460753bc0cf57f90b 0x382305f7e5332e426fab9eebdd22f0471e69c24b46.34537168917370226 CRO
0xbd4a0c8f154d854c28b5ec2e6788933bc1b7219a469a6c2f043b5b2d0405f0b847732032022-09-23 23:27:121 day 5 hrs ago 0xd74d690052deddfba52b39300de92670234af2d7 0x382305f7e5332e426fab9eebdd22f0471e69c24b0.28 CRO
0x5a3659c972be161d388d50197c6a363f1d3ee2e3b49c72d63c6e783f125f2d5a47731112022-09-23 23:18:301 day 5 hrs ago 0xd74d690052deddfba52b39300de92670234af2d7 0x382305f7e5332e426fab9eebdd22f0471e69c24b0.8 CRO
0x8aa4b3b353673d9c88f3bdc251a23fd0badb68185d23da9cc10aa3eade95a5f647731032022-09-23 23:17:451 day 5 hrs ago 0xd74d690052deddfba52b39300de92670234af2d7 0x382305f7e5332e426fab9eebdd22f0471e69c24b0.76 CRO
0x0c6da382df5d9bda20d1260b7daf83d4f2f679ea3863cbb0b4075e13c4143bb347730352022-09-23 23:11:181 day 5 hrs ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0xd6144225e7f968b9a4bc239e34e890f7a9ea68bf5.53503892580275 CRO
0xf21dba82125dfe3e26ed9afcf1e67f5fde3a86ed777d106261421d2c3f163ecd47712462022-09-23 20:21:431 day 8 hrs ago 0xc40469cccb76e080d26b84f460753bc0cf57f90b 0x382305f7e5332e426fab9eebdd22f0471e69c24b168.903771510571751281 CRO
0xd9d00701b3d529ea15df790ab0ffc29046fb4c97c69d1c92406a77c6a452d34447665112022-09-23 12:51:181 day 15 hrs ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x5659be89ea63da26e7f30dec53286d3703fef5d42.7290158658356048 CRO
0xc5d300adbdd149fbfbbc80387888a5e56a72986ec681c48e7f97ddd16013e66247659862022-09-23 12:01:271 day 16 hrs ago 0x382305f7e5332e426fab9eebdd22f0471e69c24b0x21315da28413c2331147abaf86a536d78cbec0de4.99959974155644 CRO
0x346a2bfeaadf2026b6e74b219656e26977fed01ec552b1f5c9579c41d052f25e47646062022-09-23 9:50:431 day 18 hrs ago 0xc40469cccb76e080d26b84f460753bc0cf57f90b 0x382305f7e5332e426fab9eebdd22f0471e69c24b60.591966241039321266 CRO
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MagicFarm

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

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

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
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;
        }
    }
}

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}
/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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);
}

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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);
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

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

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}



contract MagicFarm is Ownable,ReentrancyGuard {
  using SafeERC20 for IERC20;
  IERC1155 public MagicTrickAccessories;
  ERC1155Burnable public BMagicTrickAccessories;
  address public CROpperfield;
  IERC20 public Cropperfield;
  uint256 public price = 20*10**18;

address payable private Wallet_Burn = payable(0x000000000000000000000000000000000000dEaD); 

  constructor(address MagicTrickAccessoriesNFT, address CROpperfield) {
     MagicTrickAccessories = IERC1155(MagicTrickAccessoriesNFT);
     BMagicTrickAccessories = ERC1155Burnable(MagicTrickAccessoriesNFT);
     CROpperfield = CROpperfield;
     Cropperfield = IERC20(CROpperfield);
 }
  receive() external payable{}
  mapping (uint256 => uint256) public TotalIDStakedNFTs;
  uint256 public AccumulatedRewardsPerShare;
  uint256 public TotalRewardsHarvested;
  uint256 public OldBalance;
  uint256 public StakingSlotPrice = 1000000*1e18;
  uint public BoostingSlotPrice = 50;
  uint256 public TotalMintingPower;
  uint256 public TotalNFTStaked;
  mapping(address => mapping(uint256 => uint256)) public StakeSlot;


  struct Staker {
      uint256 MintingPower;
      uint256 totalRewards;
      uint256 totalstaked;
      uint256 rewardDebt;
      uint256 RewardsToHarvest;
      uint256 Ultimum;
      uint GlovesSlot;
      uint DiceSlot;
      uint CardsSlot;
      uint HatSlot;
      uint SphereSlot;
  }
  
   mapping (address => Staker) public Stakers;
   
   function stakeNFT(address _Staker,uint256 _id) public nonReentrant{
        require (MagicTrickAccessories.balanceOf(_Staker,_id)>0);

        Staker storage staker = Stakers[_Staker];
        require (StakeSlot[_Staker][_id]<1, "Accessory already staked");
        ClaimRewards();  

        StakeSlot[_Staker][_id] ++;
        if (_id == 0) {
        uint256 _MintingPower = staker.GlovesSlot*100;
        staker.MintingPower = staker.MintingPower + _MintingPower;
        TotalMintingPower = TotalMintingPower + _MintingPower;
        }
        if (_id == 1) {
        uint256 _MintingPower = staker.DiceSlot*300;
        staker.MintingPower = staker.MintingPower + _MintingPower;
        TotalMintingPower = TotalMintingPower + _MintingPower;
        }
        if (_id == 2) {
        uint256 _MintingPower = staker.CardsSlot*600;
        staker.MintingPower = staker.MintingPower + _MintingPower;
        TotalMintingPower = TotalMintingPower + _MintingPower;
        }
        if (_id == 3) {
        uint256 _MintingPower = staker.HatSlot*1500;
        staker.MintingPower = staker.MintingPower + _MintingPower;
        TotalMintingPower = TotalMintingPower + _MintingPower;
        }
        if (_id == 4) {
        uint256 _MintingPower = staker.SphereSlot*5000;
        staker.MintingPower = staker.MintingPower + _MintingPower;
        TotalMintingPower = TotalMintingPower + _MintingPower;
        }

        if (staker.Ultimum < 1){
            if (StakeSlot[_Staker][0]>0 && StakeSlot[_Staker][1]>0 && StakeSlot[_Staker][2]>0 && StakeSlot[_Staker][3]>0 && StakeSlot[_Staker][4]>0){
                staker.Ultimum = 1;
                uint256 _MintingPower = 2500;
                staker.MintingPower = staker.MintingPower + _MintingPower;
                TotalMintingPower = TotalMintingPower + _MintingPower;
            }
        }
       
        staker.totalstaked ++;
 
        staker.rewardDebt = staker.MintingPower*AccumulatedRewardsPerShare;  

        MagicTrickAccessories.safeTransferFrom(msg.sender, address(this), _id, 1, "");
        TotalNFTStaked ++;
        TotalIDStakedNFTs[_id] ++;
   }

   function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4) {
        return bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"));
    }
   
   function unstake(address _Staker,uint256 _id) public nonReentrant{
        Staker storage staker = Stakers[_Staker];
        require (StakeSlot[_Staker][_id]>0);


        ClaimRewards();

        StakeSlot[_Staker][_id] --;

        if (_id == 0) {
        uint256 _MintingPower = staker.GlovesSlot*100;
        staker.MintingPower = staker.MintingPower - _MintingPower;
        TotalMintingPower = TotalMintingPower - _MintingPower;
        }
        if (_id == 1) {
        uint256 _MintingPower = staker.DiceSlot*300;
        staker.MintingPower = staker.MintingPower - _MintingPower;
        TotalMintingPower = TotalMintingPower - _MintingPower;
        }
        if (_id == 2) {
        uint256 _MintingPower = staker.CardsSlot*600;
        staker.MintingPower = staker.MintingPower - _MintingPower;
        TotalMintingPower = TotalMintingPower - _MintingPower;
        }
        if (_id == 3) {
        uint256 _MintingPower = staker.HatSlot*1500;
        staker.MintingPower = staker.MintingPower - _MintingPower;
        TotalMintingPower = TotalMintingPower - _MintingPower;
        }
        if (_id == 4) {
        uint256 _MintingPower = staker.SphereSlot*5000;
        staker.MintingPower = staker.MintingPower - _MintingPower;
        TotalMintingPower = TotalMintingPower - _MintingPower;
        }
        
        if (staker.Ultimum > 0){
            if (StakeSlot[_Staker][0] < 1 || StakeSlot[_Staker][1] < 1 || StakeSlot[_Staker][2] < 1 || StakeSlot[_Staker][3] < 1 || StakeSlot[_Staker][4] < 1){
                staker.Ultimum = 0;
                uint256 _MintingPower = 2500;
                staker.MintingPower = staker.MintingPower - _MintingPower;
                TotalMintingPower = TotalMintingPower - _MintingPower;
            }
        }

        
        staker.totalstaked --;
        
        staker.rewardDebt = staker.MintingPower*AccumulatedRewardsPerShare;  

        MagicTrickAccessories.safeTransferFrom(address(this), msg.sender, _id, 1, "");
        TotalNFTStaked --;
        TotalIDStakedNFTs[_id] --;

   }

   function StakingSlot_Price (uint256 newStakingSlotPrice) public onlyOwner{
         StakingSlotPrice = newStakingSlotPrice;
   }

   function BoostingSlot_Price (uint256 newBoostingSlotPrice) public onlyOwner{
         BoostingSlotPrice = newBoostingSlotPrice;
   }

   //Unlocking stakingslots
   function UnlockAccessorySlot (uint256 slotnumber) public nonReentrant{
       require (slotnumber<6, "5 slots");
       uint256 priceToUnlock = StakingSlotPrice*slotnumber;
       Staker storage staker = Stakers[msg.sender];
       require(Cropperfield.allowance(msg.sender, address(this)) >= priceToUnlock, "Not enough CROpperfield tokens");
       if (slotnumber == 1){
           if (staker.GlovesSlot>1) {
               return;
           }
        Cropperfield.safeTransferFrom(msg.sender,Wallet_Burn, priceToUnlock);   
        staker.GlovesSlot = 1;
           
       }
       if (slotnumber == 2){
           if (staker.DiceSlot>1) {
               return;
           }
        Cropperfield.safeTransferFrom(msg.sender,Wallet_Burn, priceToUnlock);
        staker.DiceSlot = 1;
       }
       if (slotnumber == 3){
           if (staker.CardsSlot>1) {
               return;
           }
        Cropperfield.safeTransferFrom(msg.sender,Wallet_Burn, priceToUnlock);
        staker.CardsSlot = 1;
       }
       if (slotnumber == 4){
           if (staker.HatSlot>1) {
               return;
           }
        Cropperfield.safeTransferFrom(msg.sender,Wallet_Burn, priceToUnlock);
        staker.HatSlot = 1;
       }
       if (slotnumber == 5){
           if (staker.SphereSlot>1) {
               return;
           }
        Cropperfield.safeTransferFrom(msg.sender,Wallet_Burn, priceToUnlock);
        staker.SphereSlot = 1;
       }
       
   }
   //boosting Accessory Slots with Magic Shards
   function boostAccessorySlot (uint256 slotnumber) public nonReentrant{
       require (slotnumber<6, "5 slots");
       uint256 pricetoBoost = 0;
       Staker storage staker = Stakers[msg.sender];

       ClaimRewards(); 

       if (slotnumber == 1){
           pricetoBoost = 10;
           require (MagicTrickAccessories.balanceOf(msg.sender,5)>=pricetoBoost);
           if (staker.GlovesSlot<1 || staker.GlovesSlot>4) {
               return;
           }
           if (StakeSlot[msg.sender][0]>0){
           staker.MintingPower = staker.MintingPower + 100;
           TotalMintingPower = TotalMintingPower + 100;
        }  
        BMagicTrickAccessories.burn(msg.sender,5,pricetoBoost);
        staker.GlovesSlot ++;
           
       }
       if (slotnumber == 2){
           pricetoBoost = 30;
           require (MagicTrickAccessories.balanceOf(msg.sender,5)>=pricetoBoost);
           if (staker.DiceSlot<1 || staker.DiceSlot>4) {
               return;
           }
           if (StakeSlot[msg.sender][1]>0){
           staker.MintingPower = staker.MintingPower + 300;
           TotalMintingPower = TotalMintingPower + 300;
        }  
        BMagicTrickAccessories.burn(msg.sender,5,pricetoBoost);
        staker.DiceSlot ++;
       }
       if (slotnumber == 3){
           pricetoBoost = 60;
           require (MagicTrickAccessories.balanceOf(msg.sender,5)>=pricetoBoost);
           if (staker.CardsSlot<1 || staker.CardsSlot>4) {
               return;
           }
           if (StakeSlot[msg.sender][2]>0){
           staker.MintingPower = staker.MintingPower + 600;
           TotalMintingPower = TotalMintingPower + 600;
        }  
        BMagicTrickAccessories.burn(msg.sender,5,pricetoBoost);
        staker.CardsSlot ++;
       }
       if (slotnumber == 4){
           pricetoBoost = 150;
           require (MagicTrickAccessories.balanceOf(msg.sender,5)>=pricetoBoost);
           if (staker.HatSlot<1 || staker.HatSlot>4) {
               return;
           }
           if (StakeSlot[msg.sender][3]>0){
           staker.MintingPower = staker.MintingPower + 1500;
           TotalMintingPower = TotalMintingPower + 1500;
        }  
        BMagicTrickAccessories.burn(msg.sender,5,pricetoBoost);
        staker.HatSlot ++;
       }
       if (slotnumber == 5){
           pricetoBoost = 500;
           require (MagicTrickAccessories.balanceOf(msg.sender,5)>=pricetoBoost);
           if (staker.SphereSlot<1 || staker.SphereSlot>4) {
               return;
           }
           if (StakeSlot[msg.sender][4]>0){
           staker.MintingPower = staker.MintingPower + 5000;
           TotalMintingPower = TotalMintingPower + 5000;
        }  
        BMagicTrickAccessories.burn(msg.sender,5,pricetoBoost);
        staker.SphereSlot ++;
       }

    staker.rewardDebt = staker.MintingPower*AccumulatedRewardsPerShare;
       
   }

   //User can claim his rewards
   function ClaimRewards() public payable {
      updatepoolbalance();
      Staker storage staker = Stakers[msg.sender];
      uint256 RewardsToHarvest = (staker.MintingPower*AccumulatedRewardsPerShare) - staker.rewardDebt;
       if (RewardsToHarvest == 0) {
            staker.rewardDebt = staker.MintingPower*AccumulatedRewardsPerShare;  
            return;
        }
      staker.rewardDebt = staker.MintingPower*AccumulatedRewardsPerShare;    
      TotalRewardsHarvested = TotalRewardsHarvested + RewardsToHarvest;
      staker.totalRewards = staker.totalRewards + RewardsToHarvest;
      payable(msg.sender).transfer(RewardsToHarvest);
   }

   //checking caller's rewards
   function CheckRewards() public view returns(uint256) {
      Staker storage staker = Stakers[msg.sender];
      uint256 RewardsToHarvest = (staker.MintingPower*AccumulatedRewardsPerShare) - staker.rewardDebt;
      return RewardsToHarvest;     
   }
 
   //updates the pool prize balance and adds the claimable rewards
   function updatepoolbalance() private {
         if (TotalNFTStaked < 1) {
              return;
         }
         uint256 newrewards = address(this).balance + TotalRewardsHarvested - OldBalance;
         AccumulatedRewardsPerShare = AccumulatedRewardsPerShare + (newrewards/TotalMintingPower);
         OldBalance = OldBalance + newrewards;    
   }

}

Contract ABI

[{"inputs":[{"internalType":"address","name":"MagicTrickAccessoriesNFT","type":"address"},{"internalType":"address","name":"CROpperfield","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"AccumulatedRewardsPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BMagicTrickAccessories","outputs":[{"internalType":"contract ERC1155Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BoostingSlotPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBoostingSlotPrice","type":"uint256"}],"name":"BoostingSlot_Price","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"CROpperfield","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CheckRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ClaimRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"Cropperfield","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MagicTrickAccessories","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OldBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"StakeSlot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"Stakers","outputs":[{"internalType":"uint256","name":"MintingPower","type":"uint256"},{"internalType":"uint256","name":"totalRewards","type":"uint256"},{"internalType":"uint256","name":"totalstaked","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"RewardsToHarvest","type":"uint256"},{"internalType":"uint256","name":"Ultimum","type":"uint256"},{"internalType":"uint256","name":"GlovesSlot","type":"uint256"},{"internalType":"uint256","name":"DiceSlot","type":"uint256"},{"internalType":"uint256","name":"CardsSlot","type":"uint256"},{"internalType":"uint256","name":"HatSlot","type":"uint256"},{"internalType":"uint256","name":"SphereSlot","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"StakingSlotPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStakingSlotPrice","type":"uint256"}],"name":"StakingSlot_Price","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"TotalIDStakedNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalMintingPower","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalNFTStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalRewardsHarvested","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"slotnumber","type":"uint256"}],"name":"UnlockAccessorySlot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"slotnumber","type":"uint256"}],"name":"boostAccessorySlot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_Staker","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"stakeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_Staker","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526801158e460913d00000600655600780546001600160a01b03191661dead17905569d3c21bcecceda1000000600c556032600d553480156200004557600080fd5b506040516200237238038062002372833981016040819052620000689162000123565b6200007333620000b6565b60018055600280546001600160a01b039384166001600160a01b03199182168117909255600380548216909217909155600580549290931691161790556200015b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200011e57600080fd5b919050565b600080604083850312156200013757600080fd5b620001428362000106565b9150620001526020840162000106565b90509250929050565b612207806200016b6000396000f3fe6080604052600436106101a05760003560e01c8063a035b1fe116100ec578063e91e29591161008a578063f2fde38b11610064578063f2fde38b14610545578063f75bbeec14610565578063faa3927d14610585578063ff6172ba146105a557600080fd5b8063e91e295914610408578063ede85eb71461041e578063f23a6e61146104e657600080fd5b8063b3ea7e6b116100c6578063b3ea7e6b1461037a578063c2a672e0146103b2578063c5d5d592146103d2578063e2f74dff146103e857600080fd5b8063a035b1fe1461032e578063aea8773f14610344578063b13270d51461035a57600080fd5b80636d184ebc116101595780638c0a46ad116101335780638c0a46ad146102ad5780638da5cb5b146102c3578063962fefc7146102e15780639e6ff1a31461030157600080fd5b80636d184ebc14610262578063715018a6146102825780637c81b4e11461029757600080fd5b806312798972146101ac5780631c9618a9146101b65780633bfd7f06146101df5780635143e5da14610217578063668d6abf1461022c57806368ad402b1461024257600080fd5b366101a757005b600080fd5b6101b46105c5565b005b3480156101c257600080fd5b506101cc600a5481565b6040519081526020015b60405180910390f35b3480156101eb57600080fd5b506002546101ff906001600160a01b031681565b6040516001600160a01b0390911681526020016101d6565b34801561022357600080fd5b506101cc61068b565b34801561023857600080fd5b506101cc600f5481565b34801561024e57600080fd5b506101b461025d366004611fa7565b6106c1565b34801561026e57600080fd5b506004546101ff906001600160a01b031681565b34801561028e57600080fd5b506101b4610980565b3480156102a357600080fd5b506101cc600e5481565b3480156102b957600080fd5b506101cc600d5481565b3480156102cf57600080fd5b506000546001600160a01b03166101ff565b3480156102ed57600080fd5b506101b46102fc366004611fa7565b6109b6565b34801561030d57600080fd5b506101cc61031c366004611fa7565b60086020526000908152604090205481565b34801561033a57600080fd5b506101cc60065481565b34801561035057600080fd5b506101cc60095481565b34801561036657600080fd5b506101b4610375366004611f5b565b6109e5565b34801561038657600080fd5b506101cc610395366004611f5b565b601060209081526000928352604080842090915290825290205481565b3480156103be57600080fd5b506101b46103cd366004611f5b565b610e89565b3480156103de57600080fd5b506101cc600b5481565b3480156103f457600080fd5b506101b4610403366004611fa7565b611249565b34801561041457600080fd5b506101cc600c5481565b34801561042a57600080fd5b50610493610439366004611e9a565b601160205280600052604060002060009150905080600001549080600101549080600201549080600301549080600401549080600501549080600601549080600701549080600801549080600901549080600a015490508b565b604080519b8c5260208c019a909a52988a01979097526060890195909552608088019390935260a087019190915260c086015260e0850152610100840152610120830152610140820152610160016101d6565b3480156104f257600080fd5b5061052c610501366004611eb5565b7ff23a6e612e1ff4830e658fe43f4e3cb4a5f8170bd5d9e69fb5d7a7fa9e4fdf979695505050505050565b6040516001600160e01b031990911681526020016101d6565b34801561055157600080fd5b506101b4610560366004611e9a565b611278565b34801561057157600080fd5b506005546101ff906001600160a01b031681565b34801561059157600080fd5b506101b46105a0366004611fa7565b611313565b3480156105b157600080fd5b506003546101ff906001600160a01b031681565b6105cd611b1d565b336000908152601160205260408120600381015460095482549293926105f39190612127565b6105fd9190612146565b90508061061f5760095482546106139190612127565b82600301819055505050565b600954825461062e9190612127565b6003830155600a546106419082906120ed565b600a5560018201546106549082906120ed565b6001830155604051339082156108fc029083906000818181858888f19350505050158015610686573d6000803e3d6000fd5b505050565b336000908152601160205260408120600381015460095482548492916106b091612127565b6106ba9190612146565b9392505050565b600260015414156106ed5760405162461bcd60e51b81526004016106e4906120b6565b60405180910390fd5b60026001556006811061072c5760405162461bcd60e51b81526020600482015260076024820152663520736c6f747360c81b60448201526064016106e4565b600081600c5461073c9190612127565b33600081815260116020526040908190206005549151636eb1769f60e11b8152600481019390935230602484015292935083916001600160a01b039091169063dd62ed3e9060440160206040518083038186803b15801561079c57600080fd5b505afa1580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190611fc0565b10156108225760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f7567682043524f707065726669656c6420746f6b656e73000060448201526064016106e4565b82600114156108665760018160060154111561083f575050610979565b60075460055461085e916001600160a01b039182169133911685611b7b565b600160068201555b82600214156108aa57600181600701541115610883575050610979565b6007546005546108a2916001600160a01b039182169133911685611b7b565b600160078201555b82600314156108ee576001816008015411156108c7575050610979565b6007546005546108e6916001600160a01b039182169133911685611b7b565b600160088201555b82600414156109325760018160090154111561090b575050610979565b60075460055461092a916001600160a01b039182169133911685611b7b565b600160098201555b826005141561097657600181600a0154111561094f575050610979565b60075460055461096e916001600160a01b039182169133911685611b7b565b6001600a8201555b50505b5060018055565b6000546001600160a01b031633146109aa5760405162461bcd60e51b81526004016106e490612081565b6109b46000611bdb565b565b6000546001600160a01b031633146109e05760405162461bcd60e51b81526004016106e490612081565b600d55565b60026001541415610a085760405162461bcd60e51b81526004016106e4906120b6565b6002600181905554604051627eeac760e11b81526001600160a01b03848116600483015260248201849052600092169062fdd58e9060440160206040518083038186803b158015610a5857600080fd5b505afa158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a909190611fc0565b11610a9a57600080fd5b6001600160a01b03821660009081526011602090815260408083206010835281842085855290925290912054600111610b155760405162461bcd60e51b815260206004820152601860248201527f4163636573736f727920616c7265616479207374616b6564000000000000000060448201526064016106e4565b610b1d6105c5565b6001600160a01b03831660009081526010602090815260408083208584529091528120805491610b4c836121a0565b909155505081610b8e57600081600601546064610b699190612127565b8254909150610b799082906120ed565b8255600e54610b899082906120ed565b600e55505b8160011415610bd0576000816007015461012c610bab9190612127565b8254909150610bbb9082906120ed565b8255600e54610bcb9082906120ed565b600e55505b8160021415610c125760008160080154610258610bed9190612127565b8254909150610bfd9082906120ed565b8255600e54610c0d9082906120ed565b600e55505b8160031415610c5457600081600901546105dc610c2f9190612127565b8254909150610c3f9082906120ed565b8255600e54610c4f9082906120ed565b600e55505b8160041415610c9657600081600a0154611388610c719190612127565b8254909150610c819082906120ed565b8255600e54610c919082906120ed565b600e55505b600181600501541015610db7576001600160a01b038316600090815260106020908152604080832083805290915290205415801590610cf857506001600160a01b03831660009081526010602090815260408083206001845290915290205415155b8015610d2757506001600160a01b03831660009081526010602090815260408083206002845290915290205415155b8015610d5657506001600160a01b03831660009081526010602090815260408083206003845290915290205415155b8015610d8557506001600160a01b03831660009081526010602090815260408083206004845290915290205415155b15610db7576001600582015580546109c490610da29082906120ed565b8255600e54610db29082906120ed565b600e55505b600281018054906000610dc9836121a0565b90915550506009548154610ddd9190612127565b6003820155600254604051637921219560e11b81526001600160a01b039091169063f242432a90610e1990339030908790600190600401611ff5565b600060405180830381600087803b158015610e3357600080fd5b505af1158015610e47573d6000803e3d6000fd5b5050600f8054925090506000610e5c836121a0565b90915550506000828152600860205260408120805491610e7b836121a0565b909155505060018055505050565b60026001541415610eac5760405162461bcd60e51b81526004016106e4906120b6565b60026001556001600160a01b03821660009081526011602090815260408083206010835281842085855290925290912054610ee657600080fd5b610eee6105c5565b6001600160a01b03831660009081526010602090815260408083208584529091528120805491610f1d83612189565b909155505081610f5f57600081600601546064610f3a9190612127565b8254909150610f4a908290612146565b8255600e54610f5a908290612146565b600e55505b8160011415610fa1576000816007015461012c610f7c9190612127565b8254909150610f8c908290612146565b8255600e54610f9c908290612146565b600e55505b8160021415610fe35760008160080154610258610fbe9190612127565b8254909150610fce908290612146565b8255600e54610fde908290612146565b600e55505b816003141561102557600081600901546105dc6110009190612127565b8254909150611010908290612146565b8255600e54611020908290612146565b600e55505b816004141561106757600081600a01546113886110429190612127565b8254909150611052908290612146565b8255600e54611062908290612146565b600e55505b600581015415611185576001600160a01b0383166000908152601060209081526040808320838052909152902054600111806110c657506001600160a01b03831660009081526010602090815260408083206001808552925290912054105b806110f557506001600160a01b0383166000908152601060209081526040808320600284529091529020546001115b8061112457506001600160a01b0383166000908152601060209081526040808320600384529091529020546001115b8061115357506001600160a01b0383166000908152601060209081526040808320600484529091529020546001115b15611185576000600582015580546109c490611170908290612146565b8255600e54611180908290612146565b600e55505b60028101805490600061119783612189565b909155505060095481546111ab9190612127565b6003820155600254604051637921219560e11b81526001600160a01b039091169063f242432a906111e790309033908790600190600401611ff5565b600060405180830381600087803b15801561120157600080fd5b505af1158015611215573d6000803e3d6000fd5b5050600f805492509050600061122a83612189565b90915550506000828152600860205260408120805491610e7b83612189565b6000546001600160a01b031633146112735760405162461bcd60e51b81526004016106e490612081565b600c55565b6000546001600160a01b031633146112a25760405162461bcd60e51b81526004016106e490612081565b6001600160a01b0381166113075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e4565b61131081611bdb565b50565b600260015414156113365760405162461bcd60e51b81526004016106e4906120b6565b6002600155600681106113755760405162461bcd60e51b81526020600482015260076024820152663520736c6f747360c81b60448201526064016106e4565b33600090815260116020526040812061138c6105c5565b826001141561150757600254604051627eeac760e11b815233600482015260056024820152600a935083916001600160a01b03169062fdd58e9060440160206040518083038186803b1580156113e157600080fd5b505afa1580156113f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114199190611fc0565b101561142457600080fd5b60018160060154108061143b575060048160060154115b15611447575050610979565b336000908152601060209081526040808320838052909152902054156114885780546114749060646120ed565b8155600e546114849060646120ed565b600e555b600354604051637a94c56560e11b81526001600160a01b039091169063f5298aca906114bd903390600590879060040161202d565b600060405180830381600087803b1580156114d757600080fd5b505af11580156114eb573d6000803e3d6000fd5b50505060068201805491506000611501836121a0565b91905055505b826002141561168557600254604051627eeac760e11b815233600482015260056024820152601e935083916001600160a01b03169062fdd58e9060440160206040518083038186803b15801561155c57600080fd5b505afa158015611570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115949190611fc0565b101561159f57600080fd5b6001816007015410806115b6575060048160070154115b156115c2575050610979565b33600090815260106020908152604080832060018452909152902054156116065780546115f19061012c6120ed565b8155600e546116029061012c6120ed565b600e555b600354604051637a94c56560e11b81526001600160a01b039091169063f5298aca9061163b903390600590879060040161202d565b600060405180830381600087803b15801561165557600080fd5b505af1158015611669573d6000803e3d6000fd5b5050506007820180549150600061167f836121a0565b91905055505b826003141561180357600254604051627eeac760e11b815233600482015260056024820152603c935083916001600160a01b03169062fdd58e9060440160206040518083038186803b1580156116da57600080fd5b505afa1580156116ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117129190611fc0565b101561171d57600080fd5b600181600801541080611734575060048160080154115b15611740575050610979565b336000908152601060209081526040808320600284529091529020541561178457805461176f906102586120ed565b8155600e54611780906102586120ed565b600e555b600354604051637a94c56560e11b81526001600160a01b039091169063f5298aca906117b9903390600590879060040161202d565b600060405180830381600087803b1580156117d357600080fd5b505af11580156117e7573d6000803e3d6000fd5b505050600882018054915060006117fd836121a0565b91905055505b826004141561198157600254604051627eeac760e11b8152336004820152600560248201526096935083916001600160a01b03169062fdd58e9060440160206040518083038186803b15801561185857600080fd5b505afa15801561186c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118909190611fc0565b101561189b57600080fd5b6001816009015410806118b2575060048160090154115b156118be575050610979565b33600090815260106020908152604080832060038452909152902054156119025780546118ed906105dc6120ed565b8155600e546118fe906105dc6120ed565b600e555b600354604051637a94c56560e11b81526001600160a01b039091169063f5298aca90611937903390600590879060040161202d565b600060405180830381600087803b15801561195157600080fd5b505af1158015611965573d6000803e3d6000fd5b5050506009820180549150600061197b836121a0565b91905055505b8260051415611b0057600254604051627eeac760e11b8152336004820152600560248201526101f4935083916001600160a01b03169062fdd58e9060440160206040518083038186803b1580156119d757600080fd5b505afa1580156119eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0f9190611fc0565b1015611a1a57600080fd5b600181600a01541080611a315750600481600a0154115b15611a3d575050610979565b3360009081526010602090815260408083206004845290915290205415611a81578054611a6c906113886120ed565b8155600e54611a7d906113886120ed565b600e555b600354604051637a94c56560e11b81526001600160a01b039091169063f5298aca90611ab6903390600590879060040161202d565b600060405180830381600087803b158015611ad057600080fd5b505af1158015611ae4573d6000803e3d6000fd5b505050600a8201805491506000611afa836121a0565b91905055505b6009548154611b0f9190612127565b600390910155505060018055565b6001600f541015611b2a57565b6000600b54600a5447611b3d91906120ed565b611b479190612146565b9050600e5481611b579190612105565b600954611b6491906120ed565b600955600b54611b759082906120ed565b600b5550565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611bd5908590611c2b565b50505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000611c80826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611cfd9092919063ffffffff16565b8051909150156106865780806020019051810190611c9e9190611f85565b6106865760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016106e4565b6060611d0c8484600085611d14565b949350505050565b606082471015611d755760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016106e4565b6001600160a01b0385163b611dcc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016106e4565b600080866001600160a01b03168587604051611de89190611fd9565b60006040518083038185875af1925050503d8060008114611e25576040519150601f19603f3d011682016040523d82523d6000602084013e611e2a565b606091505b5091509150611e3a828286611e45565b979650505050505050565b60608315611e545750816106ba565b825115611e645782518084602001fd5b8160405162461bcd60e51b81526004016106e4919061204e565b80356001600160a01b0381168114611e9557600080fd5b919050565b600060208284031215611eac57600080fd5b6106ba82611e7e565b60008060008060008060a08789031215611ece57600080fd5b611ed787611e7e565b9550611ee560208801611e7e565b94506040870135935060608701359250608087013567ffffffffffffffff80821115611f1057600080fd5b818901915089601f830112611f2457600080fd5b813581811115611f3357600080fd5b8a6020828501011115611f4557600080fd5b6020830194508093505050509295509295509295565b60008060408385031215611f6e57600080fd5b611f7783611e7e565b946020939093013593505050565b600060208284031215611f9757600080fd5b815180151581146106ba57600080fd5b600060208284031215611fb957600080fd5b5035919050565b600060208284031215611fd257600080fd5b5051919050565b60008251611feb81846020870161215d565b9190910192915050565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260009082015260c00190565b6001600160a01b039390931683526020830191909152604082015260600190565b602081526000825180602084015261206d81604085016020870161215d565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115612100576121006121bb565b500190565b60008261212257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612141576121416121bb565b500290565b600082821015612158576121586121bb565b500390565b60005b83811015612178578181015183820152602001612160565b83811115611bd55750506000910152565b600081612198576121986121bb565b506000190190565b60006000198214156121b4576121b46121bb565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d2e2490666440e01f479b454c81c77c9702b2f2c491bac7e1aa8dd7fe9dae48564736f6c634300080700330000000000000000000000001a698b03d0ecb18458842d67f71bdf6b73eb233f000000000000000000000000c40469cccb76e080d26b84f460753bc0cf57f90b

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

0000000000000000000000001a698b03d0ecb18458842d67f71bdf6b73eb233f000000000000000000000000c40469cccb76e080d26b84f460753bc0cf57f90b

-----Decoded View---------------
Arg [0] : MagicTrickAccessoriesNFT (address): 0x1a698b03d0ecb18458842d67f71bdf6b73eb233f
Arg [1] : CROpperfield (address): 0xc40469cccb76e080d26b84f460753bc0cf57f90b

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001a698b03d0ecb18458842d67f71bdf6b73eb233f
Arg [1] : 000000000000000000000000c40469cccb76e080d26b84f460753bc0cf57f90b


Deployed ByteCode Sourcemap

67752:12307:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78670:658;;;:::i;:::-;;68554:36;;;;;;;;;;;;;;;;;;;9691:25:1;;;9679:2;9664:18;68554:36:0;;;;;;;;67834:37;;;;;;;;;;-1:-1:-1;67834:37:0;;;;-1:-1:-1;;;;;67834:37:0;;;;;;-1:-1:-1;;;;;2623:32:1;;;2605:51;;2593:2;2578:18;67834:37:0;2459:203:1;79367:253:0;;;;;;;;;;;;;:::i;68752:29::-;;;;;;;;;;;;;;;;74122:1505;;;;;;;;;;-1:-1:-1;74122:1505:0;;;;;:::i;:::-;;:::i;67926:27::-;;;;;;;;;;-1:-1:-1;67926:27:0;;;;-1:-1:-1;;;;;67926:27:0;;;21995:103;;;;;;;;;;;;;:::i;68715:32::-;;;;;;;;;;;;;;;;68676:34;;;;;;;;;;;;;;;;21344:87;;;;;;;;;;-1:-1:-1;21390:7:0;21417:6;-1:-1:-1;;;;;21417:6:0;21344:87;;73952:134;;;;;;;;;;-1:-1:-1;73952:134:0;;;;;:::i;:::-;;:::i;68450:53::-;;;;;;;;;;-1:-1:-1;68450:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;67989:32;;;;;;;;;;;;;;;;68508:41;;;;;;;;;;;;;;;;69225:2171;;;;;;;;;;-1:-1:-1;69225:2171:0;;;;;:::i;:::-;;:::i;68786:64::-;;;;;;;;;;-1:-1:-1;68786:64:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;71701:2107;;;;;;;;;;-1:-1:-1;71701:2107:0;;;;;:::i;:::-;;:::i;68595:25::-;;;;;;;;;;;;;;;;73815:130;;;;;;;;;;-1:-1:-1;73815:130:0;;;;;:::i;:::-;;:::i;68625:46::-;;;;;;;;;;;;;;;;69172:42;;;;;;;;;;-1:-1:-1;69172:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10155:25:1;;;10211:2;10196:18;;10189:34;;;;10239:18;;;10232:34;;;;10297:2;10282:18;;10275:34;;;;10340:3;10325:19;;10318:35;;;;10384:3;10369:19;;10362:35;;;;10428:3;10413:19;;10406:35;10472:3;10457:19;;10450:35;10516:3;10501:19;;10494:35;10560:3;10545:19;;10538:35;10604:3;10589:19;;10582:36;10142:3;10127:19;69172:42:0;9727:897:1;71403:288:0;;;;;;;;;;-1:-1:-1;71403:288:0;;;;;:::i;:::-;71613:69;71403:288;;;;;;;;;;;;-1:-1:-1;;;;;;5082:33:1;;;5064:52;;5052:2;5037:18;71403:288:0;4920:202:1;22253:201:0;;;;;;;;;;-1:-1:-1;22253:201:0;;;;;:::i;:::-;;:::i;67958:26::-;;;;;;;;;;-1:-1:-1;67958:26:0;;;;-1:-1:-1;;;;;67958:26:0;;;75681:2949;;;;;;;;;;-1:-1:-1;75681:2949:0;;;;;:::i;:::-;;:::i;67876:45::-;;;;;;;;;;-1:-1:-1;67876:45:0;;;;-1:-1:-1;;;;;67876:45:0;;;78670:658;78718:19;:17;:19::i;:::-;78778:10;78746:21;78770:19;;;:7;:19;;;;;78876:17;;;;78846:26;;78826:19;;78770;;78746:21;78826:46;;78846:26;78826:46;:::i;:::-;78825:68;;;;:::i;:::-;78798:95;-1:-1:-1;78907:21:0;78903:143;;78985:26;;78965:19;;:46;;78985:26;78965:46;:::i;:::-;78945:6;:17;;:66;;;;79028:7;;78670:658::o;78903:143::-;79094:26;;79074:19;;:46;;79094:26;79074:46;:::i;:::-;79054:17;;;:66;79157:21;;:40;;79181:16;;79157:40;:::i;:::-;79133:21;:64;79228:19;;;;:38;;79250:16;;79228:38;:::i;:::-;79206:19;;;:60;79275:46;;79283:10;;79275:46;;;;;79304:16;;79275:46;;;;79304:16;79283:10;79275:46;;;;;;;;;;;;;;;;;;;;;78709:619;;78670:658::o;79367:253::-;79461:10;79411:7;79453:19;;;:7;:19;;;;;79559:17;;;;79529:26;;79509:19;;79411:7;;79559:17;79509:46;;;:::i;:::-;79508:68;;;;:::i;:::-;79481:95;79367:253;-1:-1:-1;;;79367:253:0:o;74122:1505::-;16765:1;17363:7;;:19;;17355:63;;;;-1:-1:-1;;;17355:63:0;;;;;;;:::i;:::-;;;;;;;;;16765:1;17496:7;:18;74221:1:::1;74210:12:::0;::::1;74201:33;;;::::0;-1:-1:-1;;;74201:33:0;;9412:2:1;74201:33:0::1;::::0;::::1;9394:21:1::0;9451:1;9431:18;;;9424:29;-1:-1:-1;;;9469:18:1;;;9462:37;9516:18;;74201:33:0::1;9210:330:1::0;74201:33:0::1;74244:21;74285:10;74268:16;;:27;;;;:::i;:::-;74337:10;74305:21;74329:19:::0;;;:7:::1;:19;::::0;;;;;;74366:12:::1;::::0;:49;;-1:-1:-1;;;74366:49:0;;::::1;::::0;::::1;2879:34:1::0;;;;74409:4:0::1;2929:18:1::0;;;2922:43;74244:51:0;;-1:-1:-1;74244:51:0;;-1:-1:-1;;;;;74366:12:0;;::::1;::::0;:22:::1;::::0;2814:18:1;;74366:49:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:66;;74358:109;;;::::0;-1:-1:-1;;;74358:109:0;;7210:2:1;74358:109:0::1;::::0;::::1;7192:21:1::0;7249:2;7229:18;;;7222:30;7288:32;7268:18;;;7261:60;7338:18;;74358:109:0::1;7008:354:1::0;74358:109:0::1;74481:10;74495:1;74481:15;74477:235;;;74533:1;74515:6;:17;;;:19;74511:64;;;74554:7;;;;74511:64;74626:11;::::0;74585:12:::1;::::0;:68:::1;::::0;-1:-1:-1;;;;;74585:12:0;;::::1;::::0;74615:10:::1;::::0;74626:11:::1;74639:13:::0;74585:29:::1;:68::i;:::-;74687:1;74667:17;::::0;::::1;:21:::0;74477:235:::1;74725:10;74739:1;74725:15;74721:215;;;74775:1;74759:6;:15;;;:17;74755:62;;;74796:7;;;;74755:62;74868:11;::::0;74827:12:::1;::::0;:68:::1;::::0;-1:-1:-1;;;;;74827:12:0;;::::1;::::0;74857:10:::1;::::0;74868:11:::1;74881:13:::0;74827:29:::1;:68::i;:::-;74924:1;74906:15;::::0;::::1;:19:::0;74721:215:::1;74949:10;74963:1;74949:15;74945:217;;;75000:1;74983:6;:16;;;:18;74979:63;;;75021:7;;;;74979:63;75093:11;::::0;75052:12:::1;::::0;:68:::1;::::0;-1:-1:-1;;;;;75052:12:0;;::::1;::::0;75082:10:::1;::::0;75093:11:::1;75106:13:::0;75052:29:::1;:68::i;:::-;75150:1;75131:16;::::0;::::1;:20:::0;74945:217:::1;75175:10;75189:1;75175:15;75171:213;;;75224:1;75209:6;:14;;;:16;75205:61;;;75245:7;;;;75205:61;75317:11;::::0;75276:12:::1;::::0;:68:::1;::::0;-1:-1:-1;;;;;75276:12:0;;::::1;::::0;75306:10:::1;::::0;75317:11:::1;75330:13:::0;75276:29:::1;:68::i;:::-;75372:1;75355:14;::::0;::::1;:18:::0;75171:213:::1;75397:10;75411:1;75397:15;75393:219;;;75449:1;75431:6;:17;;;:19;75427:64;;;75470:7;;;;75427:64;75542:11;::::0;75501:12:::1;::::0;:68:::1;::::0;-1:-1:-1;;;;;75501:12:0;;::::1;::::0;75531:10:::1;::::0;75542:11:::1;75555:13:::0;75501:29:::1;:68::i;:::-;75600:1;75580:17;::::0;::::1;:21:::0;75393:219:::1;74191:1436;;17527:1;-1:-1:-1::0;16721:1:0;17675:22;;74122:1505::o;21995:103::-;21390:7;21417:6;-1:-1:-1;;;;;21417:6:0;680:10;21564:23;21556:68;;;;-1:-1:-1;;;21556:68:0;;;;;;;:::i;:::-;22060:30:::1;22087:1;22060:18;:30::i;:::-;21995:103::o:0;73952:134::-;21390:7;21417:6;-1:-1:-1;;;;;21417:6:0;680:10;21564:23;21556:68;;;;-1:-1:-1;;;21556:68:0;;;;;;;:::i;:::-;74039:17:::1;:40:::0;73952:134::o;69225:2171::-;16765:1;17363:7;;:19;;17355:63;;;;-1:-1:-1;;;17355:63:0;;;;;;;:::i;:::-;16765:1;17496:7;:18;;;69311:21;:44:::1;::::0;-1:-1:-1;;;69311:44:0;;-1:-1:-1;;;;;4196:32:1;;;69311:44:0::1;::::0;::::1;4178:51:1::0;4245:18;;;4238:34;;;69356:1:0::1;::::0;69311:21:::1;::::0;:31:::1;::::0;4151:18:1;;69311:44:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;69302:56;;;::::0;::::1;;-1:-1:-1::0;;;;;69395:16:0;::::1;69371:21;69395:16:::0;;;:7:::1;:16;::::0;;;;;;;69431:9:::1;:18:::0;;;;;:23;;;;;;;;;;69455:1:::1;-1:-1:-1::0;69422:63:0::1;;;::::0;-1:-1:-1;;;69422:63:0;;8699:2:1;69422:63:0::1;::::0;::::1;8681:21:1::0;8738:2;8718:18;;;8711:30;8777:26;8757:18;;;8750:54;8821:18;;69422:63:0::1;8497:348:1::0;69422:63:0::1;69496:14;:12;:14::i;:::-;-1:-1:-1::0;;;;;69525:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;:23;;;;;;;;:26;;;::::1;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;69566:8:0;69562:214:::1;;69587:21;69611:6;:17;;;69629:3;69611:21;;;;:::i;:::-;69665:19:::0;;69587:45;;-1:-1:-1;69665:35:0::1;::::0;69587:45;;69665:35:::1;:::i;:::-;69643:57:::0;;69731:17:::1;::::0;:33:::1;::::0;69751:13;;69731:33:::1;:::i;:::-;69711:17;:53:::0;-1:-1:-1;69562:214:0::1;69790:3;69797:1;69790:8;69786:212;;;69811:21;69835:6;:15;;;69851:3;69835:19;;;;:::i;:::-;69887::::0;;69811:43;;-1:-1:-1;69887:35:0::1;::::0;69811:43;;69887:35:::1;:::i;:::-;69865:57:::0;;69953:17:::1;::::0;:33:::1;::::0;69973:13;;69953:33:::1;:::i;:::-;69933:17;:53:::0;-1:-1:-1;69786:212:0::1;70012:3;70019:1;70012:8;70008:213;;;70033:21;70057:6;:16;;;70074:3;70057:20;;;;:::i;:::-;70110:19:::0;;70033:44;;-1:-1:-1;70110:35:0::1;::::0;70033:44;;70110:35:::1;:::i;:::-;70088:57:::0;;70176:17:::1;::::0;:33:::1;::::0;70196:13;;70176:33:::1;:::i;:::-;70156:17;:53:::0;-1:-1:-1;70008:213:0::1;70235:3;70242:1;70235:8;70231:212;;;70256:21;70280:6;:14;;;70295:4;70280:19;;;;:::i;:::-;70332::::0;;70256:43;;-1:-1:-1;70332:35:0::1;::::0;70256:43;;70332:35:::1;:::i;:::-;70310:57:::0;;70398:17:::1;::::0;:33:::1;::::0;70418:13;;70398:33:::1;:::i;:::-;70378:17;:53:::0;-1:-1:-1;70231:212:0::1;70457:3;70464:1;70457:8;70453:215;;;70478:21;70502:6;:17;;;70520:4;70502:22;;;;:::i;:::-;70557:19:::0;;70478:46;;-1:-1:-1;70557:35:0::1;::::0;70478:46;;70557:35:::1;:::i;:::-;70535:57:::0;;70623:17:::1;::::0;:33:::1;::::0;70643:13;;70623:33:::1;:::i;:::-;70603:17;:53:::0;-1:-1:-1;70453:215:0::1;70701:1;70684:6;:14;;;:18;70680:433;;;-1:-1:-1::0;;;;;70722:18:0;::::1;70744:1;70722:18:::0;;;:9:::1;:18;::::0;;;;;;;:21;;;;;;;;;:23;;;;:50:::1;;-1:-1:-1::0;;;;;;70749:18:0;::::1;70771:1;70749:18:::0;;;:9:::1;:18;::::0;;;;;;;70768:1:::1;70749:21:::0;;;;;;;;:23;;70722:50:::1;:77;;;;-1:-1:-1::0;;;;;;70776:18:0;::::1;70798:1;70776:18:::0;;;:9:::1;:18;::::0;;;;;;;70795:1:::1;70776:21:::0;;;;;;;;:23;;70722:77:::1;:104;;;;-1:-1:-1::0;;;;;;70803:18:0;::::1;70825:1;70803:18:::0;;;:9:::1;:18;::::0;;;;;;;70822:1:::1;70803:21:::0;;;;;;;;:23;;70722:104:::1;:131;;;;-1:-1:-1::0;;;;;;70830:18:0;::::1;70852:1;70830:18:::0;;;:9:::1;:18;::::0;;;;;;;70849:1:::1;70830:21:::0;;;;;;;;:23;;70722:131:::1;70718:384;;;70890:1;70873:14;::::0;::::1;:18:::0;70979:19;;70934:4:::1;::::0;70979:35:::1;::::0;70934:4;;70979:35:::1;:::i;:::-;70957:57:::0;;71053:17:::1;::::0;:33:::1;::::0;71073:13;;71053:33:::1;:::i;:::-;71033:17;:53:::0;-1:-1:-1;70718:384:0::1;71132:18;::::0;::::1;:21:::0;;;:18:::1;:21;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;71207:26:0::1;::::0;71187:19;;:46:::1;::::0;71207:26;71187:46:::1;:::i;:::-;71167:17;::::0;::::1;:66:::0;71248:21:::1;::::0;:77:::1;::::0;-1:-1:-1;;;71248:77:0;;-1:-1:-1;;;;;71248:21:0;;::::1;::::0;:38:::1;::::0;:77:::1;::::0;71287:10:::1;::::0;71307:4:::1;::::0;71314:3;;71248:21;;:77:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;71336:14:0::1;:17:::0;;;-1:-1:-1;71336:14:0;-1:-1:-1;71336:14:0::1;:17;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;71364:22:0::1;::::0;;;:17:::1;:22;::::0;;;;:25;;;::::1;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;16721:1:0;17675:22;;-1:-1:-1;;;69225:2171:0:o;71701:2107::-;16765:1;17363:7;;:19;;17355:63;;;;-1:-1:-1;;;17355:63:0;;;;;;;:::i;:::-;16765:1;17496:7;:18;-1:-1:-1;;;;;71801:16:0;::::1;71777:21;71801:16:::0;;;:7:::1;:16;::::0;;;;;;;71837:9:::1;:18:::0;;;;;:23;;;;;;;;;;71828:35:::1;;;::::0;::::1;;71878:14;:12;:14::i;:::-;-1:-1:-1::0;;;;;71905:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;:23;;;;;;;;:26;;;::::1;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;71948:8:0;71944:214:::1;;71969:21;71993:6;:17;;;72011:3;71993:21;;;;:::i;:::-;72047:19:::0;;71969:45;;-1:-1:-1;72047:35:0::1;::::0;71969:45;;72047:35:::1;:::i;:::-;72025:57:::0;;72113:17:::1;::::0;:33:::1;::::0;72133:13;;72113:33:::1;:::i;:::-;72093:17;:53:::0;-1:-1:-1;71944:214:0::1;72172:3;72179:1;72172:8;72168:212;;;72193:21;72217:6;:15;;;72233:3;72217:19;;;;:::i;:::-;72269::::0;;72193:43;;-1:-1:-1;72269:35:0::1;::::0;72193:43;;72269:35:::1;:::i;:::-;72247:57:::0;;72335:17:::1;::::0;:33:::1;::::0;72355:13;;72335:33:::1;:::i;:::-;72315:17;:53:::0;-1:-1:-1;72168:212:0::1;72394:3;72401:1;72394:8;72390:213;;;72415:21;72439:6;:16;;;72456:3;72439:20;;;;:::i;:::-;72492:19:::0;;72415:44;;-1:-1:-1;72492:35:0::1;::::0;72415:44;;72492:35:::1;:::i;:::-;72470:57:::0;;72558:17:::1;::::0;:33:::1;::::0;72578:13;;72558:33:::1;:::i;:::-;72538:17;:53:::0;-1:-1:-1;72390:213:0::1;72617:3;72624:1;72617:8;72613:212;;;72638:21;72662:6;:14;;;72677:4;72662:19;;;;:::i;:::-;72714::::0;;72638:43;;-1:-1:-1;72714:35:0::1;::::0;72638:43;;72714:35:::1;:::i;:::-;72692:57:::0;;72780:17:::1;::::0;:33:::1;::::0;72800:13;;72780:33:::1;:::i;:::-;72760:17;:53:::0;-1:-1:-1;72613:212:0::1;72839:3;72846:1;72839:8;72835:215;;;72860:21;72884:6;:17;;;72902:4;72884:22;;;;:::i;:::-;72939:19:::0;;72860:46;;-1:-1:-1;72939:35:0::1;::::0;72860:46;;72939:35:::1;:::i;:::-;72917:57:::0;;73005:17:::1;::::0;:33:::1;::::0;73025:13;;73005:33:::1;:::i;:::-;72985:17;:53:::0;-1:-1:-1;72835:215:0::1;73074:14;::::0;::::1;::::0;:18;73070:443:::1;;-1:-1:-1::0;;;;;73112:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;:21;;;;;;;;;73136:1:::1;-1:-1:-1::0;73112:25:0;:54:::1;;-1:-1:-1::0;;;;;;73141:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;73165:1:::1;73141:21:::0;;;;;;;;;:25:::1;73112:54;:83;;;-1:-1:-1::0;;;;;;73170:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;73189:1:::1;73170:21:::0;;;;;;;;73194:1:::1;-1:-1:-1::0;73112:83:0::1;:112;;;-1:-1:-1::0;;;;;;73199:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;73218:1:::1;73199:21:::0;;;;;;;;73223:1:::1;-1:-1:-1::0;73112:112:0::1;:141;;;-1:-1:-1::0;;;;;;73228:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;;73247:1:::1;73228:21:::0;;;;;;;;73252:1:::1;-1:-1:-1::0;73112:141:0::1;73108:394;;;73290:1;73273:14;::::0;::::1;:18:::0;73379:19;;73334:4:::1;::::0;73379:35:::1;::::0;73334:4;;73379:35:::1;:::i;:::-;73357:57:::0;;73453:17:::1;::::0;:33:::1;::::0;73473:13;;73453:33:::1;:::i;:::-;73433:17;:53:::0;-1:-1:-1;73108:394:0::1;73535:18;::::0;::::1;:21:::0;;;:18:::1;:21;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;73617:26:0::1;::::0;73597:19;;:46:::1;::::0;73617:26;73597:46:::1;:::i;:::-;73577:17;::::0;::::1;:66:::0;73658:21:::1;::::0;:77:::1;::::0;-1:-1:-1;;;73658:77:0;;-1:-1:-1;;;;;73658:21:0;;::::1;::::0;:38:::1;::::0;:77:::1;::::0;73705:4:::1;::::0;73712:10:::1;::::0;73724:3;;73658:21;;:77:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;73746:14:0::1;:17:::0;;;-1:-1:-1;73746:14:0;-1:-1:-1;73746:14:0::1;:17;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;73774:22:0::1;::::0;;;:17:::1;:22;::::0;;;;:25;;;::::1;::::0;::::1;:::i;73815:130::-:0;21390:7;21417:6;-1:-1:-1;;;;;21417:6:0;680:10;21564:23;21556:68;;;;-1:-1:-1;;;21556:68:0;;;;;;;:::i;:::-;73900:16:::1;:38:::0;73815:130::o;22253:201::-;21390:7;21417:6;-1:-1:-1;;;;;21417:6:0;680:10;21564:23;21556:68;;;;-1:-1:-1;;;21556:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22342:22:0;::::1;22334:73;;;::::0;-1:-1:-1;;;22334:73:0;;6396:2:1;22334:73:0::1;::::0;::::1;6378:21:1::0;6435:2;6415:18;;;6408:30;6474:34;6454:18;;;6447:62;-1:-1:-1;;;6525:18:1;;;6518:36;6571:19;;22334:73:0::1;6194:402:1::0;22334:73:0::1;22418:28;22437:8;22418:18;:28::i;:::-;22253:201:::0;:::o;75681:2949::-;16765:1;17363:7;;:19;;17355:63;;;;-1:-1:-1;;;17355:63:0;;;;;;;:::i;:::-;16765:1;17496:7;:18;75779:1:::1;75768:12:::0;::::1;75759:33;;;::::0;-1:-1:-1;;;75759:33:0;;9412:2:1;75759:33:0::1;::::0;::::1;9394:21:1::0;9451:1;9431:18;;;9424:29;-1:-1:-1;;;9469:18:1;;;9462:37;9516:18;;75759:33:0::1;9210:330:1::0;75759:33:0::1;75868:10;75802:20;75860:19:::0;;;:7:::1;:19;::::0;;;;75891:14:::1;:12;:14::i;:::-;75922:10;75936:1;75922:15;75918:530;;;75992:21;::::0;:45:::1;::::0;-1:-1:-1;;;75992:45:0;;76024:10:::1;75992:45;::::0;::::1;4178:51:1::0;76035:1:0::1;4245:18:1::0;;;4238:34;75967:2:0::1;::::0;-1:-1:-1;75967:2:0;;-1:-1:-1;;;;;75992:21:0::1;::::0;:31:::1;::::0;4151:18:1;;75992:45:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;75983:69;;;::::0;::::1;;76088:1;76070:6;:17;;;:19;:42;;;;76111:1;76093:6;:17;;;:19;76070:42;76066:87;;;76132:7;;;;76066:87;76180:10;76195:1;76170:21:::0;;;:9:::1;:21;::::0;;;;;;;:24;;;;;;;;;:26;76166:161:::1;;76233:19:::0;;:25:::1;::::0;76255:3:::1;76233:25;:::i;:::-;76211:47:::0;;76292:17:::1;::::0;:23:::1;::::0;76312:3:::1;76292:23;:::i;:::-;76272:17;:43:::0;76166:161:::1;76339:22;::::0;:54:::1;::::0;-1:-1:-1;;;76339:54:0;;-1:-1:-1;;;;;76339:22:0;;::::1;::::0;:27:::1;::::0;:54:::1;::::0;76367:10:::1;::::0;76378:1:::1;::::0;76380:12;;76339:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;76404:17:0::1;::::0;::::1;:20:::0;;;-1:-1:-1;76404:17:0::1;:20;::::0;::::1;:::i;:::-;;;;;;75918:530;76461:10;76475:1;76461:15;76457:511;;;76531:21;::::0;:45:::1;::::0;-1:-1:-1;;;76531:45:0;;76563:10:::1;76531:45;::::0;::::1;4178:51:1::0;76574:1:0::1;4245:18:1::0;;;4238:34;76506:2:0::1;::::0;-1:-1:-1;76506:2:0;;-1:-1:-1;;;;;76531:21:0::1;::::0;:31:::1;::::0;4151:18:1;;76531:45:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;76522:69;;;::::0;::::1;;76625:1;76609:6;:15;;;:17;:38;;;;76646:1;76630:6;:15;;;:17;76609:38;76605:83;;;76667:7;;;;76605:83;76715:10;76730:1;76705:21:::0;;;:9:::1;:21;::::0;;;;;;;76727:1:::1;76705:24:::0;;;;;;;;:26;76701:161:::1;;76768:19:::0;;:25:::1;::::0;76790:3:::1;76768:25;:::i;:::-;76746:47:::0;;76827:17:::1;::::0;:23:::1;::::0;76847:3:::1;76827:23;:::i;:::-;76807:17;:43:::0;76701:161:::1;76874:22;::::0;:54:::1;::::0;-1:-1:-1;;;76874:54:0;;-1:-1:-1;;;;;76874:22:0;;::::1;::::0;:27:::1;::::0;:54:::1;::::0;76902:10:::1;::::0;76913:1:::1;::::0;76915:12;;76874:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;76939:15:0::1;::::0;::::1;:18:::0;;;-1:-1:-1;76939:15:0::1;:18;::::0;::::1;:::i;:::-;;;;;;76457:511;76981:10;76995:1;76981:15;76977:514;;;77051:21;::::0;:45:::1;::::0;-1:-1:-1;;;77051:45:0;;77083:10:::1;77051:45;::::0;::::1;4178:51:1::0;77094:1:0::1;4245:18:1::0;;;4238:34;77026:2:0::1;::::0;-1:-1:-1;77026:2:0;;-1:-1:-1;;;;;77051:21:0::1;::::0;:31:::1;::::0;4151:18:1;;77051:45:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;77042:69;;;::::0;::::1;;77146:1;77129:6;:16;;;:18;:40;;;;77168:1;77151:6;:16;;;:18;77129:40;77125:85;;;77189:7;;;;77125:85;77237:10;77252:1;77227:21:::0;;;:9:::1;:21;::::0;;;;;;;77249:1:::1;77227:24:::0;;;;;;;;:26;77223:161:::1;;77290:19:::0;;:25:::1;::::0;77312:3:::1;77290:25;:::i;:::-;77268:47:::0;;77349:17:::1;::::0;:23:::1;::::0;77369:3:::1;77349:23;:::i;:::-;77329:17;:43:::0;77223:161:::1;77396:22;::::0;:54:::1;::::0;-1:-1:-1;;;77396:54:0;;-1:-1:-1;;;;;77396:22:0;;::::1;::::0;:27:::1;::::0;:54:::1;::::0;77424:10:::1;::::0;77435:1:::1;::::0;77437:12;;77396:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;77461:16:0::1;::::0;::::1;:19:::0;;;-1:-1:-1;77461:16:0::1;:19;::::0;::::1;:::i;:::-;;;;;;76977:514;77504:10;77518:1;77504:15;77500:511;;;77575:21;::::0;:45:::1;::::0;-1:-1:-1;;;77575:45:0;;77607:10:::1;77575:45;::::0;::::1;4178:51:1::0;77618:1:0::1;4245:18:1::0;;;4238:34;77549:3:0::1;::::0;-1:-1:-1;77549:3:0;;-1:-1:-1;;;;;77575:21:0::1;::::0;:31:::1;::::0;4151:18:1;;77575:45:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;77566:69;;;::::0;::::1;;77668:1;77653:6;:14;;;:16;:36;;;;77688:1;77673:6;:14;;;:16;77653:36;77649:81;;;77709:7;;;;77649:81;77757:10;77772:1;77747:21:::0;;;:9:::1;:21;::::0;;;;;;;77769:1:::1;77747:24:::0;;;;;;;;:26;77743:163:::1;;77810:19:::0;;:26:::1;::::0;77832:4:::1;77810:26;:::i;:::-;77788:48:::0;;77870:17:::1;::::0;:24:::1;::::0;77890:4:::1;77870:24;:::i;:::-;77850:17;:44:::0;77743:163:::1;77918:22;::::0;:54:::1;::::0;-1:-1:-1;;;77918:54:0;;-1:-1:-1;;;;;77918:22:0;;::::1;::::0;:27:::1;::::0;:54:::1;::::0;77946:10:::1;::::0;77957:1:::1;::::0;77959:12;;77918:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;77983:14:0::1;::::0;::::1;:17:::0;;;-1:-1:-1;77983:14:0::1;:17;::::0;::::1;:::i;:::-;;;;;;77500:511;78024:10;78038:1;78024:15;78020:520;;;78095:21;::::0;:45:::1;::::0;-1:-1:-1;;;78095:45:0;;78127:10:::1;78095:45;::::0;::::1;4178:51:1::0;78138:1:0::1;4245:18:1::0;;;4238:34;78069:3:0::1;::::0;-1:-1:-1;78069:3:0;;-1:-1:-1;;;;;78095:21:0::1;::::0;:31:::1;::::0;4151:18:1;;78095:45:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;78086:69;;;::::0;::::1;;78191:1;78173:6;:17;;;:19;:42;;;;78214:1;78196:6;:17;;;:19;78173:42;78169:87;;;78235:7;;;;78169:87;78283:10;78298:1;78273:21:::0;;;:9:::1;:21;::::0;;;;;;;78295:1:::1;78273:24:::0;;;;;;;;:26;78269:163:::1;;78336:19:::0;;:26:::1;::::0;78358:4:::1;78336:26;:::i;:::-;78314:48:::0;;78396:17:::1;::::0;:24:::1;::::0;78416:4:::1;78396:24;:::i;:::-;78376:17;:44:::0;78269:163:::1;78444:22;::::0;:54:::1;::::0;-1:-1:-1;;;78444:54:0;;-1:-1:-1;;;;;78444:22:0;;::::1;::::0;:27:::1;::::0;:54:::1;::::0;78472:10:::1;::::0;78483:1:::1;::::0;78485:12;;78444:54:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;78509:17:0::1;::::0;::::1;:20:::0;;;-1:-1:-1;78509:17:0::1;:20;::::0;::::1;:::i;:::-;;;;;;78020:520;78588:26;::::0;78568:19;;:46:::1;::::0;78588:26;78568:46:::1;:::i;:::-;78548:17;::::0;;::::1;:66:::0;-1:-1:-1;;16721:1:0;17675:22;;75681:2949::o;79696:358::-;79766:1;79749:14;;:18;79745:60;;;79696:358::o;79745:60::-;79816:18;79885:10;;79861:21;;79837;:45;;;;:::i;:::-;:58;;;;:::i;:::-;79816:79;;79977:17;;79966:10;:28;;;;:::i;:::-;79936:26;;:59;;;;:::i;:::-;79907:26;:88;80020:10;;:23;;80033:10;;80020:23;:::i;:::-;80007:10;:36;-1:-1:-1;79696:358:0:o;23557:248::-;23728:68;;;-1:-1:-1;;;;;3234:15:1;;;23728:68:0;;;3216:34:1;3286:15;;3266:18;;;3259:43;3318:18;;;;3311:34;;;23728:68:0;;;;;;;;;;3151:18:1;;;;23728:68:0;;;;;;;;-1:-1:-1;;;;;23728:68:0;-1:-1:-1;;;23728:68:0;;;23701:96;;23721:5;;23701:19;:96::i;:::-;23557:248;;;;:::o;22614:191::-;22688:16;22707:6;;-1:-1:-1;;;;;22724:17:0;;;-1:-1:-1;;;;;;22724:17:0;;;;;;22757:40;;22707:6;;;;;;;22757:40;;22688:16;22757:40;22677:128;22614:191;:::o;25911:716::-;26335:23;26361:69;26389:4;26361:69;;;;;;;;;;;;;;;;;26369:5;-1:-1:-1;;;;;26361:27:0;;;:69;;;;;:::i;:::-;26445:17;;26335:95;;-1:-1:-1;26445:21:0;26441:179;;26542:10;26531:30;;;;;;;;;;;;:::i;:::-;26523:85;;;;-1:-1:-1;;;26523:85:0;;8288:2:1;26523:85:0;;;8270:21:1;8327:2;8307:18;;;8300:30;8366:34;8346:18;;;8339:62;-1:-1:-1;;;8417:18:1;;;8410:40;8467:19;;26523:85:0;8086:406:1;4638:229:0;4775:12;4807:52;4829:6;4837:4;4843:1;4846:12;4807:21;:52::i;:::-;4800:59;4638:229;-1:-1:-1;;;;4638:229:0:o;5758:510::-;5928:12;5986:5;5961:21;:30;;5953:81;;;;-1:-1:-1;;;5953:81:0;;6803:2:1;5953:81:0;;;6785:21:1;6842:2;6822:18;;;6815:30;6881:34;6861:18;;;6854:62;-1:-1:-1;;;6932:18:1;;;6925:36;6978:19;;5953:81:0;6601:402:1;5953:81:0;-1:-1:-1;;;;;2188:19:0;;;6045:60;;;;-1:-1:-1;;;6045:60:0;;7930:2:1;6045:60:0;;;7912:21:1;7969:2;7949:18;;;7942:30;8008:31;7988:18;;;7981:59;8057:18;;6045:60:0;7728:353:1;6045:60:0;6119:12;6133:23;6160:6;-1:-1:-1;;;;;6160:11:0;6179:5;6186:4;6160:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6118:73;;;;6209:51;6226:7;6235:10;6247:12;6209:16;:51::i;:::-;6202:58;5758:510;-1:-1:-1;;;;;;;5758:510:0:o;8444:712::-;8594:12;8623:7;8619:530;;;-1:-1:-1;8654:10:0;8647:17;;8619:530;8768:17;;:21;8764:374;;8966:10;8960:17;9027:15;9014:10;9010:2;9006:19;8999:44;8764:374;9109:12;9102:20;;-1:-1:-1;;;9102:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:877::-;489:6;497;505;513;521;529;582:3;570:9;561:7;557:23;553:33;550:53;;;599:1;596;589:12;550:53;622:29;641:9;622:29;:::i;:::-;612:39;;670:38;704:2;693:9;689:18;670:38;:::i;:::-;660:48;;755:2;744:9;740:18;727:32;717:42;;806:2;795:9;791:18;778:32;768:42;;861:3;850:9;846:19;833:33;885:18;926:2;918:6;915:14;912:34;;;942:1;939;932:12;912:34;980:6;969:9;965:22;955:32;;1025:7;1018:4;1014:2;1010:13;1006:27;996:55;;1047:1;1044;1037:12;996:55;1087:2;1074:16;1113:2;1105:6;1102:14;1099:34;;;1129:1;1126;1119:12;1099:34;1174:7;1169:2;1160:6;1156:2;1152:15;1148:24;1145:37;1142:57;;;1195:1;1192;1185:12;1142:57;1226:2;1222;1218:11;1208:21;;1248:6;1238:16;;;;;383:877;;;;;;;;:::o;1265:254::-;1333:6;1341;1394:2;1382:9;1373:7;1369:23;1365:32;1362:52;;;1410:1;1407;1400:12;1362:52;1433:29;1452:9;1433:29;:::i;:::-;1423:39;1509:2;1494:18;;;;1481:32;;-1:-1:-1;;;1265:254:1:o;1524:277::-;1591:6;1644:2;1632:9;1623:7;1619:23;1615:32;1612:52;;;1660:1;1657;1650:12;1612:52;1692:9;1686:16;1745:5;1738:13;1731:21;1724:5;1721:32;1711:60;;1767:1;1764;1757:12;1806:180;1865:6;1918:2;1906:9;1897:7;1893:23;1889:32;1886:52;;;1934:1;1931;1924:12;1886:52;-1:-1:-1;1957:23:1;;1806:180;-1:-1:-1;1806:180:1:o;1991:184::-;2061:6;2114:2;2102:9;2093:7;2089:23;2085:32;2082:52;;;2130:1;2127;2120:12;2082:52;-1:-1:-1;2153:16:1;;1991:184;-1:-1:-1;1991:184:1:o;2180:274::-;2309:3;2347:6;2341:13;2363:53;2409:6;2404:3;2397:4;2389:6;2385:17;2363:53;:::i;:::-;2432:16;;;;;2180:274;-1:-1:-1;;2180:274:1:o;3356:635::-;-1:-1:-1;;;;;3715:15:1;;;3697:34;;3767:15;;;;3762:2;3747:18;;3740:43;3814:2;3799:18;;3792:34;3857:2;3842:18;;3835:34;;;;3677:3;3900;3885:19;;3878:32;;;3640:4;3926:19;;;3919:30;3981:3;3966:19;;3356:635::o;4283:353::-;-1:-1:-1;;;;;4511:32:1;;;;4493:51;;4575:2;4560:18;;4553:34;;;;4618:2;4603:18;;4596:34;4481:2;4466:18;;4283:353::o;5806:383::-;5955:2;5944:9;5937:21;5918:4;5987:6;5981:13;6030:6;6025:2;6014:9;6010:18;6003:34;6046:66;6105:6;6100:2;6089:9;6085:18;6080:2;6072:6;6068:15;6046:66;:::i;:::-;6173:2;6152:15;-1:-1:-1;;6148:29:1;6133:45;;;;6180:2;6129:54;;5806:383;-1:-1:-1;;5806:383:1:o;7367:356::-;7569:2;7551:21;;;7588:18;;;7581:30;7647:34;7642:2;7627:18;;7620:62;7714:2;7699:18;;7367:356::o;8850:355::-;9052:2;9034:21;;;9091:2;9071:18;;;9064:30;9130:33;9125:2;9110:18;;9103:61;9196:2;9181:18;;8850:355::o;10629:128::-;10669:3;10700:1;10696:6;10693:1;10690:13;10687:39;;;10706:18;;:::i;:::-;-1:-1:-1;10742:9:1;;10629:128::o;10762:217::-;10802:1;10828;10818:132;;10872:10;10867:3;10863:20;10860:1;10853:31;10907:4;10904:1;10897:15;10935:4;10932:1;10925:15;10818:132;-1:-1:-1;10964:9:1;;10762:217::o;10984:168::-;11024:7;11090:1;11086;11082:6;11078:14;11075:1;11072:21;11067:1;11060:9;11053:17;11049:45;11046:71;;;11097:18;;:::i;:::-;-1:-1:-1;11137:9:1;;10984:168::o;11157:125::-;11197:4;11225:1;11222;11219:8;11216:34;;;11230:18;;:::i;:::-;-1:-1:-1;11267:9:1;;11157:125::o;11287:258::-;11359:1;11369:113;11383:6;11380:1;11377:13;11369:113;;;11459:11;;;11453:18;11440:11;;;11433:39;11405:2;11398:10;11369:113;;;11500:6;11497:1;11494:13;11491:48;;;-1:-1:-1;;11535:1:1;11517:16;;11510:27;11287:258::o;11550:136::-;11589:3;11617:5;11607:39;;11626:18;;:::i;:::-;-1:-1:-1;;;11662:18:1;;11550:136::o;11691:135::-;11730:3;-1:-1:-1;;11751:17:1;;11748:43;;;11771:18;;:::i;:::-;-1:-1:-1;11818:1:1;11807:13;;11691:135::o;11831:127::-;11892:10;11887:3;11883:20;11880:1;11873:31;11923:4;11920:1;11913:15;11947:4;11944:1;11937:15

Swarm Source

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