ETH Price: $2,073.05 (+4.10%)

Contract

0x3c4F5BF9EC9Bdddf886bF5cE97c5e2eAE21fD511
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...235486052025-10-10 16:44:47170 days ago1760114687IN
We Are Eternal Spirits: WAES Token
0 ETH0.000200644.34084304
Set Approval For...234070852025-09-20 21:53:35190 days ago1758405215IN
We Are Eternal Spirits: WAES Token
0 ETH0.000052511.13814747
Safe Transfer Fr...223417012025-04-24 21:58:23339 days ago1745531903IN
We Are Eternal Spirits: WAES Token
0 ETH0.000025130.48253582
Set Approval For...220076212025-03-09 6:48:11386 days ago1741502891IN
We Are Eternal Spirits: WAES Token
0 ETH0.000046691.0120448
Set Approval For...219186712025-02-24 20:49:23398 days ago1740430163IN
We Are Eternal Spirits: WAES Token
0 ETH0.000022920.94635734
Set Approval For...218168232025-02-10 14:49:59413 days ago1739198999IN
We Are Eternal Spirits: WAES Token
0 ETH0.000139653.02692264
Set Approval For...214150882024-12-16 12:30:11469 days ago1734352211IN
We Are Eternal Spirits: WAES Token
0 ETH0.0005363411.62481943
Set Approval For...210979592024-11-02 5:45:59513 days ago1730526359IN
We Are Eternal Spirits: WAES Token
0 ETH0.000139853.03130033
Set Approval For...208773902024-10-02 11:02:47544 days ago1727866967IN
We Are Eternal Spirits: WAES Token
0 ETH0.000335147.26406965
Set Approval For...208517072024-09-28 21:05:47547 days ago1727557547IN
We Are Eternal Spirits: WAES Token
0 ETH0.000281946.11100609
Set Approval For...206504072024-08-31 18:41:11575 days ago1725129671IN
We Are Eternal Spirits: WAES Token
0 ETH0.000027360.59319606
Set Approval For...203883772024-07-26 4:37:23612 days ago1721968643IN
We Are Eternal Spirits: WAES Token
0 ETH0.00008191.77520213
Set Approval For...197698102024-04-30 18:07:11698 days ago1714500431IN
We Are Eternal Spirits: WAES Token
0 ETH0.0005724912.40839939
Set Approval For...196105452024-04-08 11:06:23721 days ago1712574383IN
We Are Eternal Spirits: WAES Token
0 ETH0.000850718.43822931
Set Approval For...195852262024-04-04 21:58:47724 days ago1712267927IN
We Are Eternal Spirits: WAES Token
0 ETH0.0008735118.93259967
Set Approval For...193207562024-02-27 18:44:23761 days ago1709059463IN
We Are Eternal Spirits: WAES Token
0 ETH0.0020945945.3985276
Set Approval For...193050342024-02-25 13:55:59764 days ago1708869359IN
We Are Eternal Spirits: WAES Token
0 ETH0.0015946434.56244728
Safe Transfer Fr...192935982024-02-23 23:34:59765 days ago1708731299IN
We Are Eternal Spirits: WAES Token
0 ETH0.0008975725.60913608
Set Approval For...192118452024-02-12 12:08:11777 days ago1707739691IN
We Are Eternal Spirits: WAES Token
0 ETH0.0004671719.28420487
Set Approval For...186264722023-11-22 9:45:47859 days ago1700646347IN
We Are Eternal Spirits: WAES Token
0 ETH0.0010065321.81585559
Safe Transfer Fr...185849772023-11-16 14:14:47865 days ago1700144087IN
We Are Eternal Spirits: WAES Token
0 ETH0.0019747237.86706808
Set Approval For...184895422023-11-03 5:46:11878 days ago1698990371IN
We Are Eternal Spirits: WAES Token
0 ETH0.0002590210.69200241
Set Approval For...184895372023-11-03 5:45:11878 days ago1698990311IN
We Are Eternal Spirits: WAES Token
0 ETH0.0005112211.08025313
Set Approval For...184894792023-11-03 5:33:35878 days ago1698989615IN
We Are Eternal Spirits: WAES Token
0 ETH0.00024410.07203148
Set Approval For...184894682023-11-03 5:31:23878 days ago1698989483IN
We Are Eternal Spirits: WAES Token
0 ETH0.000489710.61397821
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WASDCore

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-03-31
*/

/* SPDX-License-Identifier: MIT */

// Sources flattened with hardhat v2.12.7 https://hardhat.org

// File @openzeppelin/contracts/access/IAccessControl.sol@v4.8.0

// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

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


// File @openzeppelin/contracts/utils/Context.sol@v4.8.0

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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;
    }
}


// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v4.8.0

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/introspection/ERC165.sol@v4.8.0

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/math/Math.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/Strings.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

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

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

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

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


// File @openzeppelin/contracts/access/AccessControl.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

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

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

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

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File @openzeppelin/contracts/access/IAccessControlEnumerable.sol@v4.8.0

// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/structs/EnumerableSet.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}


// File @openzeppelin/contracts/access/AccessControlEnumerable.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

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

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

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}


// File @openzeppelin/contracts/token/ERC1155/IERC1155.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol@v4.8.0

// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/Address.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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 functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}


// File @openzeppelin/contracts/token/ERC1155/ERC1155.sol@v4.8.0

// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;






