ETH Price: $3,445.12 (-0.13%)
Gas: 6 Gwei

Token

Weird Punks (WP)
 

Overview

Max Total Supply

418 WP

Holders

32

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 WP
0xe8b90fc2ff729c2372f05e8fc8f1be8262d0c0eb
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WeirdPunks

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 21 of 21: WeirdPunks.sol
// SPDX-License-Identifier: MIT

/*
 __    __    ___  ____  ____   ___        ____  __ __  ____   __  _  _____
|  |__|  |  /  _]|    ||    \ |   \      |    \|  |  ||    \ |  |/ ]/ ___/
|  |  |  | /  [_  |  | |  D  )|    \     |  o  )  |  ||  _  ||  ' /(   \_ 
|  |  |  ||    _] |  | |    / |  D  |    |   _/|  |  ||  |  ||    \ \__  |
|  `  '  ||   [_  |  | |    \ |     |    |  |  |  :  ||  |  ||     \/  \ |
 \      / |     | |  | |  .  \|     |    |  |  |     ||  |  ||  .  |\    |
  \_/\_/  |_____||____||__|\_||_____|    |__|   \__,_||__|__||__|\_| \___|
                                                                          
*/

pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./ERC721.sol";
import "./Strings.sol";
import "./ERC1155Tradable.sol";
import "./AccessControlMixin.sol";

contract WeirdPunks is ERC721, Ownable, AccessControlMixin {
  using Strings for uint256;
 
  string public baseURI;
  string public baseExtension = '.json';
  mapping(uint256 => uint256) public weirdMapping;
  ERC1155Tradable public openseaContract;
  uint256 public maxSupply = 1000;
  uint256 public totalSupply = 0;
  bytes32 public constant PREDICATE_ROLE = keccak256("PREDICATE_ROLE");
  bytes32 public constant ORACLE = keccak256("ORACLE");
  address public oracleAddress;
  bool public allowMigration = false;
  bool public allowBridging = false;
  uint256 public constant BATCH_LIMIT = 20;
  address public delistWallet;
  mapping(uint256 => uint256) internal migrateTimestamp;

  event startBatchBridge(address user, uint256[] IDs, uint256[] bridgeMigrateTimestamps);

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

  constructor(
    string memory _initBaseURI,
    address _openseaContract,
    address _MintableAssetProxy,
    address _oracleAddress,
    address _delistWallet
  ) ERC721("Weird Punks", "WP") {
    setBaseURI(_initBaseURI);
    openseaContract = ERC1155Tradable(_openseaContract);
    _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    _setupRole(PREDICATE_ROLE, _MintableAssetProxy);
    _setupRole(ORACLE, _oracleAddress);
    setDelistWallet(_delistWallet);
  }
 
  // internal
  function _baseURI() internal view virtual override returns (string memory) {
    return baseURI;
  }

  // external for mapping
  function mint(address user, uint256 tokenId) external only(PREDICATE_ROLE) {
    _mint(user, tokenId);
    totalSupply++;
  }

  function exists(uint256 tokenId) external view returns (bool) {
    return _exists(tokenId);
  }

  function depositBridge(address user, uint256[] memory IDs) public only(ORACLE) {
    for (uint256 i; i < IDs.length; i++) {
      _mint(user, IDs[i]);
      totalSupply++;
    }
  }
 
  // public
  function batchBridge(uint256[] memory IDs) public {
    require(allowBridging);
    require(IDs.length <= BATCH_LIMIT, "WeirdPunks: Exceeds limit");
    uint256[] memory bridgeMigrateTimestamps = new uint256[](IDs.length);
    for (uint256 i; i < IDs.length; i++) {
      require(msg.sender == ownerOf(IDs[i]), string(abi.encodePacked("WeirdPunks: Invalid owner of ", IDs[i])));
      _burn(IDs[i]);
      totalSupply--;
      bridgeMigrateTimestamps[i] = getMigrateTimestamp(IDs[i]);
    }
    emit startBatchBridge(msg.sender, IDs, bridgeMigrateTimestamps);
  }


  function burnAndMint(address _to, uint256[] memory _IDs) public {
    require(allowMigration, "WeirdPunks: Migration is currently closed");
    require(openseaContract.isApprovedForAll(_to, address(this)), "WeirdPunks: Not approved for burn");
    require(totalSupply + _IDs.length <= maxSupply, "WeirdPunks: Exceeds max supply");

    for(uint256 i = 0; i < _IDs.length; i++) {
        require(!_exists(_IDs[i]), string(abi.encodePacked("WeirdPunks: Already Minted ID #", _IDs[i])));
        uint256 openseaID = weirdMapping[_IDs[i]];
        bytes memory _data;
        openseaContract.safeTransferFrom(_to, delistWallet, openseaID, 1, _data); 
        migrateTimestamp[_IDs[i]] = block.timestamp;

        _mint(_to, _IDs[i]);
        totalSupply++;
    }
  }
 
  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "WeirdPunks: URI query for nonexistent token");
 
    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
        : "";
  }

  function getMigrateTimestamp(uint256 _id) public view returns(uint256) {
    return migrateTimestamp[_id];
  }

  function getMigrateTimestamps(uint256[] memory _ids) public view returns(uint256[] memory) {
    uint256[] memory timestamps = new uint256[](_ids.length);
    for(uint256 i = 0; i < _ids.length; i++) {
      timestamps[i] = migrateTimestamp[_ids[i]];
    }
    return timestamps;
  }
 
  //only owner
  function overrideMint(address _to, uint256[] memory _IDs) public onlyOwner {
    require(!allowMigration, "WeirdPunks: Migration is currently open");
    require(totalSupply + _IDs.length <= maxSupply, "WeirdPunks: Exceeds max supply");
    for(uint256 i = 0; i < _IDs.length; i++) {
        require(!_exists(_IDs[i]), string(abi.encodePacked("WeirdPunks: Already Minted ID #", _IDs[i])));
        
        _mint(_to, _IDs[i]);
        totalSupply++;

        if(migrateTimestamp[_IDs[i]] < 1) {
          migrateTimestamp[_IDs[i]] = block.timestamp;
        }
    }
  }

  function addSingleWeirdMapping(uint256 ID, uint256 OSID) private returns(bool success) {
    weirdMapping[ID] = OSID;
    success = true;
  }
 
  function addWeirdMapping(uint256[] memory IDs, uint256[] memory OSIDs) public onlyOwner returns(bool success) {
    require(IDs.length == OSIDs.length, "WeirdPunks: IDs and OSIDs must be the same length");
    for (uint256 i = 0; i < IDs.length; i++) {
      if (addSingleWeirdMapping(IDs[i], OSIDs[i])) {
        success = true;
      }
    }    
  }
 
  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }

  function setOpenseaContract(address _openseaContract) public onlyOwner {
    openseaContract = ERC1155Tradable(_openseaContract);
  }

  function setAllowMigration(bool allow) public onlyOwner {
    allowMigration = allow;
  }

  function setAllowBridging(bool allow) public onlyOwner {
    allowBridging = allow;
  }

  function setDelistWallet(address _delistWallet) public onlyOwner {
    delistWallet = _delistWallet;
  }

  function setOracleAddress(address newOracleAddress) public onlyOwner {
    _revokeRole(ORACLE, oracleAddress);
    _grantRole(ORACLE, newOracleAddress);
    oracleAddress = newOracleAddress;
  }
}

File 1 of 21: AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

