Overview
TokenID
161
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
ERC1155Marketplace
Compiler Version
v0.8.2+commit.661d1103
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2022-09-06 */ /** *Submitted for verification at polygonscan.com on 2022-09-06 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("Ethereum Signed Message: 32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked(".", domainSeparator, structHash)); } } /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } } /** * @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); } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /** * @dev 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; } /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must 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; } /** * @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. 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. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } /** * @dev 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, _msgSender()); _; } /** * @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 override returns (bool) { return _roles[role].members[account]; } /** * @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 { 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 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 granted `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}. * ==== */ 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); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev 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 { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 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); _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(); 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); _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 `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, 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(); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } } /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates weither any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_mint}. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual override { super._mint(account, id, amount, data); _totalSupply[id] += amount; } /** * @dev See {ERC1155-_mintBatch}. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._mintBatch(to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } } /** * @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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @dev {ERC1155} token, including: * * - a minter role that allows for token minting (creation) * * This contract uses {AccessControl} to lock permissioned functions using the * different roles - head to its documentation for details. * * The account that deploys the contract will be granted the minter role, as well * as the default admin role, which will let it grant minter role to other accounts. */ contract ERC1155YuzuInternal is Ownable, AccessControl, ERC1155Supply { // Token name string private _name; // Token symbol string private _symbol; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); uint256 internal _tokenIdCounter; bool public anyoneCanMint; /** * @dev Grants `DEFAULT_ADMIN_ROLE`, and `MINTER_ROLE` to the account that * deploys the contract. And initializes the contract by setting a `name` * and a `symbol` to the token collection. */ constructor(address owner, string memory uri, string memory name_, string memory symbol_, bool anyoneCanMint_) Ownable() ERC1155(uri) { _setupRole(DEFAULT_ADMIN_ROLE, owner); _setupRole(MINTER_ROLE, owner); transferOwnership(owner); _name = name_; _symbol = symbol_; anyoneCanMint = anyoneCanMint_; } /** * @dev See {IERC721Metadata-name}. */ function name() external view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() external view virtual returns (string memory) { return _symbol; } /** * @dev Find next available tokenId */ function findNextTokenId() internal { do { _tokenIdCounter++; } while(exists(_tokenIdCounter)); } /** * @dev Creates `amount` new tokens for `to`, using the next available `id`. * * - the caller must have the `MINTER_ROLE`. */ function autoMint(address to, uint256 amount) public onlyMinter returns (uint256) { findNextTokenId(); _mint(to, _tokenIdCounter, amount, "0x"); return _tokenIdCounter; } /** * @dev Creates `amounts` new tokens for `to`, using the next available `ids`. * * - the caller must have the `MINTER_ROLE`. */ function autoMintBatch(address to, uint256[] memory amounts) public onlyMinter { require(to != address(0), "ERC1155: mint to the zero address"); for (uint256 i = 0; i < amounts.length; i++) { autoMint(to, amounts[i]); } } /** * @dev Creates `amount` new tokens for `to`, of token type `id`. * * See {ERC1155-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function mint( address to, uint256 id, uint256 amount, bytes memory data ) public virtual onlyMinter { _mint(to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}. */ function mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual onlyMinter { _mintBatch(to, ids, amounts, data); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC1155) returns (bool) { return super.supportsInterface(interfaceId); } function addMinter(address account) external onlyMinter { grantRole(MINTER_ROLE, account); } function isMinter(address account) public view returns (bool) { return hasRole(MINTER_ROLE, account); } function canIMint() public view returns (bool) { return anyoneCanMint || isMinter(msg.sender); } /** * Open modifier to anyone can mint possibility */ modifier onlyMinter() { string memory mensaje; require( canIMint(), "ERC1155Yuzu: must have minter role to mint" ); _; } } /** * @title ERC1155spimpiart * ERC-721 Marketplace with tokens and royalties support */ contract ERC1155Marketplace is ERC1155YuzuInternal, ReentrancyGuard { using Address for address; // admin address, the owner of the marketplace address public admin; // IERC20 token to be used for payments IERC20 public paymentToken; // commission rate is a value from 0 to 100 uint256 public commissionRate; // royalties commission rate is a value from 0 to 100 uint256 public royaltiesCommissionRate; // nft item creators list, used to pay royalties mapping(uint256 => address) public creators; // a sale object struct Sale { uint256 qty; // qty for sale uint256 price; // price address user; // seller address wallet; // seller wallet } // opened sales by tokenIds mapping(uint256 => Sale[]) public openSales; // length of the array mapping(uint256 => uint256) public openSalesLength; // a buy offer object struct Offer { uint256 qty; // qty for buying uint256 price; // buy price address user; // buyer } // opened offers by tokenIds mapping(uint256 => Offer[]) public openOffers; // length of the array mapping(uint256 => uint256) public openOffersLength; event Bid( uint256 indexed tokenId, address indexed from, uint256 qty, uint256 price); event Sell( uint256 indexed tokenId, address indexed to, uint256 qty, uint256 price); event Commission( uint256 indexed tokenId, address indexed from, address indexed to, uint256 value); event Royalty( uint256 indexed tokenId, address indexed from, address indexed to, uint256 value); event Buy( uint256 indexed tokenId, address indexed from, address indexed to, uint256 value); event CancelSale(uint256 indexed tokenId, uint256 index); event CancelBid(uint256 indexed tokenId, uint256 index); constructor( IERC20 _paymentToken, address _owner, address _admin, uint256 _commissionRate, uint256 _royaltiesCommissionRate, string memory name, string memory symbol, bool _anyoneCanMint, string memory uri) ERC1155YuzuInternal(_owner, uri, name, symbol, _anyoneCanMint) { require(_commissionRate + _royaltiesCommissionRate < 100, "spimpiart: total commissions should be lower than 100"); admin = _admin; commissionRate = _commissionRate; royaltiesCommissionRate = _royaltiesCommissionRate; paymentToken = _paymentToken; } /** * Any user can sell X items at Y price each, valid ownership and qty of the sell will be handled by the UI * All selling options are shown as “Listings” in the UI * Any user can buy W items at Y price, of one listing, they cannot combine two listings in one transaction, given that W>0 and W<=Y * Restrictions: * Limit the sell to owned items, the user cannot sell items do not have */ function sell(uint256 tokenId, uint256 qty, uint256 price, address wallet) external { // Limit the sell to owned items, the user cannot sell items do not have require(balanceOf(_msgSender(), tokenId) >= qty, "spimpiart: you do not have enough tokens to sell"); // set approval for all items of the user is not set already if (!isApprovedForAll(_msgSender(), address(this))) { setApprovalForAll(address(this), true); } // add the selling option to openSales Sale memory sale = Sale(qty, price, _msgSender(), wallet); // An owner can add only one selling listing for one item at a time, new listings for one item will replace the old ones openSales[tokenId].push(sale); openSalesLength[tokenId] = openSales[tokenId].length; emit Sell(tokenId, _msgSender(), qty, price); } /** * Buy an NTF item, specifying qty to buy and index offer * Funds are transferred from the caller user directly, previous approval required */ function buy(uint256 tokenId, uint256 index, uint256 qty) external nonReentrant { // validate user require(openSales[tokenId][index].user != _msgSender() , "spimpiart: the user cannot buy his own offer"); // transfer ownership // we need to call a transferFrom from this contract, which is the one with permission to sell the NFT callOptionalReturn(this, abi.encodeWithSelector(this.safeTransferFrom.selector, openSales[tokenId][index].user, _msgSender(), tokenId, qty, "0x")); /** * distribute funds between owner, creator and admin * This function will transfer the funds from the buyer, which must have previously approve the funds to the contract, to the beneficiaries of the sale * The "true" parameter at the end means: do a transferFrom */ distributeFunds(qty * openSales[tokenId][index].price, _msgSender(), openSales[tokenId][index].wallet, tokenId, true); // substract items sold openSales[tokenId][index].qty -= qty; // remove the offer and reorder the array if (openSales[tokenId][index].qty == 0) { openSales[tokenId][index] = openSales[tokenId][openSales[tokenId].length-1]; openSales[tokenId].pop(); openSalesLength[tokenId] = openSales[tokenId].length; } } // cancel the sale function cancelSale(uint256 tokenId, uint256 index) external { // Only the original bidder can cancel his bids require(openSales[tokenId][index].user == _msgSender(), "spimpiart: only the original seller can cancel his sales"); // remove the sale openSales[tokenId][index] = openSales[tokenId][openSales[tokenId].length-1]; openSales[tokenId].pop(); openSalesLength[tokenId] = openSales[tokenId].length; emit CancelSale(tokenId, index); } /** * Any user can make an offer of X items at Y price each * Funds of the offer are stored on the contract * All offers are shown as “Offers” in the UI * Restrictions * A buyer cannot add an offer bigger than the total supply */ function bid(uint256 tokenId, uint256 qty, uint256 price) external nonReentrant { require(qty>0, "spimpiart: qty has to be positive"); require(price>0, "spimpiart: price has to be positive"); require(qty <= totalSupply(tokenId), "spimpiart: not enough items for sale"); // transfer qty * price tokens to the contract uint256 total = qty * price; require(paymentToken.transferFrom(_msgSender(), address(this), total), "Transfer failed."); // record the offer Offer memory theBid = Offer(qty, price, _msgSender()); openOffers[tokenId].push(theBid); openOffersLength[tokenId] = openOffers[tokenId].length; emit Bid(tokenId, _msgSender(), qty, price); } // cancel the offer and return funds function cancelBid(uint256 tokenId, uint256 index) external nonReentrant { // Only the original bidder can cancel his bids require(openOffers[tokenId][index].user == _msgSender(), "spimpiart: only the original bidder can cancel his bids"); // save the total uint256 total = openOffers[tokenId][index].qty * openOffers[tokenId][index].price; // remove the bid openOffers[tokenId][index] = openOffers[tokenId][openOffers[tokenId].length-1]; openOffers[tokenId].pop(); openOffersLength[tokenId] = openOffers[tokenId].length; // return the funds require(paymentToken.transfer(_msgSender(), total), "Transfer failed."); emit CancelBid(tokenId, index); } // owner accepts the bid and distribute the funds function acceptBid(uint256 tokenId, uint256 index, uint256 qty) external nonReentrant { // validate user require(openOffers[tokenId][index].user != _msgSender() , "spimpiart: the user cannot accept his own bid"); // set approval for all items of the user is not set already if (!isApprovedForAll(_msgSender(), address(this))) { setApprovalForAll(address(this), true); } // transfer item to bidder // we need to call a transferFrom from this contract, which is the one with permission to sell the NFT callOptionalReturn(this, abi.encodeWithSelector(this.safeTransferFrom.selector, _msgSender(), openOffers[tokenId][index].user, tokenId, qty, "0x")); /** * distribute funds between owner, creator and admin * This function will transfer the funds from the contract, which must have previously sent to the contract, to the beneficiaries of the sale * The "false" parameter at the end means: do a simple transfer */ distributeFunds(qty * openOffers[tokenId][index].price, openOffers[tokenId][index].user, _msgSender(), tokenId, false); // substract items sold openOffers[tokenId][index].qty -= qty; // remove the offer and reorder the array if (openOffers[tokenId][index].qty == 0) { openOffers[tokenId][index] = openOffers[tokenId][openOffers[tokenId].length-1]; openOffers[tokenId].pop(); openOffersLength[tokenId] = openOffers[tokenId].length; } } /** * do the funds distribution between owner, creator and admin * @param totalPrice the total value to distribute * @param from if useTransferFrom is true then the "from" is the origin of the funds, if false, then the "from" is only used for logs purposes * @param to is the owner of the token on sale / bid * @param tokenId is the token being sold * @param useTransferFrom if true the transfer will be made from to, if not, a simple transfer will be done from the contract to the beneficiaries */ function distributeFunds(uint256 totalPrice, address from, address to, uint256 tokenId, bool useTransferFrom) internal { // calculate amounts uint256 amount4admin = totalPrice * commissionRate / 100; uint256 amount4creator = totalPrice * royaltiesCommissionRate / 100; uint256 amount4owner = totalPrice - amount4admin - amount4creator; // to owner if (useTransferFrom) { require(paymentToken.transferFrom(from, to, amount4owner), "Transfer failed."); } else { require(paymentToken.transfer(to, amount4owner), "Transfer failed."); } emit Buy(tokenId, from, to, amount4owner); // to creator if (amount4creator>0) { if (useTransferFrom) { require(paymentToken.transferFrom(from, creators[tokenId], amount4creator), "Transfer failed."); } else { require(paymentToken.transfer(creators[tokenId], amount4creator), "Transfer failed."); } emit Royalty(tokenId, from, creators[tokenId], amount4creator); } // to admin if (amount4admin>0) { if (useTransferFrom) { require(paymentToken.transferFrom(from, admin, amount4admin), "Transfer failed."); } else { require(paymentToken.transfer(admin, amount4admin), "Transfer failed."); } emit Commission(tokenId, from, admin, amount4admin); } } /// Overrides minting function to keep track of item creators function _mint(address to, uint256 tokenId, uint256 amount, bytes memory data) override internal { creators[tokenId] = _msgSender(); super._mint(to, tokenId, amount, data); } function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) override internal { super._mintBatch(to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { creators[ids[i]] = _msgSender(); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC1155 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "spimpiart: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "spimpiart: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "spimpiart: ERC20 operation did not succeed"); } } // update contract fields function updateAdmin(address _admin, uint256 _commissionRate, uint256 _royaltiesCommissionRate, bool _anyoneCanMint, IERC20 _paymentToken) external onlyOwner() { require(_commissionRate + _royaltiesCommissionRate < 100, "spimpiart: total commissions should be lower than 100"); admin = _admin; commissionRate = _commissionRate; royaltiesCommissionRate = _royaltiesCommissionRate; anyoneCanMint = _anyoneCanMint; paymentToken = _paymentToken; } } /** * Marketplace with Lazy Minting feature */ contract ERC1155spimpiart is ERC1155Marketplace, EIP712 { string private constant SIGNING_DOMAIN = "ERC1155spimpiart-Voucher"; string private constant SIGNATURE_VERSION = "1"; constructor(IERC20 _paymentToken, address _owner, address _admin, uint256 _commissionRate, uint256 _royaltiesCommissionRate, string memory name, string memory symbol, bool _anyoneCanMint, string memory uri) ERC1155Marketplace(_paymentToken, _owner, _admin, _commissionRate, _royaltiesCommissionRate, name, symbol, _anyoneCanMint, uri) EIP712(SIGNING_DOMAIN, SIGNATURE_VERSION) {} // minted qty for each voucher ID mapping(uint256 => uint256) public vouchersMintedQty; // minted NFT ID for each voucher ID mapping(uint256 => uint256) public vouchersNFTIds; event LazyMint(uint256 indexed tokenId, address indexed from, address indexed to, uint256 value); /// @notice Redeems an NFTVoucher for an actual NFT, creating it in the process. function redeem( uint256 nftId, uint256 id, uint256 nftPostId, uint256 qty, uint256 price, uint256 collectionId, uint256 chainId, address author, uint256 salt, bytes memory signature, uint256 qtyToMint ) external nonReentrant { require(chainId == getChainId(), "spimpiart: Wrong chain"); require(vouchersMintedQty[id] + qtyToMint <= qty, "spimpiart: the qty exceeds the amount available for minting"); require(nftId == 0 || exists(nftId), "spimpiart: Wrong NFT ID"); // make sure signature is valid and get the address of the signer verify(id, nftPostId, qty, price, collectionId, chainId, author, salt, address(this), signature, owner()); // allow to mint less qty of the amounts in voucher, until all qtys are minted // first time minting? find the next available tokenId or use the existing NFT Id if it was passed to the function if (vouchersNFTIds[id]==0) { if (nftId>0) { vouchersNFTIds[id] = nftId; } else { findNextTokenId(); vouchersNFTIds[id] = _tokenIdCounter; } } // mint the items _mint(_msgSender(), vouchersNFTIds[id], qtyToMint, '0x'); // manually set the creator / author for the tokenId just minted // the author is set by the contract owner in the signed message, and this is meant to receive royalties creators[vouchersNFTIds[id]] = author; // distribute payments distributeFunds(qtyToMint * price, _msgSender(), owner(), vouchersNFTIds[id], true); // Inform the Lazy Mint emit LazyMint(vouchersNFTIds[id], _msgSender(), owner(), qtyToMint * price); // keep track of minted qties vouchersMintedQty[id] += qtyToMint; } function domainSeparator() external view returns (bytes32) { return _domainSeparatorV4(); } function verify( uint256 id, uint256 nftPostId, uint256 qty, uint256 price, uint256 collectionId, uint256 chainId, address author, uint256 salt, address thisContract, bytes memory signature, address signer ) internal view { bytes32 digest = _hashTypedDataV4( keccak256( abi.encode( keccak256("NFTVoucher(uint256 id,uint256 nftPostId,uint256 qty,uint256 price,uint256 collectionId,uint256 chainId,address author,uint256 salt,address thisContract)"), id, nftPostId, qty, price, collectionId, chainId, author, salt, thisContract ) ) ); address recoveredSigner = ECDSA.recover(digest, signature); require(recoveredSigner == signer, "spimpiart: wrong signature"); } function getChainId() public view returns (uint256) { return block.chainid; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_paymentToken","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_admin","type":"address"},{"internalType":"uint256","name":"_commissionRate","type":"uint256"},{"internalType":"uint256","name":"_royaltiesCommissionRate","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bool","name":"_anyoneCanMint","type":"bool"},{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"CancelBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"CancelSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Commission","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":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Royalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"acceptBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"anyoneCanMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"autoMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"autoMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canIMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"cancelBid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"cancelSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"commissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"openOffers","outputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"openOffersLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"openSales","outputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"wallet","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"openSalesLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentToken","outputs":[{"internalType":"contract IERC20","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":[],"name":"royaltiesCommissionRate","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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"sell","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":"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":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"},{"internalType":"uint256","name":"_commissionRate","type":"uint256"},{"internalType":"uint256","name":"_royaltiesCommissionRate","type":"uint256"},{"internalType":"bool","name":"_anyoneCanMint","type":"bool"},{"internalType":"contract IERC20","name":"_paymentToken","type":"address"}],"name":"updateAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004b8038038062004b808339810160408190526200003491620004fc565b8781858585836200004533620001a7565b6200005081620001f7565b506200005e60008662000210565b6200008a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68662000210565b62000095856200021c565b8251620000aa90600690602086019062000375565b508151620000c090600790602085019062000375565b506009805460ff191691151591909117905550506001600a555060649050620000ea8688620005ea565b10620001635760405162461bcd60e51b815260206004820152603560248201527f7370696d70696172743a20746f74616c20636f6d6d697373696f6e732073686f60448201527f756c64206265206c6f776572207468616e20313030000000000000000000000060648201526084015b60405180910390fd5b5050600b80546001600160a01b039687166001600160a01b031991821617909155600d949094555050600e55600c8054949092169316929092179091555062000662565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516200020c90600490602084019062000375565b5050565b6200020c8282620002ed565b6000546001600160a01b03163314620002785760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200015a565b6001600160a01b038116620002df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200015a565b620002ea81620001a7565b50565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff166200020c5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b82805462000383906200060f565b90600052602060002090601f016020900481019282620003a75760008555620003f2565b82601f10620003c257805160ff1916838001178555620003f2565b82800160010185558215620003f2579182015b82811115620003f2578251825591602001919060010190620003d5565b506200040092915062000404565b5090565b5b8082111562000400576000815560010162000405565b80516001600160a01b03811681146200043357600080fd5b919050565b805180151581146200043357600080fd5b600082601f8301126200045a578081fd5b81516001600160401b03808211156200047757620004776200064c565b604051601f8301601f19908116603f01168101908282118183101715620004a257620004a26200064c565b81604052838152602092508683858801011115620004be578485fd5b8491505b83821015620004e15785820183015181830184015290820190620004c2565b83821115620004f257848385830101525b9695505050505050565b60008060008060008060008060006101208a8c0312156200051b578485fd5b620005268a6200041b565b98506200053660208b016200041b565b97506200054660408b016200041b565b60608b015160808c015160a08d015192995090975095506001600160401b038082111562000572578586fd5b620005808d838e0162000449565b955060c08c015191508082111562000596578485fd5b620005a48d838e0162000449565b9450620005b460e08d0162000438565b93506101008c0151915080821115620005cb578283fd5b50620005da8c828d0162000449565b9150509295985092959850929598565b600082198211156200060a57634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200062457607f821691505b602082108114156200064657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61450e80620006726000396000f3fe608060405234801561001057600080fd5b50600436106102895760003560e01c8063745e96d71161015c578063bd85b039116100ce578063e985e9c511610087578063e985e9c514610659578063ee1b59e414610695578063f242432a1461069d578063f2fde38b146106b0578063f851a440146106c3578063fa184c49146106d657610289565b8063bd85b039146105a3578063cd53d08e146105c3578063d1389512146105ec578063d53913931461060c578063d547741f14610633578063dc234f5a1461064657610289565b8063983b2d5611610120578063983b2d5614610542578063a217fddf14610555578063a22cb4651461055d578063a2d0d02914610570578063aa271e1a14610583578063b13fbe961461059657610289565b8063745e96d7146104c157806380149609146104d45780638da5cb5b1461051657806391d148541461052757806395d89b411461053a57610289565b806336568abe116102005780634f558e79116101b95780634f558e791461042457806356bee561146104465780635ea1d6f814610466578063715018a61461046f578063731133e9146104775780637447298f1461048a57610289565b806336568abe146103af578063373f68d1146103c257806340993b26146103cb5780634b393605146103de5780634c22ce0b146103f15780634e1273f41461040457610289565b80631f7fdffa116102525780631f7fdffa14610314578063248a9ca3146103275780632ac9bf091461034b5780632eb2c2d61461035e5780632f2ff15d146103715780633013ce291461038457610289565b8062fdd58e1461028e57806301ffc9a7146102b457806306fdde03146102d757806309d0ffa8146102ec5780630e89341c14610301575b600080fd5b6102a161029c366004613b22565b6106e9565b6040519081526020015b60405180910390f35b6102c76102c2366004613d19565b610782565b60405190151581526020016102ab565b6102df610793565b6040516102ab919061401f565b6102ff6102fa366004613d51565b610826565b005b6102df61030f366004613cdd565b610a80565b6102ff610322366004613a5e565b610b14565b6102a1610335366004613cdd565b6000908152600160208190526040909120015490565b6102ff610359366004613d72565b610b4d565b6102ff61036c3660046138ff565b610e2e565b6102ff61037f366004613cf5565b610ebe565b600c54610397906001600160a01b031681565b6040516001600160a01b0390911681526020016102ab565b6102ff6103bd366004613cf5565b610eeb565b6102a1600e5481565b6102ff6103d9366004613d72565b610f69565b6102ff6103ec366004613d51565b611391565b6102ff6103ff366004613a10565b611739565b610417610412366004613c00565b6117db565b6040516102ab9190613fde565b6102c7610432366004613cdd565b600090815260056020526040902054151590565b6102a1610454366004613cdd565b60136020526000908152604090205481565b6102a1600d5481565b6102ff61193d565b6102ff610485366004613bab565b611973565b61049d610498366004613d51565b6119a5565b6040805193845260208401929092526001600160a01b0316908201526060016102ab565b6102a16104cf366004613b22565b6119f0565b6104e76104e2366004613d51565b611a53565b6040805194855260208501939093526001600160a01b03918216928401929092521660608201526080016102ab565b6000546001600160a01b0316610397565b6102c7610535366004613cf5565b611aa6565b6102df611ad1565b6102ff6105503660046138ab565b611ae0565b6102a1600081565b6102ff61056b366004613af5565b611b30565b6102ff61057e366004613d72565b611c14565b6102c76105913660046138ab565b612019565b6009546102c79060ff1681565b6102a16105b1366004613cdd565b60009081526005602052604090205490565b6103976105d1366004613cdd565b600f602052600090815260409020546001600160a01b031681565b6102a16105fa366004613cdd565b60116020526000908152604090205481565b6102a17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102ff610641366004613cf5565b612045565b6102ff610654366004613d9d565b61206c565b6102c76106673660046138c7565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b6102c76121f6565b6102ff6106ab3660046139a9565b612213565b6102ff6106be3660046138ab565b61229a565b600b54610397906001600160a01b031681565b6102ff6106e4366004613b4d565b612335565b60006001600160a01b03831661075a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526002602090815260408083206001600160a01b03949094168352929052205490565b600061078d82612423565b92915050565b6060600680546107a290614347565b80601f01602080910402602001604051908101604052809291908181526020018280546107ce90614347565b801561081b5780601f106107f05761010080835404028352916020019161081b565b820191906000526020600020905b8154815290600101906020018083116107fe57829003601f168201915b505050505090505b90565b600082815260106020526040902080543391908390811061085757634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260049092020101546001600160a01b0316146108e75760405162461bcd60e51b815260206004820152603860248201527f7370696d70696172743a206f6e6c7920746865206f726967696e616c2073656c60448201527f6c65722063616e2063616e63656c206869732073616c657300000000000000006064820152608401610751565b60008281526010602052604090208054610903906001906142ed565b8154811061092157634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160106000848152602001908152602001600020828154811061096157634e487b7160e01b600052603260045260246000fd5b6000918252602080832084546004909302019182556001808501549083015560028085015490830180546001600160a01b03199081166001600160a01b039384161790915560039586015495909301805490931694169390931790558381526010909152604090208054806109e657634e487b7160e01b600052603160045260246000fd5b60008281526020808220600460001990940193840201828155600181018390556002810180546001600160a01b03199081169091556003909101805490911690559190925583825260108152604080832054601190925291829020555182907f62f362ec9f7b9b102a4244ce20b4b58f82ab3e1a2c681c73637a4a7cf91cb78590610a749084815260200190565b60405180910390a25050565b606060048054610a8f90614347565b80601f0160208091040260200160405190810160405280929190818152602001828054610abb90614347565b8015610b085780601f10610add57610100808354040283529160200191610b08565b820191906000526020600020905b815481529060010190602001808311610aeb57829003601f168201915b50505050509050919050565b6060610b1e6121f6565b610b3a5760405162461bcd60e51b8152600401610751906141b0565b610b4685858585612463565b5050505050565b6002600a541415610b705760405162461bcd60e51b81526004016107519061423b565b6002600a5581610bcc5760405162461bcd60e51b815260206004820152602160248201527f7370696d70696172743a207174792068617320746f20626520706f73697469766044820152606560f81b6064820152608401610751565b60008111610c285760405162461bcd60e51b815260206004820152602360248201527f7370696d70696172743a2070726963652068617320746f20626520706f73697460448201526269766560e81b6064820152608401610751565b600083815260056020526040902054821115610c925760405162461bcd60e51b8152602060048201526024808201527f7370696d70696172743a206e6f7420656e6f756768206974656d7320666f722060448201526373616c6560e01b6064820152608401610751565b6000610c9e82846142ce565b600c546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd90610cd390339030908690600401613f32565b602060405180830381600087803b158015610ced57600080fd5b505af1158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d259190613cc1565b610d415760405162461bcd60e51b81526004016107519061413e565b60006040518060600160405280858152602001848152602001610d613390565b6001600160a01b0390811690915260008781526012602090815260408083208054600180820183558286528486208851600390930201918255878501519082015586830151600290910180546001600160a01b031916919096161790945589835292546013909152919020559050610dd63390565b6001600160a01b0316857f3138d8d517460c959fb333d4e8d87ea984f1cf15d6742c02e2955dd27a622b708686604051610e1a929190918252602082015260400190565b60405180910390a350506001600a55505050565b6001600160a01b038516331480610e4a5750610e4a8533610667565b610eb15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610751565b610b4685858585856124eb565b60008281526001602081905260409091200154610edc81335b6126a6565b610ee6838361270a565b505050565b6001600160a01b0381163314610f5b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610751565b610f658282612775565b5050565b6002600a541415610f8c5760405162461bcd60e51b81526004016107519061423b565b6002600a556000838152601060205260409020805433919084908110610fc257634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260049092020101546001600160a01b031614156110425760405162461bcd60e51b815260206004820152602c60248201527f7370696d70696172743a2074686520757365722063616e6e6f7420627579206860448201526b34b99037bbb71037b33332b960a11b6064820152608401610751565b600083815260106020526040902080546110ea913091637921219560e11b91908690811061108057634e487b7160e01b600052603260045260246000fd5b60009182526020909120600490910201600201546001600160a01b03163387866040516024016110b39493929190613f9b565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127dc565b6000838152601060205260409020805461118e91908490811061111d57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600101548261113a91906142ce565b33600086815260106020526040902080548690811061116957634e487b7160e01b600052603260045260246000fd5b60009182526020909120600360049092020101546001600160a01b031686600161295c565b60008381526010602052604090208054829190849081106111bf57634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000160008282546111df91906142ed565b9091555050600083815260106020526040902080548390811061121257634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000154600014156113875760008381526010602052604090208054611248906001906142ed565b8154811061126657634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016010600085815260200190815260200160002083815481106112a657634e487b7160e01b600052603260045260246000fd5b6000918252602080832084546004909302019182556001808501549083015560028085015490830180546001600160a01b03199081166001600160a01b0393841617909155600395860154959093018054909316941693909317905584815260109091526040902080548061132b57634e487b7160e01b600052603160045260246000fd5b60008281526020808220600460001990940193840201828155600181018390556002810180546001600160a01b031990811690915560039091018054909116905591909255848252601081526040808320546011909252909120555b50506001600a5550565b6002600a5414156113b45760405162461bcd60e51b81526004016107519061423b565b6002600a5560008281526012602052604090208054339190839081106113ea57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260039092020101546001600160a01b03161461147a5760405162461bcd60e51b815260206004820152603760248201527f7370696d70696172743a206f6e6c7920746865206f726967696e616c2062696460448201527f6465722063616e2063616e63656c2068697320626964730000000000000000006064820152608401610751565b60008281526012602052604081208054839081106114a857634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201600101546012600085815260200190815260200160002083815481106114ec57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600302016000015461150891906142ce565b6000848152601260205260409020805491925090611528906001906142ed565b8154811061154657634e487b7160e01b600052603260045260246000fd5b906000526020600020906003020160126000858152602001908152602001600020838154811061158657634e487b7160e01b600052603260045260246000fd5b600091825260208083208454600390930201918255600180850154908301556002938401549390910180546001600160a01b0319166001600160a01b03909416939093179092558481526012909152604090208054806115f657634e487b7160e01b600052603160045260246000fd5b600082815260208082206003600019909401938402018281556001810183905560020180546001600160a01b03191690559190925584825260128152604080832054601390925290912055600c546001600160a01b031663a9059cbb6116593390565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156116a157600080fd5b505af11580156116b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d99190613cc1565b6116f55760405162461bcd60e51b81526004016107519061413e565b827f7277fc1cd614e04155fd1e358fe63c0576fc211585e1ec95403495e0272eeb4c8360405161172791815260200190565b60405180910390a250506001600a5550565b60606117436121f6565b61175f5760405162461bcd60e51b8152600401610751906141b0565b6001600160a01b0383166117855760405162461bcd60e51b8152600401610751906141fa565b60005b82518110156117d5576117c2848483815181106117b557634e487b7160e01b600052603260045260246000fd5b60200260200101516119f0565b50806117cd816143af565b915050611788565b50505050565b606081518351146118405760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610751565b6000835167ffffffffffffffff81111561186a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611893578160200160208202803683370190505b50905060005b8451811015611935576118fa8582815181106118c557634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106118ed57634e487b7160e01b600052603260045260246000fd5b60200260200101516106e9565b82828151811061191a57634e487b7160e01b600052603260045260246000fd5b602090810291909101015261192e816143af565b9050611899565b509392505050565b6000546001600160a01b031633146119675760405162461bcd60e51b815260040161075190614109565b6119716000612ec7565b565b606061197d6121f6565b6119995760405162461bcd60e51b8152600401610751906141b0565b610b4685858585612f17565b601260205281600052604060002081815481106119c157600080fd5b60009182526020909120600390910201805460018201546002909201549093509091506001600160a01b031683565b600060606119fc6121f6565b611a185760405162461bcd60e51b8152600401610751906141b0565b611a20612f41565b611a48846008548560405180604001604052806002815260200161060f60f31b815250612f17565b505060085492915050565b60106020528160005260406000208181548110611a6f57600080fd5b6000918252602090912060049091020180546001820154600283015460039093015491945092506001600160a01b03918216911684565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600780546107a290614347565b6060611aea6121f6565b611b065760405162461bcd60e51b8152600401610751906141b0565b610f657f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683610ebe565b336001600160a01b0383161415611b9b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610751565b3360008181526003602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c08911515815260200190565b60405180910390a35050565b6002600a541415611c375760405162461bcd60e51b81526004016107519061423b565b6002600a556000838152601260205260409020805433919084908110611c6d57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260039092020101546001600160a01b03161415611cee5760405162461bcd60e51b815260206004820152602d60248201527f7370696d70696172743a2074686520757365722063616e6e6f7420616363657060448201526c1d081a1a5cc81bdddb88189a59609a1b6064820152608401610751565b611d1c335b6001600160a01b0316600090815260036020908152604080832030845290915290205460ff1690565b611d2b57611d2b306001611b30565b611d9830637921219560e11b336000878152601260205260409020805487908110611d6657634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260039092020101546040516110b392916001600160a01b03169089908890602401613f9b565b60008381526012602052604090208054611e3c919084908110611dcb57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600302016001015482611de891906142ce565b6000858152601260205260409020805485908110611e1657634e487b7160e01b600052603260045260246000fd5b60009182526020909120600390910201600201546001600160a01b03163386600061295c565b6000838152601260205260409020805482919084908110611e6d57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600302016000016000828254611e8d91906142ed565b90915550506000838152601260205260409020805483908110611ec057634e487b7160e01b600052603260045260246000fd5b906000526020600020906003020160000154600014156113875760008381526012602052604090208054611ef6906001906142ed565b81548110611f1457634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201601260008581526020019081526020016000208381548110611f5457634e487b7160e01b600052603260045260246000fd5b600091825260208083208454600390930201918255600180850154908301556002938401549390910180546001600160a01b0319166001600160a01b0390941693909317909255848152601290915260409020805480611fc457634e487b7160e01b600052603160045260246000fd5b600082815260208082206003600019909401938402018281556001810183905560020180546001600160a01b0319169055919092558482526012815260408083205460139092529091205550506001600a5550565b600061078d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683611aa6565b600082815260016020819052604090912001546120628133610ed7565b610ee68383612775565b8261207733866106e9565b10156120de5760405162461bcd60e51b815260206004820152603060248201527f7370696d70696172743a20796f7520646f206e6f74206861766520656e6f756760448201526f1a081d1bdad95b9cc81d1bc81cd95b1b60821b6064820152608401610751565b6120e733611cf3565b6120f6576120f6306001611b30565b600060405180608001604052808581526020018481526020016121163390565b6001600160a01b039081168252848116602092830152600088815260108352604080822080546001818101835582855286852088516004909302019182558787015190820155828701516002820180549187166001600160a01b03199283161790556060880151600390920180549290961691161790935589825291546011909352205590506121a33390565b6001600160a01b0316857fce55bfae73b3c55d09c9fb6723466656ecb31fc2f7c5b90c296456857480c88c86866040516121e7929190918252602082015260400190565b60405180910390a35050505050565b60095460009060ff168061220e575061220e33612019565b905090565b6001600160a01b03851633148061222f575061222f8533610667565b61228d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610751565b610b468585858585612f6e565b6000546001600160a01b031633146122c45760405162461bcd60e51b815260040161075190614109565b6001600160a01b0381166123295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610751565b61233281612ec7565b50565b6000546001600160a01b0316331461235f5760405162461bcd60e51b815260040161075190614109565b606461236b8486614296565b106123d65760405162461bcd60e51b815260206004820152603560248201527f7370696d70696172743a20746f74616c20636f6d6d697373696f6e732073686f6044820152740756c64206265206c6f776572207468616e2031303605c1b6064820152608401610751565b600b80546001600160a01b039687166001600160a01b031991821617909155600d94909455600e929092556009805491151560ff19909216919091179055600c8054919093169116179055565b60006001600160e01b03198216636cdb3d1360e11b148061245457506001600160e01b031982166303a24d0760e21b145b8061078d575061078d82613081565b61246f848484846130b6565b60005b8351811015610b465733600f60008684815181106124a057634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550806124e4906143af565b9050612472565b815183511461250c5760405162461bcd60e51b815260040161075190614168565b6001600160a01b0384166125325760405162461bcd60e51b81526004016107519061407a565b3360005b845181101561263857600085828151811061256157634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061258d57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156125de5760405162461bcd60e51b8152600401610751906140bf565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061261d908490614296565b9250508190555050505080612631906143af565b9050612536565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612688929190613ff1565b60405180910390a461269e818787878787613155565b505050505050565b6126b08282611aa6565b610f65576126c8816001600160a01b031660146132c0565b6126d38360206132c0565b6040516020016126e4929190613e5f565b60408051601f198184030181529082905262461bcd60e51b82526107519160040161401f565b6127148282611aa6565b610f655760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b61277f8282611aa6565b15610f655760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382163b6128335760405162461bcd60e51b815260206004820152601f60248201527f7370696d70696172743a2063616c6c20746f206e6f6e2d636f6e7472616374006044820152606401610751565b600080836001600160a01b03168360405161284e9190613e43565b6000604051808303816000865af19150503d806000811461288b576040519150601f19603f3d011682016040523d82523d6000602084013e612890565b606091505b5091509150816128e25760405162461bcd60e51b815260206004820181905260248201527f7370696d70696172743a206c6f772d6c6576656c2063616c6c206661696c65646044820152606401610751565b8051156117d557808060200190518101906128fd9190613cc1565b6117d55760405162461bcd60e51b815260206004820152602a60248201527f7370696d70696172743a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610751565b60006064600d548761296e91906142ce565b61297891906142ae565b905060006064600e548861298c91906142ce565b61299691906142ae565b90506000816129a5848a6142ed565b6129af91906142ed565b90508315612a5e57600c546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906129eb908a908a908690600401613f32565b602060405180830381600087803b158015612a0557600080fd5b505af1158015612a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3d9190613cc1565b612a595760405162461bcd60e51b81526004016107519061413e565b612b00565b600c5460405163a9059cbb60e01b81526001600160a01b038881166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b158015612aac57600080fd5b505af1158015612ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae49190613cc1565b612b005760405162461bcd60e51b81526004016107519061413e565b856001600160a01b0316876001600160a01b0316867f07f87664c10527a8207b443cccf57f3c20f25bd1165eeae416be79890a35892c84604051612b4691815260200190565b60405180910390a48115612d19578315612c1357600c546000868152600f6020526040908190205490516323b872dd60e01b81526001600160a01b03928316926323b872dd92612ba0928c92909116908790600401613f32565b602060405180830381600087803b158015612bba57600080fd5b505af1158015612bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf29190613cc1565b612c0e5760405162461bcd60e51b81526004016107519061413e565b612cc4565b600c546000868152600f60205260409081902054905163a9059cbb60e01b81526001600160a01b0391821660048201526024810185905291169063a9059cbb90604401602060405180830381600087803b158015612c7057600080fd5b505af1158015612c84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca89190613cc1565b612cc45760405162461bcd60e51b81526004016107519061413e565b6000858152600f60209081526040918290205491518481526001600160a01b03928316928a169188917f802713d7f9cc0dcd6072902b48c61c206c34d6ca5f5288b580a6f86f9c9fe150910160405180910390a45b8215612ebd578315612dd157600c54600b546040516323b872dd60e01b81526001600160a01b03928316926323b872dd92612d5e928c92909116908890600401613f32565b602060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612db09190613cc1565b612dcc5760405162461bcd60e51b81526004016107519061413e565b612e75565b600c54600b5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810186905291169063a9059cbb90604401602060405180830381600087803b158015612e2157600080fd5b505af1158015612e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e599190613cc1565b612e755760405162461bcd60e51b81526004016107519061413e565b600b546040518481526001600160a01b039182169189169087907f9577cd5ef459a0bf97b597490f08f1e93e995b9394e4c577932db36e71c4500c9060200160405180910390a45b5050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000838152600f6020526040902080546001600160a01b031916331790556117d5848484846134a9565b60088054906000612f51836143af565b9091555050600854600090815260056020526040902054612f4157565b6001600160a01b038416612f945760405162461bcd60e51b81526004016107519061407a565b60008381526002602090815260408083206001600160a01b0389168452909152902054339083811015612fd95760405162461bcd60e51b8152600401610751906140bf565b60008581526002602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290613018908490614296565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46130788288888888886134de565b50505050505050565b60006001600160e01b03198216637965db0b60e01b148061078d57506301ffc9a760e01b6001600160e01b031983161461078d565b6130c2848484846135a8565b60005b8351811015610b46578281815181106130ee57634e487b7160e01b600052603260045260246000fd5b60200260200101516005600086848151811061311a57634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461313f9190614296565b9091555061314e9050816143af565b90506130c5565b6001600160a01b0384163b1561269e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906131999089908990889088908890600401613ed4565b602060405180830381600087803b1580156131b357600080fd5b505af19250505080156131e3575060408051601f3d908101601f191682019092526131e091810190613d35565b60015b613290576131ef6143f6565b806308c379a01415613229575061320461440d565b8061320f575061322b565b8060405162461bcd60e51b8152600401610751919061401f565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610751565b6001600160e01b0319811663bc197c8160e01b146130785760405162461bcd60e51b815260040161075190614032565b606060006132cf8360026142ce565b6132da906002614296565b67ffffffffffffffff81111561330057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561332a576020820181803683370190505b509050600360fc1b8160008151811061335357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061339057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006133b48460026142ce565b6133bf906001614296565b90505b6001811115613453576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061340157634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061342557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361344c81614330565b90506133c2565b5083156134a25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610751565b9392505050565b6134b584848484613710565b600083815260056020526040812080548492906134d3908490614296565b909155505050505050565b6001600160a01b0384163b1561269e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906135229089908990889088908890600401613f56565b602060405180830381600087803b15801561353c57600080fd5b505af192505050801561356c575060408051601f3d908101601f1916820190925261356991810190613d35565b60015b613578576131ef6143f6565b6001600160e01b0319811663f23a6e6160e01b146130785760405162461bcd60e51b815260040161075190614032565b6001600160a01b0384166135ce5760405162461bcd60e51b8152600401610751906141fa565b81518351146135ef5760405162461bcd60e51b815260040161075190614168565b3360005b84518110156136a85783818151811061361c57634e487b7160e01b600052603260045260246000fd5b60200260200101516002600087848151811061364857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546136909190614296565b909155508190506136a0816143af565b9150506135f3565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516136f9929190613ff1565b60405180910390a4610b4681600087878787613155565b6001600160a01b0384166137365760405162461bcd60e51b8152600401610751906141fa565b60008381526002602090815260408083206001600160a01b038816845290915281208054339285929161376a908490614296565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b46816000878787876134de565b600082601f8301126137da578081fd5b813560206137e782614272565b6040516137f48282614382565b838152828101915085830183850287018401881015613811578586fd5b855b8581101561382f57813584529284019290840190600101613813565b5090979650505050505050565b600082601f83011261384c578081fd5b813567ffffffffffffffff811115613866576138666143e0565b60405161387d601f8301601f191660200182614382565b818152846020838601011115613891578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156138bc578081fd5b81356134a28161449f565b600080604083850312156138d9578081fd5b82356138e48161449f565b915060208301356138f48161449f565b809150509250929050565b600080600080600060a08688031215613916578081fd5b85356139218161449f565b945060208601356139318161449f565b9350604086013567ffffffffffffffff8082111561394d578283fd5b61395989838a016137ca565b9450606088013591508082111561396e578283fd5b61397a89838a016137ca565b9350608088013591508082111561398f578283fd5b5061399c8882890161383c565b9150509295509295909350565b600080600080600060a086880312156139c0578081fd5b85356139cb8161449f565b945060208601356139db8161449f565b93506040860135925060608601359150608086013567ffffffffffffffff811115613a04578182fd5b61399c8882890161383c565b60008060408385031215613a22578182fd5b8235613a2d8161449f565b9150602083013567ffffffffffffffff811115613a48578182fd5b613a54858286016137ca565b9150509250929050565b60008060008060808587031215613a73578384fd5b8435613a7e8161449f565b9350602085013567ffffffffffffffff80821115613a9a578485fd5b613aa6888389016137ca565b94506040870135915080821115613abb578384fd5b613ac7888389016137ca565b93506060870135915080821115613adc578283fd5b50613ae98782880161383c565b91505092959194509250565b60008060408385031215613b07578182fd5b8235613b128161449f565b915060208301356138f4816144b4565b60008060408385031215613b34578182fd5b8235613b3f8161449f565b946020939093013593505050565b600080600080600060a08688031215613b64578283fd5b8535613b6f8161449f565b945060208601359350604086013592506060860135613b8d816144b4565b91506080860135613b9d8161449f565b809150509295509295909350565b60008060008060808587031215613bc0578182fd5b8435613bcb8161449f565b93506020850135925060408501359150606085013567ffffffffffffffff811115613bf4578182fd5b613ae98782880161383c565b60008060408385031215613c12578182fd5b823567ffffffffffffffff80821115613c29578384fd5b818501915085601f830112613c3c578384fd5b81356020613c4982614272565b604051613c568282614382565b8381528281019150858301838502870184018b1015613c73578889fd5b8896505b84871015613c9e578035613c8a8161449f565b835260019690960195918301918301613c77565b5096505086013592505080821115613cb4578283fd5b50613a54858286016137ca565b600060208284031215613cd2578081fd5b81516134a2816144b4565b600060208284031215613cee578081fd5b5035919050565b60008060408385031215613d07578182fd5b8235915060208301356138f48161449f565b600060208284031215613d2a578081fd5b81356134a2816144c2565b600060208284031215613d46578081fd5b81516134a2816144c2565b60008060408385031215613d63578182fd5b50508035926020909101359150565b600080600060608486031215613d86578081fd5b505081359360208301359350604090920135919050565b60008060008060808587031215613db2578182fd5b8435935060208501359250604085013591506060850135613dd28161449f565b939692955090935050565b6000815180845260208085019450808401835b83811015613e0c57815187529582019590820190600101613df0565b509495945050505050565b60008151808452613e2f816020860160208601614304565b601f01601f19169290920160200192915050565b60008251613e55818460208701614304565b9190910192915050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351613e97816017850160208801614304565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613ec8816028840160208801614304565b01602801949350505050565b6001600160a01b0386811682528516602082015260a060408201819052600090613f0090830186613ddd565b8281036060840152613f128186613ddd565b90508281036080840152613f268185613e17565b98975050505050505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090613f9090830184613e17565b979650505050505050565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260029082015261060f60f31b60c082015260e00190565b6000602082526134a26020830184613ddd565b6000604082526140046040830185613ddd565b82810360208401526140168185613ddd565b95945050505050565b6000602082526134a26020830184613e17565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6020808252602a908201527f4552433131353559757a753a206d7573742068617665206d696e74657220726f6040820152691b19481d1bc81b5a5b9d60b21b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600067ffffffffffffffff82111561428c5761428c6143e0565b5060209081020190565b600082198211156142a9576142a96143ca565b500190565b6000826142c957634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156142e8576142e86143ca565b500290565b6000828210156142ff576142ff6143ca565b500390565b60005b8381101561431f578181015183820152602001614307565b838111156117d55750506000910152565b60008161433f5761433f6143ca565b506000190190565b60028104600182168061435b57607f821691505b6020821081141561437c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156143a8576143a86143e0565b6040525050565b60006000198214156143c3576143c36143ca565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d111561082357600481823e5160e01c90565b600060443d101561441d57610823565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561444f575050505050610823565b828501915081518181111561446957505050505050610823565b843d870101602082850101111561448557505050505050610823565b61449460208286010187614382565b509094505050505090565b6001600160a01b038116811461233257600080fd5b801515811461233257600080fd5b6001600160e01b03198116811461233257600080fdfea26469706673582212202c4e99ebf018e87c0f9abcdb9691d5a52d03b7b53cd1c818f96e6bf45e9976c664736f6c63430008020033000000000000000000000000304cb2d30cb1181e650f8e19fb4a773beac2b6cf000000000000000000000000b3d5732d4b7f34493d91f2ee6658abf1652467cf000000000000000000000000b3d5732d4b7f34493d91f2ee6658abf1652467cf000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000095350494d5049415254000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034141410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001268747470733a2f2f7370696d70692e6172740000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102895760003560e01c8063745e96d71161015c578063bd85b039116100ce578063e985e9c511610087578063e985e9c514610659578063ee1b59e414610695578063f242432a1461069d578063f2fde38b146106b0578063f851a440146106c3578063fa184c49146106d657610289565b8063bd85b039146105a3578063cd53d08e146105c3578063d1389512146105ec578063d53913931461060c578063d547741f14610633578063dc234f5a1461064657610289565b8063983b2d5611610120578063983b2d5614610542578063a217fddf14610555578063a22cb4651461055d578063a2d0d02914610570578063aa271e1a14610583578063b13fbe961461059657610289565b8063745e96d7146104c157806380149609146104d45780638da5cb5b1461051657806391d148541461052757806395d89b411461053a57610289565b806336568abe116102005780634f558e79116101b95780634f558e791461042457806356bee561146104465780635ea1d6f814610466578063715018a61461046f578063731133e9146104775780637447298f1461048a57610289565b806336568abe146103af578063373f68d1146103c257806340993b26146103cb5780634b393605146103de5780634c22ce0b146103f15780634e1273f41461040457610289565b80631f7fdffa116102525780631f7fdffa14610314578063248a9ca3146103275780632ac9bf091461034b5780632eb2c2d61461035e5780632f2ff15d146103715780633013ce291461038457610289565b8062fdd58e1461028e57806301ffc9a7146102b457806306fdde03146102d757806309d0ffa8146102ec5780630e89341c14610301575b600080fd5b6102a161029c366004613b22565b6106e9565b6040519081526020015b60405180910390f35b6102c76102c2366004613d19565b610782565b60405190151581526020016102ab565b6102df610793565b6040516102ab919061401f565b6102ff6102fa366004613d51565b610826565b005b6102df61030f366004613cdd565b610a80565b6102ff610322366004613a5e565b610b14565b6102a1610335366004613cdd565b6000908152600160208190526040909120015490565b6102ff610359366004613d72565b610b4d565b6102ff61036c3660046138ff565b610e2e565b6102ff61037f366004613cf5565b610ebe565b600c54610397906001600160a01b031681565b6040516001600160a01b0390911681526020016102ab565b6102ff6103bd366004613cf5565b610eeb565b6102a1600e5481565b6102ff6103d9366004613d72565b610f69565b6102ff6103ec366004613d51565b611391565b6102ff6103ff366004613a10565b611739565b610417610412366004613c00565b6117db565b6040516102ab9190613fde565b6102c7610432366004613cdd565b600090815260056020526040902054151590565b6102a1610454366004613cdd565b60136020526000908152604090205481565b6102a1600d5481565b6102ff61193d565b6102ff610485366004613bab565b611973565b61049d610498366004613d51565b6119a5565b6040805193845260208401929092526001600160a01b0316908201526060016102ab565b6102a16104cf366004613b22565b6119f0565b6104e76104e2366004613d51565b611a53565b6040805194855260208501939093526001600160a01b03918216928401929092521660608201526080016102ab565b6000546001600160a01b0316610397565b6102c7610535366004613cf5565b611aa6565b6102df611ad1565b6102ff6105503660046138ab565b611ae0565b6102a1600081565b6102ff61056b366004613af5565b611b30565b6102ff61057e366004613d72565b611c14565b6102c76105913660046138ab565b612019565b6009546102c79060ff1681565b6102a16105b1366004613cdd565b60009081526005602052604090205490565b6103976105d1366004613cdd565b600f602052600090815260409020546001600160a01b031681565b6102a16105fa366004613cdd565b60116020526000908152604090205481565b6102a17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102ff610641366004613cf5565b612045565b6102ff610654366004613d9d565b61206c565b6102c76106673660046138c7565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b6102c76121f6565b6102ff6106ab3660046139a9565b612213565b6102ff6106be3660046138ab565b61229a565b600b54610397906001600160a01b031681565b6102ff6106e4366004613b4d565b612335565b60006001600160a01b03831661075a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b5060009081526002602090815260408083206001600160a01b03949094168352929052205490565b600061078d82612423565b92915050565b6060600680546107a290614347565b80601f01602080910402602001604051908101604052809291908181526020018280546107ce90614347565b801561081b5780601f106107f05761010080835404028352916020019161081b565b820191906000526020600020905b8154815290600101906020018083116107fe57829003601f168201915b505050505090505b90565b600082815260106020526040902080543391908390811061085757634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260049092020101546001600160a01b0316146108e75760405162461bcd60e51b815260206004820152603860248201527f7370696d70696172743a206f6e6c7920746865206f726967696e616c2073656c60448201527f6c65722063616e2063616e63656c206869732073616c657300000000000000006064820152608401610751565b60008281526010602052604090208054610903906001906142ed565b8154811061092157634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160106000848152602001908152602001600020828154811061096157634e487b7160e01b600052603260045260246000fd5b6000918252602080832084546004909302019182556001808501549083015560028085015490830180546001600160a01b03199081166001600160a01b039384161790915560039586015495909301805490931694169390931790558381526010909152604090208054806109e657634e487b7160e01b600052603160045260246000fd5b60008281526020808220600460001990940193840201828155600181018390556002810180546001600160a01b03199081169091556003909101805490911690559190925583825260108152604080832054601190925291829020555182907f62f362ec9f7b9b102a4244ce20b4b58f82ab3e1a2c681c73637a4a7cf91cb78590610a749084815260200190565b60405180910390a25050565b606060048054610a8f90614347565b80601f0160208091040260200160405190810160405280929190818152602001828054610abb90614347565b8015610b085780601f10610add57610100808354040283529160200191610b08565b820191906000526020600020905b815481529060010190602001808311610aeb57829003601f168201915b50505050509050919050565b6060610b1e6121f6565b610b3a5760405162461bcd60e51b8152600401610751906141b0565b610b4685858585612463565b5050505050565b6002600a541415610b705760405162461bcd60e51b81526004016107519061423b565b6002600a5581610bcc5760405162461bcd60e51b815260206004820152602160248201527f7370696d70696172743a207174792068617320746f20626520706f73697469766044820152606560f81b6064820152608401610751565b60008111610c285760405162461bcd60e51b815260206004820152602360248201527f7370696d70696172743a2070726963652068617320746f20626520706f73697460448201526269766560e81b6064820152608401610751565b600083815260056020526040902054821115610c925760405162461bcd60e51b8152602060048201526024808201527f7370696d70696172743a206e6f7420656e6f756768206974656d7320666f722060448201526373616c6560e01b6064820152608401610751565b6000610c9e82846142ce565b600c546040516323b872dd60e01b81529192506001600160a01b0316906323b872dd90610cd390339030908690600401613f32565b602060405180830381600087803b158015610ced57600080fd5b505af1158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d259190613cc1565b610d415760405162461bcd60e51b81526004016107519061413e565b60006040518060600160405280858152602001848152602001610d613390565b6001600160a01b0390811690915260008781526012602090815260408083208054600180820183558286528486208851600390930201918255878501519082015586830151600290910180546001600160a01b031916919096161790945589835292546013909152919020559050610dd63390565b6001600160a01b0316857f3138d8d517460c959fb333d4e8d87ea984f1cf15d6742c02e2955dd27a622b708686604051610e1a929190918252602082015260400190565b60405180910390a350506001600a55505050565b6001600160a01b038516331480610e4a5750610e4a8533610667565b610eb15760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610751565b610b4685858585856124eb565b60008281526001602081905260409091200154610edc81335b6126a6565b610ee6838361270a565b505050565b6001600160a01b0381163314610f5b5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610751565b610f658282612775565b5050565b6002600a541415610f8c5760405162461bcd60e51b81526004016107519061423b565b6002600a556000838152601060205260409020805433919084908110610fc257634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260049092020101546001600160a01b031614156110425760405162461bcd60e51b815260206004820152602c60248201527f7370696d70696172743a2074686520757365722063616e6e6f7420627579206860448201526b34b99037bbb71037b33332b960a11b6064820152608401610751565b600083815260106020526040902080546110ea913091637921219560e11b91908690811061108057634e487b7160e01b600052603260045260246000fd5b60009182526020909120600490910201600201546001600160a01b03163387866040516024016110b39493929190613f9b565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526127dc565b6000838152601060205260409020805461118e91908490811061111d57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600101548261113a91906142ce565b33600086815260106020526040902080548690811061116957634e487b7160e01b600052603260045260246000fd5b60009182526020909120600360049092020101546001600160a01b031686600161295c565b60008381526010602052604090208054829190849081106111bf57634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000160008282546111df91906142ed565b9091555050600083815260106020526040902080548390811061121257634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000154600014156113875760008381526010602052604090208054611248906001906142ed565b8154811061126657634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016010600085815260200190815260200160002083815481106112a657634e487b7160e01b600052603260045260246000fd5b6000918252602080832084546004909302019182556001808501549083015560028085015490830180546001600160a01b03199081166001600160a01b0393841617909155600395860154959093018054909316941693909317905584815260109091526040902080548061132b57634e487b7160e01b600052603160045260246000fd5b60008281526020808220600460001990940193840201828155600181018390556002810180546001600160a01b031990811690915560039091018054909116905591909255848252601081526040808320546011909252909120555b50506001600a5550565b6002600a5414156113b45760405162461bcd60e51b81526004016107519061423b565b6002600a5560008281526012602052604090208054339190839081106113ea57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260039092020101546001600160a01b03161461147a5760405162461bcd60e51b815260206004820152603760248201527f7370696d70696172743a206f6e6c7920746865206f726967696e616c2062696460448201527f6465722063616e2063616e63656c2068697320626964730000000000000000006064820152608401610751565b60008281526012602052604081208054839081106114a857634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201600101546012600085815260200190815260200160002083815481106114ec57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600302016000015461150891906142ce565b6000848152601260205260409020805491925090611528906001906142ed565b8154811061154657634e487b7160e01b600052603260045260246000fd5b906000526020600020906003020160126000858152602001908152602001600020838154811061158657634e487b7160e01b600052603260045260246000fd5b600091825260208083208454600390930201918255600180850154908301556002938401549390910180546001600160a01b0319166001600160a01b03909416939093179092558481526012909152604090208054806115f657634e487b7160e01b600052603160045260246000fd5b600082815260208082206003600019909401938402018281556001810183905560020180546001600160a01b03191690559190925584825260128152604080832054601390925290912055600c546001600160a01b031663a9059cbb6116593390565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b1580156116a157600080fd5b505af11580156116b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d99190613cc1565b6116f55760405162461bcd60e51b81526004016107519061413e565b827f7277fc1cd614e04155fd1e358fe63c0576fc211585e1ec95403495e0272eeb4c8360405161172791815260200190565b60405180910390a250506001600a5550565b60606117436121f6565b61175f5760405162461bcd60e51b8152600401610751906141b0565b6001600160a01b0383166117855760405162461bcd60e51b8152600401610751906141fa565b60005b82518110156117d5576117c2848483815181106117b557634e487b7160e01b600052603260045260246000fd5b60200260200101516119f0565b50806117cd816143af565b915050611788565b50505050565b606081518351146118405760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610751565b6000835167ffffffffffffffff81111561186a57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611893578160200160208202803683370190505b50905060005b8451811015611935576118fa8582815181106118c557634e487b7160e01b600052603260045260246000fd5b60200260200101518583815181106118ed57634e487b7160e01b600052603260045260246000fd5b60200260200101516106e9565b82828151811061191a57634e487b7160e01b600052603260045260246000fd5b602090810291909101015261192e816143af565b9050611899565b509392505050565b6000546001600160a01b031633146119675760405162461bcd60e51b815260040161075190614109565b6119716000612ec7565b565b606061197d6121f6565b6119995760405162461bcd60e51b8152600401610751906141b0565b610b4685858585612f17565b601260205281600052604060002081815481106119c157600080fd5b60009182526020909120600390910201805460018201546002909201549093509091506001600160a01b031683565b600060606119fc6121f6565b611a185760405162461bcd60e51b8152600401610751906141b0565b611a20612f41565b611a48846008548560405180604001604052806002815260200161060f60f31b815250612f17565b505060085492915050565b60106020528160005260406000208181548110611a6f57600080fd5b6000918252602090912060049091020180546001820154600283015460039093015491945092506001600160a01b03918216911684565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600780546107a290614347565b6060611aea6121f6565b611b065760405162461bcd60e51b8152600401610751906141b0565b610f657f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683610ebe565b336001600160a01b0383161415611b9b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610751565b3360008181526003602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c08911515815260200190565b60405180910390a35050565b6002600a541415611c375760405162461bcd60e51b81526004016107519061423b565b6002600a556000838152601260205260409020805433919084908110611c6d57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260039092020101546001600160a01b03161415611cee5760405162461bcd60e51b815260206004820152602d60248201527f7370696d70696172743a2074686520757365722063616e6e6f7420616363657060448201526c1d081a1a5cc81bdddb88189a59609a1b6064820152608401610751565b611d1c335b6001600160a01b0316600090815260036020908152604080832030845290915290205460ff1690565b611d2b57611d2b306001611b30565b611d9830637921219560e11b336000878152601260205260409020805487908110611d6657634e487b7160e01b600052603260045260246000fd5b60009182526020909120600260039092020101546040516110b392916001600160a01b03169089908890602401613f9b565b60008381526012602052604090208054611e3c919084908110611dcb57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600302016001015482611de891906142ce565b6000858152601260205260409020805485908110611e1657634e487b7160e01b600052603260045260246000fd5b60009182526020909120600390910201600201546001600160a01b03163386600061295c565b6000838152601260205260409020805482919084908110611e6d57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600302016000016000828254611e8d91906142ed565b90915550506000838152601260205260409020805483908110611ec057634e487b7160e01b600052603260045260246000fd5b906000526020600020906003020160000154600014156113875760008381526012602052604090208054611ef6906001906142ed565b81548110611f1457634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201601260008581526020019081526020016000208381548110611f5457634e487b7160e01b600052603260045260246000fd5b600091825260208083208454600390930201918255600180850154908301556002938401549390910180546001600160a01b0319166001600160a01b0390941693909317909255848152601290915260409020805480611fc457634e487b7160e01b600052603160045260246000fd5b600082815260208082206003600019909401938402018281556001810183905560020180546001600160a01b0319169055919092558482526012815260408083205460139092529091205550506001600a5550565b600061078d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a683611aa6565b600082815260016020819052604090912001546120628133610ed7565b610ee68383612775565b8261207733866106e9565b10156120de5760405162461bcd60e51b815260206004820152603060248201527f7370696d70696172743a20796f7520646f206e6f74206861766520656e6f756760448201526f1a081d1bdad95b9cc81d1bc81cd95b1b60821b6064820152608401610751565b6120e733611cf3565b6120f6576120f6306001611b30565b600060405180608001604052808581526020018481526020016121163390565b6001600160a01b039081168252848116602092830152600088815260108352604080822080546001818101835582855286852088516004909302019182558787015190820155828701516002820180549187166001600160a01b03199283161790556060880151600390920180549290961691161790935589825291546011909352205590506121a33390565b6001600160a01b0316857fce55bfae73b3c55d09c9fb6723466656ecb31fc2f7c5b90c296456857480c88c86866040516121e7929190918252602082015260400190565b60405180910390a35050505050565b60095460009060ff168061220e575061220e33612019565b905090565b6001600160a01b03851633148061222f575061222f8533610667565b61228d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610751565b610b468585858585612f6e565b6000546001600160a01b031633146122c45760405162461bcd60e51b815260040161075190614109565b6001600160a01b0381166123295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610751565b61233281612ec7565b50565b6000546001600160a01b0316331461235f5760405162461bcd60e51b815260040161075190614109565b606461236b8486614296565b106123d65760405162461bcd60e51b815260206004820152603560248201527f7370696d70696172743a20746f74616c20636f6d6d697373696f6e732073686f6044820152740756c64206265206c6f776572207468616e2031303605c1b6064820152608401610751565b600b80546001600160a01b039687166001600160a01b031991821617909155600d94909455600e929092556009805491151560ff19909216919091179055600c8054919093169116179055565b60006001600160e01b03198216636cdb3d1360e11b148061245457506001600160e01b031982166303a24d0760e21b145b8061078d575061078d82613081565b61246f848484846130b6565b60005b8351811015610b465733600f60008684815181106124a057634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550806124e4906143af565b9050612472565b815183511461250c5760405162461bcd60e51b815260040161075190614168565b6001600160a01b0384166125325760405162461bcd60e51b81526004016107519061407a565b3360005b845181101561263857600085828151811061256157634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061258d57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156125de5760405162461bcd60e51b8152600401610751906140bf565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061261d908490614296565b9250508190555050505080612631906143af565b9050612536565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612688929190613ff1565b60405180910390a461269e818787878787613155565b505050505050565b6126b08282611aa6565b610f65576126c8816001600160a01b031660146132c0565b6126d38360206132c0565b6040516020016126e4929190613e5f565b60408051601f198184030181529082905262461bcd60e51b82526107519160040161401f565b6127148282611aa6565b610f655760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b61277f8282611aa6565b15610f655760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382163b6128335760405162461bcd60e51b815260206004820152601f60248201527f7370696d70696172743a2063616c6c20746f206e6f6e2d636f6e7472616374006044820152606401610751565b600080836001600160a01b03168360405161284e9190613e43565b6000604051808303816000865af19150503d806000811461288b576040519150601f19603f3d011682016040523d82523d6000602084013e612890565b606091505b5091509150816128e25760405162461bcd60e51b815260206004820181905260248201527f7370696d70696172743a206c6f772d6c6576656c2063616c6c206661696c65646044820152606401610751565b8051156117d557808060200190518101906128fd9190613cc1565b6117d55760405162461bcd60e51b815260206004820152602a60248201527f7370696d70696172743a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610751565b60006064600d548761296e91906142ce565b61297891906142ae565b905060006064600e548861298c91906142ce565b61299691906142ae565b90506000816129a5848a6142ed565b6129af91906142ed565b90508315612a5e57600c546040516323b872dd60e01b81526001600160a01b03909116906323b872dd906129eb908a908a908690600401613f32565b602060405180830381600087803b158015612a0557600080fd5b505af1158015612a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3d9190613cc1565b612a595760405162461bcd60e51b81526004016107519061413e565b612b00565b600c5460405163a9059cbb60e01b81526001600160a01b038881166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b158015612aac57600080fd5b505af1158015612ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae49190613cc1565b612b005760405162461bcd60e51b81526004016107519061413e565b856001600160a01b0316876001600160a01b0316867f07f87664c10527a8207b443cccf57f3c20f25bd1165eeae416be79890a35892c84604051612b4691815260200190565b60405180910390a48115612d19578315612c1357600c546000868152600f6020526040908190205490516323b872dd60e01b81526001600160a01b03928316926323b872dd92612ba0928c92909116908790600401613f32565b602060405180830381600087803b158015612bba57600080fd5b505af1158015612bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf29190613cc1565b612c0e5760405162461bcd60e51b81526004016107519061413e565b612cc4565b600c546000868152600f60205260409081902054905163a9059cbb60e01b81526001600160a01b0391821660048201526024810185905291169063a9059cbb90604401602060405180830381600087803b158015612c7057600080fd5b505af1158015612c84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca89190613cc1565b612cc45760405162461bcd60e51b81526004016107519061413e565b6000858152600f60209081526040918290205491518481526001600160a01b03928316928a169188917f802713d7f9cc0dcd6072902b48c61c206c34d6ca5f5288b580a6f86f9c9fe150910160405180910390a45b8215612ebd578315612dd157600c54600b546040516323b872dd60e01b81526001600160a01b03928316926323b872dd92612d5e928c92909116908890600401613f32565b602060405180830381600087803b158015612d7857600080fd5b505af1158015612d8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612db09190613cc1565b612dcc5760405162461bcd60e51b81526004016107519061413e565b612e75565b600c54600b5460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810186905291169063a9059cbb90604401602060405180830381600087803b158015612e2157600080fd5b505af1158015612e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e599190613cc1565b612e755760405162461bcd60e51b81526004016107519061413e565b600b546040518481526001600160a01b039182169189169087907f9577cd5ef459a0bf97b597490f08f1e93e995b9394e4c577932db36e71c4500c9060200160405180910390a45b5050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000838152600f6020526040902080546001600160a01b031916331790556117d5848484846134a9565b60088054906000612f51836143af565b9091555050600854600090815260056020526040902054612f4157565b6001600160a01b038416612f945760405162461bcd60e51b81526004016107519061407a565b60008381526002602090815260408083206001600160a01b0389168452909152902054339083811015612fd95760405162461bcd60e51b8152600401610751906140bf565b60008581526002602090815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290613018908490614296565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46130788288888888886134de565b50505050505050565b60006001600160e01b03198216637965db0b60e01b148061078d57506301ffc9a760e01b6001600160e01b031983161461078d565b6130c2848484846135a8565b60005b8351811015610b46578281815181106130ee57634e487b7160e01b600052603260045260246000fd5b60200260200101516005600086848151811061311a57634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461313f9190614296565b9091555061314e9050816143af565b90506130c5565b6001600160a01b0384163b1561269e5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906131999089908990889088908890600401613ed4565b602060405180830381600087803b1580156131b357600080fd5b505af19250505080156131e3575060408051601f3d908101601f191682019092526131e091810190613d35565b60015b613290576131ef6143f6565b806308c379a01415613229575061320461440d565b8061320f575061322b565b8060405162461bcd60e51b8152600401610751919061401f565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610751565b6001600160e01b0319811663bc197c8160e01b146130785760405162461bcd60e51b815260040161075190614032565b606060006132cf8360026142ce565b6132da906002614296565b67ffffffffffffffff81111561330057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561332a576020820181803683370190505b509050600360fc1b8160008151811061335357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061339057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060006133b48460026142ce565b6133bf906001614296565b90505b6001811115613453576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061340157634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811061342557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9361344c81614330565b90506133c2565b5083156134a25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610751565b9392505050565b6134b584848484613710565b600083815260056020526040812080548492906134d3908490614296565b909155505050505050565b6001600160a01b0384163b1561269e5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906135229089908990889088908890600401613f56565b602060405180830381600087803b15801561353c57600080fd5b505af192505050801561356c575060408051601f3d908101601f1916820190925261356991810190613d35565b60015b613578576131ef6143f6565b6001600160e01b0319811663f23a6e6160e01b146130785760405162461bcd60e51b815260040161075190614032565b6001600160a01b0384166135ce5760405162461bcd60e51b8152600401610751906141fa565b81518351146135ef5760405162461bcd60e51b815260040161075190614168565b3360005b84518110156136a85783818151811061361c57634e487b7160e01b600052603260045260246000fd5b60200260200101516002600087848151811061364857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546136909190614296565b909155508190506136a0816143af565b9150506135f3565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516136f9929190613ff1565b60405180910390a4610b4681600087878787613155565b6001600160a01b0384166137365760405162461bcd60e51b8152600401610751906141fa565b60008381526002602090815260408083206001600160a01b038816845290915281208054339285929161376a908490614296565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b46816000878787876134de565b600082601f8301126137da578081fd5b813560206137e782614272565b6040516137f48282614382565b838152828101915085830183850287018401881015613811578586fd5b855b8581101561382f57813584529284019290840190600101613813565b5090979650505050505050565b600082601f83011261384c578081fd5b813567ffffffffffffffff811115613866576138666143e0565b60405161387d601f8301601f191660200182614382565b818152846020838601011115613891578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156138bc578081fd5b81356134a28161449f565b600080604083850312156138d9578081fd5b82356138e48161449f565b915060208301356138f48161449f565b809150509250929050565b600080600080600060a08688031215613916578081fd5b85356139218161449f565b945060208601356139318161449f565b9350604086013567ffffffffffffffff8082111561394d578283fd5b61395989838a016137ca565b9450606088013591508082111561396e578283fd5b61397a89838a016137ca565b9350608088013591508082111561398f578283fd5b5061399c8882890161383c565b9150509295509295909350565b600080600080600060a086880312156139c0578081fd5b85356139cb8161449f565b945060208601356139db8161449f565b93506040860135925060608601359150608086013567ffffffffffffffff811115613a04578182fd5b61399c8882890161383c565b60008060408385031215613a22578182fd5b8235613a2d8161449f565b9150602083013567ffffffffffffffff811115613a48578182fd5b613a54858286016137ca565b9150509250929050565b60008060008060808587031215613a73578384fd5b8435613a7e8161449f565b9350602085013567ffffffffffffffff80821115613a9a578485fd5b613aa6888389016137ca565b94506040870135915080821115613abb578384fd5b613ac7888389016137ca565b93506060870135915080821115613adc578283fd5b50613ae98782880161383c565b91505092959194509250565b60008060408385031215613b07578182fd5b8235613b128161449f565b915060208301356138f4816144b4565b60008060408385031215613b34578182fd5b8235613b3f8161449f565b946020939093013593505050565b600080600080600060a08688031215613b64578283fd5b8535613b6f8161449f565b945060208601359350604086013592506060860135613b8d816144b4565b91506080860135613b9d8161449f565b809150509295509295909350565b60008060008060808587031215613bc0578182fd5b8435613bcb8161449f565b93506020850135925060408501359150606085013567ffffffffffffffff811115613bf4578182fd5b613ae98782880161383c565b60008060408385031215613c12578182fd5b823567ffffffffffffffff80821115613c29578384fd5b818501915085601f830112613c3c578384fd5b81356020613c4982614272565b604051613c568282614382565b8381528281019150858301838502870184018b1015613c73578889fd5b8896505b84871015613c9e578035613c8a8161449f565b835260019690960195918301918301613c77565b5096505086013592505080821115613cb4578283fd5b50613a54858286016137ca565b600060208284031215613cd2578081fd5b81516134a2816144b4565b600060208284031215613cee578081fd5b5035919050565b60008060408385031215613d07578182fd5b8235915060208301356138f48161449f565b600060208284031215613d2a578081fd5b81356134a2816144c2565b600060208284031215613d46578081fd5b81516134a2816144c2565b60008060408385031215613d63578182fd5b50508035926020909101359150565b600080600060608486031215613d86578081fd5b505081359360208301359350604090920135919050565b60008060008060808587031215613db2578182fd5b8435935060208501359250604085013591506060850135613dd28161449f565b939692955090935050565b6000815180845260208085019450808401835b83811015613e0c57815187529582019590820190600101613df0565b509495945050505050565b60008151808452613e2f816020860160208601614304565b601f01601f19169290920160200192915050565b60008251613e55818460208701614304565b9190910192915050565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351613e97816017850160208801614304565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613ec8816028840160208801614304565b01602801949350505050565b6001600160a01b0386811682528516602082015260a060408201819052600090613f0090830186613ddd565b8281036060840152613f128186613ddd565b90508281036080840152613f268185613e17565b98975050505050505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090613f9090830184613e17565b979650505050505050565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a06080820181905260029082015261060f60f31b60c082015260e00190565b6000602082526134a26020830184613ddd565b6000604082526140046040830185613ddd565b82810360208401526140168185613ddd565b95945050505050565b6000602082526134a26020830184613e17565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f2a3930b739b332b9103330b4b632b21760811b604082015260600190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b6020808252602a908201527f4552433131353559757a753a206d7573742068617665206d696e74657220726f6040820152691b19481d1bc81b5a5b9d60b21b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600067ffffffffffffffff82111561428c5761428c6143e0565b5060209081020190565b600082198211156142a9576142a96143ca565b500190565b6000826142c957634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156142e8576142e86143ca565b500290565b6000828210156142ff576142ff6143ca565b500390565b60005b8381101561431f578181015183820152602001614307565b838111156117d55750506000910152565b60008161433f5761433f6143ca565b506000190190565b60028104600182168061435b57607f821691505b6020821081141561437c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff811182821017156143a8576143a86143e0565b6040525050565b60006000198214156143c3576143c36143ca565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d111561082357600481823e5160e01c90565b600060443d101561441d57610823565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561444f575050505050610823565b828501915081518181111561446957505050505050610823565b843d870101602082850101111561448557505050505050610823565b61449460208286010187614382565b509094505050505090565b6001600160a01b038116811461233257600080fd5b801515811461233257600080fd5b6001600160e01b03198116811461233257600080fdfea26469706673582212202c4e99ebf018e87c0f9abcdb9691d5a52d03b7b53cd1c818f96e6bf45e9976c664736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000304cb2d30cb1181e650f8e19fb4a773beac2b6cf000000000000000000000000b3d5732d4b7f34493d91f2ee6658abf1652467cf000000000000000000000000b3d5732d4b7f34493d91f2ee6658abf1652467cf000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000000095350494d5049415254000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034141410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001268747470733a2f2f7370696d70692e6172740000000000000000000000000000
-----Decoded View---------------
Arg [0] : _paymentToken (address): 0x304cB2d30cb1181e650F8e19Fb4a773beaC2B6cF
Arg [1] : _owner (address): 0xB3D5732d4b7f34493d91F2Ee6658Abf1652467cf
Arg [2] : _admin (address): 0xB3D5732d4b7f34493d91F2Ee6658Abf1652467cf
Arg [3] : _commissionRate (uint256): 10
Arg [4] : _royaltiesCommissionRate (uint256): 10
Arg [5] : name (string): SPIMPIART
Arg [6] : symbol (string): AAA
Arg [7] : _anyoneCanMint (bool): True
Arg [8] : uri (string): https://spimpi.art
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 000000000000000000000000304cb2d30cb1181e650f8e19fb4a773beac2b6cf
Arg [1] : 000000000000000000000000b3d5732d4b7f34493d91f2ee6658abf1652467cf
Arg [2] : 000000000000000000000000b3d5732d4b7f34493d91f2ee6658abf1652467cf
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [10] : 5350494d50494152540000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [12] : 4141410000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [14] : 68747470733a2f2f7370696d70692e6172740000000000000000000000000000
Deployed Bytecode Sourcemap
67649:14270:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49765:231;;;;;;:::i;:::-;;:::i;:::-;;;17111:25:1;;;17099:2;17084:18;49765:231:0;;;;;;;;66694:227;;;;;;:::i;:::-;;:::i;:::-;;;16938:14:1;;16931:22;16913:41;;16901:2;16886:18;66694:227:0;16868:92:1;64626:93:0;;;:::i;:::-;;;;;;;:::i;73169:514::-;;;;;;:::i;:::-;;:::i;:::-;;49509:105;;;;;;:::i;:::-;;:::i;66402:220::-;;;;;;:::i;:::-;;:::i;36132:123::-;;;;;;:::i;:::-;36198:7;36225:12;;;:6;:12;;;;;;;;:22;;;36132:123;73975:771;;;;;;:::i;:::-;;:::i;51860:442::-;;;;;;:::i;:::-;;:::i;36517:147::-;;;;;;:::i;:::-;;:::i;67886:26::-;;;;;-1:-1:-1;;;;;67886:26:0;;;;;;-1:-1:-1;;;;;13263:32:1;;;13245:51;;13233:2;13218:18;67886:26:0;13200:102:1;37565:218:0;;;;;;:::i;:::-;;:::i;68067:38::-;;;;;;71760:1377;;;;;;:::i;:::-;;:::i;74796:764::-;;;;;;:::i;:::-;;:::i;65619:266::-;;;;;;:::i;:::-;;:::i;50162:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;60191:122::-;;;;;;:::i;:::-;60248:4;60069:16;;;:12;:16;;;;;;-1:-1:-1;;;60191:122:0;68887:51;;;;;;:::i;:::-;;;;;;;;;;;;;;67970:29;;;;;;62589:94;;;:::i;66107:188::-;;;;;;:::i;:::-;;:::i;68805:45::-;;;;;;:::i;:::-;;:::i;:::-;;;;30268:25:1;;;30324:2;30309:18;;30302:34;;;;-1:-1:-1;;;;;30372:32:1;30352:18;;;30345:60;30256:2;30241:18;68805:45:0;30223:188:1;65249:202:0;;;;;;:::i;:::-;;:::i;68460:43::-;;;;;;:::i;:::-;;:::i;:::-;;;;30647:25:1;;;30703:2;30688:18;;30681:34;;;;-1:-1:-1;;;;;30789:15:1;;;30769:18;;;30762:43;;;;30841:15;30836:2;30821:18;;30814:43;30634:3;30619:19;68460:43:0;30601:262:1;61938:87:0;61984:7;62011:6;-1:-1:-1;;;;;62011:6:0;61938:87;;35017:139;;;;;;:::i;:::-;;:::i;64788:97::-;;;:::i;66929:106::-;;;;;;:::i;:::-;;:::i;34108:49::-;;34153:4;34108:49;;50759:311;;;;;;:::i;:::-;;:::i;75623:1591::-;;;;;;:::i;:::-;;:::i;67043:117::-;;;;;;:::i;:::-;;:::i;63940:25::-;;;;;;;;;59980:113;;;;;;:::i;:::-;60042:7;60069:16;;;:12;:16;;;;;;;59980:113;68168:43;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;68168:43:0;;;68540:50;;;;;;:::i;:::-;;;;;;;;;;;;;;63832:62;;63870:24;63832:62;;36909:149;;;;;;:::i;:::-;;:::i;70679:898::-;;;;;;:::i;:::-;;:::i;51142:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;51265:27:0;;;51241:4;51265:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;51142:168;67168:110;;;:::i;51382:401::-;;;;;;:::i;:::-;;:::i;62838:192::-;;;;;;:::i;:::-;;:::i;67812:20::-;;;;;-1:-1:-1;;;;;67812:20:0;;;81408:502;;;;;;:::i;:::-;;:::i;49765:231::-;49851:7;-1:-1:-1;;;;;49879:21:0;;49871:77;;;;-1:-1:-1;;;49871:77:0;;18986:2:1;49871:77:0;;;18968:21:1;19025:2;19005:18;;;18998:30;19064:34;19044:18;;;19037:62;-1:-1:-1;;;19115:18:1;;;19108:41;19166:19;;49871:77:0;;;;;;;;;-1:-1:-1;49966:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;49966:22:0;;;;;;;;;;;;49765:231::o;66694:227::-;66848:4;66877:36;66901:11;66877:23;:36::i;:::-;66870:43;66694:227;-1:-1:-1;;66694:227:0:o;64626:93::-;64673:13;64706:5;64699:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64626:93;;:::o;73169:514::-;73308:18;;;;:9;:18;;;;;:25;;18732:10;;73308:18;73327:5;;73308:25;;;;-1:-1:-1;;;73308:25:0;;;;;;;;;;;;;;;;;:30;:25;;;;;:30;;-1:-1:-1;;;;;73308:30:0;:46;73300:115;;;;-1:-1:-1;;;73300:115:0;;23859:2:1;73300:115:0;;;23841:21:1;23898:2;23878:18;;;23871:30;23937:34;23917:18;;;23910:62;24008:26;23988:18;;;23981:54;24052:19;;73300:115:0;23831:246:1;73300:115:0;73484:18;;;;:9;:18;;;;;73503:25;;:27;;73529:1;;73503:27;:::i;:::-;73484:47;;;;;;-1:-1:-1;;;73484:47:0;;;;;;;;;;;;;;;;;;;73456:9;:18;73466:7;73456:18;;;;;;;;;;;73475:5;73456:25;;;;;;-1:-1:-1;;;73456:25:0;;;;;;;;;;;;;;;;;:75;;:25;;;;;:75;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;73456:75:0;;;-1:-1:-1;;;;;73456:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73542:18;;;:9;:18;;;;;;:24;;;;;-1:-1:-1;;;73542:24:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;73542:24:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;73542:24:0;;;;;;;;;;;;;;;;;;;;;73604:18;;;:9;:18;;;;;;:25;73577:15;:24;;;;;;;:52;73647:26;73614:7;;73647:26;;;;73667:5;17111:25:1;;17099:2;17084:18;;17066:76;73647:26:0;;;;;;;;73169:514;;:::o;49509:105::-;49569:13;49602:4;49595:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49509:105;;;:::o;66402:220::-;67390:21;67444:10;:8;:10::i;:::-;67422:102;;;;-1:-1:-1;;;67422:102:0;;;;;;;:::i;:::-;66580:34:::1;66591:2;66595:3;66600:7;66609:4;66580:10;:34::i;:::-;66402:220:::0;;;;;:::o;73975:771::-;20517:1;21115:7;;:19;;21107:63;;;;-1:-1:-1;;;21107:63:0;;;;;;;:::i;:::-;20517:1;21248:7;:18;74076:5;74068:51:::1;;;::::0;-1:-1:-1;;;74068:51:0;;22228:2:1;74068:51:0::1;::::0;::::1;22210:21:1::0;22267:2;22247:18;;;22240:30;22306:34;22286:18;;;22279:62;-1:-1:-1;;;22357:18:1;;;22350:31;22398:19;;74068:51:0::1;22200:223:1::0;74068:51:0::1;74144:1;74138:5;:7;74130:55;;;::::0;-1:-1:-1;;;74130:55:0;;22630:2:1;74130:55:0::1;::::0;::::1;22612:21:1::0;22669:2;22649:18;;;22642:30;22708:34;22688:18;;;22681:62;-1:-1:-1;;;22759:18:1;;;22752:33;22802:19;;74130:55:0::1;22602:225:1::0;74130:55:0::1;60042:7:::0;60069:16;;;:12;:16;;;;;;74204:3:::1;:27;;74196:76;;;::::0;-1:-1:-1;;;74196:76:0;;21399:2:1;74196:76:0::1;::::0;::::1;21381:21:1::0;21438:2;21418:18;;;21411:30;21477:34;21457:18;;;21450:62;-1:-1:-1;;;21528:18:1;;;21521:34;21572:19;;74196:76:0::1;21371:226:1::0;74196:76:0::1;74349:13;74365:11;74371:5:::0;74365:3;:11:::1;:::i;:::-;74395:12;::::0;:61:::1;::::0;-1:-1:-1;;;74395:61:0;;74349:27;;-1:-1:-1;;;;;;74395:12:0::1;::::0;:25:::1;::::0;:61:::1;::::0;18732:10;;74443:4:::1;::::0;74349:27;;74395:61:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74387:90;;;;-1:-1:-1::0;;;74387:90:0::1;;;;;;;:::i;:::-;74519:19;74541:31;;;;;;;;74547:3;74541:31;;;;74552:5;74541:31;;;;74559:12;18732:10:::0;18652:98;;74559:12:::1;-1:-1:-1::0;;;;;74541:31:0;;::::1;::::0;;;74585:19:::1;::::0;;;:10:::1;:19;::::0;;;;;;;:32;;::::1;::::0;;::::1;::::0;;;;;;;;;;::::1;::::0;;::::1;;::::0;;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;74585:32:0::1;::::0;;;::::1;;::::0;;;74656:19;;;:26;;74628:16:::1;:25:::0;;;;;;:54;74585:32;-1:-1:-1;74711:12:0::1;18732:10:::0;18652:98;;74711:12:::1;-1:-1:-1::0;;;;;74698:38:0::1;74702:7;74698:38;74725:3;74730:5;74698:38;;;;;;29987:25:1::0;;;30043:2;30028:18;;30021:34;29975:2;29960:18;;29942:119;74698:38:0::1;;;;;;;;-1:-1:-1::0;;20473:1:0;21427:7;:22;-1:-1:-1;;;73975:771:0:o;51860:442::-;-1:-1:-1;;;;;52093:20:0;;18732:10;52093:20;;:60;;-1:-1:-1;52117:36:0;52134:4;18732:10;52140:12;18652:98;52117:36;52071:160;;;;-1:-1:-1;;;52071:160:0;;23440:2:1;52071:160:0;;;23422:21:1;23479:2;23459:18;;;23452:30;23518:34;23498:18;;;23491:62;-1:-1:-1;;;23569:18:1;;;23562:48;23627:19;;52071:160:0;23412:240:1;52071:160:0;52242:52;52265:4;52271:2;52275:3;52280:7;52289:4;52242:22;:52::i;36517:147::-;36198:7;36225:12;;;:6;:12;;;;;;;;:22;;34599:30;34610:4;18732:10;34616:12;34599:10;:30::i;:::-;36631:25:::1;36642:4;36648:7;36631:10;:25::i;:::-;36517:147:::0;;;:::o;37565:218::-;-1:-1:-1;;;;;37661:23:0;;18732:10;37661:23;37653:83;;;;-1:-1:-1;;;37653:83:0;;29417:2:1;37653:83:0;;;29399:21:1;29456:2;29436:18;;;29429:30;29495:34;29475:18;;;29468:62;-1:-1:-1;;;29546:18:1;;;29539:45;29601:19;;37653:83:0;29389:237:1;37653:83:0;37749:26;37761:4;37767:7;37749:11;:26::i;:::-;37565:218;;:::o;71760:1377::-;20517:1;21115:7;;:19;;21107:63;;;;-1:-1:-1;;;21107:63:0;;;;;;;:::i;:::-;20517:1;21248:7;:18;71887::::1;::::0;;;:9:::1;:18;::::0;;;;:25;;18732:10;;71887:18;71906:5;;71887:25;::::1;;;-1:-1:-1::0;;;71887:25:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:30:::1;:25;::::0;;::::1;;:30;::::0;-1:-1:-1;;;;;71887:30:0::1;:46;;71879:104;;;::::0;-1:-1:-1;;;71879:104:0;;20986:2:1;71879:104:0::1;::::0;::::1;20968:21:1::0;21025:2;21005:18;;;20998:30;21064:34;21044:18;;;21037:62;-1:-1:-1;;;21115:18:1;;;21108:42;21167:19;;71879:104:0::1;20958:234:1::0;71879:104:0::1;72219:18;::::0;;;:9:::1;:18;::::0;;;;:25;;72139:146:::1;::::0;72158:4:::1;::::0;-1:-1:-1;;;72187:30:0;72219:18;72238:5;;72219:25;::::1;;;-1:-1:-1::0;;;72219:25:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:30;;::::0;-1:-1:-1;;;;;72219:30:0::1;18732:10:::0;72265:7:::1;72274:3;72164:120;;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;72164:120:0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;72164:120:0::1;-1:-1:-1::0;;;;;;72164:120:0;;::::1;::::0;;;::::1;::::0;;;72139:18:::1;:146::i;:::-;72639:18;::::0;;;:9:::1;:18;::::0;;;;:25;;72617:117:::1;::::0;72639:18;72658:5;;72639:25;::::1;;;-1:-1:-1::0;;;72639:25:0::1;;;;;;;;;;;;;;;;;;;:31;;;72633:3;:37;;;;:::i;:::-;18732:10:::0;72686:18:::1;::::0;;;:9:::1;:18;::::0;;;;:25;;72705:5;;72686:25;::::1;;;-1:-1:-1::0;;;72686:25:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:32:::1;:25;::::0;;::::1;;:32;::::0;-1:-1:-1;;;;;72686:32:0::1;72720:7:::0;72686:32;72617:15:::1;:117::i;:::-;72780:18;::::0;;;:9:::1;:18;::::0;;;;:25;;72813:3;;72780:18;72799:5;;72780:25;::::1;;;-1:-1:-1::0;;;72780:25:0::1;;;;;;;;;;;;;;;;;;;:29;;;:36;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;72884:18:0::1;::::0;;;:9:::1;:18;::::0;;;;:25;;72903:5;;72884:25;::::1;;;-1:-1:-1::0;;;72884:25:0::1;;;;;;;;;;;;;;;;;;;:29;;;72917:1;72884:34;72880:248;;;72963:18;::::0;;;:9:::1;:18;::::0;;;;72982:25;;:27:::1;::::0;73008:1:::1;::::0;72982:27:::1;:::i;:::-;72963:47;;;;;;-1:-1:-1::0;;;72963:47:0::1;;;;;;;;;;;;;;;;;;;72935:9;:18;72945:7;72935:18;;;;;;;;;;;72954:5;72935:25;;;;;;-1:-1:-1::0;;;72935:25:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:75;;:25:::1;::::0;;::::1;;:75:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;;;72935:75:0;;::::1;-1:-1:-1::0;;;;;72935:75:0;;::::1;;::::0;;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;73025:18;;;:9:::1;:18:::0;;;;;;:24;;;::::1;;-1:-1:-1::0;;;73025:24:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;73025:24:0;;;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;73025:24:0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;;;73091:18;;;:9:::1;:18:::0;;;;;;:25;73064:15:::1;:24:::0;;;;;;:52;72880:248:::1;-1:-1:-1::0;;20473:1:0;21427:7;:22;-1:-1:-1;71760:1377:0:o;74796:764::-;20517:1;21115:7;;:19;;21107:63;;;;-1:-1:-1;;;21107:63:0;;;;;;;:::i;:::-;20517:1;21248:7;:18;74947:19:::1;::::0;;;:10:::1;:19;::::0;;;;:26;;18732:10;;74947:19;74967:5;;74947:26;::::1;;;-1:-1:-1::0;;;74947:26:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:31:::1;:26;::::0;;::::1;;:31;::::0;-1:-1:-1;;;;;74947:31:0::1;:47;74939:115;;;::::0;-1:-1:-1;;;74939:115:0;;21804:2:1;74939:115:0::1;::::0;::::1;21786:21:1::0;21843:2;21823:18;;;21816:30;21882:34;21862:18;;;21855:62;21953:25;21933:18;;;21926:53;21996:19;;74939:115:0::1;21776:245:1::0;74939:115:0::1;75094:13;75143:19:::0;;;:10:::1;:19;::::0;;;;:26;;75163:5;;75143:26;::::1;;;-1:-1:-1::0;;;75143:26:0::1;;;;;;;;;;;;;;;;;;;:32;;;75110:10;:19;75121:7;75110:19;;;;;;;;;;;75130:5;75110:26;;;;;;-1:-1:-1::0;;;75110:26:0::1;;;;;;;;;;;;;;;;;;;:30;;;:65;;;;:::i;:::-;75244:19;::::0;;;:10:::1;:19;::::0;;;;75264:26;;75094:81;;-1:-1:-1;75244:19:0;75264:28:::1;::::0;75291:1:::1;::::0;75264:28:::1;:::i;:::-;75244:49;;;;;;-1:-1:-1::0;;;75244:49:0::1;;;;;;;;;;;;;;;;;;;75215:10;:19;75226:7;75215:19;;;;;;;;;;;75235:5;75215:26;;;;;;-1:-1:-1::0;;;75215:26:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:78;;:26:::1;::::0;;::::1;;:78:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;;75215:78:0::1;-1:-1:-1::0;;;;;75215:78:0;;::::1;::::0;;;::::1;::::0;;;75304:19;;;:10:::1;:19:::0;;;;;;:25;;;::::1;;-1:-1:-1::0;;;75304:25:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;75304:25:0;;;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;-1:-1:-1;;;;;;75304:25:0::1;::::0;;;;;;75368:19;;;:10:::1;:19:::0;;;;;;:26;75340:16:::1;:25:::0;;;;;;:54;75444:12:::1;::::0;-1:-1:-1;;;;;75444:12:0::1;:21;75466:12;18732:10:::0;18652:98;;75466:12:::1;75444:42;::::0;-1:-1:-1;;;;;;75444:42:0::1;::::0;;;;;;-1:-1:-1;;;;;15950:32:1;;;75444:42:0::1;::::0;::::1;15932:51:1::0;15999:18;;;15992:34;;;15905:18;;75444:42:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;75436:71;;;;-1:-1:-1::0;;;75436:71:0::1;;;;;;;:::i;:::-;75535:7;75525:25;75544:5;75525:25;;;;17111::1::0;;17099:2;17084:18;;17066:76;75525:25:0::1;;;;;;;;-1:-1:-1::0;;20473:1:0;21427:7;:22;-1:-1:-1;74796:764:0:o;65619:266::-;67390:21;67444:10;:8;:10::i;:::-;67422:102;;;;-1:-1:-1;;;67422:102:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;65717:16:0;::::1;65709:62;;;;-1:-1:-1::0;;;65709:62:0::1;;;;;;;:::i;:::-;65787:9;65782:96;65806:7;:14;65802:1;:18;65782:96;;;65842:24;65851:2;65855:7;65863:1;65855:10;;;;;;-1:-1:-1::0;;;65855:10:0::1;;;;;;;;;;;;;;;65842:8;:24::i;:::-;-1:-1:-1::0;65822:3:0;::::1;::::0;::::1;:::i;:::-;;;;65782:96;;;;65619:266:::0;;;:::o;50162:524::-;50318:16;50379:3;:10;50360:8;:15;:29;50352:83;;;;-1:-1:-1;;;50352:83:0;;27011:2:1;50352:83:0;;;26993:21:1;27050:2;27030:18;;;27023:30;27089:34;27069:18;;;27062:62;-1:-1:-1;;;27140:18:1;;;27133:39;27189:19;;50352:83:0;26983:231:1;50352:83:0;50448:30;50495:8;:15;50481:30;;;;;;-1:-1:-1;;;50481:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50481:30:0;;50448:63;;50529:9;50524:122;50548:8;:15;50544:1;:19;50524:122;;;50604:30;50614:8;50623:1;50614:11;;;;;;-1:-1:-1;;;50614:11:0;;;;;;;;;;;;;;;50627:3;50631:1;50627:6;;;;;;-1:-1:-1;;;50627:6:0;;;;;;;;;;;;;;;50604:9;:30::i;:::-;50585:13;50599:1;50585:16;;;;;;-1:-1:-1;;;50585:16:0;;;;;;;;;;;;;;;;;;:49;50565:3;;;:::i;:::-;;;50524:122;;;-1:-1:-1;50665:13:0;50162:524;-1:-1:-1;;;50162:524:0:o;62589:94::-;61984:7;62011:6;-1:-1:-1;;;;;62011:6:0;18732:10;62158:23;62150:68;;;;-1:-1:-1;;;62150:68:0;;;;;;;:::i;:::-;62654:21:::1;62672:1;62654:9;:21::i;:::-;62589:94::o:0;66107:188::-;67390:21;67444:10;:8;:10::i;:::-;67422:102;;;;-1:-1:-1;;;67422:102:0;;;;;;;:::i;:::-;66260:27:::1;66266:2;66270;66274:6;66282:4;66260:5;:27::i;68805:45::-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68805:45:0;;-1:-1:-1;;;;;;68805:45:0;;:::o;65249:202::-;65322:7;67390:21;67444:10;:8;:10::i;:::-;67422:102;;;;-1:-1:-1;;;67422:102:0;;;;;;;:::i;:::-;65342:17:::1;:15;:17::i;:::-;65370:40;65376:2;65380:15;;65397:6;65370:40;;;;;;;;;;;;;-1:-1:-1::0;;;65370:40:0::1;;::::0;:5:::1;:40::i;:::-;-1:-1:-1::0;;65428:15:0::1;::::0;;65249:202;-1:-1:-1;;65249:202:0:o;68460:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68460:43:0;-1:-1:-1;;;;;;68460:43:0;;;;;;:::o;35017:139::-;35095:4;35119:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;35119:29:0;;;;;;;;;;;;;;;35017:139::o;64788:97::-;64837:13;64870:7;64863:14;;;;;:::i;66929:106::-;67390:21;67444:10;:8;:10::i;:::-;67422:102;;;;-1:-1:-1;;;67422:102:0;;;;;;;:::i;:::-;66996:31:::1;63870:24;67019:7;66996:9;:31::i;50759:311::-:0;18732:10;-1:-1:-1;;;;;50862:24:0;;;;50854:78;;;;-1:-1:-1;;;50854:78:0;;26179:2:1;50854:78:0;;;26161:21:1;26218:2;26198:18;;;26191:30;26257:34;26237:18;;;26230:62;-1:-1:-1;;;26308:18:1;;;26301:39;26357:19;;50854:78:0;26151:231:1;50854:78:0;18732:10;50945:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;50945:42:0;;;;;;;;;;:53;;-1:-1:-1;;50945:53:0;;;;;;;:42;-1:-1:-1;;;;;51014:48:0;;51053:8;51014:48;;;;16938:14:1;16931:22;16913:41;;16901:2;16886:18;;16868:92;51014:48:0;;;;;;;;50759:311;;:::o;75623:1591::-;20517:1;21115:7;;:19;;21107:63;;;;-1:-1:-1;;;21107:63:0;;;;;;;:::i;:::-;20517:1;21248:7;:18;75756:19:::1;::::0;;;:10:::1;:19;::::0;;;;:26;;18732:10;;75756:19;75776:5;;75756:26;::::1;;;-1:-1:-1::0;;;75756:26:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:31:::1;:26;::::0;;::::1;;:31;::::0;-1:-1:-1;;;;;75756:31:0::1;:47;;75748:106;;;::::0;-1:-1:-1;;;75748:106:0;;29003:2:1;75748:106:0::1;::::0;::::1;28985:21:1::0;29042:2;29022:18;;;29015:30;29081:34;29061:18;;;29054:62;-1:-1:-1;;;29132:18:1;;;29125:43;29185:19;;75748:106:0::1;28975:235:1::0;75748:106:0::1;75942:45;18732:10:::0;75959:12:::1;-1:-1:-1::0;;;;;51265:27:0;51241:4;51265:27;;;:18;:27;;;;;;;;75981:4:::1;51265:37:::0;;;;;;;;;;;51142:168;75942:45:::1;75937:117;;76004:38;76030:4;76037;76004:17;:38::i;:::-;76214:147;76233:4;-1:-1:-1::0;;;18732:10:0;76308:19:::1;::::0;;;:10:::1;:19;::::0;;;;:26;;76328:5;;76308:26;::::1;;;-1:-1:-1::0;;;76308:26:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:31:::1;:26;::::0;;::::1;;:31;::::0;76239:121:::1;::::0;::::1;::::0;;-1:-1:-1;;;;;76308:31:0::1;::::0;76341:7;;76350:3;;76239:121:::1;;;:::i;76214:147::-;76709:19;::::0;;;:10:::1;:19;::::0;;;;:26;;76687:118:::1;::::0;76709:19;76729:5;;76709:26;::::1;;;-1:-1:-1::0;;;76709:26:0::1;;;;;;;;;;;;;;;;;;;:32;;;76703:3;:38;;;;:::i;:::-;76743:19;::::0;;;:10:::1;:19;::::0;;;;:26;;76763:5;;76743:26;::::1;;;-1:-1:-1::0;;;76743:26:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:31;;::::0;-1:-1:-1;;;;;76743:31:0::1;18732:10:::0;76790:7:::1;76799:5;76687:15;:118::i;:::-;76851:19;::::0;;;:10:::1;:19;::::0;;;;:26;;76885:3;;76851:19;76871:5;;76851:26;::::1;;;-1:-1:-1::0;;;76851:26:0::1;;;;;;;;;;;;;;;;;;;:30;;;:37;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;76956:19:0::1;::::0;;;:10:::1;:19;::::0;;;;:26;;76976:5;;76956:26;::::1;;;-1:-1:-1::0;;;76956:26:0::1;;;;;;;;;;;;;;;;;;;:30;;;76990:1;76956:35;76952:255;;;77037:19;::::0;;;:10:::1;:19;::::0;;;;77057:26;;:28:::1;::::0;77084:1:::1;::::0;77057:28:::1;:::i;:::-;77037:49;;;;;;-1:-1:-1::0;;;77037:49:0::1;;;;;;;;;;;;;;;;;;;77008:10;:19;77019:7;77008:19;;;;;;;;;;;77028:5;77008:26;;;;;;-1:-1:-1::0;;;77008:26:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;:78;;:26:::1;::::0;;::::1;;:78:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;-1:-1:-1;;;;;;77008:78:0::1;-1:-1:-1::0;;;;;77008:78:0;;::::1;::::0;;;::::1;::::0;;;77101:19;;;:10:::1;:19:::0;;;;;;:25;;;::::1;;-1:-1:-1::0;;;77101:25:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;77101:25:0;;;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;-1:-1:-1;;;;;;77101:25:0::1;::::0;;;;;;77169:19;;;:10:::1;:19:::0;;;;;;:26;77141:16:::1;:25:::0;;;;;;:54;-1:-1:-1;;20473:1:0;21427:7;:22;-1:-1:-1;75623:1591:0:o;67043:117::-;67099:4;67123:29;63870:24;67144:7;67123;:29::i;36909:149::-;36198:7;36225:12;;;:6;:12;;;;;;;;:22;;34599:30;34610:4;18732:10;34616:12;18652:98;34599:30;37024:26:::1;37036:4;37042:7;37024:11;:26::i;70679:898::-:0;70902:3;70866:32;18732:10;70890:7;70866:9;:32::i;:::-;:39;;70858:100;;;;-1:-1:-1;;;70858:100:0;;24284:2:1;70858:100:0;;;24266:21:1;24323:2;24303:18;;;24296:30;24362:34;24342:18;;;24335:62;-1:-1:-1;;;24413:18:1;;;24406:46;24469:19;;70858:100:0;24256:238:1;70858:100:0;71046:45;18732:10;71063:12;18652:98;71046:45;71041:117;;71108:38;71134:4;71141;71108:17;:38::i;:::-;71218:16;71237:38;;;;;;;;71242:3;71237:38;;;;71247:5;71237:38;;;;71254:12;18732:10;18652:98;;71254:12;-1:-1:-1;;;;;71237:38:0;;;;;;;;;;;;;-1:-1:-1;71420:18:0;;;:9;:18;;;;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;71420:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;71487:18;;;:25;;71460:15;:24;;;;:52;71218:57;-1:-1:-1;71542:12:0;18732:10;18652:98;;71542:12;-1:-1:-1;;;;;71528:39:0;71533:7;71528:39;71556:3;71561:5;71528:39;;;;;;29987:25:1;;;30043:2;30028:18;;30021:34;29975:2;29960:18;;29942:119;71528:39:0;;;;;;;;70679:898;;;;;:::o;67168:110::-;67233:13;;67209:4;;67233:13;;;:37;;;67250:20;67259:10;67250:8;:20::i;:::-;67226:44;;67168:110;:::o;51382:401::-;-1:-1:-1;;;;;51590:20:0;;18732:10;51590:20;;:60;;-1:-1:-1;51614:36:0;51631:4;18732:10;51637:12;18652:98;51614:36;51568:151;;;;-1:-1:-1;;;51568:151:0;;20576:2:1;51568:151:0;;;20558:21:1;20615:2;20595:18;;;20588:30;20654:34;20634:18;;;20627:62;-1:-1:-1;;;20705:18:1;;;20698:39;20754:19;;51568:151:0;20548:231:1;51568:151:0;51730:45;51748:4;51754:2;51758;51762:6;51770:4;51730:17;:45::i;62838:192::-;61984:7;62011:6;-1:-1:-1;;;;;62011:6:0;18732:10;62158:23;62150:68;;;;-1:-1:-1;;;62150:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;62927:22:0;::::1;62919:73;;;::::0;-1:-1:-1;;;62919:73:0;;19398:2:1;62919:73:0::1;::::0;::::1;19380:21:1::0;19437:2;19417:18;;;19410:30;19476:34;19456:18;;;19449:62;-1:-1:-1;;;19527:18:1;;;19520:36;19573:19;;62919:73:0::1;19370:228:1::0;62919:73:0::1;63003:19;63013:8;63003:9;:19::i;:::-;62838:192:::0;:::o;81408:502::-;61984:7;62011:6;-1:-1:-1;;;;;62011:6:0;18732:10;62158:23;62150:68;;;;-1:-1:-1;;;62150:68:0;;;;;;;:::i;:::-;81632:3:::1;81587:42;81605:24:::0;81587:15;:42:::1;:::i;:::-;:48;81579:114;;;::::0;-1:-1:-1;;;81579:114:0;;26589:2:1;81579:114:0::1;::::0;::::1;26571:21:1::0;26628:2;26608:18;;;26601:30;26667:34;26647:18;;;26640:62;-1:-1:-1;;;26718:18:1;;;26711:51;26779:19;;81579:114:0::1;26561:243:1::0;81579:114:0::1;81704:5;:14:::0;;-1:-1:-1;;;;;81704:14:0;;::::1;-1:-1:-1::0;;;;;;81704:14:0;;::::1;;::::0;;;81729::::1;:32:::0;;;;81772:23:::1;:50:::0;;;;81833:13:::1;:30:::0;;;::::1;;-1:-1:-1::0;;81833:30:0;;::::1;::::0;;;::::1;::::0;;81874:12:::1;:28:::0;;;;;::::1;::::0;::::1;;::::0;;81408:502::o;48788:310::-;48890:4;-1:-1:-1;;;;;;48927:41:0;;-1:-1:-1;;;48927:41:0;;:110;;-1:-1:-1;;;;;;;48985:52:0;;-1:-1:-1;;;48985:52:0;48927:110;:163;;;;49054:36;49078:11;49054:23;:36::i;79577:285::-;79705:40;79722:2;79726:3;79731:7;79740:4;79705:16;:40::i;:::-;79761:9;79756:99;79780:3;:10;79776:1;:14;79756:99;;;18732:10;79812:8;:16;79821:3;79825:1;79821:6;;;;;;-1:-1:-1;;;79821:6:0;;;;;;;;;;;;;;;79812:16;;;;;;;;;;;;:31;;;;;-1:-1:-1;;;;;79812:31:0;;;;;-1:-1:-1;;;;;79812:31:0;;;;;;79792:3;;;;:::i;:::-;;;79756:99;;53835:1001;54062:7;:14;54048:3;:10;:28;54040:81;;;;-1:-1:-1;;;54040:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;54140:16:0;;54132:66;;;;-1:-1:-1;;;54132:66:0;;;;;;;:::i;:::-;18732:10;54211:16;54255:421;54279:3;:10;54275:1;:14;54255:421;;;54311:10;54324:3;54328:1;54324:6;;;;;;-1:-1:-1;;;54324:6:0;;;;;;;;;;;;;;;54311:19;;54345:14;54362:7;54370:1;54362:10;;;;;;-1:-1:-1;;;54362:10:0;;;;;;;;;;;;;;;;;;;;54389:19;54411:13;;;:9;:13;;;;;;-1:-1:-1;;;;;54411:19:0;;;;;;;;;;;;54362:10;;-1:-1:-1;54453:21:0;;;;54445:76;;;;-1:-1:-1;;;54445:76:0;;;;;;;:::i;:::-;54565:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;54565:19:0;;;;;;;;;;54587:20;;;54565:42;;54637:17;;;;;;;:27;;54587:20;;54565:13;54637:27;;54587:20;;54637:27;:::i;:::-;;;;;;;;54255:421;;;54291:3;;;;:::i;:::-;;;54255:421;;;;54723:2;-1:-1:-1;;;;;54693:47:0;54717:4;-1:-1:-1;;;;;54693:47:0;54707:8;-1:-1:-1;;;;;54693:47:0;;54727:3;54732:7;54693:47;;;;;;;:::i;:::-;;;;;;;;54753:75;54789:8;54799:4;54805:2;54809:3;54814:7;54823:4;54753:35;:75::i;:::-;53835:1001;;;;;;:::o;35446:497::-;35527:22;35535:4;35541:7;35527;:22::i;:::-;35522:414;;35715:41;35743:7;-1:-1:-1;;;;;35715:41:0;35753:2;35715:19;:41::i;:::-;35829:38;35857:4;35864:2;35829:19;:38::i;:::-;35620:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;35620:270:0;;;;;;;;;;-1:-1:-1;;;35566:358:0;;;;;;;:::i;38869:229::-;38944:22;38952:4;38958:7;38944;:22::i;:::-;38939:152;;38983:12;;;;39015:4;38983:12;;;;;;;;-1:-1:-1;;;;;38983:29:0;;;;;;;;;;:36;;-1:-1:-1;;38983:36:0;;;;;;;39039:40;;18732:10;;38983:12;;39039:40;;38983:12;39039:40;38869:229;;:::o;39106:230::-;39181:22;39189:4;39195:7;39181;:22::i;:::-;39177:152;;;39252:5;39220:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;39220:29:0;;;;;;;;;;:37;;-1:-1:-1;;39220:37:0;;;39277:40;18732:10;;39220:12;;39277:40;;39252:5;39277:40;39106:230;;:::o;80253:1116::-;-1:-1:-1;;;;;80859:25:0;;40870:20;80851:71;;;;-1:-1:-1;;;80851:71:0;;19805:2:1;80851:71:0;;;19787:21:1;19844:2;19824:18;;;19817:30;19883:33;19863:18;;;19856:61;19934:18;;80851:71:0;19777:181:1;80851:71:0;80996:12;81010:23;81045:5;-1:-1:-1;;;;;81037:19:0;81057:4;81037:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80995:67;;;;81081:7;81073:52;;;;-1:-1:-1;;;81073:52:0;;25818:2:1;81073:52:0;;;25800:21:1;;;25837:18;;;25830:30;25896:34;25876:18;;;25869:62;25948:18;;81073:52:0;25790:182:1;81073:52:0;81142:17;;:21;81138:224;;81284:10;81273:30;;;;;;;;;;;;:::i;:::-;81265:85;;;;-1:-1:-1;;;81265:85:0;;20165:2:1;81265:85:0;;;20147:21:1;20204:2;20184:18;;;20177:30;20243:34;20223:18;;;20216:62;-1:-1:-1;;;20294:18:1;;;20287:40;20344:19;;81265:85:0;20137:232:1;77770:1525:0;77932:20;77985:3;77968:14;;77955:10;:27;;;;:::i;:::-;:33;;;;:::i;:::-;77932:56;;77999:22;78063:3;78037:23;;78024:10;:36;;;;:::i;:::-;:42;;;;:::i;:::-;77999:67;-1:-1:-1;78077:20:0;77999:67;78100:25;78113:12;78100:10;:25;:::i;:::-;:42;;;;:::i;:::-;78077:65;;78180:15;78176:227;;;78220:12;;:49;;-1:-1:-1;;;78220:49:0;;-1:-1:-1;;;;;78220:12:0;;;;:25;;:49;;78246:4;;78252:2;;78256:12;;78220:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78212:78;;;;-1:-1:-1;;;78212:78:0;;;;;;;:::i;:::-;78176:227;;;78331:12;;:39;;-1:-1:-1;;;78331:39:0;;-1:-1:-1;;;;;15950:32:1;;;78331:39:0;;;15932:51:1;15999:18;;;15992:34;;;78331:12:0;;;;:21;;15905:18:1;;78331:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78323:68;;;;-1:-1:-1;;;78323:68:0;;;;;;;:::i;:::-;78437:2;-1:-1:-1;;;;;78418:36:0;78431:4;-1:-1:-1;;;;;78418:36:0;78422:7;78418:36;78441:12;78418:36;;;;17111:25:1;;17099:2;17084:18;;17066:76;78418:36:0;;;;;;;;78494:16;;78490:402;;78531:15;78527:277;;;78575:12;;;78607:17;;;:8;:17;;;;;;;;78575:66;;-1:-1:-1;;;78575:66:0;;-1:-1:-1;;;;;78575:12:0;;;;:25;;:66;;78601:4;;78607:17;;;;78626:14;;78575:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78567:95;;;;-1:-1:-1;;;78567:95:0;;;;;;;:::i;:::-;78527:277;;;78711:12;;;78733:17;;;:8;:17;;;;;;;;78711:56;;-1:-1:-1;;;78711:56:0;;-1:-1:-1;;;;;78733:17:0;;;78711:56;;;15932:51:1;15999:18;;;15992:34;;;78711:12:0;;;:21;;15905:18:1;;78711:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78703:85;;;;-1:-1:-1;;;78703:85:0;;;;;;;:::i;:::-;78846:17;;;;:8;:17;;;;;;;;;;78823:57;;17111:25:1;;;-1:-1:-1;;;;;78846:17:0;;;;78823:57;;;78846:17;;78823:57;;17084:18:1;78823:57:0;;;;;;;78490:402;78929:14;;78925:361;;78964:15;78960:249;;;79008:12;;79040:5;;79008:52;;-1:-1:-1;;;79008:52:0;;-1:-1:-1;;;;;79008:12:0;;;;:25;;:52;;79034:4;;79040:5;;;;79047:12;;79008:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79000:81;;;;-1:-1:-1;;;79000:81:0;;;;;;;:::i;:::-;78960:249;;;79130:12;;79152:5;;79130:42;;-1:-1:-1;;;79130:42:0;;-1:-1:-1;;;;;79152:5:0;;;79130:42;;;15932:51:1;15999:18;;;15992:34;;;79130:12:0;;;:21;;15905:18:1;;79130:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79122:71;;;;-1:-1:-1;;;79122:71:0;;;;;;;:::i;:::-;79254:5;;79228:46;;17111:25:1;;;-1:-1:-1;;;;;79254:5:0;;;;79228:46;;;79239:7;;79228:46;;17099:2:1;17084:18;79228:46:0;;;;;;;78925:361;77770:1525;;;;;;;;:::o;63038:173::-;63094:16;63113:6;;-1:-1:-1;;;;;63130:17:0;;;-1:-1:-1;;;;;;63130:17:0;;;;;;63163:40;;63113:6;;;;;;;63163:40;;63094:16;63163:40;63038:173;;:::o;79372:197::-;79480:17;;;;:8;:17;;;;;:32;;-1:-1:-1;;;;;;79480:32:0;18732:10;79480:32;;;79523:38;79535:2;79480:17;79548:6;79556:4;79523:11;:38::i;64952:131::-;65015:15;:17;;;:15;:17;;;:::i;:::-;;;;-1:-1:-1;;65058:15:0;;60248:4;60069:16;;;:12;:16;;;;;;64999:77;;64952:131::o;52766:711::-;-1:-1:-1;;;;;52954:16:0;;52946:66;;;;-1:-1:-1;;;52946:66:0;;;;;;;:::i;:::-;53025:16;53091:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;53091:19:0;;;;;;;;;;18732:10;;53129:21;;;;53121:76;;;;-1:-1:-1;;;53121:76:0;;;;;;;:::i;:::-;53233:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;53233:19:0;;;;;;;;;;53255:20;;;53233:42;;53297:17;;;;;;;:27;;53255:20;;53233:13;53297:27;;53255:20;;53297:27;:::i;:::-;;;;-1:-1:-1;;53342:46:0;;;29987:25:1;;;30043:2;30028:18;;30021:34;;;-1:-1:-1;;;;;53342:46:0;;;;;;;;;;;;;;29960:18:1;53342:46:0;;;;;;;53401:68;53432:8;53442:4;53448:2;53452;53456:6;53464:4;53401:30;:68::i;:::-;52766:711;;;;;;;:::o;34721:204::-;34806:4;-1:-1:-1;;;;;;34830:47:0;;-1:-1:-1;;;34830:47:0;;:87;;-1:-1:-1;;;;;;;;;;25907:40:0;;;34881:36;25798:157;60680:339;60859:40;60876:2;60880:3;60885:7;60894:4;60859:16;:40::i;:::-;60915:9;60910:102;60934:3;:10;60930:1;:14;60910:102;;;60990:7;60998:1;60990:10;;;;;;-1:-1:-1;;;60990:10:0;;;;;;;;;;;;;;;60966:12;:20;60979:3;60983:1;60979:6;;;;;;-1:-1:-1;;;60979:6:0;;;;;;;;;;;;;;;60966:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;60946:3:0;;-1:-1:-1;60946:3:0;;:::i;:::-;;;60910:102;;58420:813;-1:-1:-1;;;;;58660:13:0;;40870:20;40918:8;58656:570;;58696:79;;-1:-1:-1;;;58696:79:0;;-1:-1:-1;;;;;58696:43:0;;;;;:79;;58740:8;;58750:4;;58756:3;;58761:7;;58770:4;;58696:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58696:79:0;;;;;;;;-1:-1:-1;;58696:79:0;;;;;;;;;;;;:::i;:::-;;;58692:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;59088:6;59081:14;;-1:-1:-1;;;59081:14:0;;;;;;;;:::i;58692:523::-;;;59137:62;;-1:-1:-1;;;59137:62:0;;17795:2:1;59137:62:0;;;17777:21:1;17834:2;17814:18;;;17807:30;17873:34;17853:18;;;17846:62;-1:-1:-1;;;17924:18:1;;;17917:50;17984:19;;59137:62:0;17767:242:1;58692:523:0;-1:-1:-1;;;;;;58857:60:0;;-1:-1:-1;;;58857:60:0;58853:159;;58942:50;;-1:-1:-1;;;58942:50:0;;;;;;;:::i;14907:451::-;14982:13;15008:19;15040:10;15044:6;15040:1;:10;:::i;:::-;:14;;15053:1;15040:14;:::i;:::-;15030:25;;;;;;-1:-1:-1;;;15030:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15030:25:0;;15008:47;;-1:-1:-1;;;15066:6:0;15073:1;15066:9;;;;;;-1:-1:-1;;;15066:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;15066:15:0;;;;;;;;;-1:-1:-1;;;15092:6:0;15099:1;15092:9;;;;;;-1:-1:-1;;;15092:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;15092:15:0;;;;;;;;-1:-1:-1;15123:9:0;15135:10;15139:6;15135:1;:10;:::i;:::-;:14;;15148:1;15135:14;:::i;:::-;15123:26;;15118:135;15155:1;15151;:5;15118:135;;;-1:-1:-1;;;15203:5:0;15211:3;15203:11;15190:25;;;;;-1:-1:-1;;;15190:25:0;;;;;;;;;;;;15178:6;15185:1;15178:9;;;;;;-1:-1:-1;;;15178:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;15178:37:0;;;;;;;;-1:-1:-1;15240:1:0;15230:11;;;;;15158:3;;;:::i;:::-;;;15118:135;;;-1:-1:-1;15271:10:0;;15263:55;;;;-1:-1:-1;;;15263:55:0;;18216:2:1;15263:55:0;;;18198:21:1;;;18235:18;;;18228:30;18294:34;18274:18;;;18267:62;18346:18;;15263:55:0;18188:182:1;15263:55:0;15343:6;14907:451;-1:-1:-1;;;14907:451:0:o;60373:242::-;60532:38;60544:7;60553:2;60557:6;60565:4;60532:11;:38::i;:::-;60581:16;;;;:12;:16;;;;;:26;;60601:6;;60581:16;:26;;60601:6;;60581:26;:::i;:::-;;;;-1:-1:-1;;;;;;60373:242:0:o;57668:744::-;-1:-1:-1;;;;;57883:13:0;;40870:20;40918:8;57879:526;;57919:72;;-1:-1:-1;;;57919:72:0;;-1:-1:-1;;;;;57919:38:0;;;;;:72;;57958:8;;57968:4;;57974:2;;57978:6;;57986:4;;57919:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57919:72:0;;;;;;;;-1:-1:-1;;57919:72:0;;;;;;;;;;;;:::i;:::-;;;57915:479;;;;:::i;:::-;-1:-1:-1;;;;;;58041:55:0;;-1:-1:-1;;;58041:55:0;58037:154;;58121:50;;-1:-1:-1;;;58121:50:0;;;;;;;:::i;57004:656::-;-1:-1:-1;;;;;57182:16:0;;57174:62;;;;-1:-1:-1;;;57174:62:0;;;;;;;:::i;:::-;57269:7;:14;57255:3;:10;:28;57247:81;;;;-1:-1:-1;;;57247:81:0;;;;;;;:::i;:::-;18732:10;57341:16;57385:103;57409:3;:10;57405:1;:14;57385:103;;;57466:7;57474:1;57466:10;;;;;;-1:-1:-1;;;57466:10:0;;;;;;;;;;;;;;;57441:9;:17;57451:3;57455:1;57451:6;;;;;;-1:-1:-1;;;57451:6:0;;;;;;;;;;;;;;;57441:17;;;;;;;;;;;:21;57459:2;-1:-1:-1;;;;;57441:21:0;-1:-1:-1;;;;;57441:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;57421:3:0;;-1:-1:-1;57421:3:0;;;:::i;:::-;;;;57385:103;;;;57541:2;-1:-1:-1;;;;;57505:53:0;57537:1;-1:-1:-1;;;;;57505:53:0;57519:8;-1:-1:-1;;;;;57505:53:0;;57545:3;57550:7;57505:53;;;;;;;:::i;:::-;;;;;;;;57571:81;57607:8;57625:1;57629:2;57633:3;57638:7;57647:4;57571:35;:81::i;56169:479::-;-1:-1:-1;;;;;56327:21:0;;56319:67;;;;-1:-1:-1;;;56319:67:0;;;;;;;:::i;:::-;56399:16;56443:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;56443:22:0;;;;;;;;;:32;;18732:10;;56469:6;;56443:22;:32;;56469:6;;56443:32;:::i;:::-;;;;-1:-1:-1;;56491:57:0;;;29987:25:1;;;30043:2;30028:18;;30021:34;;;-1:-1:-1;;;;;56491:57:0;;;;56524:1;;56491:57;;;;;;29960:18:1;56491:57:0;;;;;;;56561:79;56592:8;56610:1;56614:7;56623:2;56627:6;56635:4;56561:30;:79::i;14:756:1:-;;121:3;114:4;106:6;102:17;98:27;88:2;;143:5;136;129:20;88:2;183:6;170:20;209:4;232:43;272:2;232:43;:::i;:::-;304:2;298:9;316:31;344:2;336:6;316:31;:::i;:::-;382:18;;;416:15;;;;-1:-1:-1;451:15:1;;;497:11;;;485:24;;481:33;;478:42;-1:-1:-1;475:2:1;;;537:5;530;523:20;475:2;563:5;577:163;591:2;588:1;585:9;577:163;;;648:17;;636:30;;686:12;;;;718;;;;609:1;602:9;577:163;;;-1:-1:-1;758:6:1;;78:692;-1:-1:-1;;;;;;;78:692:1:o;775:575::-;;870:3;863:4;855:6;851:17;847:27;837:2;;892:5;885;878:20;837:2;932:6;919:20;958:18;954:2;951:26;948:2;;;980:18;;:::i;:::-;1029:2;1023:9;1041:67;1096:2;1077:13;;-1:-1:-1;;1073:27:1;1102:4;1069:38;1023:9;1041:67;:::i;:::-;1132:2;1124:6;1117:18;1178:3;1171:4;1166:2;1158:6;1154:15;1150:26;1147:35;1144:2;;;1199:5;1192;1185:20;1144:2;1267;1260:4;1252:6;1248:17;1241:4;1233:6;1229:17;1216:54;1290:15;;;1307:4;1286:26;1279:41;;;;1294:6;827:523;-1:-1:-1;;827:523:1:o;1355:257::-;;1467:2;1455:9;1446:7;1442:23;1438:32;1435:2;;;1488:6;1480;1473:22;1435:2;1532:9;1519:23;1551:31;1576:5;1551:31;:::i;1617:398::-;;;1746:2;1734:9;1725:7;1721:23;1717:32;1714:2;;;1767:6;1759;1752:22;1714:2;1811:9;1798:23;1830:31;1855:5;1830:31;:::i;:::-;1880:5;-1:-1:-1;1937:2:1;1922:18;;1909:32;1950:33;1909:32;1950:33;:::i;:::-;2002:7;1992:17;;;1704:311;;;;;:::o;2020:1111::-;;;;;;2259:3;2247:9;2238:7;2234:23;2230:33;2227:2;;;2281:6;2273;2266:22;2227:2;2325:9;2312:23;2344:31;2369:5;2344:31;:::i;:::-;2394:5;-1:-1:-1;2451:2:1;2436:18;;2423:32;2464:33;2423:32;2464:33;:::i;:::-;2516:7;-1:-1:-1;2574:2:1;2559:18;;2546:32;2597:18;2627:14;;;2624:2;;;2659:6;2651;2644:22;2624:2;2687:61;2740:7;2731:6;2720:9;2716:22;2687:61;:::i;:::-;2677:71;;2801:2;2790:9;2786:18;2773:32;2757:48;;2830:2;2820:8;2817:16;2814:2;;;2851:6;2843;2836:22;2814:2;2879:63;2934:7;2923:8;2912:9;2908:24;2879:63;:::i;:::-;2869:73;;2995:3;2984:9;2980:19;2967:33;2951:49;;3025:2;3015:8;3012:16;3009:2;;;3046:6;3038;3031:22;3009:2;;3074:51;3117:7;3106:8;3095:9;3091:24;3074:51;:::i;:::-;3064:61;;;2217:914;;;;;;;;:::o;3136:754::-;;;;;;3325:3;3313:9;3304:7;3300:23;3296:33;3293:2;;;3347:6;3339;3332:22;3293:2;3391:9;3378:23;3410:31;3435:5;3410:31;:::i;:::-;3460:5;-1:-1:-1;3517:2:1;3502:18;;3489:32;3530:33;3489:32;3530:33;:::i;:::-;3582:7;-1:-1:-1;3636:2:1;3621:18;;3608:32;;-1:-1:-1;3687:2:1;3672:18;;3659:32;;-1:-1:-1;3742:3:1;3727:19;;3714:33;3770:18;3759:30;;3756:2;;;3807:6;3799;3792:22;3756:2;3835:49;3876:7;3867:6;3856:9;3852:22;3835:49;:::i;3895:503::-;;;4049:2;4037:9;4028:7;4024:23;4020:32;4017:2;;;4070:6;4062;4055:22;4017:2;4114:9;4101:23;4133:31;4158:5;4133:31;:::i;:::-;4183:5;-1:-1:-1;4239:2:1;4224:18;;4211:32;4266:18;4255:30;;4252:2;;;4303:6;4295;4288:22;4252:2;4331:61;4384:7;4375:6;4364:9;4360:22;4331:61;:::i;:::-;4321:71;;;4007:391;;;;;:::o;4403:969::-;;;;;4625:3;4613:9;4604:7;4600:23;4596:33;4593:2;;;4647:6;4639;4632:22;4593:2;4691:9;4678:23;4710:31;4735:5;4710:31;:::i;:::-;4760:5;-1:-1:-1;4816:2:1;4801:18;;4788:32;4839:18;4869:14;;;4866:2;;;4901:6;4893;4886:22;4866:2;4929:61;4982:7;4973:6;4962:9;4958:22;4929:61;:::i;:::-;4919:71;;5043:2;5032:9;5028:18;5015:32;4999:48;;5072:2;5062:8;5059:16;5056:2;;;5093:6;5085;5078:22;5056:2;5121:63;5176:7;5165:8;5154:9;5150:24;5121:63;:::i;:::-;5111:73;;5237:2;5226:9;5222:18;5209:32;5193:48;;5266:2;5256:8;5253:16;5250:2;;;5287:6;5279;5272:22;5250:2;;5315:51;5358:7;5347:8;5336:9;5332:24;5315:51;:::i;:::-;5305:61;;;4583:789;;;;;;;:::o;5377:392::-;;;5503:2;5491:9;5482:7;5478:23;5474:32;5471:2;;;5524:6;5516;5509:22;5471:2;5568:9;5555:23;5587:31;5612:5;5587:31;:::i;:::-;5637:5;-1:-1:-1;5694:2:1;5679:18;;5666:32;5707:30;5666:32;5707:30;:::i;5774:325::-;;;5903:2;5891:9;5882:7;5878:23;5874:32;5871:2;;;5924:6;5916;5909:22;5871:2;5968:9;5955:23;5987:31;6012:5;5987:31;:::i;:::-;6037:5;6089:2;6074:18;;;;6061:32;;-1:-1:-1;;;5861:238:1:o;6104:685::-;;;;;;6295:3;6283:9;6274:7;6270:23;6266:33;6263:2;;;6317:6;6309;6302:22;6263:2;6361:9;6348:23;6380:31;6405:5;6380:31;:::i;:::-;6430:5;-1:-1:-1;6482:2:1;6467:18;;6454:32;;-1:-1:-1;6533:2:1;6518:18;;6505:32;;-1:-1:-1;6589:2:1;6574:18;;6561:32;6602:30;6561:32;6602:30;:::i;:::-;6651:7;-1:-1:-1;6710:3:1;6695:19;;6682:33;6724;6682;6724;:::i;:::-;6776:7;6766:17;;;6253:536;;;;;;;;:::o;6794:612::-;;;;;6966:3;6954:9;6945:7;6941:23;6937:33;6934:2;;;6988:6;6980;6973:22;6934:2;7032:9;7019:23;7051:31;7076:5;7051:31;:::i;:::-;7101:5;-1:-1:-1;7153:2:1;7138:18;;7125:32;;-1:-1:-1;7204:2:1;7189:18;;7176:32;;-1:-1:-1;7259:2:1;7244:18;;7231:32;7286:18;7275:30;;7272:2;;;7323:6;7315;7308:22;7272:2;7351:49;7392:7;7383:6;7372:9;7368:22;7351:49;:::i;7411:1344::-;;;7590:2;7578:9;7569:7;7565:23;7561:32;7558:2;;;7611:6;7603;7596:22;7558:2;7656:9;7643:23;7685:18;7726:2;7718:6;7715:14;7712:2;;;7747:6;7739;7732:22;7712:2;7790:6;7779:9;7775:22;7765:32;;7835:7;7828:4;7824:2;7820:13;7816:27;7806:2;;7862:6;7854;7847:22;7806:2;7903;7890:16;7925:4;7948:43;7988:2;7948:43;:::i;:::-;8020:2;8014:9;8032:31;8060:2;8052:6;8032:31;:::i;:::-;8098:18;;;8132:15;;;;-1:-1:-1;8167:11:1;;;8205;;;8197:20;;8193:29;;8190:42;-1:-1:-1;8187:2:1;;;8250:6;8242;8235:22;8187:2;8277:6;8268:15;;8292:238;8306:2;8303:1;8300:9;8292:238;;;8377:3;8364:17;8394:31;8419:5;8394:31;:::i;:::-;8438:18;;8324:1;8317:9;;;;;8476:12;;;;8508;;8292:238;;;-1:-1:-1;8549:6:1;-1:-1:-1;;8593:18:1;;8580:32;;-1:-1:-1;;8624:16:1;;;8621:2;;;8658:6;8650;8643:22;8621:2;;8686:63;8741:7;8730:8;8719:9;8715:24;8686:63;:::i;8760:255::-;;8880:2;8868:9;8859:7;8855:23;8851:32;8848:2;;;8901:6;8893;8886:22;8848:2;8938:9;8932:16;8957:28;8979:5;8957:28;:::i;9020:190::-;;9132:2;9120:9;9111:7;9107:23;9103:32;9100:2;;;9153:6;9145;9138:22;9100:2;-1:-1:-1;9181:23:1;;9090:120;-1:-1:-1;9090:120:1:o;9215:325::-;;;9344:2;9332:9;9323:7;9319:23;9315:32;9312:2;;;9365:6;9357;9350:22;9312:2;9406:9;9393:23;9383:33;;9466:2;9455:9;9451:18;9438:32;9479:31;9504:5;9479:31;:::i;9545:255::-;;9656:2;9644:9;9635:7;9631:23;9627:32;9624:2;;;9677:6;9669;9662:22;9624:2;9721:9;9708:23;9740:30;9764:5;9740:30;:::i;9805:259::-;;9927:2;9915:9;9906:7;9902:23;9898:32;9895:2;;;9948:6;9940;9933:22;9895:2;9985:9;9979:16;10004:30;10028:5;10004:30;:::i;10264:258::-;;;10393:2;10381:9;10372:7;10368:23;10364:32;10361:2;;;10414:6;10406;10399:22;10361:2;-1:-1:-1;;10442:23:1;;;10512:2;10497:18;;;10484:32;;-1:-1:-1;10351:171:1:o;10527:326::-;;;;10673:2;10661:9;10652:7;10648:23;10644:32;10641:2;;;10694:6;10686;10679:22;10641:2;-1:-1:-1;;10722:23:1;;;10792:2;10777:18;;10764:32;;-1:-1:-1;10843:2:1;10828:18;;;10815:32;;10631:222;-1:-1:-1;10631:222:1:o;10858:462::-;;;;;11021:3;11009:9;11000:7;10996:23;10992:33;10989:2;;;11043:6;11035;11028:22;10989:2;11084:9;11071:23;11061:33;;11141:2;11130:9;11126:18;11113:32;11103:42;;11192:2;11181:9;11177:18;11164:32;11154:42;;11246:2;11235:9;11231:18;11218:32;11259:31;11284:5;11259:31;:::i;:::-;10979:341;;;;-1:-1:-1;10979:341:1;;-1:-1:-1;;10979:341:1:o;11325:437::-;;11416:5;11410:12;11443:6;11438:3;11431:19;11469:4;11498:2;11493:3;11489:12;11482:19;;11535:2;11528:5;11524:14;11556:3;11568:169;11582:6;11579:1;11576:13;11568:169;;;11643:13;;11631:26;;11677:12;;;;11712:15;;;;11604:1;11597:9;11568:169;;;-1:-1:-1;11753:3:1;;11386:376;-1:-1:-1;;;;;11386:376:1:o;11767:257::-;;11846:5;11840:12;11873:6;11868:3;11861:19;11889:63;11945:6;11938:4;11933:3;11929:14;11922:4;11915:5;11911:16;11889:63;:::i;:::-;12006:2;11985:15;-1:-1:-1;;11981:29:1;11972:39;;;;12013:4;11968:50;;11816:208;-1:-1:-1;;11816:208:1:o;12029:274::-;;12196:6;12190:13;12212:53;12258:6;12253:3;12246:4;12238:6;12234:17;12212:53;:::i;:::-;12281:16;;;;;12166:137;-1:-1:-1;;12166:137:1:o;12308:786::-;;12719:25;12714:3;12707:38;12774:6;12768:13;12790:62;12845:6;12840:2;12835:3;12831:12;12824:4;12816:6;12812:17;12790:62;:::i;:::-;-1:-1:-1;;;12911:2:1;12871:16;;;12903:11;;;12896:40;12961:13;;12983:63;12961:13;13032:2;13024:11;;13017:4;13005:17;;12983:63;:::i;:::-;13066:17;13085:2;13062:26;;12697:397;-1:-1:-1;;;;12697:397:1:o;13307:826::-;-1:-1:-1;;;;;13704:15:1;;;13686:34;;13756:15;;13751:2;13736:18;;13729:43;13666:3;13803:2;13788:18;;13781:31;;;13307:826;;13835:57;;13872:19;;13864:6;13835:57;:::i;:::-;13940:9;13932:6;13928:22;13923:2;13912:9;13908:18;13901:50;13974:44;14011:6;14003;13974:44;:::i;:::-;13960:58;;14067:9;14059:6;14055:22;14049:3;14038:9;14034:19;14027:51;14095:32;14120:6;14112;14095:32;:::i;:::-;14087:40;13638:495;-1:-1:-1;;;;;;;;13638:495:1:o;14138:375::-;-1:-1:-1;;;;;14396:15:1;;;14378:34;;14448:15;;;;14443:2;14428:18;;14421:43;14495:2;14480:18;;14473:34;;;;14328:2;14313:18;;14295:218::o;14518:560::-;-1:-1:-1;;;;;14815:15:1;;;14797:34;;14867:15;;14862:2;14847:18;;14840:43;14914:2;14899:18;;14892:34;;;14957:2;14942:18;;14935:34;;;14777:3;15000;14985:19;;14978:32;;;14518:560;;15027:45;;15052:19;;15044:6;15027:45;:::i;:::-;15019:53;14749:329;-1:-1:-1;;;;;;;14749:329:1:o;15083:670::-;-1:-1:-1;;;;;15435:15:1;;;15417:34;;15487:15;;;;15482:2;15467:18;;15460:43;15534:2;15519:18;;15512:34;15577:2;15562:18;;15555:34;;;;15397:3;15620;15605:19;;15598:32;;;15667:1;15646:19;;;15639:30;-1:-1:-1;;;15700:3:1;15685:19;;15678:33;15743:3;15728:19;;15369:384::o;16037:261::-;;16216:2;16205:9;16198:21;16236:56;16288:2;16277:9;16273:18;16265:6;16236:56;:::i;16303:465::-;;16560:2;16549:9;16542:21;16586:56;16638:2;16627:9;16623:18;16615:6;16586:56;:::i;:::-;16690:9;16682:6;16678:22;16673:2;16662:9;16658:18;16651:50;16718:44;16755:6;16747;16718:44;:::i;:::-;16710:52;16532:236;-1:-1:-1;;;;;16532:236:1:o;17369:219::-;;17518:2;17507:9;17500:21;17538:44;17578:2;17567:9;17563:18;17555:6;17538:44;:::i;18375:404::-;18577:2;18559:21;;;18616:2;18596:18;;;18589:30;18655:34;18650:2;18635:18;;18628:62;-1:-1:-1;;;18721:2:1;18706:18;;18699:38;18769:3;18754:19;;18549:230::o;22832:401::-;23034:2;23016:21;;;23073:2;23053:18;;;23046:30;23112:34;23107:2;23092:18;;23085:62;-1:-1:-1;;;23178:2:1;23163:18;;23156:35;23223:3;23208:19;;23006:227::o;24499:406::-;24701:2;24683:21;;;24740:2;24720:18;;;24713:30;24779:34;24774:2;24759:18;;24752:62;-1:-1:-1;;;24845:2:1;24830:18;;24823:40;24895:3;24880:19;;24673:232::o;24910:356::-;25112:2;25094:21;;;25131:18;;;25124:30;25190:34;25185:2;25170:18;;25163:62;25257:2;25242:18;;25084:182::o;25271:340::-;25473:2;25455:21;;;25512:2;25492:18;;;25485:30;-1:-1:-1;;;25546:2:1;25531:18;;25524:46;25602:2;25587:18;;25445:166::o;27219:404::-;27421:2;27403:21;;;27460:2;27440:18;;;27433:30;27499:34;27494:2;27479:18;;27472:62;-1:-1:-1;;;27565:2:1;27550:18;;27543:38;27613:3;27598:19;;27393:230::o;27628:406::-;27830:2;27812:21;;;27869:2;27849:18;;;27842:30;27908:34;27903:2;27888:18;;27881:62;-1:-1:-1;;;27974:2:1;27959:18;;27952:40;28024:3;28009:19;;27802:232::o;28039:397::-;28241:2;28223:21;;;28280:2;28260:18;;;28253:30;28319:34;28314:2;28299:18;;28292:62;-1:-1:-1;;;28385:2:1;28370:18;;28363:31;28426:3;28411:19;;28213:223::o;28441:355::-;28643:2;28625:21;;;28682:2;28662:18;;;28655:30;28721:33;28716:2;28701:18;;28694:61;28787:2;28772:18;;28615:181::o;30868:186::-;;30961:18;30953:6;30950:30;30947:2;;;30983:18;;:::i;:::-;-1:-1:-1;31043:4:1;31024:17;;;31020:28;;30937:117::o;31059:128::-;;31130:1;31126:6;31123:1;31120:13;31117:2;;;31136:18;;:::i;:::-;-1:-1:-1;31172:9:1;;31107:80::o;31192:217::-;;31258:1;31248:2;;-1:-1:-1;;;31283:31:1;;31337:4;31334:1;31327:15;31365:4;31290:1;31355:15;31248:2;-1:-1:-1;31394:9:1;;31238:171::o;31414:168::-;;31520:1;31516;31512:6;31508:14;31505:1;31502:21;31497:1;31490:9;31483:17;31479:45;31476:2;;;31527:18;;:::i;:::-;-1:-1:-1;31567:9:1;;31466:116::o;31587:125::-;;31655:1;31652;31649:8;31646:2;;;31660:18;;:::i;:::-;-1:-1:-1;31697:9:1;;31636:76::o;31717:258::-;31789:1;31799:113;31813:6;31810:1;31807:13;31799:113;;;31889:11;;;31883:18;31870:11;;;31863:39;31835:2;31828:10;31799:113;;;31930:6;31927:1;31924:13;31921:2;;;-1:-1:-1;;31965:1:1;31947:16;;31940:27;31770:205::o;31980:136::-;;32047:5;32037:2;;32056:18;;:::i;:::-;-1:-1:-1;;;32092:18:1;;32027:89::o;32121:380::-;32206:1;32196:12;;32253:1;32243:12;;;32264:2;;32318:4;32310:6;32306:17;32296:27;;32264:2;32371;32363:6;32360:14;32340:18;32337:38;32334:2;;;32417:10;32412:3;32408:20;32405:1;32398:31;32452:4;32449:1;32442:15;32480:4;32477:1;32470:15;32334:2;;32176:325;;;:::o;32506:249::-;32616:2;32597:13;;-1:-1:-1;;32593:27:1;32581:40;;32651:18;32636:34;;32672:22;;;32633:62;32630:2;;;32698:18;;:::i;:::-;32734:2;32727:22;-1:-1:-1;;32553:202:1:o;32760:135::-;;-1:-1:-1;;32820:17:1;;32817:2;;;32840:18;;:::i;:::-;-1:-1:-1;32887:1:1;32876:13;;32807:88::o;32900:127::-;32961:10;32956:3;32952:20;32949:1;32942:31;32992:4;32989:1;32982:15;33016:4;33013:1;33006:15;33032:127;33093:10;33088:3;33084:20;33081:1;33074:31;33124:4;33121:1;33114:15;33148:4;33145:1;33138:15;33164:185;;33241:1;33223:16;33220:23;33217:2;;;33291:1;33286:3;33281;33266:27;33322:10;33317:3;33313:20;33207:142;:::o;33354:671::-;;33435:4;33417:16;33414:26;33411:2;;;33443:5;;33411:2;33477;33471:9;-1:-1:-1;;33542:16:1;33538:25;;33535:1;33471:9;33514:50;33593:4;33587:11;33617:16;33652:18;33723:2;33716:4;33708:6;33704:17;33701:25;33696:2;33688:6;33685:14;33682:45;33679:2;;;33730:5;;;;;;;33679:2;33767:6;33761:4;33757:17;33746:28;;33803:3;33797:10;33830:2;33822:6;33819:14;33816:2;;;33836:5;;;;;;;;33816:2;33920;33901:16;33895:4;33891:27;33887:36;33880:4;33871:6;33866:3;33862:16;33858:27;33855:69;33852:2;;;33927:5;;;;;;;;33852:2;33943:57;33994:4;33985:6;33977;33973:19;33969:30;33963:4;33943:57;:::i;:::-;-1:-1:-1;34016:3:1;;-1:-1:-1;;;;;33401:624:1;:::o;34030:131::-;-1:-1:-1;;;;;34105:31:1;;34095:42;;34085:2;;34151:1;34148;34141:12;34166:118;34252:5;34245:13;34238:21;34231:5;34228:32;34218:2;;34274:1;34271;34264:12;34289:131;-1:-1:-1;;;;;;34363:32:1;;34353:43;;34343:2;;34410:1;34407;34400:12
Swarm Source
ipfs://2c4e99ebf018e87c0f9abcdb9691d5a52d03b7b53cd1c818f96e6bf45e9976c6
Loading...
Loading
[ 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.