/**
 * @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 token owner or 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: caller is not token owner or 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;
    }
}


// File contracts/wasd/IWASDCore.sol

pragma solidity ^0.8.18;

interface IWASDCore {
    function totalSupply(uint256 tokenId) external view returns (uint256);

    function mint(
        address recipient,
        uint256 tokenId,
        uint256 quantity
    ) external;

    function mintBatch(
        address recipient,
        uint256[] calldata tokenIds,
        uint256[] calldata quantities
    ) external;

    function burn(
        address account,
        uint256 tokenId,
        uint256 quantity
    ) external;

    function burnBatch(
        address account,
        uint256[] calldata tokenIds,
        uint256[] calldata quantities
    ) external;
}


// File contracts/wasd/WASDCore.sol

pragma solidity ^0.8.18;

contract WASDCore is IWASDCore, AccessControlEnumerable, ERC1155 {
    using Strings for uint256;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    string public name;
    string public symbol;
    mapping(uint256 => string) private _tokenURI;
    mapping(uint256 => uint256) private _totalSupplyOf;

    constructor(
        string memory name_,
        string memory symbol_,
        string memory uri_
    ) ERC1155(uri_) {
        name = name_;
        symbol = symbol_;
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(MINTER_ROLE, _msgSender());
    }

    function uri(uint256 tokenId) public view override returns (string memory) {
        if (bytes(_tokenURI[tokenId]).length > 0) return _tokenURI[tokenId];
        return string.concat(super.uri(tokenId), tokenId.toString(), ".json");
    }

    function totalSupply(uint256 tokenId) external view returns (uint256) {
        return _totalSupplyOf[tokenId];
    }

    function setTokenURI(
        uint256[] calldata tokenIds,
        string[] calldata uris
    ) external {
        require(
            hasRole(DEFAULT_ADMIN_ROLE, _msgSender()),
            "WASDCore: only the default admin can set the token URI"
        );
        require(
            tokenIds.length == uris.length,
            "WASDCore: the number of token IDs and the number of URIs must equal"
        );
        for (uint256 i = 0; i < tokenIds.length; i++)
            _tokenURI[tokenIds[i]] = uris[i];
    }

    function setBaseTokenURI(string calldata baseTokenURI_) external {
        require(
            hasRole(DEFAULT_ADMIN_ROLE, _msgSender()),
            "WASDCore: only the default admin can set the base token URI"
        );
        _setURI(baseTokenURI_);
    }

    function mint(
        address recipient,
        uint256 tokenId,
        uint256 quantity
    ) external {
        require(
            hasRole(MINTER_ROLE, _msgSender()),
            "WASDCore: the caller does not have the minter role"
        );
        _mint(recipient, tokenId, quantity, abi.encodePacked("Mint WASDCore"));
    }

    function mintBatch(
        address recipient,
        uint256[] calldata tokenIds,
        uint256[] calldata quantities
    ) external {
        require(
            hasRole(MINTER_ROLE, _msgSender()),
            "WASDCore: the caller does not have the minter role"
        );
        _mintBatch(
            recipient,
            tokenIds,
            quantities,
            abi.encodePacked("Mint WASDCores")
        );
    }

    function mintBulk(
        address[] calldata recipients,
        uint256[][] calldata tokenIds,
        uint256[][] calldata quantities
    ) external {
        require(
            hasRole(MINTER_ROLE, _msgSender()),
            "WASDCore: the caller does not have the minter role"
        );
        require(
            recipients.length == tokenIds.length &&
                recipients.length == quantities.length,
            "WASDCore: the number of recipients, the number of token IDs and the number of quantities must equal"
        );
        for (uint256 i = 0; i < recipients.length; i++)
            _mintBatch(
                recipients[i],
                tokenIds[i],
                quantities[i],
                abi.encodePacked("Mint WASDCores")
            );
    }

    function burn(address account, uint256 tokenId, uint256 quantity) external {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "WASDCore: the caller is not the owner of the token or the token has not been approved to the caller yet"
        );
        _burn(account, tokenId, quantity);
    }

    function burnBatch(
        address account,
        uint256[] calldata tokenIds,
        uint256[] calldata quantities
    ) external {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: the caller is not the owner of the token or the token has not been approved to the caller yet"
        );
        _burnBatch(account, tokenIds, quantities);
    }

    function supportsInterface(
        bytes4 interfaceId
    )
        public
        view
        virtual
        override(AccessControlEnumerable, ERC1155)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory tokenIds,
        uint256[] memory quantities,
        bytes memory data
    ) internal override {
        require(
            tokenIds.length == quantities.length,
            "WASDCore: the number of token IDs and the number of quantities must equal"
        );
        if (from == address(0))
            for (uint256 i = 0; i < tokenIds.length; i++)
                _totalSupplyOf[tokenIds[i]] += quantities[i];
        else if (to == address(0))
            for (uint256 i = 0; i < tokenIds.length; i++)
                _totalSupplyOf[tokenIds[i]] -= quantities[i];
        super._beforeTokenTransfer(
            operator,
            from,
            to,
            tokenIds,
            quantities,
            data
        );
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"uri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[][]","name":"tokenIds","type":"uint256[][]"},{"internalType":"uint256[][]","name":"quantities","type":"uint256[][]"}],"name":"mintBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"uris","type":"string[]"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162003977380380620039778339810160408190526200003491620002d3565b806200004081620000a1565b5060056200004f8482620003f2565b5060066200005e8382620003f2565b506200006c600033620000b3565b620000987f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000b3565b505050620004be565b6004620000af8282620003f2565b5050565b620000af8282620000d08282620000fc60201b620010d41760201c565b6000828152600160209081526040909120620000f7918390620011586200019c821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000af576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001583390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620001b3836001600160a01b038416620001bc565b90505b92915050565b60008181526001830160205260408120546200020557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620001b6565b506000620001b6565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023657600080fd5b81516001600160401b03808211156200025357620002536200020e565b604051601f8301601f19908116603f011681019082821181831017156200027e576200027e6200020e565b816040528381526020925086838588010111156200029b57600080fd5b600091505b83821015620002bf5785820183015181830184015290820190620002a0565b600093810190920192909252949350505050565b600080600060608486031215620002e957600080fd5b83516001600160401b03808211156200030157600080fd5b6200030f8783880162000224565b945060208601519150808211156200032657600080fd5b620003348783880162000224565b935060408601519150808211156200034b57600080fd5b506200035a8682870162000224565b9150509250925092565b600181811c908216806200037957607f821691505b6020821081036200039a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620000f757600081815260208120601f850160051c81016020861015620003c95750805b601f850160051c820191505b81811015620003ea57828155600101620003d5565b505050505050565b81516001600160401b038111156200040e576200040e6200020e565b62000426816200041f845462000364565b84620003a0565b602080601f8311600181146200045e5760008415620004455750858301515b600019600386901b1c1916600185901b178555620003ea565b600085815260208120601f198616915b828110156200048f578886015182559484019460019091019084016200046e565b5085821015620004ae5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6134a980620004ce6000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80639010d07c116100f9578063ca15c87311610097578063d81d0a1511610071578063d81d0a15146103b7578063e985e9c5146103ca578063f242432a14610406578063f5298aca1461041957600080fd5b8063ca15c8731461037c578063d53913931461038f578063d547741f146103a457600080fd5b8063a217fddf116100d3578063a217fddf1461032e578063a22cb46514610336578063aafb2d4414610349578063bd85b0391461035c57600080fd5b80639010d07c146102e857806391d148541461031357806395d89b411461032657600080fd5b80632eb2c2d6116101665780633254bdfd116101405780633254bdfd1461028f57806336568abe146102a25780634e1273f4146102b55780636b20c454146102d557600080fd5b80632eb2c2d6146102565780632f2ff15d1461026957806330176e131461027c57600080fd5b8062fdd58e146101ad57806301ffc9a7146101d357806306fdde03146101f65780630e89341c1461020b578063156e29f61461021e578063248a9ca314610233575b600080fd5b6101c06101bb3660046124c0565b61042c565b6040519081526020015b60405180910390f35b6101e66101e1366004612500565b6104c7565b60405190151581526020016101ca565b6101fe6104d2565b6040516101ca919061256d565b6101fe610219366004612580565b610560565b61023161022c366004612599565b61065d565b005b6101c0610241366004612580565b60009081526020819052604090206001015490565b610231610264366004612715565b6106d3565b6102316102773660046127be565b61071f565b61023161028a3660046127ea565b610744565b61023161029d3660046128a6565b610804565b6102316102b03660046127be565b610a1f565b6102c86102c336600461293f565b610a99565b6040516101ca9190612a44565b6102316102e3366004612a57565b610bc2565b6102fb6102f6366004612ad7565b610cf3565b6040516001600160a01b0390911681526020016101ca565b6101e66103213660046127be565b610d12565b6101fe610d3b565b6101c0600081565b610231610344366004612af9565b610d48565b610231610357366004612b35565b610d53565b6101c061036a366004612580565b60009081526008602052604090205490565b6101c061038a366004612580565b610ec4565b6101c060008051602061345483398151915281565b6102316103b23660046127be565b610edb565b6102316103c5366004612a57565b610f00565b6101e66103d8366004612ba0565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b610231610414366004612bca565b610fc0565b610231610427366004612599565b611005565b60006001600160a01b03831661049c5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b60006104c18261116d565b600580546104df90612c2e565b80601f016020809104026020016040519081016040528092919081815260200182805461050b90612c2e565b80156105585780601f1061052d57610100808354040283529160200191610558565b820191906000526020600020905b81548152906001019060200180831161053b57829003601f168201915b505050505081565b60008181526007602052604081208054606092919061057e90612c2e565b90501115610624576000828152600760205260409020805461059f90612c2e565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90612c2e565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b50505050509050919050565b61062d826111ad565b610636836111bc565b604051602001610647929190612c68565b6040516020818303038152906040529050919050565b61067560008051602061345483398151915233610d12565b6106915760405162461bcd60e51b815260040161049390612ca7565b6106ce8383836040516020016106ba906c4d696e742057415344436f726560981b8152600d0190565b60405160208183030381529060405261124e565b505050565b6001600160a01b0385163314806106ef57506106ef85336103d8565b61070b5760405162461bcd60e51b815260040161049390612cf9565b6107188585858585611330565b5050505050565b60008281526020819052604090206001015461073a816114dd565b6106ce83836114ea565b61074f600033610d12565b6107c15760405162461bcd60e51b815260206004820152603b60248201527f57415344436f72653a206f6e6c79207468652064656661756c742061646d696e60448201527f2063616e2073657420746865206261736520746f6b656e2055524900000000006064820152608401610493565b61080082828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b5050565b61081c60008051602061345483398151915233610d12565b6108385760405162461bcd60e51b815260040161049390612ca7565b848314801561084657508481145b6108ea5760405162461bcd60e51b815260206004820152606360248201527f57415344436f72653a20746865206e756d626572206f6620726563697069656e60448201527f74732c20746865206e756d626572206f6620746f6b656e2049447320616e642060648201527f746865206e756d626572206f66207175616e746974696573206d7573742065716084820152621d585b60ea1b60a482015260c401610493565b60005b85811015610a1657610a0487878381811061090a5761090a612d47565b905060200201602081019061091f9190612d5d565b86868481811061093157610931612d47565b90506020028101906109439190612d78565b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525088925087915086905081811061098957610989612d47565b905060200281019061099b9190612d78565b80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516d4d696e742057415344436f72657360901b6020820152602e0191506109f09050565b604051602081830303815290604052611518565b80610a0e81612dd7565b9150506108ed565b50505050505050565b6001600160a01b0381163314610a8f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610493565b6108008282611673565b60608151835114610afe5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610493565b600083516001600160401b03811115610b1957610b196125cc565b604051908082528060200260200182016040528015610b42578160200160208202803683370190505b50905060005b8451811015610bba57610b8d858281518110610b6657610b66612d47565b6020026020010151858381518110610b8057610b80612d47565b602002602001015161042c565b828281518110610b9f57610b9f612d47565b6020908102919091010152610bb381612dd7565b9050610b48565b509392505050565b6001600160a01b038516331480610bde5750610bde85336103d8565b610c855760405162461bcd60e51b815260206004820152606660248201527f455243313135353a207468652063616c6c6572206973206e6f7420746865206f60448201527f776e6572206f662074686520746f6b656e206f722074686520746f6b656e206860648201527f6173206e6f74206265656e20617070726f76656420746f207468652063616c6c608482015265195c881e595d60d21b60a482015260c401610493565b610718858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051602080890282810182019093528882529093508892508791829185019084908082843760009201919091525061169592505050565b6000828152600160205260408120610d0b9083611835565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600680546104df90612c2e565b610800338383611841565b610d5e600033610d12565b610dc95760405162461bcd60e51b815260206004820152603660248201527f57415344436f72653a206f6e6c79207468652064656661756c742061646d696e6044820152752063616e207365742074686520746f6b656e2055524960501b6064820152608401610493565b828114610e4a5760405162461bcd60e51b815260206004820152604360248201527f57415344436f72653a20746865206e756d626572206f6620746f6b656e20494460448201527f7320616e6420746865206e756d626572206f662055524973206d7573742065716064820152621d585b60ea1b608482015260a401610493565b60005b8381101561071857828282818110610e6757610e67612d47565b9050602002810190610e799190612df0565b60076000888886818110610e8f57610e8f612d47565b9050602002013581526020019081526020016000209182610eb1929190612e7c565b5080610ebc81612dd7565b915050610e4d565b60008181526001602052604081206104c190611921565b600082815260208190526040902060010154610ef6816114dd565b6106ce8383611673565b610f1860008051602061345483398151915233610d12565b610f345760405162461bcd60e51b815260040161049390612ca7565b6107188585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250506040516d4d696e742057415344436f72657360901b6020820152602e0191506109f09050565b6001600160a01b038516331480610fdc5750610fdc85336103d8565b610ff85760405162461bcd60e51b815260040161049390612cf9565b610718858585858561192b565b6001600160a01b038316331480611021575061102183336103d8565b6110c95760405162461bcd60e51b815260206004820152606760248201527f57415344436f72653a207468652063616c6c6572206973206e6f74207468652060448201527f6f776e6572206f662074686520746f6b656e206f722074686520746f6b656e2060648201527f686173206e6f74206265656e20617070726f76656420746f207468652063616c6084820152661b195c881e595d60ca1b60a482015260c401610493565b6106ce838383611a67565b6110de8282610d12565b610800576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111143390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610d0b836001600160a01b038416611b83565b60006001600160e01b03198216636cdb3d1360e11b148061119e57506001600160e01b031982166303a24d0760e21b145b806104c157506104c182611bd2565b60606004805461059f90612c2e565b606060006111c983611bf7565b60010190506000816001600160401b038111156111e8576111e86125cc565b6040519080825280601f01601f191660200182016040528015611212576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461121c57509392505050565b6001600160a01b0384166112745760405162461bcd60e51b815260040161049390612f3b565b33600061128085611ccf565b9050600061128d85611ccf565b905061129e83600089858589611d1a565b60008681526002602090815260408083206001600160a01b038b168452909152812080548792906112d0908490612f7c565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610a1683600089898989611ebc565b81518351146113515760405162461bcd60e51b815260040161049390612f8f565b6001600160a01b0384166113775760405162461bcd60e51b815260040161049390612fd7565b33611386818787878787611d1a565b60005b845181101561146f5760008582815181106113a6576113a6612d47565b6020026020010151905060008583815181106113c4576113c4612d47565b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156114155760405162461bcd60e51b81526004016104939061301c565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611454908490612f7c565b925050819055505050508061146890612dd7565b9050611389565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516114bf929190613066565b60405180910390a46114d5818787878787612017565b505050505050565b6114e781336120d2565b50565b6114f482826110d4565b60008281526001602052604090206106ce9082611158565b60046108008282613094565b6001600160a01b03841661153e5760405162461bcd60e51b815260040161049390612f3b565b815183511461155f5760405162461bcd60e51b815260040161049390612f8f565b3361156f81600087878787611d1a565b60005b845181101561160b5783818151811061158d5761158d612d47565b6020026020010151600260008784815181106115ab576115ab612d47565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546115f39190612f7c565b9091555081905061160381612dd7565b915050611572565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161165c929190613066565b60405180910390a461071881600087878787612017565b61167d828261212b565b60008281526001602052604090206106ce9082612190565b6001600160a01b0383166116bb5760405162461bcd60e51b815260040161049390613153565b80518251146116dc5760405162461bcd60e51b815260040161049390612f8f565b60003390506116ff81856000868660405180602001604052806000815250611d1a565b60005b83518110156117c757600084828151811061171f5761171f612d47565b60200260200101519050600084838151811061173d5761173d612d47565b60209081029190910181015160008481526002835260408082206001600160a01b038c16835290935291909120549091508181101561178e5760405162461bcd60e51b815260040161049390613196565b60009283526002602090815260408085206001600160a01b038b16865290915290922091039055806117bf81612dd7565b915050611702565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611818929190613066565b60405180910390a460408051602081019091526000905250505050565b6000610d0b83836121a5565b816001600160a01b0316836001600160a01b0316036118b45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610493565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006104c1825490565b6001600160a01b0384166119515760405162461bcd60e51b815260040161049390612fd7565b33600061195d85611ccf565b9050600061196a85611ccf565b905061197a838989858589611d1a565b60008681526002602090815260408083206001600160a01b038c168452909152902054858110156119bd5760405162461bcd60e51b81526004016104939061301c565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906119fc908490612f7c565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611a5c848a8a8a8a8a611ebc565b505050505050505050565b6001600160a01b038316611a8d5760405162461bcd60e51b815260040161049390613153565b336000611a9984611ccf565b90506000611aa684611ccf565b9050611ac683876000858560405180602001604052806000815250611d1a565b60008581526002602090815260408083206001600160a01b038a16845290915290205484811015611b095760405162461bcd60e51b815260040161049390613196565b60008681526002602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610a16565b6000818152600183016020526040812054611bca575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104c1565b5060006104c1565b60006001600160e01b03198216635a05180f60e01b14806104c157506104c1826121cf565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611c365772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611c62576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611c8057662386f26fc10000830492506010015b6305f5e1008310611c98576305f5e100830492506008015b6127108310611cac57612710830492506004015b60648310611cbe576064830492506002015b600a83106104c15760010192915050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611d0957611d09612d47565b602090810291909101015292915050565b8151835114611da35760405162461bcd60e51b815260206004820152604960248201527f57415344436f72653a20746865206e756d626572206f6620746f6b656e20494460448201527f7320616e6420746865206e756d626572206f66207175616e746974696573206d6064820152681d5cdd08195c5d585b60ba1b608482015260a401610493565b6001600160a01b038516611e305760005b8351811015611e2a57828181518110611dcf57611dcf612d47565b602002602001015160086000868481518110611ded57611ded612d47565b602002602001015181526020019081526020016000206000828254611e129190612f7c565b90915550819050611e2281612dd7565b915050611db4565b506114d5565b6001600160a01b038416611eb75760005b8351811015611e2a57828181518110611e5c57611e5c612d47565b602002602001015160086000868481518110611e7a57611e7a612d47565b602002602001015181526020019081526020016000206000828254611e9f91906131da565b90915550819050611eaf81612dd7565b915050611e41565b6114d5565b6001600160a01b0384163b156114d55760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f0090899089908890889088906004016131ed565b6020604051808303816000875af1925050508015611f3b575060408051601f3d908101601f19168201909252611f3891810190613232565b60015b611fe757611f4761324f565b806308c379a003611f805750611f5b61326b565b80611f665750611f82565b8060405162461bcd60e51b8152600401610493919061256d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610493565b6001600160e01b0319811663f23a6e6160e01b14610a165760405162461bcd60e51b8152600401610493906132f4565b6001600160a01b0384163b156114d55760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061205b908990899088908890889060040161333c565b6020604051808303816000875af1925050508015612096575060408051601f3d908101601f1916820190925261209391810190613232565b60015b6120a257611f4761324f565b6001600160e01b0319811663bc197c8160e01b14610a165760405162461bcd60e51b8152600401610493906132f4565b6120dc8282610d12565b610800576120e981612204565b6120f4836020612216565b60405160200161210592919061339a565b60408051601f198184030181529082905262461bcd60e51b82526104939160040161256d565b6121358282610d12565b15610800576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610d0b836001600160a01b0384166123b1565b60008260000182815481106121bc576121bc612d47565b9060005260206000200154905092915050565b60006001600160e01b03198216637965db0b60e01b14806104c157506301ffc9a760e01b6001600160e01b03198316146104c1565b60606104c16001600160a01b03831660145b6060600061222583600261340f565b612230906002612f7c565b6001600160401b03811115612247576122476125cc565b6040519080825280601f01601f191660200182016040528015612271576020820181803683370190505b509050600360fc1b8160008151811061228c5761228c612d47565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106122bb576122bb612d47565b60200101906001600160f81b031916908160001a90535060006122df84600261340f565b6122ea906001612f7c565b90505b6001811115612362576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061231e5761231e612d47565b1a60f81b82828151811061233457612334612d47565b60200101906001600160f81b031916908160001a90535060049490941c9361235b81613426565b90506122ed565b508315610d0b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610493565b6000818152600183016020526040812054801561249a5760006123d56001836131da565b85549091506000906123e9906001906131da565b905081811461244e57600086600001828154811061240957612409612d47565b906000526020600020015490508087600001848154811061242c5761242c612d47565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061245f5761245f61343d565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104c1565b60009150506104c1565b80356001600160a01b03811681146124bb57600080fd5b919050565b600080604083850312156124d357600080fd5b6124dc836124a4565b946020939093013593505050565b6001600160e01b0319811681146114e757600080fd5b60006020828403121561251257600080fd5b8135610d0b816124ea565b60005b83811015612538578181015183820152602001612520565b50506000910152565b6000815180845261255981602086016020860161251d565b601f01601f19169290920160200192915050565b602081526000610d0b6020830184612541565b60006020828403121561259257600080fd5b5035919050565b6000806000606084860312156125ae57600080fd5b6125b7846124a4565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612607576126076125cc565b6040525050565b60006001600160401b03821115612627576126276125cc565b5060051b60200190565b600082601f83011261264257600080fd5b8135602061264f8261260e565b60405161265c82826125e2565b83815260059390931b850182019282810191508684111561267c57600080fd5b8286015b848110156126975780358352918301918301612680565b509695505050505050565b600082601f8301126126b357600080fd5b81356001600160401b038111156126cc576126cc6125cc565b6040516126e3601f8301601f1916602001826125e2565b8181528460208386010111156126f857600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561272d57600080fd5b612736866124a4565b9450612744602087016124a4565b935060408601356001600160401b038082111561276057600080fd5b61276c89838a01612631565b9450606088013591508082111561278257600080fd5b61278e89838a01612631565b935060808801359150808211156127a457600080fd5b506127b1888289016126a2565b9150509295509295909350565b600080604083850312156127d157600080fd5b823591506127e1602084016124a4565b90509250929050565b600080602083850312156127fd57600080fd5b82356001600160401b038082111561281457600080fd5b818501915085601f83011261282857600080fd5b81358181111561283757600080fd5b86602082850101111561284957600080fd5b60209290920196919550909350505050565b60008083601f84011261286d57600080fd5b5081356001600160401b0381111561288457600080fd5b6020830191508360208260051b850101111561289f57600080fd5b9250929050565b600080600080600080606087890312156128bf57600080fd5b86356001600160401b03808211156128d657600080fd5b6128e28a838b0161285b565b909850965060208901359150808211156128fb57600080fd5b6129078a838b0161285b565b9096509450604089013591508082111561292057600080fd5b5061292d89828a0161285b565b979a9699509497509295939492505050565b6000806040838503121561295257600080fd5b82356001600160401b038082111561296957600080fd5b818501915085601f83011261297d57600080fd5b8135602061298a8261260e565b60405161299782826125e2565b83815260059390931b85018201928281019150898411156129b757600080fd5b948201945b838610156129dc576129cd866124a4565b825294820194908201906129bc565b965050860135925050808211156129f257600080fd5b506129ff85828601612631565b9150509250929050565b600081518084526020808501945080840160005b83811015612a3957815187529582019590820190600101612a1d565b509495945050505050565b602081526000610d0b6020830184612a09565b600080600080600060608688031215612a6f57600080fd5b612a78866124a4565b945060208601356001600160401b0380821115612a9457600080fd5b612aa089838a0161285b565b90965094506040880135915080821115612ab957600080fd5b50612ac68882890161285b565b969995985093965092949392505050565b60008060408385031215612aea57600080fd5b50508035926020909101359150565b60008060408385031215612b0c57600080fd5b612b15836124a4565b915060208301358015158114612b2a57600080fd5b809150509250929050565b60008060008060408587031215612b4b57600080fd5b84356001600160401b0380821115612b6257600080fd5b612b6e8883890161285b565b90965094506020870135915080821115612b8757600080fd5b50612b948782880161285b565b95989497509550505050565b60008060408385031215612bb357600080fd5b612bbc836124a4565b91506127e1602084016124a4565b600080600080600060a08688031215612be257600080fd5b612beb866124a4565b9450612bf9602087016124a4565b9350604086013592506060860135915060808601356001600160401b03811115612c2257600080fd5b6127b1888289016126a2565b600181811c90821680612c4257607f821691505b602082108103612c6257634e487b7160e01b600052602260045260246000fd5b50919050565b60008351612c7a81846020880161251d565b835190830190612c8e81836020880161251d565b64173539b7b760d91b9101908152600501949350505050565b60208082526032908201527f57415344436f72653a207468652063616c6c657220646f6573206e6f74206861604082015271766520746865206d696e74657220726f6c6560701b606082015260800190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612d6f57600080fd5b610d0b826124a4565b6000808335601e19843603018112612d8f57600080fd5b8301803591506001600160401b03821115612da957600080fd5b6020019150600581901b360382131561289f57600080fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612de957612de9612dc1565b5060010190565b6000808335601e19843603018112612e0757600080fd5b8301803591506001600160401b03821115612e2157600080fd5b60200191503681900382131561289f57600080fd5b601f8211156106ce57600081815260208120601f850160051c81016020861015612e5d5750805b601f850160051c820191505b818110156114d557828155600101612e69565b6001600160401b03831115612e9357612e936125cc565b612ea783612ea18354612c2e565b83612e36565b6000601f841160018114612edb5760008515612ec35750838201355b600019600387901b1c1916600186901b178355610718565b600083815260209020601f19861690835b82811015612f0c5786850135825560209485019460019092019101612eec565b5086821015612f295760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b808201808211156104c1576104c1612dc1565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006130796040830185612a09565b828103602084015261308b8185612a09565b95945050505050565b81516001600160401b038111156130ad576130ad6125cc565b6130c1816130bb8454612c2e565b84612e36565b602080601f8311600181146130f657600084156130de5750858301515b600019600386901b1c1916600185901b1785556114d5565b600085815260208120601f198616915b8281101561312557888601518255948401946001909101908401613106565b50858210156131435787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b818103818111156104c1576104c1612dc1565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061322790830184612541565b979650505050505050565b60006020828403121561324457600080fd5b8151610d0b816124ea565b600060033d11156132685760046000803e5060005160e01c5b90565b600060443d10156132795790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156132a857505050505090565b82850191508151818111156132c05750505050505090565b843d87010160208285010111156132da5750505050505090565b6132e9602082860101876125e2565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061336890830186612a09565b828103606084015261337a8186612a09565b9050828103608084015261338e8185612541565b98975050505050505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516133d281601785016020880161251d565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161340381602884016020880161251d565b01602801949350505050565b80820281158282048414176104c1576104c1612dc1565b60008161343557613435612dc1565b506000190190565b634e487b7160e01b600052603160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220d73b03915ad7cceab1c7100e56d4cb3228c96560e49f5a1ed51b72efe5fac3d664736f6c63430008120033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001657652041726520457465726e616c20537069726974730000000000000000000000000000000000000000000000000000000000000000000000000000000000045741455300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f776173646e66742e636f6d2f636f72652f6d657461646174612f000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80639010d07c116100f9578063ca15c87311610097578063d81d0a1511610071578063d81d0a15146103b7578063e985e9c5146103ca578063f242432a14610406578063f5298aca1461041957600080fd5b8063ca15c8731461037c578063d53913931461038f578063d547741f146103a457600080fd5b8063a217fddf116100d3578063a217fddf1461032e578063a22cb46514610336578063aafb2d4414610349578063bd85b0391461035c57600080fd5b80639010d07c146102e857806391d148541461031357806395d89b411461032657600080fd5b80632eb2c2d6116101665780633254bdfd116101405780633254bdfd1461028f57806336568abe146102a25780634e1273f4146102b55780636b20c454146102d557600080fd5b80632eb2c2d6146102565780632f2ff15d1461026957806330176e131461027c57600080fd5b8062fdd58e146101ad57806301ffc9a7146101d357806306fdde03146101f65780630e89341c1461020b578063156e29f61461021e578063248a9ca314610233575b600080fd5b6101c06101bb3660046124c0565b61042c565b6040519081526020015b60405180910390f35b6101e66101e1366004612500565b6104c7565b60405190151581526020016101ca565b6101fe6104d2565b6040516101ca919061256d565b6101fe610219366004612580565b610560565b61023161022c366004612599565b61065d565b005b6101c0610241366004612580565b60009081526020819052604090206001015490565b610231610264366004612715565b6106d3565b6102316102773660046127be565b61071f565b61023161028a3660046127ea565b610744565b61023161029d3660046128a6565b610804565b6102316102b03660046127be565b610a1f565b6102c86102c336600461293f565b610a99565b6040516101ca9190612a44565b6102316102e3366004612a57565b610bc2565b6102fb6102f6366004612ad7565b610cf3565b6040516001600160a01b0390911681526020016101ca565b6101e66103213660046127be565b610d12565b6101fe610d3b565b6101c0600081565b610231610344366004612af9565b610d48565b610231610357366004612b35565b610d53565b6101c061036a366004612580565b60009081526008602052604090205490565b6101c061038a366004612580565b610ec4565b6101c060008051602061345483398151915281565b6102316103b23660046127be565b610edb565b6102316103c5366004612a57565b610f00565b6101e66103d8366004612ba0565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b610231610414366004612bca565b610fc0565b610231610427366004612599565b611005565b60006001600160a01b03831661049c5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b60006104c18261116d565b600580546104df90612c2e565b80601f016020809104026020016040519081016040528092919081815260200182805461050b90612c2e565b80156105585780601f1061052d57610100808354040283529160200191610558565b820191906000526020600020905b81548152906001019060200180831161053b57829003601f168201915b505050505081565b60008181526007602052604081208054606092919061057e90612c2e565b90501115610624576000828152600760205260409020805461059f90612c2e565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90612c2e565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b50505050509050919050565b61062d826111ad565b610636836111bc565b604051602001610647929190612c68565b6040516020818303038152906040529050919050565b61067560008051602061345483398151915233610d12565b6106915760405162461bcd60e51b815260040161049390612ca7565b6106ce8383836040516020016106ba906c4d696e742057415344436f726560981b8152600d0190565b60405160208183030381529060405261124e565b505050565b6001600160a01b0385163314806106ef57506106ef85336103d8565b61070b5760405162461bcd60e51b815260040161049390612cf9565b6107188585858585611330565b5050505050565b60008281526020819052604090206001015461073a816114dd565b6106ce83836114ea565b61074f600033610d12565b6107c15760405162461bcd60e51b815260206004820152603b60248201527f57415344436f72653a206f6e6c79207468652064656661756c742061646d696e60448201527f2063616e2073657420746865206261736520746f6b656e2055524900000000006064820152608401610493565b61080082828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061150c92505050565b5050565b61081c60008051602061345483398151915233610d12565b6108385760405162461bcd60e51b815260040161049390612ca7565b848314801561084657508481145b6108ea5760405162461bcd60e51b815260206004820152606360248201527f57415344436f72653a20746865206e756d626572206f6620726563697069656e60448201527f74732c20746865206e756d626572206f6620746f6b656e2049447320616e642060648201527f746865206e756d626572206f66207175616e746974696573206d7573742065716084820152621d585b60ea1b60a482015260c401610493565b60005b85811015610a1657610a0487878381811061090a5761090a612d47565b905060200201602081019061091f9190612d5d565b86868481811061093157610931612d47565b90506020028101906109439190612d78565b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525088925087915086905081811061098957610989612d47565b905060200281019061099b9190612d78565b80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516d4d696e742057415344436f72657360901b6020820152602e0191506109f09050565b604051602081830303815290604052611518565b80610a0e81612dd7565b9150506108ed565b50505050505050565b6001600160a01b0381163314610a8f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610493565b6108008282611673565b60608151835114610afe5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610493565b600083516001600160401b03811115610b1957610b196125cc565b604051908082528060200260200182016040528015610b42578160200160208202803683370190505b50905060005b8451811015610bba57610b8d858281518110610b6657610b66612d47565b6020026020010151858381518110610b8057610b80612d47565b602002602001015161042c565b828281518110610b9f57610b9f612d47565b6020908102919091010152610bb381612dd7565b9050610b48565b509392505050565b6001600160a01b038516331480610bde5750610bde85336103d8565b610c855760405162461bcd60e51b815260206004820152606660248201527f455243313135353a207468652063616c6c6572206973206e6f7420746865206f60448201527f776e6572206f662074686520746f6b656e206f722074686520746f6b656e206860648201527f6173206e6f74206265656e20617070726f76656420746f207468652063616c6c608482015265195c881e595d60d21b60a482015260c401610493565b610718858585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051602080890282810182019093528882529093508892508791829185019084908082843760009201919091525061169592505050565b6000828152600160205260408120610d0b9083611835565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600680546104df90612c2e565b610800338383611841565b610d5e600033610d12565b610dc95760405162461bcd60e51b815260206004820152603660248201527f57415344436f72653a206f6e6c79207468652064656661756c742061646d696e6044820152752063616e207365742074686520746f6b656e2055524960501b6064820152608401610493565b828114610e4a5760405162461bcd60e51b815260206004820152604360248201527f57415344436f72653a20746865206e756d626572206f6620746f6b656e20494460448201527f7320616e6420746865206e756d626572206f662055524973206d7573742065716064820152621d585b60ea1b608482015260a401610493565b60005b8381101561071857828282818110610e6757610e67612d47565b9050602002810190610e799190612df0565b60076000888886818110610e8f57610e8f612d47565b9050602002013581526020019081526020016000209182610eb1929190612e7c565b5080610ebc81612dd7565b915050610e4d565b60008181526001602052604081206104c190611921565b600082815260208190526040902060010154610ef6816114dd565b6106ce8383611673565b610f1860008051602061345483398151915233610d12565b610f345760405162461bcd60e51b815260040161049390612ca7565b6107188585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250506040516d4d696e742057415344436f72657360901b6020820152602e0191506109f09050565b6001600160a01b038516331480610fdc5750610fdc85336103d8565b610ff85760405162461bcd60e51b815260040161049390612cf9565b610718858585858561192b565b6001600160a01b038316331480611021575061102183336103d8565b6110c95760405162461bcd60e51b815260206004820152606760248201527f57415344436f72653a207468652063616c6c6572206973206e6f74207468652060448201527f6f776e6572206f662074686520746f6b656e206f722074686520746f6b656e2060648201527f686173206e6f74206265656e20617070726f76656420746f207468652063616c6084820152661b195c881e595d60ca1b60a482015260c401610493565b6106ce838383611a67565b6110de8282610d12565b610800576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111143390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610d0b836001600160a01b038416611b83565b60006001600160e01b03198216636cdb3d1360e11b148061119e57506001600160e01b031982166303a24d0760e21b145b806104c157506104c182611bd2565b60606004805461059f90612c2e565b606060006111c983611bf7565b60010190506000816001600160401b038111156111e8576111e86125cc565b6040519080825280601f01601f191660200182016040528015611212576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461121c57509392505050565b6001600160a01b0384166112745760405162461bcd60e51b815260040161049390612f3b565b33600061128085611ccf565b9050600061128d85611ccf565b905061129e83600089858589611d1a565b60008681526002602090815260408083206001600160a01b038b168452909152812080548792906112d0908490612f7c565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610a1683600089898989611ebc565b81518351146113515760405162461bcd60e51b815260040161049390612f8f565b6001600160a01b0384166113775760405162461bcd60e51b815260040161049390612fd7565b33611386818787878787611d1a565b60005b845181101561146f5760008582815181106113a6576113a6612d47565b6020026020010151905060008583815181106113c4576113c4612d47565b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156114155760405162461bcd60e51b81526004016104939061301c565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611454908490612f7c565b925050819055505050508061146890612dd7565b9050611389565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516114bf929190613066565b60405180910390a46114d5818787878787612017565b505050505050565b6114e781336120d2565b50565b6114f482826110d4565b60008281526001602052604090206106ce9082611158565b60046108008282613094565b6001600160a01b03841661153e5760405162461bcd60e51b815260040161049390612f3b565b815183511461155f5760405162461bcd60e51b815260040161049390612f8f565b3361156f81600087878787611d1a565b60005b845181101561160b5783818151811061158d5761158d612d47565b6020026020010151600260008784815181106115ab576115ab612d47565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546115f39190612f7c565b9091555081905061160381612dd7565b915050611572565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161165c929190613066565b60405180910390a461071881600087878787612017565b61167d828261212b565b60008281526001602052604090206106ce9082612190565b6001600160a01b0383166116bb5760405162461bcd60e51b815260040161049390613153565b80518251146116dc5760405162461bcd60e51b815260040161049390612f8f565b60003390506116ff81856000868660405180602001604052806000815250611d1a565b60005b83518110156117c757600084828151811061171f5761171f612d47565b60200260200101519050600084838151811061173d5761173d612d47565b60209081029190910181015160008481526002835260408082206001600160a01b038c16835290935291909120549091508181101561178e5760405162461bcd60e51b815260040161049390613196565b60009283526002602090815260408085206001600160a01b038b16865290915290922091039055806117bf81612dd7565b915050611702565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611818929190613066565b60405180910390a460408051602081019091526000905250505050565b6000610d0b83836121a5565b816001600160a01b0316836001600160a01b0316036118b45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610493565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006104c1825490565b6001600160a01b0384166119515760405162461bcd60e51b815260040161049390612fd7565b33600061195d85611ccf565b9050600061196a85611ccf565b905061197a838989858589611d1a565b60008681526002602090815260408083206001600160a01b038c168452909152902054858110156119bd5760405162461bcd60e51b81526004016104939061301c565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a168252812080548892906119fc908490612f7c565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611a5c848a8a8a8a8a611ebc565b505050505050505050565b6001600160a01b038316611a8d5760405162461bcd60e51b815260040161049390613153565b336000611a9984611ccf565b90506000611aa684611ccf565b9050611ac683876000858560405180602001604052806000815250611d1a565b60008581526002602090815260408083206001600160a01b038a16845290915290205484811015611b095760405162461bcd60e51b815260040161049390613196565b60008681526002602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4604080516020810190915260009052610a16565b6000818152600183016020526040812054611bca575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104c1565b5060006104c1565b60006001600160e01b03198216635a05180f60e01b14806104c157506104c1826121cf565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611c365772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611c62576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611c8057662386f26fc10000830492506010015b6305f5e1008310611c98576305f5e100830492506008015b6127108310611cac57612710830492506004015b60648310611cbe576064830492506002015b600a83106104c15760010192915050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611d0957611d09612d47565b602090810291909101015292915050565b8151835114611da35760405162461bcd60e51b815260206004820152604960248201527f57415344436f72653a20746865206e756d626572206f6620746f6b656e20494460448201527f7320616e6420746865206e756d626572206f66207175616e746974696573206d6064820152681d5cdd08195c5d585b60ba1b608482015260a401610493565b6001600160a01b038516611e305760005b8351811015611e2a57828181518110611dcf57611dcf612d47565b602002602001015160086000868481518110611ded57611ded612d47565b602002602001015181526020019081526020016000206000828254611e129190612f7c565b90915550819050611e2281612dd7565b915050611db4565b506114d5565b6001600160a01b038416611eb75760005b8351811015611e2a57828181518110611e5c57611e5c612d47565b602002602001015160086000868481518110611e7a57611e7a612d47565b602002602001015181526020019081526020016000206000828254611e9f91906131da565b90915550819050611eaf81612dd7565b915050611e41565b6114d5565b6001600160a01b0384163b156114d55760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611f0090899089908890889088906004016131ed565b6020604051808303816000875af1925050508015611f3b575060408051601f3d908101601f19168201909252611f3891810190613232565b60015b611fe757611f4761324f565b806308c379a003611f805750611f5b61326b565b80611f665750611f82565b8060405162461bcd60e51b8152600401610493919061256d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610493565b6001600160e01b0319811663f23a6e6160e01b14610a165760405162461bcd60e51b8152600401610493906132f4565b6001600160a01b0384163b156114d55760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061205b908990899088908890889060040161333c565b6020604051808303816000875af1925050508015612096575060408051601f3d908101601f1916820190925261209391810190613232565b60015b6120a257611f4761324f565b6001600160e01b0319811663bc197c8160e01b14610a165760405162461bcd60e51b8152600401610493906132f4565b6120dc8282610d12565b610800576120e981612204565b6120f4836020612216565b60405160200161210592919061339a565b60408051601f198184030181529082905262461bcd60e51b82526104939160040161256d565b6121358282610d12565b15610800576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610d0b836001600160a01b0384166123b1565b60008260000182815481106121bc576121bc612d47565b9060005260206000200154905092915050565b60006001600160e01b03198216637965db0b60e01b14806104c157506301ffc9a760e01b6001600160e01b03198316146104c1565b60606104c16001600160a01b03831660145b6060600061222583600261340f565b612230906002612f7c565b6001600160401b03811115612247576122476125cc565b6040519080825280601f01601f191660200182016040528015612271576020820181803683370190505b509050600360fc1b8160008151811061228c5761228c612d47565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106122bb576122bb612d47565b60200101906001600160f81b031916908160001a90535060006122df84600261340f565b6122ea906001612f7c565b90505b6001811115612362576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061231e5761231e612d47565b1a60f81b82828151811061233457612334612d47565b60200101906001600160f81b031916908160001a90535060049490941c9361235b81613426565b90506122ed565b508315610d0b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610493565b6000818152600183016020526040812054801561249a5760006123d56001836131da565b85549091506000906123e9906001906131da565b905081811461244e57600086600001828154811061240957612409612d47565b906000526020600020015490508087600001848154811061242c5761242c612d47565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061245f5761245f61343d565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104c1565b60009150506104c1565b80356001600160a01b03811681146124bb57600080fd5b919050565b600080604083850312156124d357600080fd5b6124dc836124a4565b946020939093013593505050565b6001600160e01b0319811681146114e757600080fd5b60006020828403121561251257600080fd5b8135610d0b816124ea565b60005b83811015612538578181015183820152602001612520565b50506000910152565b6000815180845261255981602086016020860161251d565b601f01601f19169290920160200192915050565b602081526000610d0b6020830184612541565b60006020828403121561259257600080fd5b5035919050565b6000806000606084860312156125ae57600080fd5b6125b7846124a4565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715612607576126076125cc565b6040525050565b60006001600160401b03821115612627576126276125cc565b5060051b60200190565b600082601f83011261264257600080fd5b8135602061264f8261260e565b60405161265c82826125e2565b83815260059390931b850182019282810191508684111561267c57600080fd5b8286015b848110156126975780358352918301918301612680565b509695505050505050565b600082601f8301126126b357600080fd5b81356001600160401b038111156126cc576126cc6125cc565b6040516126e3601f8301601f1916602001826125e2565b8181528460208386010111156126f857600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561272d57600080fd5b612736866124a4565b9450612744602087016124a4565b935060408601356001600160401b038082111561276057600080fd5b61276c89838a01612631565b9450606088013591508082111561278257600080fd5b61278e89838a01612631565b935060808801359150808211156127a457600080fd5b506127b1888289016126a2565b9150509295509295909350565b600080604083850312156127d157600080fd5b823591506127e1602084016124a4565b90509250929050565b600080602083850312156127fd57600080fd5b82356001600160401b038082111561281457600080fd5b818501915085601f83011261282857600080fd5b81358181111561283757600080fd5b86602082850101111561284957600080fd5b60209290920196919550909350505050565b60008083601f84011261286d57600080fd5b5081356001600160401b0381111561288457600080fd5b6020830191508360208260051b850101111561289f57600080fd5b9250929050565b600080600080600080606087890312156128bf57600080fd5b86356001600160401b03808211156128d657600080fd5b6128e28a838b0161285b565b909850965060208901359150808211156128fb57600080fd5b6129078a838b0161285b565b9096509450604089013591508082111561292057600080fd5b5061292d89828a0161285b565b979a9699509497509295939492505050565b6000806040838503121561295257600080fd5b82356001600160401b038082111561296957600080fd5b818501915085601f83011261297d57600080fd5b8135602061298a8261260e565b60405161299782826125e2565b83815260059390931b85018201928281019150898411156129b757600080fd5b948201945b838610156129dc576129cd866124a4565b825294820194908201906129bc565b965050860135925050808211156129f257600080fd5b506129ff85828601612631565b9150509250929050565b600081518084526020808501945080840160005b83811015612a3957815187529582019590820190600101612a1d565b509495945050505050565b602081526000610d0b6020830184612a09565b600080600080600060608688031215612a6f57600080fd5b612a78866124a4565b945060208601356001600160401b0380821115612a9457600080fd5b612aa089838a0161285b565b90965094506040880135915080821115612ab957600080fd5b50612ac68882890161285b565b969995985093965092949392505050565b60008060408385031215612aea57600080fd5b50508035926020909101359150565b60008060408385031215612b0c57600080fd5b612b15836124a4565b915060208301358015158114612b2a57600080fd5b809150509250929050565b60008060008060408587031215612b4b57600080fd5b84356001600160401b0380821115612b6257600080fd5b612b6e8883890161285b565b90965094506020870135915080821115612b8757600080fd5b50612b948782880161285b565b95989497509550505050565b60008060408385031215612bb357600080fd5b612bbc836124a4565b91506127e1602084016124a4565b600080600080600060a08688031215612be257600080fd5b612beb866124a4565b9450612bf9602087016124a4565b9350604086013592506060860135915060808601356001600160401b03811115612c2257600080fd5b6127b1888289016126a2565b600181811c90821680612c4257607f821691505b602082108103612c6257634e487b7160e01b600052602260045260246000fd5b50919050565b60008351612c7a81846020880161251d565b835190830190612c8e81836020880161251d565b64173539b7b760d91b9101908152600501949350505050565b60208082526032908201527f57415344436f72653a207468652063616c6c657220646f6573206e6f74206861604082015271766520746865206d696e74657220726f6c6560701b606082015260800190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612d6f57600080fd5b610d0b826124a4565b6000808335601e19843603018112612d8f57600080fd5b8301803591506001600160401b03821115612da957600080fd5b6020019150600581901b360382131561289f57600080fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612de957612de9612dc1565b5060010190565b6000808335601e19843603018112612e0757600080fd5b8301803591506001600160401b03821115612e2157600080fd5b60200191503681900382131561289f57600080fd5b601f8211156106ce57600081815260208120601f850160051c81016020861015612e5d5750805b601f850160051c820191505b818110156114d557828155600101612e69565b6001600160401b03831115612e9357612e936125cc565b612ea783612ea18354612c2e565b83612e36565b6000601f841160018114612edb5760008515612ec35750838201355b600019600387901b1c1916600186901b178355610718565b600083815260209020601f19861690835b82811015612f0c5786850135825560209485019460019092019101612eec565b5086821015612f295760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b808201808211156104c1576104c1612dc1565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006130796040830185612a09565b828103602084015261308b8185612a09565b95945050505050565b81516001600160401b038111156130ad576130ad6125cc565b6130c1816130bb8454612c2e565b84612e36565b602080601f8311600181146130f657600084156130de5750858301515b600019600386901b1c1916600185901b1785556114d5565b600085815260208120601f198616915b8281101561312557888601518255948401946001909101908401613106565b50858210156131435787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b818103818111156104c1576104c1612dc1565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061322790830184612541565b979650505050505050565b60006020828403121561324457600080fd5b8151610d0b816124ea565b600060033d11156132685760046000803e5060005160e01c5b90565b600060443d10156132795790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156132a857505050505090565b82850191508151818111156132c05750505050505090565b843d87010160208285010111156132da5750505050505090565b6132e9602082860101876125e2565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061336890830186612a09565b828103606084015261337a8186612a09565b9050828103608084015261338e8185612541565b98975050505050505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516133d281601785016020880161251d565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161340381602884016020880161251d565b01602801949350505050565b80820281158282048414176104c1576104c1612dc1565b60008161343557613435612dc1565b506000190190565b634e487b7160e01b600052603160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220d73b03915ad7cceab1c7100e56d4cb3228c96560e49f5a1ed51b72efe5fac3d664736f6c63430008120033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001657652041726520457465726e616c20537069726974730000000000000000000000000000000000000000000000000000000000000000000000000000000000045741455300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f776173646e66742e636f6d2f636f72652f6d657461646174612f000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): We Are Eternal Spirits
Arg [1] : symbol_ (string): WAES
Arg [2] : uri_ (string): https://wasdnft.com/core/metadata/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [4] : 57652041726520457465726e616c205370697269747300000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 5741455300000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [8] : 68747470733a2f2f776173646e66742e636f6d2f636f72652f6d657461646174
Arg [9] : 612f000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

81795:5403:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65495:230;;;;;;:::i;:::-;;:::i;:::-;;;597:25:1;;;585:2;570:18;65495:230:0;;;;;;;;86041:253;;;;;;:::i;:::-;;:::i;:::-;;;1184:14:1;;1177:22;1159:41;;1147:2;1132:18;86041:253:0;1019:187:1;81970:18:0;;;:::i;:::-;;;;;;;:::i;82425:241::-;;;;;;:::i;:::-;;:::i;83616:345::-;;;;;;:::i;:::-;;:::i;:::-;;25616:131;;;;;;:::i;:::-;25690:7;25717:12;;;;;;;;;;:22;;;;25616:131;67438:438;;;;;;:::i;:::-;;:::i;26057:147::-;;;;;;:::i;:::-;;:::i;83341:267::-;;;;;;:::i;:::-;;:::i;84424:808::-;;;;;;:::i;:::-;;:::i;27201:218::-;;;;;;:::i;:::-;;:::i;65891:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;85605:428::-;;;;;;:::i;:::-;;:::i;45507:153::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;11220:32:1;;;11202:51;;11190:2;11175:18;45507:153:0;11056:203:1;24089:147:0;;;;;;:::i;:::-;;:::i;81995:20::-;;;:::i;23194:49::-;;23239:4;23194:49;;66488:155;;;;;;:::i;:::-;;:::i;82801:532::-;;;;;;:::i;:::-;;:::i;82674:119::-;;;;;;:::i;:::-;82735:7;82762:23;;;:14;:23;;;;;;;82674:119;45834:142;;;;;;:::i;:::-;;:::i;81901:62::-;;-1:-1:-1;;;;;;;;;;;81901:62:0;;26497:149;;;;;;:::i;:::-;;:::i;83969:447::-;;;;;;:::i;:::-;;:::i;66715:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;66838:27:0;;;66814:4;66838:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;66715:168;66955:406;;;;;;:::i;:::-;;:::i;85240:357::-;;;;;;:::i;:::-;;:::i;65495:230::-;65581:7;-1:-1:-1;;;;;65609:21:0;;65601:76;;;;-1:-1:-1;;;65601:76:0;;13484:2:1;65601:76:0;;;13466:21:1;13523:2;13503:18;;;13496:30;13562:34;13542:18;;;13535:62;-1:-1:-1;;;13613:18:1;;;13606:40;13663:19;;65601:76:0;;;;;;;;;-1:-1:-1;65695:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;65695:22:0;;;;;;;;;;65495:230;;;;;:::o;86041:253::-;86221:4;86250:36;86274:11;86250:23;:36::i;81970:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;82425:241::-;82550:1;82521:18;;;:9;:18;;;;;82515:32;;82485:13;;82550:1;82521:18;82515:32;;;:::i;:::-;;;:36;82511:67;;;82560:18;;;;:9;:18;;;;;82553:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82425:241;;;:::o;82511:67::-;82610:18;82620:7;82610:9;:18::i;:::-;82630;:7;:16;:18::i;:::-;82596:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;82589:69;;82425:241;;;:::o;83616:345::-;83760:34;-1:-1:-1;;;;;;;;;;;3913:10:0;24089:147;:::i;83760:34::-;83738:134;;;;-1:-1:-1;;;83738:134:0;;;;;;;:::i;:::-;83883:70;83889:9;83900:7;83909:8;83919:33;;;;;;-1:-1:-1;;;15356:28:1;;15409:2;15400:12;;15154:264;83919:33:0;;;;;;;;;;;;;83883:5;:70::i;:::-;83616:345;;;:::o;67438:438::-;-1:-1:-1;;;;;67671:20:0;;3913:10;67671:20;;:60;;-1:-1:-1;67695:36:0;67712:4;3913:10;66715:168;:::i;67695:36::-;67649:156;;;;-1:-1:-1;;;67649:156:0;;;;;;;:::i;:::-;67816:52;67839:4;67845:2;67849:3;67854:7;67863:4;67816:22;:52::i;:::-;67438:438;;;;;:::o;26057:147::-;25690:7;25717:12;;;;;;;;;;:22;;;23685:16;23696:4;23685:10;:16::i;:::-;26171:25:::1;26182:4;26188:7;26171:10;:25::i;83341:267::-:0;83439:41;23239:4;3913:10;24089:147;:::i;83439:41::-;83417:150;;;;-1:-1:-1;;;83417:150:0;;16040:2:1;83417:150:0;;;16022:21:1;16079:2;16059:18;;;16052:30;16118:34;16098:18;;;16091:62;16189:29;16169:18;;;16162:57;16236:19;;83417:150:0;15838:423:1;83417:150:0;83578:22;83586:13;;83578:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83578:7:0;;-1:-1:-1;;;83578:22:0:i;:::-;83341:267;;:::o;84424:808::-;84613:34;-1:-1:-1;;;;;;;;;;;3913:10:0;24089:147;:::i;84613:34::-;84591:134;;;;-1:-1:-1;;;84591:134:0;;;;;;;:::i;:::-;84758:36;;;:95;;;;-1:-1:-1;84815:38:0;;;84758:95;84736:244;;;;-1:-1:-1;;;84736:244:0;;16468:2:1;84736:244:0;;;16450:21:1;16507:2;16487:18;;;16480:30;16546:34;16526:18;;;16519:62;16617:34;16597:18;;;16590:62;16689:34;16668:19;;;16661:63;-1:-1:-1;;;16740:19:1;;;16733:34;16784:19;;84736:244:0;16266:543:1;84736:244:0;84996:9;84991:233;85011:21;;;84991:233;;;85052:172;85081:10;;85092:1;85081:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;85113:8;;85122:1;85113:11;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;85052:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85143:10:0;;-1:-1:-1;85143:10:0;;-1:-1:-1;85154:1:0;;-1:-1:-1;85143:13:0;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;85052:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;85175:34:0;;-1:-1:-1;;;85175:34:0;;;17889:29:1;17934:12;;;-1:-1:-1;85175:34:0;;-1:-1:-1;17687:265:1;85175:34:0;;;;;;;;;;;;;85052:10;:172::i;:::-;85034:3;;;;:::i;:::-;;;;84991:233;;;;84424:808;;;;;;:::o;27201:218::-;-1:-1:-1;;;;;27297:23:0;;3913:10;27297:23;27289:83;;;;-1:-1:-1;;;27289:83:0;;18431:2:1;27289:83:0;;;18413:21:1;18470:2;18450:18;;;18443:30;18509:34;18489:18;;;18482:62;-1:-1:-1;;;18560:18:1;;;18553:45;18615:19;;27289:83:0;18229:411:1;27289:83:0;27385:26;27397:4;27403:7;27385:11;:26::i;65891:524::-;66047:16;66108:3;:10;66089:8;:15;:29;66081:83;;;;-1:-1:-1;;;66081:83:0;;18847:2:1;66081:83:0;;;18829:21:1;18886:2;18866:18;;;18859:30;18925:34;18905:18;;;18898:62;-1:-1:-1;;;18976:18:1;;;18969:39;19025:19;;66081:83:0;18645:405:1;66081:83:0;66177:30;66224:8;:15;-1:-1:-1;;;;;66210:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66210:30:0;;66177:63;;66258:9;66253:122;66277:8;:15;66273:1;:19;66253:122;;;66333:30;66343:8;66352:1;66343:11;;;;;;;;:::i;:::-;;;;;;;66356:3;66360:1;66356:6;;;;;;;;:::i;:::-;;;;;;;66333:9;:30::i;:::-;66314:13;66328:1;66314:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;66294:3;;;:::i;:::-;;;66253:122;;;-1:-1:-1;66394:13:0;65891:524;-1:-1:-1;;;65891:524:0:o;85605:428::-;-1:-1:-1;;;;;85777:23:0;;3913:10;85777:23;;:66;;-1:-1:-1;85804:39:0;85821:7;3913:10;66715:168;:::i;85804:39::-;85755:218;;;;-1:-1:-1;;;85755:218:0;;19257:2:1;85755:218:0;;;19239:21:1;19296:3;19276:18;;;19269:31;19336:34;19316:18;;;19309:62;19407:34;19387:18;;;19380:62;19479:34;19458:19;;;19451:63;-1:-1:-1;;;19530:19:1;;;19523:37;19577:19;;85755:218:0;19055:547:1;85755:218:0;85984:41;85995:7;86004:8;;85984:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;85984:41:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86014:10:0;;-1:-1:-1;86014:10:0;;;;85984:41;;;86014:10;;85984:41;86014:10;85984:41;;;;;;;;;-1:-1:-1;85984:10:0;;-1:-1:-1;;;85984:41:0:i;45507:153::-;45597:7;45624:18;;;:12;:18;;;;;:28;;45646:5;45624:21;:28::i;:::-;45617:35;45507:153;-1:-1:-1;;;45507:153:0:o;24089:147::-;24175:4;24199:12;;;;;;;;;;;-1:-1:-1;;;;;24199:29:0;;;;;;;;;;;;;;;24089:147::o;81995:20::-;;;;;;;:::i;66488:155::-;66583:52;3913:10;66616:8;66626;66583:18;:52::i;82801:532::-;82942:41;23239:4;3913:10;24089:147;:::i;82942:41::-;82920:145;;;;-1:-1:-1;;;82920:145:0;;19809:2:1;82920:145:0;;;19791:21:1;19848:2;19828:18;;;19821:30;19887:34;19867:18;;;19860:62;-1:-1:-1;;;19938:18:1;;;19931:52;20000:19;;82920:145:0;19607:418:1;82920:145:0;83098:30;;;83076:147;;;;-1:-1:-1;;;83076:147:0;;20232:2:1;83076:147:0;;;20214:21:1;20271:2;20251:18;;;20244:30;20310:34;20290:18;;;20283:62;20381:34;20361:18;;;20354:62;-1:-1:-1;;;20432:19:1;;;20425:34;20476:19;;83076:147:0;20030:471:1;83076:147:0;83239:9;83234:91;83254:19;;;83234:91;;;83318:4;;83323:1;83318:7;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;83293:9;:22;83303:8;;83312:1;83303:11;;;;;;;:::i;:::-;;;;;;;83293:22;;;;;;;;;;;:32;;;;;;;:::i;:::-;-1:-1:-1;83275:3:0;;;;:::i;:::-;;;;83234:91;;45834:142;45914:7;45941:18;;;:12;:18;;;;;:27;;:25;:27::i;26497:149::-;25690:7;25717:12;;;;;;;;;;:22;;;23685:16;23696:4;23685:10;:16::i;:::-;26612:26:::1;26624:4;26630:7;26612:11;:26::i;83969:447::-:0;84143:34;-1:-1:-1;;;;;;;;;;;3913:10:0;24089:147;:::i;84143:34::-;84121:134;;;;-1:-1:-1;;;84121:134:0;;;;;;;:::i;:::-;84266:142;84291:9;84315:8;;84266:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84266:142:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84338:10:0;;-1:-1:-1;84338:10:0;;;;84266:142;;;84338:10;;84266:142;84338:10;84266:142;;;;;;;;;-1:-1:-1;;84363:34:0;;-1:-1:-1;;;84363:34:0;;;17889:29:1;17934:12;;;-1:-1:-1;84363:34:0;;-1:-1:-1;17687:265:1;66955:406:0;-1:-1:-1;;;;;67163:20:0;;3913:10;67163:20;;:60;;-1:-1:-1;67187:36:0;67204:4;3913:10;66715:168;:::i;67187:36::-;67141:156;;;;-1:-1:-1;;;67141:156:0;;;;;;;:::i;:::-;67308:45;67326:4;67332:2;67336;67340:6;67348:4;67308:17;:45::i;85240:357::-;-1:-1:-1;;;;;85348:23:0;;3913:10;85348:23;;:66;;-1:-1:-1;85375:39:0;85392:7;3913:10;66715:168;:::i;85375:39::-;85326:219;;;;-1:-1:-1;;;85326:219:0;;23293:2:1;85326:219:0;;;23275:21:1;23332:3;23312:18;;;23305:31;23372:34;23352:18;;;23345:62;23443:34;23423:18;;;23416:62;23515:34;23494:19;;;23487:63;-1:-1:-1;;;23566:19:1;;;23559:38;23614:19;;85326:219:0;23091:548:1;85326:219:0;85556:33;85562:7;85571;85580:8;85556:5;:33::i;28798:238::-;28882:22;28890:4;28896:7;28882;:22::i;:::-;28877:152;;28921:6;:12;;;;;;;;;;;-1:-1:-1;;;;;28921:29:0;;;;;;;;;:36;;-1:-1:-1;;28921:36:0;28953:4;28921:36;;;29004:12;3913:10;;3833:98;29004:12;-1:-1:-1;;;;;28977:40:0;28995:7;-1:-1:-1;;;;;28977:40:0;28989:4;28977:40;;;;;;;;;;28798:238;;:::o;39318:152::-;39388:4;39412:50;39417:3;-1:-1:-1;;;;;39437:23:0;;39412:4;:50::i;64518:310::-;64620:4;-1:-1:-1;;;;;;64657:41:0;;-1:-1:-1;;;64657:41:0;;:110;;-1:-1:-1;;;;;;;64715:52:0;;-1:-1:-1;;;64715:52:0;64657:110;:163;;;;64784:36;64808:11;64784:23;:36::i;65239:105::-;65299:13;65332:4;65325:11;;;;;:::i;19318:716::-;19374:13;19425:14;19442:17;19453:5;19442:10;:17::i;:::-;19462:1;19442:21;19425:38;;19478:20;19512:6;-1:-1:-1;;;;;19501:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19501:18:0;-1:-1:-1;19478:41:0;-1:-1:-1;19643:28:0;;;19659:2;19643:28;19700:288;-1:-1:-1;;19732:5:0;-1:-1:-1;;;19869:2:0;19858:14;;19853:30;19732:5;19840:44;19930:2;19921:11;;;-1:-1:-1;19951:21:0;19700:288;19951:21;-1:-1:-1;20009:6:0;19318:716;-1:-1:-1;;;19318:716:0:o;72136:729::-;-1:-1:-1;;;;;72289:16:0;;72281:62;;;;-1:-1:-1;;;72281:62:0;;;;;;;:::i;:::-;3913:10;72356:16;72421:21;72439:2;72421:17;:21::i;:::-;72398:44;;72453:24;72480:25;72498:6;72480:17;:25::i;:::-;72453:52;;72518:66;72539:8;72557:1;72561:2;72565:3;72570:7;72579:4;72518:20;:66::i;:::-;72597:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;72597:17:0;;;;;;;;;:27;;72618:6;;72597:13;:27;;72618:6;;72597:27;:::i;:::-;;;;-1:-1:-1;;72640:52:0;;;24482:25:1;;;24538:2;24523:18;;24516:34;;;-1:-1:-1;;;;;72640:52:0;;;;72673:1;;72640:52;;;;;;24455:18:1;72640:52:0;;;;;;;72783:74;72814:8;72832:1;72836:2;72840;72844:6;72852:4;72783:30;:74::i;69672:1146::-;69899:7;:14;69885:3;:10;:28;69877:81;;;;-1:-1:-1;;;69877:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;69977:16:0;;69969:66;;;;-1:-1:-1;;;69969:66:0;;;;;;;:::i;:::-;3913:10;70092:60;3913:10;70123:4;70129:2;70133:3;70138:7;70147:4;70092:20;:60::i;:::-;70170:9;70165:421;70189:3;:10;70185:1;:14;70165:421;;;70221:10;70234:3;70238:1;70234:6;;;;;;;;:::i;:::-;;;;;;;70221:19;;70255:14;70272:7;70280:1;70272:10;;;;;;;;:::i;:::-;;;;;;;;;;;;70299:19;70321:13;;;:9;:13;;;;;;-1:-1:-1;;;;;70321:19:0;;;;;;;;;;;;70272:10;;-1:-1:-1;70363:21:0;;;;70355:76;;;;-1:-1:-1;;;70355:76:0;;;;;;;:::i;:::-;70475:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;70475:19:0;;;;;;;;;;70497:20;;;70475:42;;70547:17;;;;;;;:27;;70497:20;;70475:13;70547:27;;70497:20;;70547:27;:::i;:::-;;;;;;;;70206:380;;;70201:3;;;;:::i;:::-;;;70165:421;;;;70633:2;-1:-1:-1;;;;;70603:47:0;70627:4;-1:-1:-1;;;;;70603:47:0;70617:8;-1:-1:-1;;;;;70603:47:0;;70637:3;70642:7;70603:47;;;;;;;:::i;:::-;;;;;;;;70735:75;70771:8;70781:4;70787:2;70791:3;70796:7;70805:4;70735:35;:75::i;:::-;69866:952;69672:1146;;;;;:::o;24540:105::-;24607:30;24618:4;3913:10;24607;:30::i;:::-;24540:105;:::o;46069:169::-;46157:31;46174:4;46180:7;46157:16;:31::i;:::-;46199:18;;;;:12;:18;;;;;:31;;46222:7;46199:22;:31::i;71662:88::-;71729:4;:13;71736:6;71729:4;:13;:::i;73268:813::-;-1:-1:-1;;;;;73446:16:0;;73438:62;;;;-1:-1:-1;;;73438:62:0;;;;;;;:::i;:::-;73533:7;:14;73519:3;:10;:28;73511:81;;;;-1:-1:-1;;;73511:81:0;;;;;;;:::i;:::-;3913:10;73649:66;3913:10;73605:16;73692:2;73696:3;73701:7;73710:4;73649:20;:66::i;:::-;73733:9;73728:103;73752:3;:10;73748:1;:14;73728:103;;;73809:7;73817:1;73809:10;;;;;;;;:::i;:::-;;;;;;;73784:9;:17;73794:3;73798:1;73794:6;;;;;;;;:::i;:::-;;;;;;;73784:17;;;;;;;;;;;:21;73802:2;-1:-1:-1;;;;;73784:21:0;-1:-1:-1;;;;;73784:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;73764:3:0;;-1:-1:-1;73764:3:0;;;:::i;:::-;;;;73728:103;;;;73884:2;-1:-1:-1;;;;;73848:53:0;73880:1;-1:-1:-1;;;;;73848:53:0;73862:8;-1:-1:-1;;;;;73848:53:0;;73888:3;73893:7;73848:53;;;;;;;:::i;:::-;;;;;;;;73992:81;74028:8;74046:1;74050:2;74054:3;74059:7;74068:4;73992:35;:81::i;46332:174::-;46421:32;46439:4;46445:7;46421:17;:32::i;:::-;46464:18;;;;:12;:18;;;;;:34;;46490:7;46464:25;:34::i;75437:969::-;-1:-1:-1;;;;;75589:18:0;;75581:66;;;;-1:-1:-1;;;75581:66:0;;;;;;;:::i;:::-;75680:7;:14;75666:3;:10;:28;75658:81;;;;-1:-1:-1;;;75658:81:0;;;;;;;:::i;:::-;75752:16;3913:10;75752:31;;75796:66;75817:8;75827:4;75841:1;75845:3;75850:7;75796:66;;;;;;;;;;;;:20;:66::i;:::-;75880:9;75875:373;75899:3;:10;75895:1;:14;75875:373;;;75931:10;75944:3;75948:1;75944:6;;;;;;;;:::i;:::-;;;;;;;75931:19;;75965:14;75982:7;75990:1;75982:10;;;;;;;;:::i;:::-;;;;;;;;;;;;76009:19;76031:13;;;:9;:13;;;;;;-1:-1:-1;;;;;76031:19:0;;;;;;;;;;;;75982:10;;-1:-1:-1;76073:21:0;;;;76065:70;;;;-1:-1:-1;;;76065:70:0;;;;;;;:::i;:::-;76179:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;76179:19:0;;;;;;;;;;76201:20;;76179:42;;75911:3;;;;:::i;:::-;;;;75875:373;;;;76303:1;-1:-1:-1;;;;;76265:55:0;76289:4;-1:-1:-1;;;;;76265:55:0;76279:8;-1:-1:-1;;;;;76265:55:0;;76307:3;76312:7;76265:55;;;;;;;:::i;:::-;;;;;;;;76333:65;;;;;;;;;76377:1;76333:65;;75570:836;75437:969;;;:::o;40614:158::-;40688:7;40739:22;40743:3;40755:5;40739:3;:22::i;76549:331::-;76704:8;-1:-1:-1;;;;;76695:17:0;:5;-1:-1:-1;;;;;76695:17:0;;76687:71;;;;-1:-1:-1;;;76687:71:0;;28625:2:1;76687:71:0;;;28607:21:1;28664:2;28644:18;;;28637:30;28703:34;28683:18;;;28676:62;-1:-1:-1;;;28754:18:1;;;28747:39;28803:19;;76687:71:0;28423:405:1;76687:71:0;-1:-1:-1;;;;;76769:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;76769:46:0;;;;;;;;;;76831:41;;1159::1;;;76831::0;;1132:18:1;76831:41:0;;;;;;;76549:331;;;:::o;40143:117::-;40206:7;40233:19;40241:3;35443:18;;35360:109;68340:974;-1:-1:-1;;;;;68528:16:0;;68520:66;;;;-1:-1:-1;;;68520:66:0;;;;;;;:::i;:::-;3913:10;68599:16;68664:21;68682:2;68664:17;:21::i;:::-;68641:44;;68696:24;68723:25;68741:6;68723:17;:25::i;:::-;68696:52;;68761:60;68782:8;68792:4;68798:2;68802:3;68807:7;68816:4;68761:20;:60::i;:::-;68834:19;68856:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;68856:19:0;;;;;;;;;;68894:21;;;;68886:76;;;;-1:-1:-1;;;68886:76:0;;;;;;;:::i;:::-;68998:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;68998:19:0;;;;;;;;;;69020:20;;;68998:42;;69062:17;;;;;;;:27;;69020:20;;68998:13;69062:27;;69020:20;;69062:27;:::i;:::-;;;;-1:-1:-1;;69107:46:0;;;24482:25:1;;;24538:2;24523:18;;24516:34;;;-1:-1:-1;;;;;69107:46:0;;;;;;;;;;;;;;24455:18:1;69107:46:0;;;;;;;69238:68;69269:8;69279:4;69285:2;69289;69293:6;69301:4;69238:30;:68::i;:::-;68509:805;;;;68340:974;;;;;:::o;74379:808::-;-1:-1:-1;;;;;74506:18:0;;74498:66;;;;-1:-1:-1;;;74498:66:0;;;;;;;:::i;:::-;3913:10;74577:16;74642:21;74660:2;74642:17;:21::i;:::-;74619:44;;74674:24;74701:25;74719:6;74701:17;:25::i;:::-;74674:52;;74739:66;74760:8;74770:4;74784:1;74788:3;74793:7;74739:66;;;;;;;;;;;;:20;:66::i;:::-;74818:19;74840:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;74840:19:0;;;;;;;;;;74878:21;;;;74870:70;;;;-1:-1:-1;;;74870:70:0;;;;;;;:::i;:::-;74976:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;74976:19:0;;;;;;;;;;;;74998:20;;;74976:42;;75047:54;;24482:25:1;;;24523:18;;;24516:34;;;74976:19:0;;75047:54;;;;;;24455:18:1;75047:54:0;;;;;;;75114:65;;;;;;;;;75158:1;75114:65;;;69672:1146;33049:414;33112:4;35242:19;;;:12;;;:19;;;;;;33129:327;;-1:-1:-1;33172:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;33355:18;;33333:19;;;:12;;;:19;;;;;;:40;;;;33388:11;;33129:327;-1:-1:-1;33439:5:0;33432:12;;44694:214;44779:4;-1:-1:-1;;;;;;44803:57:0;;-1:-1:-1;;;44803:57:0;;:97;;;44864:36;44888:11;44864:23;:36::i;16180:922::-;16233:7;;-1:-1:-1;;;16311:15:0;;16307:102;;-1:-1:-1;;;16347:15:0;;;-1:-1:-1;16391:2:0;16381:12;16307:102;16436:6;16427:5;:15;16423:102;;16472:6;16463:15;;;-1:-1:-1;16507:2:0;16497:12;16423:102;16552:6;16543:5;:15;16539:102;;16588:6;16579:15;;;-1:-1:-1;16623:2:0;16613:12;16539:102;16668:5;16659;:14;16655:99;;16703:5;16694:14;;;-1:-1:-1;16737:1:0;16727:11;16655:99;16781:5;16772;:14;16768:99;;16816:5;16807:14;;;-1:-1:-1;16850:1:0;16840:11;16768:99;16894:5;16885;:14;16881:99;;16929:5;16920:14;;;-1:-1:-1;16963:1:0;16953:11;16881:99;17007:5;16998;:14;16994:66;;17043:1;17033:11;17088:6;16180:922;-1:-1:-1;;16180:922:0:o;80815:198::-;80935:16;;;80949:1;80935:16;;;;;;;;;80881;;80910:22;;80935:16;;;;;;;;;;;;-1:-1:-1;80935:16:0;80910:41;;80973:7;80962:5;80968:1;80962:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;81000:5;80815:198;-1:-1:-1;;80815:198:0:o;86302:893::-;86582:10;:17;86563:8;:15;:36;86541:159;;;;-1:-1:-1;;;86541:159:0;;29035:2:1;86541:159:0;;;29017:21:1;29074:2;29054:18;;;29047:30;29113:34;29093:18;;;29086:62;29184:34;29164:18;;;29157:62;-1:-1:-1;;;29235:19:1;;;29228:40;29285:19;;86541:159:0;28833:477:1;86541:159:0;-1:-1:-1;;;;;86715:18:0;;86711:302;;86753:9;86748:107;86772:8;:15;86768:1;:19;86748:107;;;86842:10;86853:1;86842:13;;;;;;;;:::i;:::-;;;;;;;86811:14;:27;86826:8;86835:1;86826:11;;;;;;;;:::i;:::-;;;;;;;86811:27;;;;;;;;;;;;:44;;;;;;;:::i;:::-;;;;-1:-1:-1;86789:3:0;;-1:-1:-1;86789:3:0;;;:::i;:::-;;;;86748:107;;;;87024:163;69672:1146;86711:302;-1:-1:-1;;;;;86875:16:0;;86871:142;;86911:9;86906:107;86930:8;:15;86926:1;:19;86906:107;;;87000:10;87011:1;87000:13;;;;;;;;:::i;:::-;;;;;;;86969:14;:27;86984:8;86993:1;86984:11;;;;;;;;:::i;:::-;;;;;;;86969:27;;;;;;;;;;;;:44;;;;;;;:::i;:::-;;;;-1:-1:-1;86947:3:0;;-1:-1:-1;86947:3:0;;;:::i;:::-;;;;86906:107;;86871:142;87024:163;69672:1146;79242:744;-1:-1:-1;;;;;79457:13:0;;55522:19;:23;79453:526;;79493:72;;-1:-1:-1;;;79493:72:0;;-1:-1:-1;;;;;79493:38:0;;;;;:72;;79532:8;;79542:4;;79548:2;;79552:6;;79560:4;;79493:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79493:72:0;;;;;;;;-1:-1:-1;;79493:72:0;;;;;;;;;;;;:::i;:::-;;;79489:479;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;79841:6;79834:14;;-1:-1:-1;;;79834:14:0;;;;;;;;:::i;79489:479::-;;;79890:62;;-1:-1:-1;;;79890:62:0;;31330:2:1;79890:62:0;;;31312:21:1;31369:2;31349:18;;;31342:30;31408:34;31388:18;;;31381:62;-1:-1:-1;;;31459:18:1;;;31452:50;31519:19;;79890:62:0;31128:416:1;79489:479:0;-1:-1:-1;;;;;;79615:55:0;;-1:-1:-1;;;79615:55:0;79611:154;;79695:50;;-1:-1:-1;;;79695:50:0;;;;;;;:::i;79994:813::-;-1:-1:-1;;;;;80234:13:0;;55522:19;:23;80230:570;;80270:79;;-1:-1:-1;;;80270:79:0;;-1:-1:-1;;;;;80270:43:0;;;;;:79;;80314:8;;80324:4;;80330:3;;80335:7;;80344:4;;80270:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80270:79:0;;;;;;;;-1:-1:-1;;80270:79:0;;;;;;;;;;;;:::i;:::-;;;80266:523;;;;:::i;:::-;-1:-1:-1;;;;;;80431:60:0;;-1:-1:-1;;;80431:60:0;80427:159;;80516:50;;-1:-1:-1;;;80516:50:0;;;;;;;:::i;24935:492::-;25024:22;25032:4;25038:7;25024;:22::i;:::-;25019:401;;25212:28;25232:7;25212:19;:28::i;:::-;25313:38;25341:4;25348:2;25313:19;:38::i;:::-;25117:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25117:257:0;;;;;;;;;;-1:-1:-1;;;25063:345:0;;;;;;;:::i;29216:239::-;29300:22;29308:4;29314:7;29300;:22::i;:::-;29296:152;;;29371:5;29339:12;;;;;;;;;;;-1:-1:-1;;;;;29339:29:0;;;;;;;;;;:37;;-1:-1:-1;;29339:37:0;;;29396:40;3913:10;;29339:12;;29396:40;;29371:5;29396:40;29216:239;;:::o;39646:158::-;39719:4;39743:53;39751:3;-1:-1:-1;;;;;39771:23:0;;39743:7;:53::i;35823:120::-;35890:7;35917:3;:11;;35929:5;35917:18;;;;;;;;:::i;:::-;;;;;;;;;35910:25;;35823:120;;;;:::o;23793:204::-;23878:4;-1:-1:-1;;;;;;23902:47:0;;-1:-1:-1;;;23902:47:0;;:87;;-1:-1:-1;;;;;;;;;;5948:40:0;;;23953:36;5839:157;21054:151;21112:13;21145:52;-1:-1:-1;;;;;21157:22:0;;19209:2;20450:447;20525:13;20551:19;20583:10;20587:6;20583:1;:10;:::i;:::-;:14;;20596:1;20583:14;:::i;:::-;-1:-1:-1;;;;;20573:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20573:25:0;;20551:47;;-1:-1:-1;;;20609:6:0;20616:1;20609:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20609:15:0;;;;;;;;;-1:-1:-1;;;20635:6:0;20642:1;20635:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20635:15:0;;;;;;;;-1:-1:-1;20666:9:0;20678:10;20682:6;20678:1;:10;:::i;:::-;:14;;20691:1;20678:14;:::i;:::-;20666:26;;20661:131;20698:1;20694;:5;20661:131;;;-1:-1:-1;;;20742:5:0;20750:3;20742:11;20733:21;;;;;;;:::i;:::-;;;;20721:6;20728:1;20721:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;20721:33:0;;;;;;;;-1:-1:-1;20779:1:0;20769:11;;;;;20701:3;;;:::i;:::-;;;20661:131;;;-1:-1:-1;20810:10:0;;20802:55;;;;-1:-1:-1;;;20802:55:0;;34123:2:1;20802:55:0;;;34105:21:1;;;34142:18;;;34135:30;34201:34;34181:18;;;34174:62;34253:18;;20802:55:0;33921:356:1;33639:1420:0;33705:4;33844:19;;;:12;;;:19;;;;;;33880:15;;33876:1176;;34255:21;34279:14;34292:1;34279:10;:14;:::i;:::-;34328:18;;34255:38;;-1:-1:-1;34308:17:0;;34328:22;;34349:1;;34328:22;:::i;:::-;34308:42;;34384:13;34371:9;:26;34367:405;;34418:17;34438:3;:11;;34450:9;34438:22;;;;;;;;:::i;:::-;;;;;;;;;34418:42;;34592:9;34563:3;:11;;34575:13;34563:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;34677:23;;;:12;;;:23;;;;;:36;;;34367:405;34853:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;34948:3;:12;;:19;34961:5;34948:19;;;;;;;;;;;34941:26;;;34991:4;34984:11;;;;;;;33876:1176;35035:5;35028:12;;;;;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:254::-;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;436:2;421:18;;;;408:32;;-1:-1:-1;;;192:254:1:o;633:131::-;-1:-1:-1;;;;;;707:32:1;;697:43;;687:71;;754:1;751;744:12;769:245;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;935:9;922:23;954:30;978:5;954:30;:::i;1211:250::-;1296:1;1306:113;1320:6;1317:1;1314:13;1306:113;;;1396:11;;;1390:18;1377:11;;;1370:39;1342:2;1335:10;1306:113;;;-1:-1:-1;;1453:1:1;1435:16;;1428:27;1211:250::o;1466:271::-;1508:3;1546:5;1540:12;1573:6;1568:3;1561:19;1589:76;1658:6;1651:4;1646:3;1642:14;1635:4;1628:5;1624:16;1589:76;:::i;:::-;1719:2;1698:15;-1:-1:-1;;1694:29:1;1685:39;;;;1726:4;1681:50;;1466:271;-1:-1:-1;;1466:271:1:o;1742:220::-;1891:2;1880:9;1873:21;1854:4;1911:45;1952:2;1941:9;1937:18;1929:6;1911:45;:::i;1967:180::-;2026:6;2079:2;2067:9;2058:7;2054:23;2050:32;2047:52;;;2095:1;2092;2085:12;2047:52;-1:-1:-1;2118:23:1;;1967:180;-1:-1:-1;1967:180:1:o;2152:322::-;2229:6;2237;2245;2298:2;2286:9;2277:7;2273:23;2269:32;2266:52;;;2314:1;2311;2304:12;2266:52;2337:29;2356:9;2337:29;:::i;:::-;2327:39;2413:2;2398:18;;2385:32;;-1:-1:-1;2464:2:1;2449:18;;;2436:32;;2152:322;-1:-1:-1;;;2152:322:1:o;2846:127::-;2907:10;2902:3;2898:20;2895:1;2888:31;2938:4;2935:1;2928:15;2962:4;2959:1;2952:15;2978:249;3088:2;3069:13;;-1:-1:-1;;3065:27:1;3053:40;;-1:-1:-1;;;;;3108:34:1;;3144:22;;;3105:62;3102:88;;;3170:18;;:::i;:::-;3206:2;3199:22;-1:-1:-1;;2978:249:1:o;3232:183::-;3292:4;-1:-1:-1;;;;;3317:6:1;3314:30;3311:56;;;3347:18;;:::i;:::-;-1:-1:-1;3392:1:1;3388:14;3404:4;3384:25;;3232:183::o;3420:724::-;3474:5;3527:3;3520:4;3512:6;3508:17;3504:27;3494:55;;3545:1;3542;3535:12;3494:55;3581:6;3568:20;3607:4;3630:43;3670:2;3630:43;:::i;:::-;3702:2;3696:9;3714:31;3742:2;3734:6;3714:31;:::i;:::-;3780:18;;;3872:1;3868:10;;;;3856:23;;3852:32;;;3814:15;;;;-1:-1:-1;3896:15:1;;;3893:35;;;3924:1;3921;3914:12;3893:35;3960:2;3952:6;3948:15;3972:142;3988:6;3983:3;3980:15;3972:142;;;4054:17;;4042:30;;4092:12;;;;4005;;3972:142;;;-1:-1:-1;4132:6:1;3420:724;-1:-1:-1;;;;;;3420:724:1:o;4149:555::-;4191:5;4244:3;4237:4;4229:6;4225:17;4221:27;4211:55;;4262:1;4259;4252:12;4211:55;4298:6;4285:20;-1:-1:-1;;;;;4320:2:1;4317:26;4314:52;;;4346:18;;:::i;:::-;4395:2;4389:9;4407:67;4462:2;4443:13;;-1:-1:-1;;4439:27:1;4468:4;4435:38;4389:9;4407:67;:::i;:::-;4498:2;4490:6;4483:18;4544:3;4537:4;4532:2;4524:6;4520:15;4516:26;4513:35;4510:55;;;4561:1;4558;4551:12;4510:55;4625:2;4618:4;4610:6;4606:17;4599:4;4591:6;4587:17;4574:54;4672:1;4648:15;;;4665:4;4644:26;4637:37;;;;4652:6;4149:555;-1:-1:-1;;;4149:555:1:o;4709:943::-;4863:6;4871;4879;4887;4895;4948:3;4936:9;4927:7;4923:23;4919:33;4916:53;;;4965:1;4962;4955:12;4916:53;4988:29;5007:9;4988:29;:::i;:::-;4978:39;;5036:38;5070:2;5059:9;5055:18;5036:38;:::i;:::-;5026:48;;5125:2;5114:9;5110:18;5097:32;-1:-1:-1;;;;;5189:2:1;5181:6;5178:14;5175:34;;;5205:1;5202;5195:12;5175:34;5228:61;5281:7;5272:6;5261:9;5257:22;5228:61;:::i;:::-;5218:71;;5342:2;5331:9;5327:18;5314:32;5298:48;;5371:2;5361:8;5358:16;5355:36;;;5387:1;5384;5377:12;5355:36;5410:63;5465:7;5454:8;5443:9;5439:24;5410:63;:::i;:::-;5400:73;;5526:3;5515:9;5511:19;5498:33;5482:49;;5556:2;5546:8;5543:16;5540:36;;;5572:1;5569;5562:12;5540:36;;5595:51;5638:7;5627:8;5616:9;5612:24;5595:51;:::i;:::-;5585:61;;;4709:943;;;;;;;;:::o;5657:254::-;5725:6;5733;5786:2;5774:9;5765:7;5761:23;5757:32;5754:52;;;5802:1;5799;5792:12;5754:52;5838:9;5825:23;5815:33;;5867:38;5901:2;5890:9;5886:18;5867:38;:::i;:::-;5857:48;;5657:254;;;;;:::o;5916:592::-;5987:6;5995;6048:2;6036:9;6027:7;6023:23;6019:32;6016:52;;;6064:1;6061;6054:12;6016:52;6104:9;6091:23;-1:-1:-1;;;;;6174:2:1;6166:6;6163:14;6160:34;;;6190:1;6187;6180:12;6160:34;6228:6;6217:9;6213:22;6203:32;;6273:7;6266:4;6262:2;6258:13;6254:27;6244:55;;6295:1;6292;6285:12;6244:55;6335:2;6322:16;6361:2;6353:6;6350:14;6347:34;;;6377:1;6374;6367:12;6347:34;6422:7;6417:2;6408:6;6404:2;6400:15;6396:24;6393:37;6390:57;;;6443:1;6440;6433:12;6390:57;6474:2;6466:11;;;;;6496:6;;-1:-1:-1;5916:592:1;;-1:-1:-1;;;;5916:592:1:o;6513:367::-;6576:8;6586:6;6640:3;6633:4;6625:6;6621:17;6617:27;6607:55;;6658:1;6655;6648:12;6607:55;-1:-1:-1;6681:20:1;;-1:-1:-1;;;;;6713:30:1;;6710:50;;;6756:1;6753;6746:12;6710:50;6793:4;6785:6;6781:17;6769:29;;6853:3;6846:4;6836:6;6833:1;6829:14;6821:6;6817:27;6813:38;6810:47;6807:67;;;6870:1;6867;6860:12;6807:67;6513:367;;;;;:::o;6885:1142::-;7097:6;7105;7113;7121;7129;7137;7190:2;7178:9;7169:7;7165:23;7161:32;7158:52;;;7206:1;7203;7196:12;7158:52;7246:9;7233:23;-1:-1:-1;;;;;7316:2:1;7308:6;7305:14;7302:34;;;7332:1;7329;7322:12;7302:34;7371:70;7433:7;7424:6;7413:9;7409:22;7371:70;:::i;:::-;7460:8;;-1:-1:-1;7345:96:1;-1:-1:-1;7548:2:1;7533:18;;7520:32;;-1:-1:-1;7564:16:1;;;7561:36;;;7593:1;7590;7583:12;7561:36;7632:72;7696:7;7685:8;7674:9;7670:24;7632:72;:::i;:::-;7723:8;;-1:-1:-1;7606:98:1;-1:-1:-1;7811:2:1;7796:18;;7783:32;;-1:-1:-1;7827:16:1;;;7824:36;;;7856:1;7853;7846:12;7824:36;;7895:72;7959:7;7948:8;7937:9;7933:24;7895:72;:::i;:::-;6885:1142;;;;-1:-1:-1;6885:1142:1;;-1:-1:-1;6885:1142:1;;7986:8;;6885:1142;-1:-1:-1;;;6885:1142:1:o;8032:1208::-;8150:6;8158;8211:2;8199:9;8190:7;8186:23;8182:32;8179:52;;;8227:1;8224;8217:12;8179:52;8267:9;8254:23;-1:-1:-1;;;;;8337:2:1;8329:6;8326:14;8323:34;;;8353:1;8350;8343:12;8323:34;8391:6;8380:9;8376:22;8366:32;;8436:7;8429:4;8425:2;8421:13;8417:27;8407:55;;8458:1;8455;8448:12;8407:55;8494:2;8481:16;8516:4;8539:43;8579:2;8539:43;:::i;:::-;8611:2;8605:9;8623:31;8651:2;8643:6;8623:31;:::i;:::-;8689:18;;;8777:1;8773:10;;;;8765:19;;8761:28;;;8723:15;;;;-1:-1:-1;8801:19:1;;;8798:39;;;8833:1;8830;8823:12;8798:39;8857:11;;;;8877:148;8893:6;8888:3;8885:15;8877:148;;;8959:23;8978:3;8959:23;:::i;:::-;8947:36;;8910:12;;;;9003;;;;8877:148;;;9044:6;-1:-1:-1;;9088:18:1;;9075:32;;-1:-1:-1;;9119:16:1;;;9116:36;;;9148:1;9145;9138:12;9116:36;;9171:63;9226:7;9215:8;9204:9;9200:24;9171:63;:::i;:::-;9161:73;;;8032:1208;;;;;:::o;9245:435::-;9298:3;9336:5;9330:12;9363:6;9358:3;9351:19;9389:4;9418:2;9413:3;9409:12;9402:19;;9455:2;9448:5;9444:14;9476:1;9486:169;9500:6;9497:1;9494:13;9486:169;;;9561:13;;9549:26;;9595:12;;;;9630:15;;;;9522:1;9515:9;9486:169;;;-1:-1:-1;9671:3:1;;9245:435;-1:-1:-1;;;;;9245:435:1:o;9685:261::-;9864:2;9853:9;9846:21;9827:4;9884:56;9936:2;9925:9;9921:18;9913:6;9884:56;:::i;9951:847::-;10082:6;10090;10098;10106;10114;10167:2;10155:9;10146:7;10142:23;10138:32;10135:52;;;10183:1;10180;10173:12;10135:52;10206:29;10225:9;10206:29;:::i;:::-;10196:39;;10286:2;10275:9;10271:18;10258:32;-1:-1:-1;;;;;10350:2:1;10342:6;10339:14;10336:34;;;10366:1;10363;10356:12;10336:34;10405:70;10467:7;10458:6;10447:9;10443:22;10405:70;:::i;:::-;10494:8;;-1:-1:-1;10379:96:1;-1:-1:-1;10582:2:1;10567:18;;10554:32;;-1:-1:-1;10598:16:1;;;10595:36;;;10627:1;10624;10617:12;10595:36;;10666:72;10730:7;10719:8;10708:9;10704:24;10666:72;:::i;:::-;9951:847;;;;-1:-1:-1;9951:847:1;;-1:-1:-1;10757:8:1;;10640:98;9951:847;-1:-1:-1;;;9951:847:1:o;10803:248::-;10871:6;10879;10932:2;10920:9;10911:7;10907:23;10903:32;10900:52;;;10948:1;10945;10938:12;10900:52;-1:-1:-1;;10971:23:1;;;11041:2;11026:18;;;11013:32;;-1:-1:-1;10803:248:1:o;11264:347::-;11329:6;11337;11390:2;11378:9;11369:7;11365:23;11361:32;11358:52;;;11406:1;11403;11396:12;11358:52;11429:29;11448:9;11429:29;:::i;:::-;11419:39;;11508:2;11497:9;11493:18;11480:32;11555:5;11548:13;11541:21;11534:5;11531:32;11521:60;;11577:1;11574;11567:12;11521:60;11600:5;11590:15;;;11264:347;;;;;:::o;11616:785::-;11750:6;11758;11766;11774;11827:2;11815:9;11806:7;11802:23;11798:32;11795:52;;;11843:1;11840;11833:12;11795:52;11883:9;11870:23;-1:-1:-1;;;;;11953:2:1;11945:6;11942:14;11939:34;;;11969:1;11966;11959:12;11939:34;12008:70;12070:7;12061:6;12050:9;12046:22;12008:70;:::i;:::-;12097:8;;-1:-1:-1;11982:96:1;-1:-1:-1;12185:2:1;12170:18;;12157:32;;-1:-1:-1;12201:16:1;;;12198:36;;;12230:1;12227;12220:12;12198:36;;12269:72;12333:7;12322:8;12311:9;12307:24;12269:72;:::i;:::-;11616:785;;;;-1:-1:-1;12360:8:1;-1:-1:-1;;;;11616:785:1:o;12406:260::-;12474:6;12482;12535:2;12523:9;12514:7;12510:23;12506:32;12503:52;;;12551:1;12548;12541:12;12503:52;12574:29;12593:9;12574:29;:::i;:::-;12564:39;;12622:38;12656:2;12645:9;12641:18;12622:38;:::i;12671:606::-;12775:6;12783;12791;12799;12807;12860:3;12848:9;12839:7;12835:23;12831:33;12828:53;;;12877:1;12874;12867:12;12828:53;12900:29;12919:9;12900:29;:::i;:::-;12890:39;;12948:38;12982:2;12971:9;12967:18;12948:38;:::i;:::-;12938:48;;13033:2;13022:9;13018:18;13005:32;12995:42;;13084:2;13073:9;13069:18;13056:32;13046:42;;13139:3;13128:9;13124:19;13111:33;-1:-1:-1;;;;;13159:6:1;13156:30;13153:50;;;13199:1;13196;13189:12;13153:50;13222:49;13263:7;13254:6;13243:9;13239:22;13222:49;:::i;13693:380::-;13772:1;13768:12;;;;13815;;;13836:61;;13890:4;13882:6;13878:17;13868:27;;13836:61;13943:2;13935:6;13932:14;13912:18;13909:38;13906:161;;13989:10;13984:3;13980:20;13977:1;13970:31;14024:4;14021:1;14014:15;14052:4;14049:1;14042:15;13906:161;;13693:380;;;:::o;14078:652::-;14347:3;14385:6;14379:13;14401:66;14460:6;14455:3;14448:4;14440:6;14436:17;14401:66;:::i;:::-;14530:13;;14489:16;;;;14552:70;14530:13;14489:16;14599:4;14587:17;;14552:70;:::i;:::-;-1:-1:-1;;;14644:20:1;;14673:22;;;14722:1;14711:13;;14078:652;-1:-1:-1;;;;14078:652:1:o;14735:414::-;14937:2;14919:21;;;14976:2;14956:18;;;14949:30;15015:34;15010:2;14995:18;;14988:62;-1:-1:-1;;;15081:2:1;15066:18;;15059:48;15139:3;15124:19;;14735:414::o;15423:410::-;15625:2;15607:21;;;15664:2;15644:18;;;15637:30;15703:34;15698:2;15683:18;;15676:62;-1:-1:-1;;;15769:2:1;15754:18;;15747:44;15823:3;15808:19;;15423:410::o;16814:127::-;16875:10;16870:3;16866:20;16863:1;16856:31;16906:4;16903:1;16896:15;16930:4;16927:1;16920:15;16946:186;17005:6;17058:2;17046:9;17037:7;17033:23;17029:32;17026:52;;;17074:1;17071;17064:12;17026:52;17097:29;17116:9;17097:29;:::i;17137:545::-;17230:4;17236:6;17296:11;17283:25;17390:2;17386:7;17375:8;17359:14;17355:29;17351:43;17331:18;17327:68;17317:96;;17409:1;17406;17399:12;17317:96;17436:33;;17488:20;;;-1:-1:-1;;;;;;17520:30:1;;17517:50;;;17563:1;17560;17553:12;17517:50;17596:4;17584:17;;-1:-1:-1;17647:1:1;17643:14;;;17627;17623:35;17613:46;;17610:66;;;17672:1;17669;17662:12;17957:127;18018:10;18013:3;18009:20;18006:1;17999:31;18049:4;18046:1;18039:15;18073:4;18070:1;18063:15;18089:135;18128:3;18149:17;;;18146:43;;18169:18;;:::i;:::-;-1:-1:-1;18216:1:1;18205:13;;18089:135::o;20506:522::-;20584:4;20590:6;20650:11;20637:25;20744:2;20740:7;20729:8;20713:14;20709:29;20705:43;20685:18;20681:68;20671:96;;20763:1;20760;20753:12;20671:96;20790:33;;20842:20;;;-1:-1:-1;;;;;;20874:30:1;;20871:50;;;20917:1;20914;20907:12;20871:50;20950:4;20938:17;;-1:-1:-1;20981:14:1;20977:27;;;20967:38;;20964:58;;;21018:1;21015;21008:12;21159:545;21261:2;21256:3;21253:11;21250:448;;;21297:1;21322:5;21318:2;21311:17;21367:4;21363:2;21353:19;21437:2;21425:10;21421:19;21418:1;21414:27;21408:4;21404:38;21473:4;21461:10;21458:20;21455:47;;;-1:-1:-1;21496:4:1;21455:47;21551:2;21546:3;21542:12;21539:1;21535:20;21529:4;21525:31;21515:41;;21606:82;21624:2;21617:5;21614:13;21606:82;;;21669:17;;;21650:1;21639:13;21606:82;;21880:1206;-1:-1:-1;;;;;21999:3:1;21996:27;21993:53;;;22026:18;;:::i;:::-;22055:94;22145:3;22105:38;22137:4;22131:11;22105:38;:::i;:::-;22099:4;22055:94;:::i;:::-;22175:1;22200:2;22195:3;22192:11;22217:1;22212:616;;;;22872:1;22889:3;22886:93;;;-1:-1:-1;22945:19:1;;;22932:33;22886:93;-1:-1:-1;;21837:1:1;21833:11;;;21829:24;21825:29;21815:40;21861:1;21857:11;;;21812:57;22992:78;;22185:895;;22212:616;21106:1;21099:14;;;21143:4;21130:18;;-1:-1:-1;;22248:17:1;;;22349:9;22371:229;22385:7;22382:1;22379:14;22371:229;;;22474:19;;;22461:33;22446:49;;22581:4;22566:20;;;;22534:1;22522:14;;;;22401:12;22371:229;;;22375:3;22628;22619:7;22616:16;22613:159;;;22752:1;22748:6;22742:3;22736;22733:1;22729:11;22725:21;22721:34;22717:39;22704:9;22699:3;22695:19;22682:33;22678:79;22670:6;22663:95;22613:159;;;22815:1;22809:3;22806:1;22802:11;22798:19;22792:4;22785:33;22185:895;;21880:1206;;;:::o;23776:397::-;23978:2;23960:21;;;24017:2;23997:18;;;23990:30;24056:34;24051:2;24036:18;;24029:62;-1:-1:-1;;;24122:2:1;24107:18;;24100:31;24163:3;24148:19;;23776:397::o;24178:125::-;24243:9;;;24264:10;;;24261:36;;;24277:18;;:::i;24561:404::-;24763:2;24745:21;;;24802:2;24782:18;;;24775:30;24841:34;24836:2;24821:18;;24814:62;-1:-1:-1;;;24907:2:1;24892:18;;24885:38;24955:3;24940:19;;24561:404::o;24970:401::-;25172:2;25154:21;;;25211:2;25191:18;;;25184:30;25250:34;25245:2;25230:18;;25223:62;-1:-1:-1;;;25316:2:1;25301:18;;25294:35;25361:3;25346:19;;24970:401::o;25376:406::-;25578:2;25560:21;;;25617:2;25597:18;;;25590:30;25656:34;25651:2;25636:18;;25629:62;-1:-1:-1;;;25722:2:1;25707:18;;25700:40;25772:3;25757:19;;25376:406::o;25787:465::-;26044:2;26033:9;26026:21;26007:4;26070:56;26122:2;26111:9;26107:18;26099:6;26070:56;:::i;:::-;26174:9;26166:6;26162:22;26157:2;26146:9;26142:18;26135:50;26202:44;26239:6;26231;26202:44;:::i;:::-;26194:52;25787:465;-1:-1:-1;;;;;25787:465:1:o;26257:1352::-;26383:3;26377:10;-1:-1:-1;;;;;26402:6:1;26399:30;26396:56;;;26432:18;;:::i;:::-;26461:97;26551:6;26511:38;26543:4;26537:11;26511:38;:::i;:::-;26505:4;26461:97;:::i;:::-;26613:4;;26677:2;26666:14;;26694:1;26689:663;;;;27396:1;27413:6;27410:89;;;-1:-1:-1;27465:19:1;;;27459:26;27410:89;-1:-1:-1;;21837:1:1;21833:11;;;21829:24;21825:29;21815:40;21861:1;21857:11;;;21812:57;27512:81;;26659:944;;26689:663;21106:1;21099:14;;;21143:4;21130:18;;-1:-1:-1;;26725:20:1;;;26843:236;26857:7;26854:1;26851:14;26843:236;;;26946:19;;;26940:26;26925:42;;27038:27;;;;27006:1;26994:14;;;;26873:19;;26843:236;;;26847:3;27107:6;27098:7;27095:19;27092:201;;;27168:19;;;27162:26;-1:-1:-1;;27251:1:1;27247:14;;;27263:3;27243:24;27239:37;27235:42;27220:58;27205:74;;27092:201;-1:-1:-1;;;;;27339:1:1;27323:14;;;27319:22;27306:36;;-1:-1:-1;26257:1352:1:o;27614:399::-;27816:2;27798:21;;;27855:2;27835:18;;;27828:30;27894:34;27889:2;27874:18;;27867:62;-1:-1:-1;;;27960:2:1;27945:18;;27938:33;28003:3;27988:19;;27614:399::o;28018:400::-;28220:2;28202:21;;;28259:2;28239:18;;;28232:30;28298:34;28293:2;28278:18;;28271:62;-1:-1:-1;;;28364:2:1;28349:18;;28342:34;28408:3;28393:19;;28018:400::o;29315:128::-;29382:9;;;29403:11;;;29400:37;;;29417:18;;:::i;29448:561::-;-1:-1:-1;;;;;29745:15:1;;;29727:34;;29797:15;;29792:2;29777:18;;29770:43;29844:2;29829:18;;29822:34;;;29887:2;29872:18;;29865:34;;;29707:3;29930;29915:19;;29908:32;;;29670:4;;29957:46;;29983:19;;29975:6;29957:46;:::i;:::-;29949:54;29448:561;-1:-1:-1;;;;;;;29448:561:1:o;30014:249::-;30083:6;30136:2;30124:9;30115:7;30111:23;30107:32;30104:52;;;30152:1;30149;30142:12;30104:52;30184:9;30178:16;30203:30;30227:5;30203:30;:::i;30268:179::-;30303:3;30345:1;30327:16;30324:23;30321:120;;;30391:1;30388;30385;30370:23;-1:-1:-1;30428:1:1;30422:8;30417:3;30413:18;30321:120;30268:179;:::o;30452:671::-;30491:3;30533:4;30515:16;30512:26;30509:39;;;30452:671;:::o;30509:39::-;30575:2;30569:9;-1:-1:-1;;30640:16:1;30636:25;;30633:1;30569:9;30612:50;30691:4;30685:11;30715:16;-1:-1:-1;;;;;30821:2:1;30814:4;30806:6;30802:17;30799:25;30794:2;30786:6;30783:14;30780:45;30777:58;;;30828:5;;;;;30452:671;:::o;30777:58::-;30865:6;30859:4;30855:17;30844:28;;30901:3;30895:10;30928:2;30920:6;30917:14;30914:27;;;30934:5;;;;;;30452:671;:::o;30914:27::-;31018:2;30999:16;30993:4;30989:27;30985:36;30978:4;30969:6;30964:3;30960:16;30956:27;30953:69;30950:82;;;31025:5;;;;;;30452:671;:::o;30950:82::-;31041:57;31092:4;31083:6;31075;31071:19;31067:30;31061:4;31041:57;:::i;:::-;-1:-1:-1;31114:3:1;;30452:671;-1:-1:-1;;;;;30452:671:1:o;31549:404::-;31751:2;31733:21;;;31790:2;31770:18;;;31763:30;31829:34;31824:2;31809:18;;31802:62;-1:-1:-1;;;31895:2:1;31880:18;;31873:38;31943:3;31928:19;;31549:404::o;31958:827::-;-1:-1:-1;;;;;32355:15:1;;;32337:34;;32407:15;;32402:2;32387:18;;32380:43;32317:3;32454:2;32439:18;;32432:31;;;32280:4;;32486:57;;32523:19;;32515:6;32486:57;:::i;:::-;32591:9;32583:6;32579:22;32574:2;32563:9;32559:18;32552:50;32625:44;32662:6;32654;32625:44;:::i;:::-;32611:58;;32718:9;32710:6;32706:22;32700:3;32689:9;32685:19;32678:51;32746:33;32772:6;32764;32746:33;:::i;:::-;32738:41;31958:827;-1:-1:-1;;;;;;;;31958:827:1:o;32790:812::-;33201:25;33196:3;33189:38;33171:3;33256:6;33250:13;33272:75;33340:6;33335:2;33330:3;33326:12;33319:4;33311:6;33307:17;33272:75;:::i;:::-;-1:-1:-1;;;33406:2:1;33366:16;;;33398:11;;;33391:40;33456:13;;33478:76;33456:13;33540:2;33532:11;;33525:4;33513:17;;33478:76;:::i;:::-;33574:17;33593:2;33570:26;;32790:812;-1:-1:-1;;;;32790:812:1:o;33607:168::-;33680:9;;;33711;;33728:15;;;33722:22;;33708:37;33698:71;;33749:18;;:::i;33780:136::-;33819:3;33847:5;33837:39;;33856:18;;:::i;:::-;-1:-1:-1;;;33892:18:1;;33780:136::o;34282:127::-;34343:10;34338:3;34334:20;34331:1;34324:31;34374:4;34371:1;34364:15;34398:4;34395:1;34388:15

Swarm Source

ipfs://d73b03915ad7cceab1c7100e56d4cb3228c96560e49f5a1ed51b72efe5fac3d6

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.