/**
 * @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(uint160(account), 20),
                        " 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.
     */
    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.
     */
    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`.
     */
    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.
     *
     * [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.
     */
    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.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 2 of 21: AccessControlMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./AccessControl.sol";

contract AccessControlMixin is AccessControl {
    string private _revertMsg;
    function _setupContractId(string memory contractId) internal {
        _revertMsg = string(abi.encodePacked(contractId, ": INSUFFICIENT_PERMISSIONS"));
    }

    modifier only(bytes32 role) {
        require(
            hasRole(role, _msgSender()),
            _revertMsg
        );
        _;
    }
}

File 3 of 21: Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 4 of 21: Context.sol
// SPDX-License-Identifier: MIT
// 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 5 of 21: ContextMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender() internal view returns (address payable sender) {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 6 of 21: ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./IERC1155MetadataURI.sol";
import "./Address.sol";
import "./Context.sol";
import "./ERC165.sol";

/**
 * @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: balance query for the zero address");
        return _balances[id][account];
    }

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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`
     *
     * 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}.
     *
     * 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 a {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 `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 _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 7 of 21: ERC1155Tradable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./Pausable.sol";
import "./ERC1155.sol";
import "./Address.sol";
import "./ContextMixin.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC1155Tradable
 * ERC1155Tradable - ERC1155 contract that whitelists an operator address, has create and mint functionality, and supports useful standards from OpenZeppelin,
  like exists(), name(), symbol(), and totalSupply()
 */
contract ERC1155Tradable is
    ContextMixin,
    ERC1155,
    Ownable,
    Pausable
{
    using Address for address;

    // Proxy registry address
    address public proxyRegistryAddress;
    // Contract name
    string public name;
    // Contract symbol
    string public symbol;

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

    mapping(uint256 => uint256) private _supply;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC1155("") {
        name = _name;
        symbol = _symbol;
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    /**
     * @dev Throws if called by any account other than the owner or their proxy
     */
    modifier onlyOwnerOrProxy() {
        require(
            _isOwnerOrProxy(_msgSender()),
            "ERC1155Tradable#onlyOwner: CALLER_IS_NOT_OWNER"
        );
        _;
    }

    /**
     * @dev Throws if called by any account other than _from or their proxy
     */
    modifier onlyApproved(address _from) {
        require(
            _from == _msgSender() || isApprovedForAll(_from, _msgSender()),
            "ERC1155Tradable#onlyApproved: CALLER_NOT_ALLOWED"
        );
        _;
    }

    function _isOwnerOrProxy(address _address) internal view returns (bool) {
        return owner() == _address || _isProxyForUser(owner(), _address);
    }

    function pause() external onlyOwnerOrProxy {
        _pause();
    }

    function unpause() external onlyOwnerOrProxy {
        _unpause();
    }

    /**
     * @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: balance query for the zero address"
        );
        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 Returns the total quantity for a token ID
     * @param _id uint256 ID of the token to query
     * @return amount of token in existence
     */
    function totalSupply(uint256 _id) public view returns (uint256) {
        return _supply[_id];
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-free listings.
     */
    function isApprovedForAll(address _owner, address _operator)
        public
        view
        override
        returns (bool isOperator)
    {
        // Whitelist OpenSea proxy contracts for easy trading.
        if (_isProxyForUser(_owner, _operator)) {
            return true;
        }

        return super.isApprovedForAll(_owner, _operator);
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override whenNotPaused onlyApproved(from) {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(
            operator,
            from,
            to,
            asSingletonArray(id),
            asSingletonArray(amount),
            data
        );

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

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

        doSafeTransferAcceptanceCheck(operator, 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 whenNotPaused onlyApproved(from) {
        require(
            ids.length == amounts.length,
            "ERC1155: IDS_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"
            );
            balances[id][from] = fromBalance - amount;
            balances[id][to] += amount;
        }

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

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

    /**
     * @dev Hook to be called right before minting
     * @param _id          Token ID to mint
     * @param _quantity    Amount of tokens to mint
     */
    function _beforeMint(uint256 _id, uint256 _quantity) internal virtual {}

    /**
     * @dev Mints some amount of tokens to an address
     * @param _to          Address of the future owner of the token
     * @param _id          Token ID to mint
     * @param _quantity    Amount of tokens to mint
     * @param _data        Data to pass if receiver is contract
     */
    function mint(
        address _to,
        uint256 _id,
        uint256 _quantity,
        bytes memory _data
    ) public virtual onlyOwnerOrProxy {
        _mint(_to, _id, _quantity, _data);
    }

    /**
     * @dev Mint tokens for each id in _ids
     * @param _to          The address to mint tokens to
     * @param _ids         Array of ids to mint
     * @param _quantities  Array of amounts of tokens to mint per id
     * @param _data        Data to pass if receiver is contract
     */
    function batchMint(
        address _to,
        uint256[] memory _ids,
        uint256[] memory _quantities,
        bytes memory _data
    ) public virtual onlyOwnerOrProxy {
        _batchMint(_to, _ids, _quantities, _data);
    }

    /**
     * @dev Burns amount of a given token id
     * @param _from          The address to burn tokens from
     * @param _id          Token ID to burn
     * @param _quantity    Amount to burn
     */
    function burn(
        address _from,
        uint256 _id,
        uint256 _quantity
    ) public virtual onlyApproved(_from) {
        _burn(_from, _id, _quantity);
    }

    /**
     * @dev Burns tokens for each id in _ids
     * @param _from          The address to burn tokens from
     * @param _ids         Array of token ids to burn
     * @param _quantities  Array of the amount to be burned
     */
    function batchBurn(
        address _from,
        uint256[] memory _ids,
        uint256[] memory _quantities
    ) public virtual onlyApproved(_from) {
        _burnBatch(_from, _ids, _quantities);
    }

    /**
     * @dev Returns whether the specified token is minted
     * @param _id uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function exists(uint256 _id) public view returns (bool) {
        return _supply[_id] > 0;
    }

    // Overrides ERC1155 _mint to allow changing birth events to creator transfers,
    // and to set _supply
    function _mint(
        address _to,
        uint256 _id,
        uint256 _amount,
        bytes memory _data
    ) internal virtual override whenNotPaused {
        address operator = _msgSender();

        _beforeTokenTransfer(
            operator,
            address(0),
            _to,
            asSingletonArray(_id),
            asSingletonArray(_amount),
            _data
        );

        _beforeMint(_id, _amount);

        // Add _amount
        balances[_id][_to] += _amount;
        _supply[_id] += _amount;

        // Origin of token will be the _from parameter
        address origin = _origin(_id);

        // Emit event
        emit TransferSingle(operator, origin, _to, _id, _amount);

        // Calling onReceive method if recipient is contract
        doSafeTransferAcceptanceCheck(
            operator,
            origin,
            _to,
            _id,
            _amount,
            _data
        );
    }

    // Overrides ERC1155MintBurn to change the batch birth events to creator transfers, and to set _supply
    function _batchMint(
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        bytes memory _data
    ) internal virtual whenNotPaused {
        require(
            _ids.length == _amounts.length,
            "ERC1155Tradable#batchMint: INVALID_ARRAYS_LENGTH"
        );

        // Number of mints to execute
        uint256 nMint = _ids.length;

        // Origin of tokens will be the _from parameter
        address origin = _origin(_ids[0]);

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), _to, _ids, _amounts, _data);

        // Executing all minting
        for (uint256 i = 0; i < nMint; i++) {
            // Update storage balance
            uint256 id = _ids[i];
            uint256 amount = _amounts[i];
            _beforeMint(id, amount);
            require(
                _origin(id) == origin,
                "ERC1155Tradable#batchMint: MULTIPLE_ORIGINS_NOT_ALLOWED"
            );
            balances[id][_to] += amount;
            _supply[id] += amount;
        }

        // Emit batch mint event
        emit TransferBatch(operator, origin, _to, _ids, _amounts);

        // Calling onReceive method if recipient is contract
        doSafeBatchTransferAcceptanceCheck(
            operator,
            origin,
            _to,
            _ids,
            _amounts,
            _data
        );
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal override whenNotPaused {
        require(account != address(0), "ERC1155#_burn: BURN_FROM_ZERO_ADDRESS");
        require(amount > 0, "ERC1155#_burn: AMOUNT_LESS_THAN_ONE");

        address operator = _msgSender();

        _beforeTokenTransfer(
            operator,
            account,
            address(0),
            asSingletonArray(id),
            asSingletonArray(amount),
            ""
        );

        uint256 accountBalance = balances[id][account];
        require(
            accountBalance >= amount,
            "ERC1155#_burn: AMOUNT_EXCEEDS_BALANCE"
        );
        balances[id][account] = accountBalance - amount;
        _supply[id] -= amount;

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal override whenNotPaused {
        require(account != address(0), "ERC1155: BURN_FROM_ZERO_ADDRESS");
        require(
            ids.length == amounts.length,
            "ERC1155: IDS_AMOUNTS_LENGTH_MISMATCH"
        );

        address operator = _msgSender();

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

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

            uint256 accountBalance = balances[id][account];
            require(
                accountBalance >= amount,
                "ERC1155#_burnBatch: AMOUNT_EXCEEDS_BALANCE"
            );
            balances[id][account] = accountBalance - amount;
            _supply[id] -= amount;
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    // Override this to change birth events' _from address
    function _origin(
        uint256 /* _id */
    ) internal view virtual returns (address) {
        return address(0);
    }

    // PROXY HELPER METHODS

    function _isProxyForUser(address _user, address _address)
        internal
        view
        virtual
        returns (bool)
    {
        if (!proxyRegistryAddress.isContract()) {
            return false;
        }
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        return address(proxyRegistry.proxies(_user)) == _address;
    }

    // Copied from OpenZeppelin
    // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/c3ae4790c71b7f53cc8fff743536dcb7031fed74/contracts/token/ERC1155/ERC1155.sol#L394
    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(to).onERC1155Received.selector
                ) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    // Copied from OpenZeppelin
    // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/c3ae4790c71b7f53cc8fff743536dcb7031fed74/contracts/token/ERC1155/ERC1155.sol#L417
    function doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal {
        if (to.isContract()) {
            try
                IERC1155Receiver(to).onERC1155BatchReceived(
                    operator,
                    from,
                    ids,
                    amounts,
                    data
                )
            returns (bytes4 response) {
                if (
                    response !=
                    IERC1155Receiver(to).onERC1155BatchReceived.selector
                ) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    // Copied from OpenZeppelin
    // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/c3ae4790c71b7f53cc8fff743536dcb7031fed74/contracts/token/ERC1155/ERC1155.sol#L440
    function asSingletonArray(uint256 element)
        private
        pure
        returns (uint256[] memory)
    {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender() internal view override returns (address sender) {
        return ContextMixin.msgSender();
    }
}

File 8 of 21: ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 9 of 21: ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 10 of 21: IAccessControl.sol
// SPDX-License-Identifier: MIT
// 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 11 of 21: IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 be 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 12 of 21: IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";

/**
 * @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 13 of 21: IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 14 of 21: IERC165.sol
// SPDX-License-Identifier: MIT
// 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 15 of 21: IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 16 of 21: IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 17 of 21: IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 18 of 21: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

File 19 of 21: Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

File 20 of 21: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"_openseaContract","type":"address"},{"internalType":"address","name":"_MintableAssetProxy","type":"address"},{"internalType":"address","name":"_oracleAddress","type":"address"},{"internalType":"address","name":"_delistWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"IDs","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"bridgeMigrateTimestamps","type":"uint256[]"}],"name":"startBatchBridge","type":"event"},{"inputs":[],"name":"BATCH_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ORACLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PREDICATE_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"IDs","type":"uint256[]"},{"internalType":"uint256[]","name":"OSIDs","type":"uint256[]"}],"name":"addWeirdMapping","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowBridging","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowMigration","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"IDs","type":"uint256[]"}],"name":"batchBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_IDs","type":"uint256[]"}],"name":"burnAndMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delistWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256[]","name":"IDs","type":"uint256[]"}],"name":"depositBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getMigrateTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"getMigrateTimestamps","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openseaContract","outputs":[{"internalType":"contract ERC1155Tradable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oracleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_IDs","type":"uint256[]"}],"name":"overrideMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"allow","type":"bool"}],"name":"setAllowBridging","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"allow","type":"bool"}],"name":"setAllowMigration","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delistWallet","type":"address"}],"name":"setDelistWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_openseaContract","type":"address"}],"name":"setOpenseaContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOracleAddress","type":"address"}],"name":"setOracleAddress","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":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"weirdMapping","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600a91906200036e565b506103e8600d556000600e55600f805461ffff60a01b191690553480156200004f57600080fd5b50604051620036e3380380620036e3833981016040819052620000729162000431565b604080518082018252600b81526a57656972642050756e6b7360a81b602080830191825283518085019094526002845261057560f41b908401528151919291620000bf916000916200036e565b508051620000d59060019060208401906200036e565b505050620000f2620000ec6200019360201b60201c565b62000197565b620000fd85620001e9565b600c80546001600160a01b0319166001600160a01b0386161790556200012560003362000251565b620001517f12ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f28462000251565b6200017d7f352d05fe3946dbe49277552ba941e744d5a96d9c60bc1ba0ea5f1d3ae000f7c88362000251565b62000188816200025d565b5050505050620005ad565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620002385760405162461bcd60e51b81526020600482018190526024820152600080516020620036c383398151915260448201526064015b60405180910390fd5b80516200024d9060099060208401906200036e565b5050565b6200024d8282620002ca565b6006546001600160a01b03163314620002a85760405162461bcd60e51b81526020600482018190526024820152600080516020620036c383398151915260448201526064016200022f565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff166200024d5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200032a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b8280546200037c906200055a565b90600052602060002090601f016020900481019282620003a05760008555620003eb565b82601f10620003bb57805160ff1916838001178555620003eb565b82800160010185558215620003eb579182015b82811115620003eb578251825591602001919060010190620003ce565b50620003f9929150620003fd565b5090565b5b80821115620003f95760008155600101620003fe565b80516001600160a01b03811681146200042c57600080fd5b919050565b600080600080600060a086880312156200044a57600080fd5b85516001600160401b03808211156200046257600080fd5b818801915088601f8301126200047757600080fd5b8151818111156200048c576200048c62000597565b604051601f8201601f19908116603f01168101908382118183101715620004b757620004b762000597565b81604052828152602093508b84848701011115620004d457600080fd5b600091505b82821015620004f85784820184015181830185015290830190620004d9565b828211156200050a5760008484830101525b98506200051c91505088820162000414565b955050506200052e6040870162000414565b92506200053e6060870162000414565b91506200054e6080870162000414565b90509295509295909350565b600181811c908216806200056f57607f821691505b602082108114156200059157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61310680620005bd6000396000f3fe608060405234801561001057600080fd5b50600436106102d65760003560e01c8063715018a611610182578063c80851c4116100e9578063d5abeb01116100a2578063e985e9c51161007c578063e985e9c51461067b578063f2fde38b146106b7578063f3850630146106ca578063f5ad7ca9146106dd57600080fd5b8063d5abeb0114610638578063e72db5fd14610641578063e8cd0da21461066857600080fd5b8063c80851c4146105b9578063c87b56dd146105d9578063c916bbe5146105ec578063ccb410d7146105ff578063ce920a4914610612578063d547741f1461062557600080fd5b8063a217fddf1161013b578063a217fddf1461055d578063a22cb46514610565578063a89ae4ba14610578578063b88d4fde1461058b578063c66828621461059e578063c690023e146105a657600080fd5b8063715018a6146105015780638da5cb5b14610509578063918498ae1461051a57806391d148541461053a5780639559c0bd1461054d57806395d89b411461055557600080fd5b806338013f0211610241578063520e61e9116101fa5780636352211e116101d45780636352211e146104c05780636c0360eb146104d35780636ffa1b1b146104db57806370a08231146104ee57600080fd5b8063520e61e9146104865780635283da091461049957806355f804b3146104ad57600080fd5b806338013f021461041257806340c10f191461042757806342842e0e1461043a5780634c69c00f1461044d5780634f558e791461046057806350c88ae01461047357600080fd5b806323b872dd1161029357806323b872dd14610382578063248a9ca31461039557806327697e6f146103b85780632f2ff15d146103d857806335d69059146103eb57806336568abe146103ff57600080fd5b806301ffc9a7146102db57806306d9ff5d1461030357806306fdde0314610318578063081812fc1461032d578063095ea7b31461035857806318160ddd1461036b575b600080fd5b6102ee6102e9366004612abe565b6106f0565b60405190151581526020015b60405180910390f35b61031661031136600461290a565b610701565b005b6103206107a1565b6040516102fa9190612d84565b61034061033b366004612a82565b610833565b6040516001600160a01b0390911681526020016102fa565b61031661036636600461298f565b6108bb565b610374600e5481565b6040519081526020016102fa565b610316610390366004612852565b6109d1565b6103746103a3366004612a82565b60009081526007602052604090206001015490565b6103cb6103c63660046129b9565b610a02565b6040516102fa9190612d71565b6103166103e6366004612a9b565b610abb565b600f546102ee90600160a01b900460ff1681565b61031661040d366004612a9b565b610ae0565b6103746000805160206130b183398151915281565b61031661043536600461298f565b610b5e565b610316610448366004612852565b610bce565b61031661045b366004612804565b610be9565b6102ee61046e366004612a82565b610c72565b610316610481366004612a48565b610c7d565b6102ee6104943660046129ee565b610cc5565b600f546102ee90600160a81b900460ff1681565b6103166104bb366004612af8565b610dd1565b6103406104ce366004612a82565b610e0e565b610320610e85565b6103166104e936600461290a565b610f13565b6103746104fc366004612804565b61115e565b6103166111e5565b6006546001600160a01b0316610340565b610374610528366004612a82565b600b6020526000908152604090205481565b6102ee610548366004612a9b565b61121b565b610374601481565b610320611246565b610374600081565b610316610573366004612958565b611255565b600f54610340906001600160a01b031681565b61031661059936600461288e565b611260565b610320611292565b600c54610340906001600160a01b031681565b6103746105c7366004612a82565b60009081526011602052604090205490565b6103206105e7366004612a82565b61129f565b6103166105fa36600461290a565b611369565b601054610340906001600160a01b031681565b610316610620366004612804565b6116cd565b610316610633366004612a9b565b611719565b610374600d5481565b6103747f12ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f281565b6103166106763660046129b9565b61173e565b6102ee61068936600461281f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103166106c5366004612804565b611989565b6103166106d8366004612804565b611a24565b6103166106eb366004612a48565b611a70565b60006106fb82611ab8565b92915050565b6000805160206130b183398151915261071a813361121b565b6008906107435760405162461bcd60e51b815260040161073a9190612d97565b60405180910390fd5b5060005b825181101561079b576107738484838151811061076657610766613060565b6020026020010151611add565b600e805490600061078383613005565b9190505550808061079390613005565b915050610747565b50505050565b6060600080546107b090612fca565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90612fca565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b5050505050905090565b600061083e82611c10565b61089f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073a565b506000908152600460205260409020546001600160a01b031690565b60006108c682610e0e565b9050806001600160a01b0316836001600160a01b031614156109345760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161073a565b336001600160a01b038216148061095057506109508133610689565b6109c25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161073a565b6109cc8383611c2d565b505050565b6109db3382611c9b565b6109f75760405162461bcd60e51b815260040161073a90612ea3565b6109cc838383611d85565b60606000825167ffffffffffffffff811115610a2057610a20613076565b604051908082528060200260200182016040528015610a49578160200160208202803683370190505b50905060005b8351811015610ab45760116000858381518110610a6e57610a6e613060565b6020026020010151815260200190815260200160002054828281518110610a9757610a97613060565b602090810291909101015280610aac81613005565b915050610a4f565b5092915050565b600082815260076020526040902060010154610ad681611f21565b6109cc8383611f2b565b6001600160a01b0381163314610b505760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161073a565b610b5a8282611fb1565b5050565b7f12ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f2610b89813361121b565b600890610ba95760405162461bcd60e51b815260040161073a9190612d97565b50610bb48383611add565b600e8054906000610bc483613005565b9190505550505050565b6109cc83838360405180602001604052806000815250611260565b6006546001600160a01b03163314610c135760405162461bcd60e51b815260040161073a90612e6e565b600f54610c38906000805160206130b1833981519152906001600160a01b0316611fb1565b610c506000805160206130b183398151915282611f2b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60006106fb82611c10565b6006546001600160a01b03163314610ca75760405162461bcd60e51b815260040161073a90612e6e565b600f8054911515600160a01b0260ff60a01b19909216919091179055565b6006546000906001600160a01b03163314610cf25760405162461bcd60e51b815260040161073a90612e6e565b8151835114610d5d5760405162461bcd60e51b815260206004820152603160248201527f576569726450756e6b733a2049447320616e64204f53494473206d75737420626044820152700ca40e8d0ca40e6c2daca40d8cadccee8d607b1b606482015260840161073a565b60005b8351811015610ab457610db5848281518110610d7e57610d7e613060565b6020026020010151848381518110610d9857610d98613060565b60200260200101516000918252600b602052604090912055600190565b15610dbf57600191505b80610dc981613005565b915050610d60565b6006546001600160a01b03163314610dfb5760405162461bcd60e51b815260040161073a90612e6e565b8051610b5a906009906020840190612671565b6000818152600260205260408120546001600160a01b0316806106fb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161073a565b60098054610e9290612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebe90612fca565b8015610f0b5780601f10610ee057610100808354040283529160200191610f0b565b820191906000526020600020905b815481529060010190602001808311610eee57829003601f168201915b505050505081565b6006546001600160a01b03163314610f3d5760405162461bcd60e51b815260040161073a90612e6e565b600f54600160a01b900460ff1615610fa75760405162461bcd60e51b815260206004820152602760248201527f576569726450756e6b733a204d6967726174696f6e2069732063757272656e74604482015266363c9037b832b760c91b606482015260840161073a565b600d548151600e54610fb99190612f25565b11156110075760405162461bcd60e51b815260206004820152601e60248201527f576569726450756e6b733a2045786365656473206d617820737570706c790000604482015260640161073a565b60005b81518110156109cc5761103582828151811061102857611028613060565b6020026020010151611c10565b1582828151811061104857611048613060565b602002602001015160405160200161108c91907f576569726450756e6b733a20416c7265616479204d696e7465642049442023008152601f810191909152603f0190565b604051602081830303815290604052906110b95760405162461bcd60e51b815260040161073a9190612d84565b506110d08383838151811061076657610766613060565b600e80549060006110e083613005565b91905055506001601160008484815181106110fd576110fd613060565b6020026020010151815260200190815260200160002054101561114c57426011600084848151811061113157611131613060565b60200260200101518152602001908152602001600020819055505b8061115681613005565b91505061100a565b60006001600160a01b0382166111c95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161073a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461120f5760405162461bcd60e51b815260040161073a90612e6e565b6112196000612018565b565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546107b090612fca565b610b5a33838361206a565b61126a3383611c9b565b6112865760405162461bcd60e51b815260040161073a90612ea3565b61079b84848484612139565b600a8054610e9290612fca565b60606112aa82611c10565b61130a5760405162461bcd60e51b815260206004820152602b60248201527f576569726450756e6b733a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b606482015260840161073a565b600061131461216c565b905060008151116113345760405180602001604052806000815250611362565b8061133e8461217b565b600a60405160200161135293929190612ba8565b6040516020818303038152906040525b9392505050565b600f54600160a01b900460ff166113d45760405162461bcd60e51b815260206004820152602960248201527f576569726450756e6b733a204d6967726174696f6e2069732063757272656e746044820152681b1e4818db1bdcd95960ba1b606482015260840161073a565b600c5460405163e985e9c560e01b81526001600160a01b0384811660048301523060248301529091169063e985e9c59060440160206040518083038186803b15801561141f57600080fd5b505afa158015611433573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114579190612a65565b6114ad5760405162461bcd60e51b815260206004820152602160248201527f576569726450756e6b733a204e6f7420617070726f76656420666f72206275726044820152603760f91b606482015260840161073a565b600d548151600e546114bf9190612f25565b111561150d5760405162461bcd60e51b815260206004820152601e60248201527f576569726450756e6b733a2045786365656473206d617820737570706c790000604482015260640161073a565b60005b81518110156109cc5761152e82828151811061102857611028613060565b1582828151811061154157611541613060565b602002602001015160405160200161158591907f576569726450756e6b733a20416c7265616479204d696e7465642049442023008152601f810191909152603f0190565b604051602081830303815290604052906115b25760405162461bcd60e51b815260040161073a9190612d84565b506000600b60008484815181106115cb576115cb613060565b6020908102919091018101518252810191909152604090810160002054600c546010549251637921219560e11b81529193506060926001600160a01b039182169263f242432a9261162a928a9291169087906001908890600401612cf6565b600060405180830381600087803b15801561164457600080fd5b505af1158015611658573d6000803e3d6000fd5b50505050426011600086868151811061167357611673613060565b60200260200101518152602001908152602001600020819055506116a38585858151811061076657610766613060565b600e80549060006116b383613005565b9190505550505080806116c590613005565b915050611510565b6006546001600160a01b031633146116f75760405162461bcd60e51b815260040161073a90612e6e565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526007602052604090206001015461173481611f21565b6109cc8383611fb1565b600f54600160a81b900460ff1661175457600080fd5b6014815111156117a65760405162461bcd60e51b815260206004820152601960248201527f576569726450756e6b733a2045786365656473206c696d697400000000000000604482015260640161073a565b6000815167ffffffffffffffff8111156117c2576117c2613076565b6040519080825280602002602001820160405280156117eb578160200160208202803683370190505b50905060005b82518110156119495761181c83828151811061180f5761180f613060565b6020026020010151610e0e565b6001600160a01b0316336001600160a01b03161483828151811061184257611842613060565b602002602001015160405160200161188691907f576569726450756e6b733a20496e76616c6964206f776e6572206f66200000008152601d810191909152603d0190565b604051602081830303815290604052906118b35760405162461bcd60e51b815260040161073a9190612d84565b506118d68382815181106118c9576118c9613060565b6020026020010151612279565b600e80549060006118e683612fb3565b919050555061191a83828151811061190057611900613060565b602002602001015160009081526011602052604090205490565b82828151811061192c5761192c613060565b60209081029190910101528061194181613005565b9150506117f1565b507ff0d2f07f105dd21d53f83b9961866a21fdaff54c855abaa344a55c47738efd3433838360405161197d93929190612d3b565b60405180910390a15050565b6006546001600160a01b031633146119b35760405162461bcd60e51b815260040161073a90612e6e565b6001600160a01b038116611a185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073a565b611a2181612018565b50565b6006546001600160a01b03163314611a4e5760405162461bcd60e51b815260040161073a90612e6e565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314611a9a5760405162461bcd60e51b815260040161073a90612e6e565b600f8054911515600160a81b0260ff60a81b19909216919091179055565b60006001600160e01b03198216637965db0b60e01b14806106fb57506106fb82612314565b6001600160a01b038216611b335760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161073a565b611b3c81611c10565b15611b895760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161073a565b6001600160a01b0382166000908152600360205260408120805460019290611bb2908490612f25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c6282610e0e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ca682611c10565b611d075760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073a565b6000611d1283610e0e565b9050806001600160a01b0316846001600160a01b03161480611d5957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d7d5750836001600160a01b0316611d7284610833565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d9882610e0e565b6001600160a01b031614611dfc5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161073a565b6001600160a01b038216611e5e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161073a565b611e69600082611c2d565b6001600160a01b0383166000908152600360205260408120805460019290611e92908490612f70565b90915550506001600160a01b0382166000908152600360205260408120805460019290611ec0908490612f25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611a218133612364565b611f35828261121b565b610b5a5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f6d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611fbb828261121b565b15610b5a5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156120cc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161073a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612144848484611d85565b612150848484846123c8565b61079b5760405162461bcd60e51b815260040161073a90612e1c565b6060600980546107b090612fca565b60608161219f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c957806121b381613005565b91506121c29050600a83612f3d565b91506121a3565b60008167ffffffffffffffff8111156121e4576121e4613076565b6040519080825280601f01601f19166020018201604052801561220e576020820181803683370190505b5090505b8415611d7d57612223600183612f70565b9150612230600a86613020565b61223b906030612f25565b60f81b81838151811061225057612250613060565b60200101906001600160f81b031916908160001a905350612272600a86612f3d565b9450612212565b600061228482610e0e565b9050612291600083611c2d565b6001600160a01b03811660009081526003602052604081208054600192906122ba908490612f70565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b031982166380ac58cd60e01b148061234557506001600160e01b03198216635b5e139f60e01b145b806106fb57506301ffc9a760e01b6001600160e01b03198316146106fb565b61236e828261121b565b610b5a57612386816001600160a01b031660146124d5565b6123918360206124d5565b6040516020016123a2929190612c44565b60408051601f198184030181529082905262461bcd60e51b825261073a91600401612d84565b60006001600160a01b0384163b156124ca57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061240c903390899088908890600401612cb9565b602060405180830381600087803b15801561242657600080fd5b505af1925050508015612456575060408051601f3d908101601f1916820190925261245391810190612adb565b60015b6124b0573d808015612484576040519150601f19603f3d011682016040523d82523d6000602084013e612489565b606091505b5080516124a85760405162461bcd60e51b815260040161073a90612e1c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d7d565b506001949350505050565b606060006124e4836002612f51565b6124ef906002612f25565b67ffffffffffffffff81111561250757612507613076565b6040519080825280601f01601f191660200182016040528015612531576020820181803683370190505b509050600360fc1b8160008151811061254c5761254c613060565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061257b5761257b613060565b60200101906001600160f81b031916908160001a905350600061259f846002612f51565b6125aa906001612f25565b90505b6001811115612622576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106125de576125de613060565b1a60f81b8282815181106125f4576125f4613060565b60200101906001600160f81b031916908160001a90535060049490941c9361261b81612fb3565b90506125ad565b5083156113625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161073a565b82805461267d90612fca565b90600052602060002090601f01602090048101928261269f57600085556126e5565b82601f106126b857805160ff19168380011785556126e5565b828001600101855582156126e5579182015b828111156126e55782518255916020019190600101906126ca565b506126f19291506126f5565b5090565b5b808211156126f157600081556001016126f6565b600067ffffffffffffffff83111561272457612724613076565b612737601f8401601f1916602001612ef4565b905082815283838301111561274b57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461277957600080fd5b919050565b600082601f83011261278f57600080fd5b8135602067ffffffffffffffff8211156127ab576127ab613076565b8160051b6127ba828201612ef4565b8381528281019086840183880185018910156127d557600080fd5b600093505b858410156127f85780358352600193909301929184019184016127da565b50979650505050505050565b60006020828403121561281657600080fd5b61136282612762565b6000806040838503121561283257600080fd5b61283b83612762565b915061284960208401612762565b90509250929050565b60008060006060848603121561286757600080fd5b61287084612762565b925061287e60208501612762565b9150604084013590509250925092565b600080600080608085870312156128a457600080fd5b6128ad85612762565b93506128bb60208601612762565b925060408501359150606085013567ffffffffffffffff8111156128de57600080fd5b8501601f810187136128ef57600080fd5b6128fe8782356020840161270a565b91505092959194509250565b6000806040838503121561291d57600080fd5b61292683612762565b9150602083013567ffffffffffffffff81111561294257600080fd5b61294e8582860161277e565b9150509250929050565b6000806040838503121561296b57600080fd5b61297483612762565b915060208301356129848161308c565b809150509250929050565b600080604083850312156129a257600080fd5b6129ab83612762565b946020939093013593505050565b6000602082840312156129cb57600080fd5b813567ffffffffffffffff8111156129e257600080fd5b611d7d8482850161277e565b60008060408385031215612a0157600080fd5b823567ffffffffffffffff80821115612a1957600080fd5b612a258683870161277e565b93506020850135915080821115612a3b57600080fd5b5061294e8582860161277e565b600060208284031215612a5a57600080fd5b81356113628161308c565b600060208284031215612a7757600080fd5b81516113628161308c565b600060208284031215612a9457600080fd5b5035919050565b60008060408385031215612aae57600080fd5b8235915061284960208401612762565b600060208284031215612ad057600080fd5b81356113628161309a565b600060208284031215612aed57600080fd5b81516113628161309a565b600060208284031215612b0a57600080fd5b813567ffffffffffffffff811115612b2157600080fd5b8201601f81018413612b3257600080fd5b611d7d8482356020840161270a565b600081518084526020808501945080840160005b83811015612b7157815187529582019590820190600101612b55565b509495945050505050565b60008151808452612b94816020860160208601612f87565b601f01601f19169290920160200192915050565b600084516020612bbb8285838a01612f87565b855191840191612bce8184848a01612f87565b8554920191600090612bdf81612fca565b60018281168015612bf75760018114612c0857612c34565b60ff19841687528287019450612c34565b896000528560002060005b84811015612c2c57815489820152908301908701612c13565b505082870194505b50929a9950505050505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c7c816017850160208801612f87565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612cad816028840160208801612f87565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cec90830184612b7c565b9695505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612d3090830184612b7c565b979650505050505050565b6001600160a01b0384168152606060208201819052600090612d5f90830185612b41565b8281036040840152612cec8185612b41565b6020815260006113626020830184612b41565b6020815260006113626020830184612b7c565b6000602080835260008454612dab81612fca565b80848701526040600180841660008114612dcc5760018114612de057612e0e565b60ff19851689840152606089019550612e0e565b896000528660002060005b85811015612e065781548b8201860152908301908801612deb565b8a0184019650505b509398975050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f1d57612f1d613076565b604052919050565b60008219821115612f3857612f38613034565b500190565b600082612f4c57612f4c61304a565b500490565b6000816000190483118215151615612f6b57612f6b613034565b500290565b600082821015612f8257612f82613034565b500390565b60005b83811015612fa2578181015183820152602001612f8a565b8381111561079b5750506000910152565b600081612fc257612fc2613034565b506000190190565b600181811c90821680612fde57607f821691505b60208210811415612fff57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561301957613019613034565b5060010190565b60008261302f5761302f61304a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611a2157600080fd5b6001600160e01b031981168114611a2157600080fdfe352d05fe3946dbe49277552ba941e744d5a96d9c60bc1ba0ea5f1d3ae000f7c8a2646970667358221220590d5aad307d9d66df3dabf79c7a3d635d66fe7e30c6aba9d839509b3b178ccb64736f6c634300080700334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e000000000000000000000000932532aa4c0174b8453839a6e44ee09cc615f2b700000000000000000000000095cce6f5e3ade23044dd91b7f28bfd8c733612b5000000000000000000000000a32f7e47ad26dfa3ee4eafa99ebc30645ca58ab80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57664e4d54675167343246376d67484662487661614a3152614c657659536333745445636d554a5642696f382f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102d65760003560e01c8063715018a611610182578063c80851c4116100e9578063d5abeb01116100a2578063e985e9c51161007c578063e985e9c51461067b578063f2fde38b146106b7578063f3850630146106ca578063f5ad7ca9146106dd57600080fd5b8063d5abeb0114610638578063e72db5fd14610641578063e8cd0da21461066857600080fd5b8063c80851c4146105b9578063c87b56dd146105d9578063c916bbe5146105ec578063ccb410d7146105ff578063ce920a4914610612578063d547741f1461062557600080fd5b8063a217fddf1161013b578063a217fddf1461055d578063a22cb46514610565578063a89ae4ba14610578578063b88d4fde1461058b578063c66828621461059e578063c690023e146105a657600080fd5b8063715018a6146105015780638da5cb5b14610509578063918498ae1461051a57806391d148541461053a5780639559c0bd1461054d57806395d89b411461055557600080fd5b806338013f0211610241578063520e61e9116101fa5780636352211e116101d45780636352211e146104c05780636c0360eb146104d35780636ffa1b1b146104db57806370a08231146104ee57600080fd5b8063520e61e9146104865780635283da091461049957806355f804b3146104ad57600080fd5b806338013f021461041257806340c10f191461042757806342842e0e1461043a5780634c69c00f1461044d5780634f558e791461046057806350c88ae01461047357600080fd5b806323b872dd1161029357806323b872dd14610382578063248a9ca31461039557806327697e6f146103b85780632f2ff15d146103d857806335d69059146103eb57806336568abe146103ff57600080fd5b806301ffc9a7146102db57806306d9ff5d1461030357806306fdde0314610318578063081812fc1461032d578063095ea7b31461035857806318160ddd1461036b575b600080fd5b6102ee6102e9366004612abe565b6106f0565b60405190151581526020015b60405180910390f35b61031661031136600461290a565b610701565b005b6103206107a1565b6040516102fa9190612d84565b61034061033b366004612a82565b610833565b6040516001600160a01b0390911681526020016102fa565b61031661036636600461298f565b6108bb565b610374600e5481565b6040519081526020016102fa565b610316610390366004612852565b6109d1565b6103746103a3366004612a82565b60009081526007602052604090206001015490565b6103cb6103c63660046129b9565b610a02565b6040516102fa9190612d71565b6103166103e6366004612a9b565b610abb565b600f546102ee90600160a01b900460ff1681565b61031661040d366004612a9b565b610ae0565b6103746000805160206130b183398151915281565b61031661043536600461298f565b610b5e565b610316610448366004612852565b610bce565b61031661045b366004612804565b610be9565b6102ee61046e366004612a82565b610c72565b610316610481366004612a48565b610c7d565b6102ee6104943660046129ee565b610cc5565b600f546102ee90600160a81b900460ff1681565b6103166104bb366004612af8565b610dd1565b6103406104ce366004612a82565b610e0e565b610320610e85565b6103166104e936600461290a565b610f13565b6103746104fc366004612804565b61115e565b6103166111e5565b6006546001600160a01b0316610340565b610374610528366004612a82565b600b6020526000908152604090205481565b6102ee610548366004612a9b565b61121b565b610374601481565b610320611246565b610374600081565b610316610573366004612958565b611255565b600f54610340906001600160a01b031681565b61031661059936600461288e565b611260565b610320611292565b600c54610340906001600160a01b031681565b6103746105c7366004612a82565b60009081526011602052604090205490565b6103206105e7366004612a82565b61129f565b6103166105fa36600461290a565b611369565b601054610340906001600160a01b031681565b610316610620366004612804565b6116cd565b610316610633366004612a9b565b611719565b610374600d5481565b6103747f12ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f281565b6103166106763660046129b9565b61173e565b6102ee61068936600461281f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103166106c5366004612804565b611989565b6103166106d8366004612804565b611a24565b6103166106eb366004612a48565b611a70565b60006106fb82611ab8565b92915050565b6000805160206130b183398151915261071a813361121b565b6008906107435760405162461bcd60e51b815260040161073a9190612d97565b60405180910390fd5b5060005b825181101561079b576107738484838151811061076657610766613060565b6020026020010151611add565b600e805490600061078383613005565b9190505550808061079390613005565b915050610747565b50505050565b6060600080546107b090612fca565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90612fca565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b5050505050905090565b600061083e82611c10565b61089f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073a565b506000908152600460205260409020546001600160a01b031690565b60006108c682610e0e565b9050806001600160a01b0316836001600160a01b031614156109345760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161073a565b336001600160a01b038216148061095057506109508133610689565b6109c25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161073a565b6109cc8383611c2d565b505050565b6109db3382611c9b565b6109f75760405162461bcd60e51b815260040161073a90612ea3565b6109cc838383611d85565b60606000825167ffffffffffffffff811115610a2057610a20613076565b604051908082528060200260200182016040528015610a49578160200160208202803683370190505b50905060005b8351811015610ab45760116000858381518110610a6e57610a6e613060565b6020026020010151815260200190815260200160002054828281518110610a9757610a97613060565b602090810291909101015280610aac81613005565b915050610a4f565b5092915050565b600082815260076020526040902060010154610ad681611f21565b6109cc8383611f2b565b6001600160a01b0381163314610b505760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161073a565b610b5a8282611fb1565b5050565b7f12ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f2610b89813361121b565b600890610ba95760405162461bcd60e51b815260040161073a9190612d97565b50610bb48383611add565b600e8054906000610bc483613005565b9190505550505050565b6109cc83838360405180602001604052806000815250611260565b6006546001600160a01b03163314610c135760405162461bcd60e51b815260040161073a90612e6e565b600f54610c38906000805160206130b1833981519152906001600160a01b0316611fb1565b610c506000805160206130b183398151915282611f2b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60006106fb82611c10565b6006546001600160a01b03163314610ca75760405162461bcd60e51b815260040161073a90612e6e565b600f8054911515600160a01b0260ff60a01b19909216919091179055565b6006546000906001600160a01b03163314610cf25760405162461bcd60e51b815260040161073a90612e6e565b8151835114610d5d5760405162461bcd60e51b815260206004820152603160248201527f576569726450756e6b733a2049447320616e64204f53494473206d75737420626044820152700ca40e8d0ca40e6c2daca40d8cadccee8d607b1b606482015260840161073a565b60005b8351811015610ab457610db5848281518110610d7e57610d7e613060565b6020026020010151848381518110610d9857610d98613060565b60200260200101516000918252600b602052604090912055600190565b15610dbf57600191505b80610dc981613005565b915050610d60565b6006546001600160a01b03163314610dfb5760405162461bcd60e51b815260040161073a90612e6e565b8051610b5a906009906020840190612671565b6000818152600260205260408120546001600160a01b0316806106fb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161073a565b60098054610e9290612fca565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebe90612fca565b8015610f0b5780601f10610ee057610100808354040283529160200191610f0b565b820191906000526020600020905b815481529060010190602001808311610eee57829003601f168201915b505050505081565b6006546001600160a01b03163314610f3d5760405162461bcd60e51b815260040161073a90612e6e565b600f54600160a01b900460ff1615610fa75760405162461bcd60e51b815260206004820152602760248201527f576569726450756e6b733a204d6967726174696f6e2069732063757272656e74604482015266363c9037b832b760c91b606482015260840161073a565b600d548151600e54610fb99190612f25565b11156110075760405162461bcd60e51b815260206004820152601e60248201527f576569726450756e6b733a2045786365656473206d617820737570706c790000604482015260640161073a565b60005b81518110156109cc5761103582828151811061102857611028613060565b6020026020010151611c10565b1582828151811061104857611048613060565b602002602001015160405160200161108c91907f576569726450756e6b733a20416c7265616479204d696e7465642049442023008152601f810191909152603f0190565b604051602081830303815290604052906110b95760405162461bcd60e51b815260040161073a9190612d84565b506110d08383838151811061076657610766613060565b600e80549060006110e083613005565b91905055506001601160008484815181106110fd576110fd613060565b6020026020010151815260200190815260200160002054101561114c57426011600084848151811061113157611131613060565b60200260200101518152602001908152602001600020819055505b8061115681613005565b91505061100a565b60006001600160a01b0382166111c95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161073a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461120f5760405162461bcd60e51b815260040161073a90612e6e565b6112196000612018565b565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600180546107b090612fca565b610b5a33838361206a565b61126a3383611c9b565b6112865760405162461bcd60e51b815260040161073a90612ea3565b61079b84848484612139565b600a8054610e9290612fca565b60606112aa82611c10565b61130a5760405162461bcd60e51b815260206004820152602b60248201527f576569726450756e6b733a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b606482015260840161073a565b600061131461216c565b905060008151116113345760405180602001604052806000815250611362565b8061133e8461217b565b600a60405160200161135293929190612ba8565b6040516020818303038152906040525b9392505050565b600f54600160a01b900460ff166113d45760405162461bcd60e51b815260206004820152602960248201527f576569726450756e6b733a204d6967726174696f6e2069732063757272656e746044820152681b1e4818db1bdcd95960ba1b606482015260840161073a565b600c5460405163e985e9c560e01b81526001600160a01b0384811660048301523060248301529091169063e985e9c59060440160206040518083038186803b15801561141f57600080fd5b505afa158015611433573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114579190612a65565b6114ad5760405162461bcd60e51b815260206004820152602160248201527f576569726450756e6b733a204e6f7420617070726f76656420666f72206275726044820152603760f91b606482015260840161073a565b600d548151600e546114bf9190612f25565b111561150d5760405162461bcd60e51b815260206004820152601e60248201527f576569726450756e6b733a2045786365656473206d617820737570706c790000604482015260640161073a565b60005b81518110156109cc5761152e82828151811061102857611028613060565b1582828151811061154157611541613060565b602002602001015160405160200161158591907f576569726450756e6b733a20416c7265616479204d696e7465642049442023008152601f810191909152603f0190565b604051602081830303815290604052906115b25760405162461bcd60e51b815260040161073a9190612d84565b506000600b60008484815181106115cb576115cb613060565b6020908102919091018101518252810191909152604090810160002054600c546010549251637921219560e11b81529193506060926001600160a01b039182169263f242432a9261162a928a9291169087906001908890600401612cf6565b600060405180830381600087803b15801561164457600080fd5b505af1158015611658573d6000803e3d6000fd5b50505050426011600086868151811061167357611673613060565b60200260200101518152602001908152602001600020819055506116a38585858151811061076657610766613060565b600e80549060006116b383613005565b9190505550505080806116c590613005565b915050611510565b6006546001600160a01b031633146116f75760405162461bcd60e51b815260040161073a90612e6e565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526007602052604090206001015461173481611f21565b6109cc8383611fb1565b600f54600160a81b900460ff1661175457600080fd5b6014815111156117a65760405162461bcd60e51b815260206004820152601960248201527f576569726450756e6b733a2045786365656473206c696d697400000000000000604482015260640161073a565b6000815167ffffffffffffffff8111156117c2576117c2613076565b6040519080825280602002602001820160405280156117eb578160200160208202803683370190505b50905060005b82518110156119495761181c83828151811061180f5761180f613060565b6020026020010151610e0e565b6001600160a01b0316336001600160a01b03161483828151811061184257611842613060565b602002602001015160405160200161188691907f576569726450756e6b733a20496e76616c6964206f776e6572206f66200000008152601d810191909152603d0190565b604051602081830303815290604052906118b35760405162461bcd60e51b815260040161073a9190612d84565b506118d68382815181106118c9576118c9613060565b6020026020010151612279565b600e80549060006118e683612fb3565b919050555061191a83828151811061190057611900613060565b602002602001015160009081526011602052604090205490565b82828151811061192c5761192c613060565b60209081029190910101528061194181613005565b9150506117f1565b507ff0d2f07f105dd21d53f83b9961866a21fdaff54c855abaa344a55c47738efd3433838360405161197d93929190612d3b565b60405180910390a15050565b6006546001600160a01b031633146119b35760405162461bcd60e51b815260040161073a90612e6e565b6001600160a01b038116611a185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161073a565b611a2181612018565b50565b6006546001600160a01b03163314611a4e5760405162461bcd60e51b815260040161073a90612e6e565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314611a9a5760405162461bcd60e51b815260040161073a90612e6e565b600f8054911515600160a81b0260ff60a81b19909216919091179055565b60006001600160e01b03198216637965db0b60e01b14806106fb57506106fb82612314565b6001600160a01b038216611b335760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161073a565b611b3c81611c10565b15611b895760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161073a565b6001600160a01b0382166000908152600360205260408120805460019290611bb2908490612f25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c6282610e0e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ca682611c10565b611d075760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161073a565b6000611d1283610e0e565b9050806001600160a01b0316846001600160a01b03161480611d5957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d7d5750836001600160a01b0316611d7284610833565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d9882610e0e565b6001600160a01b031614611dfc5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161073a565b6001600160a01b038216611e5e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161073a565b611e69600082611c2d565b6001600160a01b0383166000908152600360205260408120805460019290611e92908490612f70565b90915550506001600160a01b0382166000908152600360205260408120805460019290611ec0908490612f25565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611a218133612364565b611f35828261121b565b610b5a5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f6d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611fbb828261121b565b15610b5a5760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156120cc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161073a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612144848484611d85565b612150848484846123c8565b61079b5760405162461bcd60e51b815260040161073a90612e1c565b6060600980546107b090612fca565b60608161219f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c957806121b381613005565b91506121c29050600a83612f3d565b91506121a3565b60008167ffffffffffffffff8111156121e4576121e4613076565b6040519080825280601f01601f19166020018201604052801561220e576020820181803683370190505b5090505b8415611d7d57612223600183612f70565b9150612230600a86613020565b61223b906030612f25565b60f81b81838151811061225057612250613060565b60200101906001600160f81b031916908160001a905350612272600a86612f3d565b9450612212565b600061228482610e0e565b9050612291600083611c2d565b6001600160a01b03811660009081526003602052604081208054600192906122ba908490612f70565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b031982166380ac58cd60e01b148061234557506001600160e01b03198216635b5e139f60e01b145b806106fb57506301ffc9a760e01b6001600160e01b03198316146106fb565b61236e828261121b565b610b5a57612386816001600160a01b031660146124d5565b6123918360206124d5565b6040516020016123a2929190612c44565b60408051601f198184030181529082905262461bcd60e51b825261073a91600401612d84565b60006001600160a01b0384163b156124ca57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061240c903390899088908890600401612cb9565b602060405180830381600087803b15801561242657600080fd5b505af1925050508015612456575060408051601f3d908101601f1916820190925261245391810190612adb565b60015b6124b0573d808015612484576040519150601f19603f3d011682016040523d82523d6000602084013e612489565b606091505b5080516124a85760405162461bcd60e51b815260040161073a90612e1c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d7d565b506001949350505050565b606060006124e4836002612f51565b6124ef906002612f25565b67ffffffffffffffff81111561250757612507613076565b6040519080825280601f01601f191660200182016040528015612531576020820181803683370190505b509050600360fc1b8160008151811061254c5761254c613060565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061257b5761257b613060565b60200101906001600160f81b031916908160001a905350600061259f846002612f51565b6125aa906001612f25565b90505b6001811115612622576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106125de576125de613060565b1a60f81b8282815181106125f4576125f4613060565b60200101906001600160f81b031916908160001a90535060049490941c9361261b81612fb3565b90506125ad565b5083156113625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161073a565b82805461267d90612fca565b90600052602060002090601f01602090048101928261269f57600085556126e5565b82601f106126b857805160ff19168380011785556126e5565b828001600101855582156126e5579182015b828111156126e55782518255916020019190600101906126ca565b506126f19291506126f5565b5090565b5b808211156126f157600081556001016126f6565b600067ffffffffffffffff83111561272457612724613076565b612737601f8401601f1916602001612ef4565b905082815283838301111561274b57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461277957600080fd5b919050565b600082601f83011261278f57600080fd5b8135602067ffffffffffffffff8211156127ab576127ab613076565b8160051b6127ba828201612ef4565b8381528281019086840183880185018910156127d557600080fd5b600093505b858410156127f85780358352600193909301929184019184016127da565b50979650505050505050565b60006020828403121561281657600080fd5b61136282612762565b6000806040838503121561283257600080fd5b61283b83612762565b915061284960208401612762565b90509250929050565b60008060006060848603121561286757600080fd5b61287084612762565b925061287e60208501612762565b9150604084013590509250925092565b600080600080608085870312156128a457600080fd5b6128ad85612762565b93506128bb60208601612762565b925060408501359150606085013567ffffffffffffffff8111156128de57600080fd5b8501601f810187136128ef57600080fd5b6128fe8782356020840161270a565b91505092959194509250565b6000806040838503121561291d57600080fd5b61292683612762565b9150602083013567ffffffffffffffff81111561294257600080fd5b61294e8582860161277e565b9150509250929050565b6000806040838503121561296b57600080fd5b61297483612762565b915060208301356129848161308c565b809150509250929050565b600080604083850312156129a257600080fd5b6129ab83612762565b946020939093013593505050565b6000602082840312156129cb57600080fd5b813567ffffffffffffffff8111156129e257600080fd5b611d7d8482850161277e565b60008060408385031215612a0157600080fd5b823567ffffffffffffffff80821115612a1957600080fd5b612a258683870161277e565b93506020850135915080821115612a3b57600080fd5b5061294e8582860161277e565b600060208284031215612a5a57600080fd5b81356113628161308c565b600060208284031215612a7757600080fd5b81516113628161308c565b600060208284031215612a9457600080fd5b5035919050565b60008060408385031215612aae57600080fd5b8235915061284960208401612762565b600060208284031215612ad057600080fd5b81356113628161309a565b600060208284031215612aed57600080fd5b81516113628161309a565b600060208284031215612b0a57600080fd5b813567ffffffffffffffff811115612b2157600080fd5b8201601f81018413612b3257600080fd5b611d7d8482356020840161270a565b600081518084526020808501945080840160005b83811015612b7157815187529582019590820190600101612b55565b509495945050505050565b60008151808452612b94816020860160208601612f87565b601f01601f19169290920160200192915050565b600084516020612bbb8285838a01612f87565b855191840191612bce8184848a01612f87565b8554920191600090612bdf81612fca565b60018281168015612bf75760018114612c0857612c34565b60ff19841687528287019450612c34565b896000528560002060005b84811015612c2c57815489820152908301908701612c13565b505082870194505b50929a9950505050505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c7c816017850160208801612f87565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612cad816028840160208801612f87565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cec90830184612b7c565b9695505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612d3090830184612b7c565b979650505050505050565b6001600160a01b0384168152606060208201819052600090612d5f90830185612b41565b8281036040840152612cec8185612b41565b6020815260006113626020830184612b41565b6020815260006113626020830184612b7c565b6000602080835260008454612dab81612fca565b80848701526040600180841660008114612dcc5760018114612de057612e0e565b60ff19851689840152606089019550612e0e565b896000528660002060005b85811015612e065781548b8201860152908301908801612deb565b8a0184019650505b509398975050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f1d57612f1d613076565b604052919050565b60008219821115612f3857612f38613034565b500190565b600082612f4c57612f4c61304a565b500490565b6000816000190483118215151615612f6b57612f6b613034565b500290565b600082821015612f8257612f82613034565b500390565b60005b83811015612fa2578181015183820152602001612f8a565b8381111561079b5750506000910152565b600081612fc257612fc2613034565b506000190190565b600181811c90821680612fde57607f821691505b60208210811415612fff57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561301957613019613034565b5060010190565b60008261302f5761302f61304a565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611a2157600080fd5b6001600160e01b031981168114611a2157600080fdfe352d05fe3946dbe49277552ba941e744d5a96d9c60bc1ba0ea5f1d3ae000f7c8a2646970667358221220590d5aad307d9d66df3dabf79c7a3d635d66fe7e30c6aba9d839509b3b178ccb64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e000000000000000000000000932532aa4c0174b8453839a6e44ee09cc615f2b700000000000000000000000095cce6f5e3ade23044dd91b7f28bfd8c733612b5000000000000000000000000a32f7e47ad26dfa3ee4eafa99ebc30645ca58ab80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57664e4d54675167343246376d67484662487661614a3152614c657659536333745445636d554a5642696f382f00000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmWfNMTgQg42F7mgHFbHvaaJ1RaLevYSc3tTEcmUJVBio8/
Arg [1] : _openseaContract (address): 0x495f947276749Ce646f68AC8c248420045cb7b5e
Arg [2] : _MintableAssetProxy (address): 0x932532aA4c0174b8453839A6E44eE09Cc615F2b7
Arg [3] : _oracleAddress (address): 0x95Cce6F5E3AdE23044dD91B7F28BfD8C733612b5
Arg [4] : _delistWallet (address): 0xA32f7e47ad26dFa3Ee4eafA99Ebc30645cA58AB8

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e
Arg [2] : 000000000000000000000000932532aa4c0174b8453839a6e44ee09cc615f2b7
Arg [3] : 00000000000000000000000095cce6f5e3ade23044dd91b7f28bfd8c733612b5
Arg [4] : 000000000000000000000000a32f7e47ad26dfa3ee4eafa99ebc30645ca58ab8
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d57664e4d54675167343246376d67484662487661614a31
Arg [7] : 52614c657659536333745445636d554a5642696f382f00000000000000000000


Deployed Bytecode Sourcemap

825:6082:20:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1626:170;;;;;;:::i;:::-;;:::i;:::-;;;12814:14:21;;12807:22;12789:41;;12777:2;12762:18;1626:170:20;;;;;;;;2673:186;;;;;;:::i;:::-;;:::i;:::-;;2501:100:8;;;:::i;:::-;;;;;;;:::i;4061:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10397:32:21;;;10379:51;;10367:2;10352:18;4061:221:8;10233:203:21;3584:411:8;;;;;;:::i;:::-;;:::i;1121:30:20:-;;;;;;;;;12987:25:21;;;12975:2;12960:18;1121:30:20;12841:177:21;4811:339:8;;;;;;:::i;:::-;;:::i;4483:131:0:-;;;;;;:::i;:::-;4557:7;4584:12;;;:6;:12;;;;;:22;;;;4483:131;4740:289:20;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4876:147:0:-;;;;;;:::i;:::-;;:::i;1319:34:20:-;;;;;-1:-1:-1;;;1319:34:20;;;;;;5924:218:0;;;;;;:::i;:::-;;:::i;1229:52:20:-;;-1:-1:-1;;;;;;;;;;;1229:52:20;;2435:128;;;;;;:::i;:::-;;:::i;5221:185:8:-;;;;;;:::i;:::-;;:::i;6706:198:20:-;;;;;;:::i;:::-;;:::i;2569:98::-;;;;;;:::i;:::-;;:::i;6402:91::-;;;;;;:::i;:::-;;:::i;5792:358::-;;;;;;:::i;:::-;;:::i;1358:33::-;;;;;-1:-1:-1;;;1358:33:20;;;;;;6157:98;;;;;;:::i;:::-;;:::i;2195:239:8:-;;;;;;:::i;:::-;;:::i;922:21:20:-;;;:::i;5052:583::-;;;;;;:::i;:::-;;:::i;1925:208:8:-;;;;;;:::i;:::-;;:::i;1714:103:17:-;;;:::i;1063:87::-;1136:6;;-1:-1:-1;;;;;1136:6:17;1063:87;;990:47:20;;;;;;:::i;:::-;;;;;;;;;;;;;;2943:147:0;;;;;;:::i;:::-;;:::i;1396:40:20:-;;1434:2;1396:40;;2670:104:8;;;:::i;2048:49:0:-;;2093:4;2048:49;;4354:155:8;;;;;;:::i;:::-;;:::i;1286:28:20:-;;;;;-1:-1:-1;;;;;1286:28:20;;;5477:328:8;;;;;;:::i;:::-;;:::i;948:37:20:-;;;:::i;1042:38::-;;;;;-1:-1:-1;;;;;1042:38:20;;;4622:112;;;;;;:::i;:::-;4684:7;4707:21;;;:16;:21;;;;;;;4622:112;4245:371;;;;;;:::i;:::-;;:::i;3461:777::-;;;;;;:::i;:::-;;:::i;1441:27::-;;;;;-1:-1:-1;;;;;1441:27:20;;;6594:106;;;;;;:::i;:::-;;:::i;5268:149:0:-;;;;;;:::i;:::-;;:::i;1085:31:20:-;;;;;;1156:68;;1197:27;1156:68;;2879:574;;;;;;:::i;:::-;;:::i;4580:164:8:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4701:25:8;;;4677:4;4701:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4580:164;1972:201:17;;;;;;:::i;:::-;;:::i;6261:135:20:-;;;;;;:::i;:::-;;:::i;6499:89::-;;;;;;:::i;:::-;;:::i;1626:170::-;1734:4;1754:36;1778:11;1754:23;:36::i;:::-;1747:43;1626:170;-1:-1:-1;;1626:170:20:o;2673:186::-;-1:-1:-1;;;;;;;;;;;407:27:1;1262:19:20;736:10:3;2943:147:0;:::i;407:27:1:-;449:10;385:85;;;;;-1:-1:-1;;;385:85:1;;;;;;;;:::i;:::-;;;;;;;;;;2764:9:20::1;2759:95;2779:3;:10;2775:1;:14;2759:95;;;2805:19;2811:4;2817:3;2821:1;2817:6;;;;;;;;:::i;:::-;;;;;;;2805:5;:19::i;:::-;2833:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;2791:3;;;;;:::i;:::-;;;;2759:95;;;;2673:186:::0;;;:::o;2501:100:8:-;2555:13;2588:5;2581:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2501:100;:::o;4061:221::-;4137:7;4165:16;4173:7;4165;:16::i;:::-;4157:73;;;;-1:-1:-1;;;4157:73:8;;20512:2:21;4157:73:8;;;20494:21:21;20551:2;20531:18;;;20524:30;20590:34;20570:18;;;20563:62;-1:-1:-1;;;20641:18:21;;;20634:42;20693:19;;4157:73:8;20310:408:21;4157:73:8;-1:-1:-1;4250:24:8;;;;:15;:24;;;;;;-1:-1:-1;;;;;4250:24:8;;4061:221::o;3584:411::-;3665:13;3681:23;3696:7;3681:14;:23::i;:::-;3665:39;;3729:5;-1:-1:-1;;;;;3723:11:8;:2;-1:-1:-1;;;;;3723:11:8;;;3715:57;;;;-1:-1:-1;;;3715:57:8;;21698:2:21;3715:57:8;;;21680:21:21;21737:2;21717:18;;;21710:30;21776:34;21756:18;;;21749:62;-1:-1:-1;;;21827:18:21;;;21820:31;21868:19;;3715:57:8;21496:397:21;3715:57:8;736:10:3;-1:-1:-1;;;;;3807:21:8;;;;:62;;-1:-1:-1;3832:37:8;3849:5;736:10:3;4580:164:8;:::i;3832:37::-;3785:168;;;;-1:-1:-1;;;3785:168:8;;18495:2:21;3785:168:8;;;18477:21:21;18534:2;18514:18;;;18507:30;18573:34;18553:18;;;18546:62;18644:26;18624:18;;;18617:54;18688:19;;3785:168:8;18293:420:21;3785:168:8;3966:21;3975:2;3979:7;3966:8;:21::i;:::-;3654:341;3584:411;;:::o;4811:339::-;5006:41;736:10:3;5039:7:8;5006:18;:41::i;:::-;4998:103;;;;-1:-1:-1;;;4998:103:8;;;;;;;:::i;:::-;5114:28;5124:4;5130:2;5134:7;5114:9;:28::i;4740:289:20:-;4813:16;4838:27;4882:4;:11;4868:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4868:26:20;;4838:56;;4905:9;4901:99;4924:4;:11;4920:1;:15;4901:99;;;4967:16;:25;4984:4;4989:1;4984:7;;;;;;;;:::i;:::-;;;;;;;4967:25;;;;;;;;;;;;4951:10;4962:1;4951:13;;;;;;;;:::i;:::-;;;;;;;;;;:41;4937:3;;;;:::i;:::-;;;;4901:99;;;-1:-1:-1;5013:10:20;4740:289;-1:-1:-1;;4740:289:20:o;4876:147:0:-;4557:7;4584:12;;;:6;:12;;;;;:22;;;2539:16;2550:4;2539:10;:16::i;:::-;4990:25:::1;5001:4;5007:7;4990:10;:25::i;5924:218::-:0;-1:-1:-1;;;;;6020:23:0;;736:10:3;6020:23:0;6012:83;;;;-1:-1:-1;;;6012:83:0;;23698:2:21;6012:83:0;;;23680:21:21;23737:2;23717:18;;;23710:30;23776:34;23756:18;;;23749:62;-1:-1:-1;;;23827:18:21;;;23820:45;23882:19;;6012:83:0;23496:411:21;6012:83:0;6108:26;6120:4;6126:7;6108:11;:26::i;:::-;5924:218;;:::o;2435:128:20:-;1197:27;407::1;1197::20;736:10:3;2943:147:0;:::i;407:27:1:-;449:10;385:85;;;;;-1:-1:-1;;;385:85:1;;;;;;;;:::i;:::-;;2517:20:20::1;2523:4;2529:7;2517:5;:20::i;:::-;2544:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;2435:128:::0;;;:::o;5221:185:8:-;5359:39;5376:4;5382:2;5386:7;5359:39;;;;;;;;;;;;:16;:39::i;6706:198:20:-;1136:6:17;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;6802:13:20::1;::::0;6782:34:::1;::::0;-1:-1:-1;;;;;;;;;;;1262:19:20;-1:-1:-1;;;;;6802:13:20::1;6782:11;:34::i;:::-;6823:36;-1:-1:-1::0;;;;;;;;;;;6842:16:20::1;6823:10;:36::i;:::-;6866:13;:32:::0;;-1:-1:-1;;;;;;6866:32:20::1;-1:-1:-1::0;;;;;6866:32:20;;;::::1;::::0;;;::::1;::::0;;6706:198::o;2569:98::-;2625:4;2645:16;2653:7;2645;:16::i;6402:91::-;1136:6:17;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;6465:14:20::1;:22:::0;;;::::1;;-1:-1:-1::0;;;6465:22:20::1;-1:-1:-1::0;;;;6465:22:20;;::::1;::::0;;;::::1;::::0;;6402:91::o;5792:358::-;1136:6:17;;5888:12:20;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;5931:5:20::1;:12;5917:3;:10;:26;5909:88;;;::::0;-1:-1:-1;;;5909:88:20;;23280:2:21;5909:88:20::1;::::0;::::1;23262:21:21::0;23319:2;23299:18;;;23292:30;23358:34;23338:18;;;23331:62;-1:-1:-1;;;23409:18:21;;;23402:47;23466:19;;5909:88:20::1;23078:413:21::0;5909:88:20::1;6009:9;6004:137;6028:3;:10;6024:1;:14;6004:137;;;6058:39;6080:3;6084:1;6080:6;;;;;;;;:::i;:::-;;;;;;;6088:5;6094:1;6088:8;;;;;;;;:::i;:::-;;;;;;;5714:12:::0;5735:16;;;:12;:16;;;;;;:23;5775:4;;5641:144;6058:39:::1;6054:80;;;6120:4;6110:14;;6054:80;6040:3:::0;::::1;::::0;::::1;:::i;:::-;;;;6004:137;;6157:98:::0;1136:6:17;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;6228:21:20;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;2195:239:8:-:0;2267:7;2303:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2303:16:8;2338:19;2330:73;;;;-1:-1:-1;;;2330:73:8;;19741:2:21;2330:73:8;;;19723:21:21;19780:2;19760:18;;;19753:30;19819:34;19799:18;;;19792:62;-1:-1:-1;;;19870:18:21;;;19863:39;19919:19;;2330:73:8;19539:405:21;922:21:20;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5052:583::-;1136:6:17;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;5143:14:20::1;::::0;-1:-1:-1;;;5143:14:20;::::1;;;5142:15;5134:67;;;::::0;-1:-1:-1;;;5134:67:20;;22100:2:21;5134:67:20::1;::::0;::::1;22082:21:21::0;22139:2;22119:18;;;22112:30;22178:34;22158:18;;;22151:62;-1:-1:-1;;;22229:18:21;;;22222:37;22276:19;;5134:67:20::1;21898:403:21::0;5134:67:20::1;5245:9;;5230:4;:11;5216;;:25;;;;:::i;:::-;:38;;5208:81;;;::::0;-1:-1:-1;;;5208:81:20;;18136:2:21;5208:81:20::1;::::0;::::1;18118:21:21::0;18175:2;18155:18;;;18148:30;18214:32;18194:18;;;18187:60;18264:18;;5208:81:20::1;17934:354:21::0;5208:81:20::1;5300:9;5296:334;5319:4;:11;5315:1;:15;5296:334;;;5357:16;5365:4;5370:1;5365:7;;;;;;;;:::i;:::-;;;;;;;5357;:16::i;:::-;5356:17;5434:4;5439:1;5434:7;;;;;;;;:::i;:::-;;;;;;;5382:60;;;;;;;8982:33:21::0;8970:46;;9041:2;9032:12;;9025:28;;;;9078:2;9069:12;;8740:347;5382:60:20::1;;;;;;;;;;;;;5348:96;;;;;-1:-1:-1::0;;;5348:96:20::1;;;;;;;;:::i;:::-;;5465:19;5471:3;5476:4;5481:1;5476:7;;;;;;;;:::i;5465:19::-;5495:11;:13:::0;;;:11:::1;:13;::::0;::::1;:::i;:::-;;;;;;5552:1;5524:16;:25;5541:4;5546:1;5541:7;;;;;;;;:::i;:::-;;;;;;;5524:25;;;;;;;;;;;;:29;5521:102;;;5596:15;5568:16;:25;5585:4;5590:1;5585:7;;;;;;;;:::i;:::-;;;;;;;5568:25;;;;;;;;;;;:43;;;;5521:102;5332:3:::0;::::1;::::0;::::1;:::i;:::-;;;;5296:334;;1925:208:8::0;1997:7;-1:-1:-1;;;;;2025:19:8;;2017:74;;;;-1:-1:-1;;;2017:74:8;;19330:2:21;2017:74:8;;;19312:21:21;19369:2;19349:18;;;19342:30;19408:34;19388:18;;;19381:62;-1:-1:-1;;;19459:18:21;;;19452:40;19509:19;;2017:74:8;19128:406:21;2017:74:8;-1:-1:-1;;;;;;2109:16:8;;;;;:9;:16;;;;;;;1925:208::o;1714:103:17:-;1136:6;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;2943:147:0:-;3029:4;3053:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3053:29:0;;;;;;;;;;;;;;;2943:147::o;2670:104:8:-;2726:13;2759:7;2752:14;;;;;:::i;4354:155::-;4449:52;736:10:3;4482:8:8;4492;4449:18;:52::i;5477:328::-;5652:41;736:10:3;5685:7:8;5652:18;:41::i;:::-;5644:103;;;;-1:-1:-1;;;5644:103:8;;;;;;;:::i;:::-;5758:39;5772:4;5778:2;5782:7;5791:5;5758:13;:39::i;948:37:20:-;;;;;;;:::i;4245:371::-;4318:13;4348:16;4356:7;4348;:16::i;:::-;4340:72;;;;-1:-1:-1;;;4340:72:20;;20925:2:21;4340:72:20;;;20907:21:21;20964:2;20944:18;;;20937:30;21003:34;20983:18;;;20976:62;-1:-1:-1;;;21054:18:21;;;21047:41;21105:19;;4340:72:20;20723:407:21;4340:72:20;4422:28;4453:10;:8;:10::i;:::-;4422:41;;4508:1;4483:14;4477:28;:32;:133;;;;;;;;;;;;;;;;;4545:14;4561:18;:7;:16;:18::i;:::-;4581:13;4528:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4477:133;4470:140;4245:371;-1:-1:-1;;;4245:371:20:o;3461:777::-;3540:14;;-1:-1:-1;;;3540:14:20;;;;3532:68;;;;-1:-1:-1;;;3532:68:20;;18920:2:21;3532:68:20;;;18902:21:21;18959:2;18939:18;;;18932:30;18998:34;18978:18;;;18971:62;-1:-1:-1;;;19049:18:21;;;19042:39;19098:19;;3532:68:20;18718:405:21;3532:68:20;3615:15;;:52;;-1:-1:-1;;;3615:52:20;;-1:-1:-1;;;;;10671:15:21;;;3615:52:20;;;10653:34:21;3661:4:20;10703:18:21;;;10696:43;3615:15:20;;;;:32;;10588:18:21;;3615:52:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3607:98;;;;-1:-1:-1;;;3607:98:20;;17321:2:21;3607:98:20;;;17303:21:21;17360:2;17340:18;;;17333:30;17399:34;17379:18;;;17372:62;-1:-1:-1;;;17450:18:21;;;17443:31;17491:19;;3607:98:20;17119:397:21;3607:98:20;3749:9;;3734:4;:11;3720;;:25;;;;:::i;:::-;:38;;3712:81;;;;-1:-1:-1;;;3712:81:20;;18136:2:21;3712:81:20;;;18118:21:21;18175:2;18155:18;;;18148:30;18214:32;18194:18;;;18187:60;18264:18;;3712:81:20;17934:354:21;3712:81:20;3806:9;3802:431;3825:4;:11;3821:1;:15;3802:431;;;3863:16;3871:4;3876:1;3871:7;;;;;;;;:::i;3863:16::-;3862:17;3940:4;3945:1;3940:7;;;;;;;;:::i;:::-;;;;;;;3888:60;;;;;;;8982:33:21;8970:46;;9041:2;9032:12;;9025:28;;;;9078:2;9069:12;;8740:347;3888:60:20;;;;;;;;;;;;;3854:96;;;;;-1:-1:-1;;;3854:96:20;;;;;;;;:::i;:::-;;3961:17;3981:12;:21;3994:4;3999:1;3994:7;;;;;;;;:::i;:::-;;;;;;;;;;;;3981:21;;;;;;;;;;;;-1:-1:-1;3981:21:20;;4042:15;;4080:12;;4042:72;;-1:-1:-1;;;4042:72:20;;3981:21;;-1:-1:-1;4013:18:20;;-1:-1:-1;;;;;4042:15:20;;;;:32;;:72;;4075:3;;4080:12;;;3981:21;;4042:15;;4013:18;;4042:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4154:15;4126:16;:25;4143:4;4148:1;4143:7;;;;;;;;:::i;:::-;;;;;;;4126:25;;;;;;;;;;;:43;;;;4182:19;4188:3;4193:4;4198:1;4193:7;;;;;;;;:::i;4182:19::-;4212:11;:13;;;:11;:13;;;:::i;:::-;;;;;;3843:390;;3838:3;;;;;:::i;:::-;;;;3802:431;;6594:106;1136:6:17;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;6666:12:20::1;:28:::0;;-1:-1:-1;;;;;;6666:28:20::1;-1:-1:-1::0;;;;;6666:28:20;;;::::1;::::0;;;::::1;::::0;;6594:106::o;5268:149:0:-;4557:7;4584:12;;;:6;:12;;;;;:22;;;2539:16;2550:4;2539:10;:16::i;:::-;5383:26:::1;5395:4;5401:7;5383:11;:26::i;2879:574:20:-:0;2944:13;;-1:-1:-1;;;2944:13:20;;;;2936:22;;;;;;1434:2;2973:3;:10;:25;;2965:63;;;;-1:-1:-1;;;2965:63:20;;22926:2:21;2965:63:20;;;22908:21:21;22965:2;22945:18;;;22938:30;23004:27;22984:18;;;22977:55;23049:18;;2965:63:20;22724:349:21;2965:63:20;3035:40;3092:3;:10;3078:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3078:25:20;;3035:68;;3115:9;3110:268;3130:3;:10;3126:1;:14;3110:268;;;3178:15;3186:3;3190:1;3186:6;;;;;;;;:::i;:::-;;;;;;;3178:7;:15::i;:::-;-1:-1:-1;;;;;3164:29:20;:10;-1:-1:-1;;;;;3164:29:20;;3252:3;3256:1;3252:6;;;;;;;;:::i;:::-;;;;;;;3202:57;;;;;;;9334:31:21;9322:44;;9391:2;9382:12;;9375:28;;;;9428:2;9419:12;;9092:345;3202:57:20;;;;;;;;;;;;;3156:105;;;;;-1:-1:-1;;;3156:105:20;;;;;;;;:::i;:::-;;3270:13;3276:3;3280:1;3276:6;;;;;;;;:::i;:::-;;;;;;;3270:5;:13::i;:::-;3292:11;:13;;;:11;:13;;;:::i;:::-;;;;;;3343:27;3363:3;3367:1;3363:6;;;;;;;;:::i;:::-;;;;;;;4684:7;4707:21;;;:16;:21;;;;;;;4622:112;3343:27;3314:23;3338:1;3314:26;;;;;;;;:::i;:::-;;;;;;;;;;:56;3142:3;;;;:::i;:::-;;;;3110:268;;;;3389:58;3406:10;3418:3;3423:23;3389:58;;;;;;;;:::i;:::-;;;;;;;;2929:524;2879:574;:::o;1972:201:17:-;1136:6;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;-1:-1:-1;;;;;2061:22:17;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:17;;15392:2:21;2053:73:17::1;::::0;::::1;15374:21:21::0;15431:2;15411:18;;;15404:30;15470:34;15450:18;;;15443:62;-1:-1:-1;;;15521:18:21;;;15514:36;15567:19;;2053:73:17::1;15190:402:21::0;2053:73:17::1;2137:28;2156:8;2137:18;:28::i;:::-;1972:201:::0;:::o;6261:135:20:-;1136:6:17;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;6339:15:20::1;:51:::0;;-1:-1:-1;;;;;;6339:51:20::1;-1:-1:-1::0;;;;;6339:51:20;;;::::1;::::0;;;::::1;::::0;;6261:135::o;6499:89::-;1136:6:17;;-1:-1:-1;;;;;1136:6:17;736:10:3;1283:23:17;1275:68;;;;-1:-1:-1;;;1275:68:17;;;;;;;:::i;:::-;6561:13:20::1;:21:::0;;;::::1;;-1:-1:-1::0;;;6561:21:20::1;-1:-1:-1::0;;;;6561:21:20;;::::1;::::0;;;::::1;::::0;;6499:89::o;2647:204:0:-;2732:4;-1:-1:-1;;;;;;2756:47:0;;-1:-1:-1;;;2756:47:0;;:87;;;2807:36;2831:11;2807:23;:36::i;9293:439:8:-;-1:-1:-1;;;;;9373:16:8;;9365:61;;;;-1:-1:-1;;;9365:61:8;;20151:2:21;9365:61:8;;;20133:21:21;;;20170:18;;;20163:30;20229:34;20209:18;;;20202:62;20281:18;;9365:61:8;19949:356:21;9365:61:8;9446:16;9454:7;9446;:16::i;:::-;9445:17;9437:58;;;;-1:-1:-1;;;9437:58:8;;16205:2:21;9437:58:8;;;16187:21:21;16244:2;16224:18;;;16217:30;16283;16263:18;;;16256:58;16331:18;;9437:58:8;16003:352:21;9437:58:8;-1:-1:-1;;;;;9566:13:8;;;;;;:9;:13;;;;;:18;;9583:1;;9566:13;:18;;9583:1;;9566:18;:::i;:::-;;;;-1:-1:-1;;9595:16:8;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9595:21:8;-1:-1:-1;;;;;9595:21:8;;;;;;;;9634:33;;9595:16;;;9634:33;;9595:16;;9634:33;5924:218:0;;:::o;7315:127:8:-;7380:4;7404:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7404:16:8;:30;;;7315:127::o;11461:174::-;11536:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11536:29:8;-1:-1:-1;;;;;11536:29:8;;;;;;;;:24;;11590:23;11536:24;11590:14;:23::i;:::-;-1:-1:-1;;;;;11581:46:8;;;;;;;;;;;11461:174;;:::o;7609:348::-;7702:4;7727:16;7735:7;7727;:16::i;:::-;7719:73;;;;-1:-1:-1;;;7719:73:8;;17723:2:21;7719:73:8;;;17705:21:21;17762:2;17742:18;;;17735:30;17801:34;17781:18;;;17774:62;-1:-1:-1;;;17852:18:21;;;17845:42;17904:19;;7719:73:8;17521:408:21;7719:73:8;7803:13;7819:23;7834:7;7819:14;:23::i;:::-;7803:39;;7872:5;-1:-1:-1;;;;;7861:16:8;:7;-1:-1:-1;;;;;7861:16:8;;:52;;;-1:-1:-1;;;;;;4701:25:8;;;4677:4;4701:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7881:32;7861:87;;;;7941:7;-1:-1:-1;;;;;7917:31:8;:20;7929:7;7917:11;:20::i;:::-;-1:-1:-1;;;;;7917:31:8;;7861:87;7853:96;7609:348;-1:-1:-1;;;;7609:348:8:o;10718:625::-;10877:4;-1:-1:-1;;;;;10850:31:8;:23;10865:7;10850:14;:23::i;:::-;-1:-1:-1;;;;;10850:31:8;;10842:81;;;;-1:-1:-1;;;10842:81:8;;15799:2:21;10842:81:8;;;15781:21:21;15838:2;15818:18;;;15811:30;15877:34;15857:18;;;15850:62;-1:-1:-1;;;15928:18:21;;;15921:35;15973:19;;10842:81:8;15597:401:21;10842:81:8;-1:-1:-1;;;;;10942:16:8;;10934:65;;;;-1:-1:-1;;;10934:65:8;;16562:2:21;10934:65:8;;;16544:21:21;16601:2;16581:18;;;16574:30;16640:34;16620:18;;;16613:62;-1:-1:-1;;;16691:18:21;;;16684:34;16735:19;;10934:65:8;16360:400:21;10934:65:8;11116:29;11133:1;11137:7;11116:8;:29::i;:::-;-1:-1:-1;;;;;11158:15:8;;;;;;:9;:15;;;;;:20;;11177:1;;11158:15;:20;;11177:1;;11158:20;:::i;:::-;;;;-1:-1:-1;;;;;;;11189:13:8;;;;;;:9;:13;;;;;:18;;11206:1;;11189:13;:18;;11206:1;;11189:18;:::i;:::-;;;;-1:-1:-1;;11218:16:8;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;11218:21:8;-1:-1:-1;;;;;11218:21:8;;;;;;;;;11257:27;;11218:16;;11257:27;;;;;;;3654:341;3584:411;;:::o;3394:105:0:-;3461:30;3472:4;736:10:3;3461::0;:30::i;7425:238::-;7509:22;7517:4;7523:7;7509;:22::i;:::-;7504:152;;7548:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7548:29:0;;;;;;;;;:36;;-1:-1:-1;;7548:36:0;7580:4;7548:36;;;7631:12;736:10:3;;656:98;7631:12:0;-1:-1:-1;;;;;7604:40:0;7622:7;-1:-1:-1;;;;;7604:40:0;7616:4;7604:40;;;;;;;;;;7425:238;;:::o;7795:239::-;7879:22;7887:4;7893:7;7879;:22::i;:::-;7875:152;;;7950:5;7918:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7918:29:0;;;;;;;;;;:37;;-1:-1:-1;;7918:37:0;;;7975:40;736:10:3;;7918:12:0;;7975:40;;7950:5;7975:40;7795:239;;:::o;2333:191:17:-;2426:6;;;-1:-1:-1;;;;;2443:17:17;;;-1:-1:-1;;;;;;2443:17:17;;;;;;;2476:40;;2426:6;;;2443:17;2426:6;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;11777:315:8:-;11932:8;-1:-1:-1;;;;;11923:17:8;:5;-1:-1:-1;;;;;11923:17:8;;;11915:55;;;;-1:-1:-1;;;11915:55:8;;16967:2:21;11915:55:8;;;16949:21:21;17006:2;16986:18;;;16979:30;17045:27;17025:18;;;17018:55;17090:18;;11915:55:8;16765:349:21;11915:55:8;-1:-1:-1;;;;;11981:25:8;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11981:46:8;;;;;;;;;;12043:41;;12789::21;;;12043::8;;12762:18:21;12043:41:8;;;;;;;11777:315;;;:::o;6687:::-;6844:28;6854:4;6860:2;6864:7;6844:9;:28::i;:::-;6891:48;6914:4;6920:2;6924:7;6933:5;6891:22;:48::i;:::-;6883:111;;;;-1:-1:-1;;;6883:111:8;;;;;;;:::i;2300:102:20:-;2360:13;2389:7;2382:14;;;;;:::i;342:723:19:-;398:13;619:10;615:53;;-1:-1:-1;;646:10:19;;;;;;;;;;;;-1:-1:-1;;;646:10:19;;;;;342:723::o;615:53::-;693:5;678:12;734:78;741:9;;734:78;;767:8;;;;:::i;:::-;;-1:-1:-1;790:10:19;;-1:-1:-1;798:2:19;790:10;;:::i;:::-;;;734:78;;;822:19;854:6;844:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;844:17:19;;822:39;;872:154;879:10;;872:154;;906:11;916:1;906:11;;:::i;:::-;;-1:-1:-1;975:10:19;983:2;975:5;:10;:::i;:::-;962:24;;:2;:24;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;932:56:19;;;;;;;;-1:-1:-1;1003:11:19;1012:2;1003:11;;:::i;:::-;;;872:154;;9961:420:8;10021:13;10037:23;10052:7;10037:14;:23::i;:::-;10021:39;;10162:29;10179:1;10183:7;10162:8;:29::i;:::-;-1:-1:-1;;;;;10204:16:8;;;;;;:9;:16;;;;;:21;;10224:1;;10204:16;:21;;10224:1;;10204:21;:::i;:::-;;;;-1:-1:-1;;10243:16:8;;;;:7;:16;;;;;;10236:23;;-1:-1:-1;;;;;;10236:23:8;;;10277:36;10251:7;;10243:16;-1:-1:-1;;;;;10277:36:8;;;;;10243:16;;10277:36;5924:218:0;;:::o;1556:305:8:-;1658:4;-1:-1:-1;;;;;;1695:40:8;;-1:-1:-1;;;1695:40:8;;:105;;-1:-1:-1;;;;;;;1752:48:8;;-1:-1:-1;;;1752:48:8;1695:105;:158;;;-1:-1:-1;;;;;;;;;;963:40:7;;;1817:36:8;854:157:7;3789:505:0;3878:22;3886:4;3892:7;3878;:22::i;:::-;3873:414;;4066:41;4094:7;-1:-1:-1;;;;;4066:41:0;4104:2;4066:19;:41::i;:::-;4180:38;4208:4;4215:2;4180:19;:38::i;:::-;3971:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3971:270:0;;;;;;;;;;-1:-1:-1;;;3917:358:0;;;;;;;:::i;12657:799:8:-;12812:4;-1:-1:-1;;;;;12833:13:8;;1505:19:2;:23;12829:620:8;;12869:72;;-1:-1:-1;;;12869:72:8;;-1:-1:-1;;;;;12869:36:8;;;;;:72;;736:10:3;;12920:4:8;;12926:7;;12935:5;;12869:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12869:72:8;;;;;;;;-1:-1:-1;;12869:72:8;;;;;;;;;;;;:::i;:::-;;;12865:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13111:13:8;;13107:272;;13154:60;;-1:-1:-1;;;13154:60:8;;;;;;;:::i;13107:272::-;13329:6;13323:13;13314:6;13310:2;13306:15;13299:38;12865:529;-1:-1:-1;;;;;;12992:51:8;-1:-1:-1;;;12992:51:8;;-1:-1:-1;12985:58:8;;12829:620;-1:-1:-1;13433:4:8;12657:799;;;;;;:::o;1643:451:19:-;1718:13;1744:19;1776:10;1780:6;1776:1;:10;:::i;:::-;:14;;1789:1;1776:14;:::i;:::-;1766:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1766:25:19;;1744:47;;-1:-1:-1;;;1802:6:19;1809:1;1802:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1802:15:19;;;;;;;;;-1:-1:-1;;;1828:6:19;1835:1;1828:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1828:15:19;;;;;;;;-1:-1:-1;1859:9:19;1871:10;1875:6;1871:1;:10;:::i;:::-;:14;;1884:1;1871:14;:::i;:::-;1859:26;;1854:135;1891:1;1887;:5;1854:135;;;-1:-1:-1;;;1939:5:19;1947:3;1939:11;1926:25;;;;;;;:::i;:::-;;;;1914:6;1921:1;1914:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1914:37:19;;;;;;;;-1:-1:-1;1976:1:19;1966:11;;;;;1894:3;;;:::i;:::-;;;1854:135;;;-1:-1:-1;2007:10:19;;1999:55;;;;-1:-1:-1;;;1999:55:19;;14612:2:21;1999:55:19;;;14594:21:21;;;14631:18;;;14624:30;14690:34;14670:18;;;14663:62;14742:18;;1999:55:19;14410:356:21;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:21;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:21;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:21;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:723::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;813:18;809:2;806:26;803:52;;;835:18;;:::i;:::-;881:2;878:1;874:10;904:28;928:2;924;920:11;904:28;:::i;:::-;966:15;;;997:12;;;;1029:15;;;1063;;;1059:24;;1056:33;-1:-1:-1;1053:53:21;;;1102:1;1099;1092:12;1053:53;1124:1;1115:10;;1134:163;1148:2;1145:1;1142:9;1134:163;;;1205:17;;1193:30;;1166:1;1159:9;;;;;1243:12;;;;1275;;1134:163;;;-1:-1:-1;1315:5:21;603:723;-1:-1:-1;;;;;;;603:723:21:o;1331:186::-;1390:6;1443:2;1431:9;1422:7;1418:23;1414:32;1411:52;;;1459:1;1456;1449:12;1411:52;1482:29;1501:9;1482:29;:::i;1522:260::-;1590:6;1598;1651:2;1639:9;1630:7;1626:23;1622:32;1619:52;;;1667:1;1664;1657:12;1619:52;1690:29;1709:9;1690:29;:::i;:::-;1680:39;;1738:38;1772:2;1761:9;1757:18;1738:38;:::i;:::-;1728:48;;1522:260;;;;;:::o;1787:328::-;1864:6;1872;1880;1933:2;1921:9;1912:7;1908:23;1904:32;1901:52;;;1949:1;1946;1939:12;1901:52;1972:29;1991:9;1972:29;:::i;:::-;1962:39;;2020:38;2054:2;2043:9;2039:18;2020:38;:::i;:::-;2010:48;;2105:2;2094:9;2090:18;2077:32;2067:42;;1787:328;;;;;:::o;2120:666::-;2215:6;2223;2231;2239;2292:3;2280:9;2271:7;2267:23;2263:33;2260:53;;;2309:1;2306;2299:12;2260:53;2332:29;2351:9;2332:29;:::i;:::-;2322:39;;2380:38;2414:2;2403:9;2399:18;2380:38;:::i;:::-;2370:48;;2465:2;2454:9;2450:18;2437:32;2427:42;;2520:2;2509:9;2505:18;2492:32;2547:18;2539:6;2536:30;2533:50;;;2579:1;2576;2569:12;2533:50;2602:22;;2655:4;2647:13;;2643:27;-1:-1:-1;2633:55:21;;2684:1;2681;2674:12;2633:55;2707:73;2772:7;2767:2;2754:16;2749:2;2745;2741:11;2707:73;:::i;:::-;2697:83;;;2120:666;;;;;;;:::o;2791:422::-;2884:6;2892;2945:2;2933:9;2924:7;2920:23;2916:32;2913:52;;;2961:1;2958;2951:12;2913:52;2984:29;3003:9;2984:29;:::i;:::-;2974:39;;3064:2;3053:9;3049:18;3036:32;3091:18;3083:6;3080:30;3077:50;;;3123:1;3120;3113:12;3077:50;3146:61;3199:7;3190:6;3179:9;3175:22;3146:61;:::i;:::-;3136:71;;;2791:422;;;;;:::o;3218:315::-;3283:6;3291;3344:2;3332:9;3323:7;3319:23;3315:32;3312:52;;;3360:1;3357;3350:12;3312:52;3383:29;3402:9;3383:29;:::i;:::-;3373:39;;3462:2;3451:9;3447:18;3434:32;3475:28;3497:5;3475:28;:::i;:::-;3522:5;3512:15;;;3218:315;;;;;:::o;3538:254::-;3606:6;3614;3667:2;3655:9;3646:7;3642:23;3638:32;3635:52;;;3683:1;3680;3673:12;3635:52;3706:29;3725:9;3706:29;:::i;:::-;3696:39;3782:2;3767:18;;;;3754:32;;-1:-1:-1;;;3538:254:21:o;3797:348::-;3881:6;3934:2;3922:9;3913:7;3909:23;3905:32;3902:52;;;3950:1;3947;3940:12;3902:52;3990:9;3977:23;4023:18;4015:6;4012:30;4009:50;;;4055:1;4052;4045:12;4009:50;4078:61;4131:7;4122:6;4111:9;4107:22;4078:61;:::i;4150:595::-;4268:6;4276;4329:2;4317:9;4308:7;4304:23;4300:32;4297:52;;;4345:1;4342;4335:12;4297:52;4385:9;4372:23;4414:18;4455:2;4447:6;4444:14;4441:34;;;4471:1;4468;4461:12;4441:34;4494:61;4547:7;4538:6;4527:9;4523:22;4494:61;:::i;:::-;4484:71;;4608:2;4597:9;4593:18;4580:32;4564:48;;4637:2;4627:8;4624:16;4621:36;;;4653:1;4650;4643:12;4621:36;;4676:63;4731:7;4720:8;4709:9;4705:24;4676:63;:::i;4750:241::-;4806:6;4859:2;4847:9;4838:7;4834:23;4830:32;4827:52;;;4875:1;4872;4865:12;4827:52;4914:9;4901:23;4933:28;4955:5;4933:28;:::i;4996:245::-;5063:6;5116:2;5104:9;5095:7;5091:23;5087:32;5084:52;;;5132:1;5129;5122:12;5084:52;5164:9;5158:16;5183:28;5205:5;5183:28;:::i;5246:180::-;5305:6;5358:2;5346:9;5337:7;5333:23;5329:32;5326:52;;;5374:1;5371;5364:12;5326:52;-1:-1:-1;5397:23:21;;5246:180;-1:-1:-1;5246:180:21:o;5431:254::-;5499:6;5507;5560:2;5548:9;5539:7;5535:23;5531:32;5528:52;;;5576:1;5573;5566:12;5528:52;5612:9;5599:23;5589:33;;5641:38;5675:2;5664:9;5660:18;5641:38;:::i;5690:245::-;5748:6;5801:2;5789:9;5780:7;5776:23;5772:32;5769:52;;;5817:1;5814;5807:12;5769:52;5856:9;5843:23;5875:30;5899:5;5875:30;:::i;5940:249::-;6009:6;6062:2;6050:9;6041:7;6037:23;6033:32;6030:52;;;6078:1;6075;6068:12;6030:52;6110:9;6104:16;6129:30;6153:5;6129:30;:::i;6194:450::-;6263:6;6316:2;6304:9;6295:7;6291:23;6287:32;6284:52;;;6332:1;6329;6322:12;6284:52;6372:9;6359:23;6405:18;6397:6;6394:30;6391:50;;;6437:1;6434;6427:12;6391:50;6460:22;;6513:4;6505:13;;6501:27;-1:-1:-1;6491:55:21;;6542:1;6539;6532:12;6491:55;6565:73;6630:7;6625:2;6612:16;6607:2;6603;6599:11;6565:73;:::i;6834:435::-;6887:3;6925:5;6919:12;6952:6;6947:3;6940:19;6978:4;7007:2;7002:3;6998:12;6991:19;;7044:2;7037:5;7033:14;7065:1;7075:169;7089:6;7086:1;7083:13;7075:169;;;7150:13;;7138:26;;7184:12;;;;7219:15;;;;7111:1;7104:9;7075:169;;;-1:-1:-1;7260:3:21;;6834:435;-1:-1:-1;;;;;6834:435:21:o;7274:257::-;7315:3;7353:5;7347:12;7380:6;7375:3;7368:19;7396:63;7452:6;7445:4;7440:3;7436:14;7429:4;7422:5;7418:16;7396:63;:::i;:::-;7513:2;7492:15;-1:-1:-1;;7488:29:21;7479:39;;;;7520:4;7475:50;;7274:257;-1:-1:-1;;7274:257:21:o;7536:1199::-;7760:3;7798:6;7792:13;7824:4;7837:51;7881:6;7876:3;7871:2;7863:6;7859:15;7837:51;:::i;:::-;7951:13;;7910:16;;;;7973:55;7951:13;7910:16;7995:15;;;7973:55;:::i;:::-;8117:13;;8050:20;;;8090:1;;8155:36;8117:13;8155:36;:::i;:::-;8210:1;8227:18;;;8254:110;;;;8378:1;8373:337;;;;8220:490;;8254:110;-1:-1:-1;;8289:24:21;;8275:39;;8334:20;;;;-1:-1:-1;8254:110:21;;8373:337;8404:6;8401:1;8394:17;8452:2;8449:1;8439:16;8477:1;8491:169;8505:8;8502:1;8499:15;8491:169;;;8587:14;;8572:13;;;8565:37;8630:16;;;;8522:10;;8491:169;;;8495:3;;8691:8;8684:5;8680:20;8673:27;;8220:490;-1:-1:-1;8726:3:21;;7536:1199;-1:-1:-1;;;;;;;;;;7536:1199:21:o;9442:786::-;9853:25;9848:3;9841:38;9823:3;9908:6;9902:13;9924:62;9979:6;9974:2;9969:3;9965:12;9958:4;9950:6;9946:17;9924:62;:::i;:::-;-1:-1:-1;;;10045:2:21;10005:16;;;10037:11;;;10030:40;10095:13;;10117:63;10095:13;10166:2;10158:11;;10151:4;10139:17;;10117:63;:::i;:::-;10200:17;10219:2;10196:26;;9442:786;-1:-1:-1;;;;9442:786:21:o;10750:488::-;-1:-1:-1;;;;;11019:15:21;;;11001:34;;11071:15;;11066:2;11051:18;;11044:43;11118:2;11103:18;;11096:34;;;11166:3;11161:2;11146:18;;11139:31;;;10944:4;;11187:45;;11212:19;;11204:6;11187:45;:::i;:::-;11179:53;10750:488;-1:-1:-1;;;;;;10750:488:21:o;11243:568::-;-1:-1:-1;;;;;11548:15:21;;;11530:34;;11600:15;;11595:2;11580:18;;11573:43;11647:2;11632:18;;11625:34;;;11690:2;11675:18;;11668:34;;;11510:3;11733;11718:19;;11711:32;;;11473:4;;11760:45;;11785:19;;11777:6;11760:45;:::i;:::-;11752:53;11243:568;-1:-1:-1;;;;;;;11243:568:21:o;11816:562::-;-1:-1:-1;;;;;12101:32:21;;12083:51;;12170:2;12165;12150:18;;12143:30;;;-1:-1:-1;;12196:56:21;;12233:18;;12225:6;12196:56;:::i;:::-;12300:9;12292:6;12288:22;12283:2;12272:9;12268:18;12261:50;12328:44;12365:6;12357;12328:44;:::i;12383:261::-;12562:2;12551:9;12544:21;12525:4;12582:56;12634:2;12623:9;12619:18;12611:6;12582:56;:::i;13255:219::-;13404:2;13393:9;13386:21;13367:4;13424:44;13464:2;13453:9;13449:18;13441:6;13424:44;:::i;13479:926::-;13588:4;13617:2;13646;13635:9;13628:21;13669:1;13702:6;13696:13;13732:36;13758:9;13732:36;:::i;:::-;13804:6;13799:2;13788:9;13784:18;13777:34;13830:2;13851:1;13883:2;13872:9;13868:18;13900:1;13895:121;;;;14030:1;14025:354;;;;13861:518;;13895:121;-1:-1:-1;;13943:24:21;;13923:18;;;13916:52;14003:2;13988:18;;;-1:-1:-1;13895:121:21;;14025:354;14056:6;14053:1;14046:17;14104:2;14101:1;14091:16;14129:1;14143:180;14157:6;14154:1;14151:13;14143:180;;;14250:14;;14226:17;;;14222:26;;14215:50;14293:16;;;;14172:10;;14143:180;;;14347:17;;14343:26;;;-1:-1:-1;;13861:518:21;-1:-1:-1;14396:3:21;;13479:926;-1:-1:-1;;;;;;;;13479:926:21:o;14771:414::-;14973:2;14955:21;;;15012:2;14992:18;;;14985:30;15051:34;15046:2;15031:18;;15024:62;-1:-1:-1;;;15117:2:21;15102:18;;15095:48;15175:3;15160:19;;14771:414::o;21135:356::-;21337:2;21319:21;;;21356:18;;;21349:30;21415:34;21410:2;21395:18;;21388:62;21482:2;21467:18;;21135:356::o;22306:413::-;22508:2;22490:21;;;22547:2;22527:18;;;22520:30;22586:34;22581:2;22566:18;;22559:62;-1:-1:-1;;;22652:2:21;22637:18;;22630:47;22709:3;22694:19;;22306:413::o;24094:275::-;24165:2;24159:9;24230:2;24211:13;;-1:-1:-1;;24207:27:21;24195:40;;24265:18;24250:34;;24286:22;;;24247:62;24244:88;;;24312:18;;:::i;:::-;24348:2;24341:22;24094:275;;-1:-1:-1;24094:275:21:o;24374:128::-;24414:3;24445:1;24441:6;24438:1;24435:13;24432:39;;;24451:18;;:::i;:::-;-1:-1:-1;24487:9:21;;24374:128::o;24507:120::-;24547:1;24573;24563:35;;24578:18;;:::i;:::-;-1:-1:-1;24612:9:21;;24507:120::o;24632:168::-;24672:7;24738:1;24734;24730:6;24726:14;24723:1;24720:21;24715:1;24708:9;24701:17;24697:45;24694:71;;;24745:18;;:::i;:::-;-1:-1:-1;24785:9:21;;24632:168::o;24805:125::-;24845:4;24873:1;24870;24867:8;24864:34;;;24878:18;;:::i;:::-;-1:-1:-1;24915:9:21;;24805:125::o;24935:258::-;25007:1;25017:113;25031:6;25028:1;25025:13;25017:113;;;25107:11;;;25101:18;25088:11;;;25081:39;25053:2;25046:10;25017:113;;;25148:6;25145:1;25142:13;25139:48;;;-1:-1:-1;;25183:1:21;25165:16;;25158:27;24935:258::o;25198:136::-;25237:3;25265:5;25255:39;;25274:18;;:::i;:::-;-1:-1:-1;;;25310:18:21;;25198:136::o;25339:380::-;25418:1;25414:12;;;;25461;;;25482:61;;25536:4;25528:6;25524:17;25514:27;;25482:61;25589:2;25581:6;25578:14;25558:18;25555:38;25552:161;;;25635:10;25630:3;25626:20;25623:1;25616:31;25670:4;25667:1;25660:15;25698:4;25695:1;25688:15;25552:161;;25339:380;;;:::o;25724:135::-;25763:3;-1:-1:-1;;25784:17:21;;25781:43;;;25804:18;;:::i;:::-;-1:-1:-1;25851:1:21;25840:13;;25724:135::o;25864:112::-;25896:1;25922;25912:35;;25927:18;;:::i;:::-;-1:-1:-1;25961:9:21;;25864:112::o;25981:127::-;26042:10;26037:3;26033:20;26030:1;26023:31;26073:4;26070:1;26063:15;26097:4;26094:1;26087:15;26113:127;26174:10;26169:3;26165:20;26162:1;26155:31;26205:4;26202:1;26195:15;26229:4;26226:1;26219:15;26245:127;26306:10;26301:3;26297:20;26294:1;26287:31;26337:4;26334:1;26327:15;26361:4;26358:1;26351:15;26377:127;26438:10;26433:3;26429:20;26426:1;26419:31;26469:4;26466:1;26459:15;26493:4;26490:1;26483:15;26509:118;26595:5;26588:13;26581:21;26574:5;26571:32;26561:60;;26617:1;26614;26607:12;26632:131;-1:-1:-1;;;;;;26706:32:21;;26696:43;;26686:71;;26753:1;26750;26743:12

Swarm Source

ipfs://590d5aad307d9d66df3dabf79c7a3d635d66fe7e30c6aba9d839509b3b178ccb
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.