Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
NewWorldCard
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-25 */ // SPDX-License-Identifier: MIT //Developer Info: //Written by Ghazanfar Perdakh //Email: [email protected] //Whatsapp NO.: +923331578650 // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: contracts/new.sol pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender() , "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.7; contract NewWorldCard is ERC721A, Ownable { using Strings for uint256; string private uriPrefix ="ipfs://QmVDUD3tctLEQwcpdhkYvZJx8APjxmWDXYSpwmjyox31YA" ; bool public WLpaused = true; uint16 public constant maxSupply = 999; bool public paused = true; mapping(address => bool) public NFTPerAddress; mapping(address => bool) public NFTPerWLAddress; bytes32 public whitelistMerkleRoot = 0xbe40de98c595d7ebe0bfacb06c7d56d31a094b5d47746035df147ff5badc4d81; constructor() ERC721A("New World Card", "NWC") { } function burn(uint[] calldata token) external onlyOwner{ for(uint i ; i <token.length ; i ++) _burn(token[i]); } function mint(uint16 _mintAmount) external { uint16 totalSupply = uint16(totalSupply()); require(totalSupply + _mintAmount <= maxSupply, "Exceeds max supply."); require(NFTPerAddress[msg.sender] == false, "Exceeds max per transaction."); require(!paused, "The contract is paused!"); _safeMint(msg.sender , _mintAmount); NFTPerAddress[msg.sender] = true; delete totalSupply; delete _mintAmount; } function Reserve(uint16 _mintAmount, address _receiver) external onlyOwner { uint16 totalSupply = uint16(totalSupply()); require(totalSupply + _mintAmount <= maxSupply, "Excedes max supply."); _safeMint(_receiver , _mintAmount); delete _mintAmount; delete _receiver; delete totalSupply; } function setWLPaused() external onlyOwner { WLpaused = !WLpaused; } function setWhitelistMerkleRoot(bytes32 _whitelistMerkleRoot) external onlyOwner { whitelistMerkleRoot = _whitelistMerkleRoot; } function getLeafNode(address _leaf) internal pure returns (bytes32 temp) { return keccak256(abi.encodePacked(_leaf)); } function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) { return MerkleProof.verify(proof, whitelistMerkleRoot, leaf); } function whitelistMint(uint8 _mintAmount, bytes32[] calldata merkleProof) external { bytes32 leafnode = getLeafNode(msg.sender); require(_verify(leafnode , merkleProof ), "Invalid merkle proof"); require(NFTPerWLAddress[msg.sender] == false, "Exceeds max per transaction."); require(!WLpaused, "Whitelist minting is over!"); uint16 totalSupply = uint16(totalSupply()); _safeMint(msg.sender , _mintAmount); NFTPerWLAddress[msg.sender] =true; delete totalSupply; delete _mintAmount; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return _baseURI(); } function setUriPrefix(string memory _uriPrefix) external onlyOwner { uriPrefix = _uriPrefix; } function setPaused() external onlyOwner { paused = !paused; WLpaused = true; } function withdraw() external onlyOwner { uint _balance = address(this).balance; payable(msg.sender).transfer(_balance ); } function _baseURI() internal view override returns (string memory) { return uriPrefix; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"NFTPerAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"NFTPerWLAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_mintAmount","type":"uint16"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"WLpaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"token","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_mintAmount","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setWLPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintAmount","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052603560808181529062001ff460a039805162000029916009916020909101906200013c565b50600a805461ffff19166101011790557fbe40de98c595d7ebe0bfacb06c7d56d31a094b5d47746035df147ff5badc4d81600d553480156200006a57600080fd5b50604080518082018252600e81526d13995dc815dbdc9b190810d85c9960921b6020808301918252835180850190945260038452624e574360e81b908401528151919291620000bc916002916200013c565b508051620000d29060039060208401906200013c565b50506000805550620000e433620000ea565b6200021f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a90620001e2565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600181811c90821680620001f757607f821691505b602082108114156200021957634e487b7160e01b600052602260045260246000fd5b50919050565b611dc5806200022f6000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063b80f55c9116100a2578063d5abeb0111610071578063d5abeb0114610403578063dbd37cf41461041f578063e985e9c514610442578063f2fde38b1461047e57600080fd5b8063b80f55c9146103b7578063b88d4fde146103ca578063bd32fb66146103dd578063c87b56dd146103f057600080fd5b80638da5cb5b116100de5780638da5cb5b1461038257806395d89b4114610393578063a22cb4651461039b578063aa98e0c6146103ae57600080fd5b806370a0823114610347578063715018a61461035a5780637ec4a659146103625780637f6e90931461037557600080fd5b80632f6f98e111610187578063583816691161015657806358381669146102ec57806359bf5dbb146102ff5780635c975abb146103225780636352211e1461033457600080fd5b80632f6f98e1146102b657806337a66d85146102c95780633ccfd60b146102d157806342842e0e146102d957600080fd5b8063095ea7b3116101c3578063095ea7b31461026757806318160ddd1461027a57806323b872dd1461029057806323cf0a22146102a357600080fd5b806301ffc9a7146101f557806306fdde031461021d578063081812fc14610232578063093cfa631461025d575b600080fd5b610208610203366004611ab6565b610491565b60405190151581526020015b60405180910390f35b6102256104e3565b6040516102149190611c53565b610245610240366004611a9d565b610575565b6040516001600160a01b039091168152602001610214565b6102656105b9565b005b610265610275366004611a32565b610600565b600154600054035b604051908152602001610214565b61026561029e36600461193f565b61068e565b6102656102b1366004611b38565b610699565b6102656102c4366004611b53565b6107e3565b610265610881565b6102656108d0565b6102656102e736600461193f565b61092d565b6102656102fa366004611b6f565b610948565b61020861030d3660046118f1565b600c6020526000908152604090205460ff1681565b600a5461020890610100900460ff1681565b610245610342366004611a9d565b610af1565b6102826103553660046118f1565b610b03565b610265610b51565b610265610370366004611af0565b610b87565b600a546102089060ff1681565b6008546001600160a01b0316610245565b610225610bc4565b6102656103a93660046119f6565b610bd3565b610282600d5481565b6102656103c5366004611a5c565b610c69565b6102656103d836600461197b565b610cd1565b6102656103eb366004611a9d565b610d22565b6102256103fe366004611a9d565b610d51565b61040c6103e781565b60405161ffff9091168152602001610214565b61020861042d3660046118f1565b600b6020526000908152604090205460ff1681565b61020861045036600461190c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61026561048c3660046118f1565b610dc8565b60006001600160e01b031982166380ac58cd60e01b14806104c257506001600160e01b03198216635b5e139f60e01b145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104f290611cc1565b80601f016020809104026020016040519081016040528092919081815260200182805461051e90611cc1565b801561056b5780601f106105405761010080835404028352916020019161056b565b820191906000526020600020905b81548152906001019060200180831161054e57829003601f168201915b5050505050905090565b600061058082610e63565b61059d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146105ec5760405162461bcd60e51b81526004016105e390611c66565b60405180910390fd5b600a805460ff19811660ff90911615179055565b600061060b82610af1565b9050806001600160a01b0316836001600160a01b031614156106405760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610660575061065e8133610450565b155b1561067e576040516367d9dca160e11b815260040160405180910390fd5b610689838383610e8e565b505050565b610689838383610eea565b60006106a86001546000540390565b90506103e76106b78383611c9b565b61ffff1611156106ff5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016105e3565b336000908152600b602052604090205460ff161561075f5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016105e3565b600a54610100900460ff16156107b75760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e7472616374206973207061757365642100000000000000000060448201526064016105e3565b6107c5338361ffff166110c6565b5050336000908152600b60205260409020805460ff19166001179055565b6008546001600160a01b0316331461080d5760405162461bcd60e51b81526004016105e390611c66565b600061081c6001546000540390565b90506103e761082b8483611c9b565b61ffff1611156108735760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b60448201526064016105e3565b610689828461ffff166110c6565b6008546001600160a01b031633146108ab5760405162461bcd60e51b81526004016105e390611c66565b600a805460ff1960ff6101008084049190911615021661ffff19909116176001179055565b6008546001600160a01b031633146108fa5760405162461bcd60e51b81526004016105e390611c66565b6040514790339082156108fc029083906000818181858888f19350505050158015610929573d6000803e3d6000fd5b5050565b61068983838360405180602001604052806000815250610cd1565b604080513360601b6bffffffffffffffffffffffff191660208083019190915282516014818403018152603490920190925280519101206109bc818484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506110e092505050565b6109ff5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b60448201526064016105e3565b336000908152600c602052604090205460ff1615610a5f5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016105e3565b600a5460ff1615610ab25760405162461bcd60e51b815260206004820152601a60248201527f57686974656c697374206d696e74696e67206973206f7665722100000000000060448201526064016105e3565b6000610ac16001546000540390565b9050610ad0338660ff166110c6565b5050336000908152600c60205260409020805460ff19166001179055505050565b6000610afc826110f6565b5192915050565b60006001600160a01b038216610b2c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610b7b5760405162461bcd60e51b81526004016105e390611c66565b610b856000611210565b565b6008546001600160a01b03163314610bb15760405162461bcd60e51b81526004016105e390611c66565b805161092990600990602084019061176a565b6060600380546104f290611cc1565b6001600160a01b038216331415610bfd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610c935760405162461bcd60e51b81526004016105e390611c66565b60005b8181101561068957610cbf838383818110610cb357610cb3611d2d565b90506020020135611262565b80610cc981611cfc565b915050610c96565b610cdc848484610eea565b6001600160a01b0383163b15158015610cfe5750610cfc8484848461126d565b155b15610d1c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610d4c5760405162461bcd60e51b81526004016105e390611c66565b600d55565b6060610d5c82610e63565b610dc05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105e3565b6104dd611365565b6008546001600160a01b03163314610df25760405162461bcd60e51b81526004016105e390611c66565b6001600160a01b038116610e575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e3565b610e6081611210565b50565b60008054821080156104dd575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610ef5826110f6565b9050836001600160a01b031681600001516001600160a01b031614610f2c5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610f4a5750610f4a8533610450565b80610f65575033610f5a84610575565b6001600160a01b0316145b905080610f8557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610fac57604051633a954ecd60e21b815260040160405180910390fd5b610fb860008487610e8e565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661108c57600054821461108c57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b0316600080516020611d7083398151915260405160405180910390a45b5050505050565b610929828260405180602001604052806000815250611374565b60006110ef82600d5485611381565b9392505050565b6040805160608101825260008082526020820181905291810191909152816000548110156111f757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906111f55780516001600160a01b03161561118c579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156111f0579392505050565b61118c565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e60816000611397565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112a2903390899088908890600401611c16565b602060405180830381600087803b1580156112bc57600080fd5b505af19250505080156112ec575060408051601f3d908101601f191682019092526112e991810190611ad3565b60015b611347573d80801561131a576040519150601f19603f3d011682016040523d82523d6000602084013e61131f565b606091505b50805161133f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546104f290611cc1565b610689838383600161154a565b60008261138e85846116f6565b14949350505050565b60006113a2836110f6565b80519091508215611408576000336001600160a01b03831614806113cb57506113cb8233610450565b806113e65750336113db86610575565b6001600160a01b0316145b90508061140657604051632ce44b5f60e11b815260040160405180910390fd5b505b61141460008583610e8e565b6001600160a01b0380821660008181526005602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526004909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b17855591890180845292208054919490911661151257600054821461151257805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b03841690600080516020611d70833981519152908390a4505060018054810190555050565b6000546001600160a01b03851661157357604051622e076360e81b815260040160405180910390fd5b836115915760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561164257506001600160a01b0387163b15155b156116b9575b60405182906001600160a01b03891690600090600080516020611d70833981519152908290a4611681600088848060010195508861126d565b61169e576040516368d2bf6b60e11b815260040160405180910390fd5b808214156116485782600054146116b457600080fd5b6116ed565b5b6040516001830192906001600160a01b03891690600090600080516020611d70833981519152908290a4808214156116ba575b506000556110bf565b600081815b845181101561176257600085828151811061171857611718611d2d565b6020026020010151905080831161173e576000838152602082905260409020925061174f565b600081815260208490526040902092505b508061175a81611cfc565b9150506116fb565b509392505050565b82805461177690611cc1565b90600052602060002090601f01602090048101928261179857600085556117de565b82601f106117b157805160ff19168380011785556117de565b828001600101855582156117de579182015b828111156117de5782518255916020019190600101906117c3565b506117ea9291506117ee565b5090565b5b808211156117ea57600081556001016117ef565b60006001600160401b038084111561181d5761181d611d43565b604051601f8501601f19908116603f0116810190828211818310171561184557611845611d43565b8160405280935085815286868601111561185e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461188f57600080fd5b919050565b60008083601f8401126118a657600080fd5b5081356001600160401b038111156118bd57600080fd5b6020830191508360208260051b85010111156118d857600080fd5b9250929050565b803561ffff8116811461188f57600080fd5b60006020828403121561190357600080fd5b6110ef82611878565b6000806040838503121561191f57600080fd5b61192883611878565b915061193660208401611878565b90509250929050565b60008060006060848603121561195457600080fd5b61195d84611878565b925061196b60208501611878565b9150604084013590509250925092565b6000806000806080858703121561199157600080fd5b61199a85611878565b93506119a860208601611878565b92506040850135915060608501356001600160401b038111156119ca57600080fd5b8501601f810187136119db57600080fd5b6119ea87823560208401611803565b91505092959194509250565b60008060408385031215611a0957600080fd5b611a1283611878565b915060208301358015158114611a2757600080fd5b809150509250929050565b60008060408385031215611a4557600080fd5b611a4e83611878565b946020939093013593505050565b60008060208385031215611a6f57600080fd5b82356001600160401b03811115611a8557600080fd5b611a9185828601611894565b90969095509350505050565b600060208284031215611aaf57600080fd5b5035919050565b600060208284031215611ac857600080fd5b81356110ef81611d59565b600060208284031215611ae557600080fd5b81516110ef81611d59565b600060208284031215611b0257600080fd5b81356001600160401b03811115611b1857600080fd5b8201601f81018413611b2957600080fd5b61135d84823560208401611803565b600060208284031215611b4a57600080fd5b6110ef826118df565b60008060408385031215611b6657600080fd5b611928836118df565b600080600060408486031215611b8457600080fd5b833560ff81168114611b9557600080fd5b925060208401356001600160401b03811115611bb057600080fd5b611bbc86828701611894565b9497909650939450505050565b6000815180845260005b81811015611bef57602081850181015186830182015201611bd3565b81811115611c01576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c4990830184611bc9565b9695505050505050565b6020815260006110ef6020830184611bc9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600061ffff808316818516808303821115611cb857611cb8611d17565b01949350505050565b600181811c90821680611cd557607f821691505b60208210811415611cf657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d1057611d10611d17565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6057600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220ff48bb3fa14a07a00eb123535fe0e7d869b06338fa3fd2646c1541a3f4267ac564736f6c63430008070033697066733a2f2f516d56445544337463744c455177637064686b59765a4a783841506a786d574458595370776d6a796f7833315941
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063b80f55c9116100a2578063d5abeb0111610071578063d5abeb0114610403578063dbd37cf41461041f578063e985e9c514610442578063f2fde38b1461047e57600080fd5b8063b80f55c9146103b7578063b88d4fde146103ca578063bd32fb66146103dd578063c87b56dd146103f057600080fd5b80638da5cb5b116100de5780638da5cb5b1461038257806395d89b4114610393578063a22cb4651461039b578063aa98e0c6146103ae57600080fd5b806370a0823114610347578063715018a61461035a5780637ec4a659146103625780637f6e90931461037557600080fd5b80632f6f98e111610187578063583816691161015657806358381669146102ec57806359bf5dbb146102ff5780635c975abb146103225780636352211e1461033457600080fd5b80632f6f98e1146102b657806337a66d85146102c95780633ccfd60b146102d157806342842e0e146102d957600080fd5b8063095ea7b3116101c3578063095ea7b31461026757806318160ddd1461027a57806323b872dd1461029057806323cf0a22146102a357600080fd5b806301ffc9a7146101f557806306fdde031461021d578063081812fc14610232578063093cfa631461025d575b600080fd5b610208610203366004611ab6565b610491565b60405190151581526020015b60405180910390f35b6102256104e3565b6040516102149190611c53565b610245610240366004611a9d565b610575565b6040516001600160a01b039091168152602001610214565b6102656105b9565b005b610265610275366004611a32565b610600565b600154600054035b604051908152602001610214565b61026561029e36600461193f565b61068e565b6102656102b1366004611b38565b610699565b6102656102c4366004611b53565b6107e3565b610265610881565b6102656108d0565b6102656102e736600461193f565b61092d565b6102656102fa366004611b6f565b610948565b61020861030d3660046118f1565b600c6020526000908152604090205460ff1681565b600a5461020890610100900460ff1681565b610245610342366004611a9d565b610af1565b6102826103553660046118f1565b610b03565b610265610b51565b610265610370366004611af0565b610b87565b600a546102089060ff1681565b6008546001600160a01b0316610245565b610225610bc4565b6102656103a93660046119f6565b610bd3565b610282600d5481565b6102656103c5366004611a5c565b610c69565b6102656103d836600461197b565b610cd1565b6102656103eb366004611a9d565b610d22565b6102256103fe366004611a9d565b610d51565b61040c6103e781565b60405161ffff9091168152602001610214565b61020861042d3660046118f1565b600b6020526000908152604090205460ff1681565b61020861045036600461190c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61026561048c3660046118f1565b610dc8565b60006001600160e01b031982166380ac58cd60e01b14806104c257506001600160e01b03198216635b5e139f60e01b145b806104dd57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104f290611cc1565b80601f016020809104026020016040519081016040528092919081815260200182805461051e90611cc1565b801561056b5780601f106105405761010080835404028352916020019161056b565b820191906000526020600020905b81548152906001019060200180831161054e57829003601f168201915b5050505050905090565b600061058082610e63565b61059d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b031633146105ec5760405162461bcd60e51b81526004016105e390611c66565b60405180910390fd5b600a805460ff19811660ff90911615179055565b600061060b82610af1565b9050806001600160a01b0316836001600160a01b031614156106405760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610660575061065e8133610450565b155b1561067e576040516367d9dca160e11b815260040160405180910390fd5b610689838383610e8e565b505050565b610689838383610eea565b60006106a86001546000540390565b90506103e76106b78383611c9b565b61ffff1611156106ff5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016105e3565b336000908152600b602052604090205460ff161561075f5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016105e3565b600a54610100900460ff16156107b75760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e7472616374206973207061757365642100000000000000000060448201526064016105e3565b6107c5338361ffff166110c6565b5050336000908152600b60205260409020805460ff19166001179055565b6008546001600160a01b0316331461080d5760405162461bcd60e51b81526004016105e390611c66565b600061081c6001546000540390565b90506103e761082b8483611c9b565b61ffff1611156108735760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b60448201526064016105e3565b610689828461ffff166110c6565b6008546001600160a01b031633146108ab5760405162461bcd60e51b81526004016105e390611c66565b600a805460ff1960ff6101008084049190911615021661ffff19909116176001179055565b6008546001600160a01b031633146108fa5760405162461bcd60e51b81526004016105e390611c66565b6040514790339082156108fc029083906000818181858888f19350505050158015610929573d6000803e3d6000fd5b5050565b61068983838360405180602001604052806000815250610cd1565b604080513360601b6bffffffffffffffffffffffff191660208083019190915282516014818403018152603490920190925280519101206109bc818484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506110e092505050565b6109ff5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b60448201526064016105e3565b336000908152600c602052604090205460ff1615610a5f5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e0000000060448201526064016105e3565b600a5460ff1615610ab25760405162461bcd60e51b815260206004820152601a60248201527f57686974656c697374206d696e74696e67206973206f7665722100000000000060448201526064016105e3565b6000610ac16001546000540390565b9050610ad0338660ff166110c6565b5050336000908152600c60205260409020805460ff19166001179055505050565b6000610afc826110f6565b5192915050565b60006001600160a01b038216610b2c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610b7b5760405162461bcd60e51b81526004016105e390611c66565b610b856000611210565b565b6008546001600160a01b03163314610bb15760405162461bcd60e51b81526004016105e390611c66565b805161092990600990602084019061176a565b6060600380546104f290611cc1565b6001600160a01b038216331415610bfd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610c935760405162461bcd60e51b81526004016105e390611c66565b60005b8181101561068957610cbf838383818110610cb357610cb3611d2d565b90506020020135611262565b80610cc981611cfc565b915050610c96565b610cdc848484610eea565b6001600160a01b0383163b15158015610cfe5750610cfc8484848461126d565b155b15610d1c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610d4c5760405162461bcd60e51b81526004016105e390611c66565b600d55565b6060610d5c82610e63565b610dc05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105e3565b6104dd611365565b6008546001600160a01b03163314610df25760405162461bcd60e51b81526004016105e390611c66565b6001600160a01b038116610e575760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e3565b610e6081611210565b50565b60008054821080156104dd575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610ef5826110f6565b9050836001600160a01b031681600001516001600160a01b031614610f2c5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610f4a5750610f4a8533610450565b80610f65575033610f5a84610575565b6001600160a01b0316145b905080610f8557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610fac57604051633a954ecd60e21b815260040160405180910390fd5b610fb860008487610e8e565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661108c57600054821461108c57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b0316600080516020611d7083398151915260405160405180910390a45b5050505050565b610929828260405180602001604052806000815250611374565b60006110ef82600d5485611381565b9392505050565b6040805160608101825260008082526020820181905291810191909152816000548110156111f757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906111f55780516001600160a01b03161561118c579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156111f0579392505050565b61118c565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e60816000611397565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112a2903390899088908890600401611c16565b602060405180830381600087803b1580156112bc57600080fd5b505af19250505080156112ec575060408051601f3d908101601f191682019092526112e991810190611ad3565b60015b611347573d80801561131a576040519150601f19603f3d011682016040523d82523d6000602084013e61131f565b606091505b50805161133f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546104f290611cc1565b610689838383600161154a565b60008261138e85846116f6565b14949350505050565b60006113a2836110f6565b80519091508215611408576000336001600160a01b03831614806113cb57506113cb8233610450565b806113e65750336113db86610575565b6001600160a01b0316145b90508061140657604051632ce44b5f60e11b815260040160405180910390fd5b505b61141460008583610e8e565b6001600160a01b0380821660008181526005602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526004909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b17855591890180845292208054919490911661151257600054821461151257805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b03841690600080516020611d70833981519152908390a4505060018054810190555050565b6000546001600160a01b03851661157357604051622e076360e81b815260040160405180910390fd5b836115915760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561164257506001600160a01b0387163b15155b156116b9575b60405182906001600160a01b03891690600090600080516020611d70833981519152908290a4611681600088848060010195508861126d565b61169e576040516368d2bf6b60e11b815260040160405180910390fd5b808214156116485782600054146116b457600080fd5b6116ed565b5b6040516001830192906001600160a01b03891690600090600080516020611d70833981519152908290a4808214156116ba575b506000556110bf565b600081815b845181101561176257600085828151811061171857611718611d2d565b6020026020010151905080831161173e576000838152602082905260409020925061174f565b600081815260208490526040902092505b508061175a81611cfc565b9150506116fb565b509392505050565b82805461177690611cc1565b90600052602060002090601f01602090048101928261179857600085556117de565b82601f106117b157805160ff19168380011785556117de565b828001600101855582156117de579182015b828111156117de5782518255916020019190600101906117c3565b506117ea9291506117ee565b5090565b5b808211156117ea57600081556001016117ef565b60006001600160401b038084111561181d5761181d611d43565b604051601f8501601f19908116603f0116810190828211818310171561184557611845611d43565b8160405280935085815286868601111561185e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461188f57600080fd5b919050565b60008083601f8401126118a657600080fd5b5081356001600160401b038111156118bd57600080fd5b6020830191508360208260051b85010111156118d857600080fd5b9250929050565b803561ffff8116811461188f57600080fd5b60006020828403121561190357600080fd5b6110ef82611878565b6000806040838503121561191f57600080fd5b61192883611878565b915061193660208401611878565b90509250929050565b60008060006060848603121561195457600080fd5b61195d84611878565b925061196b60208501611878565b9150604084013590509250925092565b6000806000806080858703121561199157600080fd5b61199a85611878565b93506119a860208601611878565b92506040850135915060608501356001600160401b038111156119ca57600080fd5b8501601f810187136119db57600080fd5b6119ea87823560208401611803565b91505092959194509250565b60008060408385031215611a0957600080fd5b611a1283611878565b915060208301358015158114611a2757600080fd5b809150509250929050565b60008060408385031215611a4557600080fd5b611a4e83611878565b946020939093013593505050565b60008060208385031215611a6f57600080fd5b82356001600160401b03811115611a8557600080fd5b611a9185828601611894565b90969095509350505050565b600060208284031215611aaf57600080fd5b5035919050565b600060208284031215611ac857600080fd5b81356110ef81611d59565b600060208284031215611ae557600080fd5b81516110ef81611d59565b600060208284031215611b0257600080fd5b81356001600160401b03811115611b1857600080fd5b8201601f81018413611b2957600080fd5b61135d84823560208401611803565b600060208284031215611b4a57600080fd5b6110ef826118df565b60008060408385031215611b6657600080fd5b611928836118df565b600080600060408486031215611b8457600080fd5b833560ff81168114611b9557600080fd5b925060208401356001600160401b03811115611bb057600080fd5b611bbc86828701611894565b9497909650939450505050565b6000815180845260005b81811015611bef57602081850181015186830182015201611bd3565b81811115611c01576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c4990830184611bc9565b9695505050505050565b6020815260006110ef6020830184611bc9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600061ffff808316818516808303821115611cb857611cb8611d17565b01949350505050565b600181811c90821680611cd557607f821691505b60208210811415611cf657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611d1057611d10611d17565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6057600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220ff48bb3fa14a07a00eb123535fe0e7d869b06338fa3fd2646c1541a3f4267ac564736f6c63430008070033
Deployed Bytecode Sourcemap
46465:3519:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24563:305;;;;;;:::i;:::-;;:::i;:::-;;;7833:14:1;;7826:22;7808:41;;7796:2;7781:18;24563:305:0;;;;;;;;27676:100;;;:::i;:::-;;;;;;;:::i;29179:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7131:32:1;;;7113:51;;7101:2;7086:18;29179:204:0;6967:203:1;48062:75:0;;;:::i;:::-;;28742:371;;;;;;:::i;:::-;;:::i;23812:303::-;24066:12;;23856:7;24050:13;:28;23812:303;;;8006:25:1;;;7994:2;7979:18;23812:303:0;7860:177:1;30044:170:0;;;;;;:::i;:::-;;:::i;47259:460::-;;;;;;:::i;:::-;;:::i;47727:326::-;;;;;;:::i;:::-;;:::i;49622:95::-;;;:::i;49732:144::-;;;:::i;30285:185::-;;;;;;:::i;:::-;;:::i;48610:606::-;;;;;;:::i;:::-;;:::i;46891:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;46798:25;;;;;;;;;;;;27484:125;;;;;;:::i;:::-;;:::i;24932:206::-;;;;;;:::i;:::-;;:::i;45611:103::-;;;:::i;49512:102::-;;;;;;:::i;:::-;;:::i;46646:27::-;;;;;;;;;44959:87;45032:6;;-1:-1:-1;;;;;45032:6:0;44959:87;;27845:104;;;:::i;29455:287::-;;;;;;:::i;:::-;;:::i;46954:103::-;;;;;;47124:124;;;;;;:::i;:::-;;:::i;30541:369::-;;;;;;:::i;:::-;;:::i;48141:142::-;;;;;;:::i;:::-;;:::i;49220:276::-;;;;;;:::i;:::-;;:::i;46687:38::-;;46722:3;46687:38;;;;;11733:6:1;11721:19;;;11703:38;;11691:2;11676:18;46687:38:0;11559:188:1;46839:45:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;29813:164;;;;;;:::i;:::-;-1:-1:-1;;;;;29934:25:0;;;29910:4;29934:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29813:164;45869:201;;;;;;:::i;:::-;;:::i;24563:305::-;24665:4;-1:-1:-1;;;;;;24702:40:0;;-1:-1:-1;;;24702:40:0;;:105;;-1:-1:-1;;;;;;;24759:48:0;;-1:-1:-1;;;24759:48:0;24702:105;:158;;;-1:-1:-1;;;;;;;;;;14597:40:0;;;24824:36;24682:178;24563:305;-1:-1:-1;;24563:305:0:o;27676:100::-;27730:13;27763:5;27756:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27676:100;:::o;29179:204::-;29247:7;29272:16;29280:7;29272;:16::i;:::-;29267:64;;29297:34;;-1:-1:-1;;;29297:34:0;;;;;;;;;;;29267:64;-1:-1:-1;29351:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29351:24:0;;29179:204::o;48062:75::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;;;;;;;;;48123:8:::1;::::0;;-1:-1:-1;;48111:20:0;::::1;48123:8;::::0;;::::1;48122:9;48111:20;::::0;;48062:75::o;28742:371::-;28815:13;28831:24;28847:7;28831:15;:24::i;:::-;28815:40;;28876:5;-1:-1:-1;;;;;28870:11:0;:2;-1:-1:-1;;;;;28870:11:0;;28866:48;;;28890:24;;-1:-1:-1;;;28890:24:0;;;;;;;;;;;28866:48;3038:10;-1:-1:-1;;;;;28931:21:0;;;;;;:63;;-1:-1:-1;28957:37:0;28974:5;3038:10;29813:164;:::i;28957:37::-;28956:38;28931:63;28927:138;;;29018:35;;-1:-1:-1;;;29018:35:0;;;;;;;;;;;28927:138;29077:28;29086:2;29090:7;29099:5;29077:8;:28::i;:::-;28804:309;28742:371;;:::o;30044:170::-;30178:28;30188:4;30194:2;30198:7;30178:9;:28::i;47259:460::-;47312:18;47340:13;24066:12;;23856:7;24050:13;:28;;23812:303;47340:13;47312:42;-1:-1:-1;46722:3:0;47369:25;47383:11;47312:42;47369:25;:::i;:::-;:38;;;;47361:70;;;;-1:-1:-1;;;47361:70:0;;11056:2:1;47361:70:0;;;11038:21:1;11095:2;11075:18;;;11068:30;-1:-1:-1;;;11114:18:1;;;11107:49;11173:18;;47361:70:0;10854:343:1;47361:70:0;47460:10;47446:25;;;;:13;:25;;;;;;;;:34;47438:75;;;;-1:-1:-1;;;47438:75:0;;11404:2:1;47438:75:0;;;11386:21:1;11443:2;11423:18;;;11416:30;11482;11462:18;;;11455:58;11530:18;;47438:75:0;11202:352:1;47438:75:0;47531:6;;;;;;;47530:7;47522:43;;;;-1:-1:-1;;;47522:43:0;;10288:2:1;47522:43:0;;;10270:21:1;10327:2;10307:18;;;10300:30;10366:25;10346:18;;;10339:53;10409:18;;47522:43:0;10086:347:1;47522:43:0;47579:35;47589:10;47602:11;47579:35;;:9;:35::i;:::-;-1:-1:-1;;47636:10:0;47622:25;;;;:13;:25;;;;;:32;;-1:-1:-1;;47622:32:0;47650:4;47622:32;;;47259:460::o;47727:326::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;47810:18:::1;47838:13;24066:12:::0;;23856:7;24050:13;:28;;23812:303;47838:13:::1;47810:42:::0;-1:-1:-1;46722:3:0::1;47867:25;47881:11:::0;47810:42;47867:25:::1;:::i;:::-;:38;;;;47859:70;;;::::0;-1:-1:-1;;;47859:70:0;;8468:2:1;47859:70:0::1;::::0;::::1;8450:21:1::0;8507:2;8487:18;;;8480:30;-1:-1:-1;;;8526:18:1;;;8519:49;8585:18;;47859:70:0::1;8266:343:1::0;47859:70:0::1;47937:34;47947:9;47959:11;47937:34;;:9;:34::i;49622:95::-:0;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;49679:6:::1;::::0;;-1:-1:-1;;49679:6:0::1;;::::0;;::::1;::::0;;;::::1;49678:7;49669:16;49692:15:::0;-1:-1:-1;;49692:15:0;;;;49679:6:::1;49692:15;::::0;;49622:95::o;49732:144::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;49821:39:::1;::::0;49792:21:::1;::::0;49829:10:::1;::::0;49821:39;::::1;;;::::0;49792:21;;49776:13:::1;49821:39:::0;49776:13;49821:39;49792:21;49829:10;49821:39;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;49771:105;49732:144::o:0;30285:185::-;30423:39;30440:4;30446:2;30450:7;30423:39;;;;;;;;;;;;:16;:39::i;48610:606::-;48403:23;;;48746:10;6882:2:1;6878:15;-1:-1:-1;;6874:53:1;48403:23:0;;;;6862:66:1;;;;48403:23:0;;;;;;;;;6944:12:1;;;;48403:23:0;;;48393:34;;;;;48784:36;48792:8;48805:11;;48784:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48784:7:0;;-1:-1:-1;;;48784:36:0:i;:::-;48776:70;;;;-1:-1:-1;;;48776:70:0;;9939:2:1;48776:70:0;;;9921:21:1;9978:2;9958:18;;;9951:30;-1:-1:-1;;;9997:18:1;;;9990:50;10057:18;;48776:70:0;9737:344:1;48776:70:0;48879:10;48863:27;;;;:15;:27;;;;;;;;:36;48855:77;;;;-1:-1:-1;;;48855:77:0;;11404:2:1;48855:77:0;;;11386:21:1;11443:2;11423:18;;;11416:30;11482;11462:18;;;11455:58;11530:18;;48855:77:0;11202:352:1;48855:77:0;48960:8;;;;48959:9;48951:48;;;;-1:-1:-1;;;48951:48:0;;9223:2:1;48951:48:0;;;9205:21:1;9262:2;9242:18;;;9235:30;9301:28;9281:18;;;9274:56;9347:18;;48951:48:0;9021:350:1;48951:48:0;49013:18;49041:13;24066:12;;23856:7;24050:13;:28;;23812:303;49041:13;49013:42;;49063:35;49073:10;49086:11;49063:35;;:9;:35::i;:::-;-1:-1:-1;;49123:10:0;49107:27;;;;:15;:27;;;;;:33;;-1:-1:-1;;49107:33:0;49136:4;49107:33;;;-1:-1:-1;;;48610:606:0:o;27484:125::-;27548:7;27575:21;27588:7;27575:12;:21::i;:::-;:26;;27484:125;-1:-1:-1;;27484:125:0:o;24932:206::-;24996:7;-1:-1:-1;;;;;25020:19:0;;25016:60;;25048:28;;-1:-1:-1;;;25048:28:0;;;;;;;;;;;25016:60;-1:-1:-1;;;;;;25102:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;25102:27:0;;24932:206::o;45611:103::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;45676:30:::1;45703:1;45676:18;:30::i;:::-;45611:103::o:0;49512:102::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;49586:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;27845:104::-:0;27901:13;27934:7;27927:14;;;;;:::i;29455:287::-;-1:-1:-1;;;;;29554:24:0;;3038:10;29554:24;29550:54;;;29587:17;;-1:-1:-1;;;29587:17:0;;;;;;;;;;;29550:54;3038:10;29617:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29617:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;29617:53:0;;;;;;;;;;29686:48;;7808:41:1;;;29617:42:0;;3038:10;29686:48;;7781:18:1;29686:48:0;;;;;;;29455:287;;:::o;47124:124::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;47191:6:::1;47187:56;47200:15:::0;;::::1;47187:56;;;47228:15;47234:5;;47240:1;47234:8;;;;;;;:::i;:::-;;;;;;;47228:5;:15::i;:::-;47218:4:::0;::::1;::::0;::::1;:::i;:::-;;;;47187:56;;30541:369:::0;30708:28;30718:4;30724:2;30728:7;30708:9;:28::i;:::-;-1:-1:-1;;;;;30751:13:0;;4700:19;:23;;30751:76;;;;;30771:56;30802:4;30808:2;30812:7;30821:5;30771:30;:56::i;:::-;30770:57;30751:76;30747:156;;;30851:40;;-1:-1:-1;;;30851:40:0;;;;;;;;;;;30747:156;30541:369;;;;:::o;48141:142::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;48233:19:::1;:42:::0;48141:142::o;49220:276::-;49319:13;49360:17;49368:8;49360:7;:17::i;:::-;49344:98;;;;-1:-1:-1;;;49344:98:0;;10640:2:1;49344:98:0;;;10622:21:1;10679:2;10659:18;;;10652:30;10718:34;10698:18;;;10691:62;-1:-1:-1;;;10769:18:1;;;10762:45;10824:19;;49344:98:0;10438:411:1;49344:98:0;49468:10;:8;:10::i;45869:201::-;45032:6;;-1:-1:-1;;;;;45032:6:0;3038:10;45179:23;45171:69;;;;-1:-1:-1;;;45171:69:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45958:22:0;::::1;45950:73;;;::::0;-1:-1:-1;;;45950:73:0;;8816:2:1;45950:73:0::1;::::0;::::1;8798:21:1::0;8855:2;8835:18;;;8828:30;8894:34;8874:18;;;8867:62;-1:-1:-1;;;8945:18:1;;;8938:36;8991:19;;45950:73:0::1;8614:402:1::0;45950:73:0::1;46034:28;46053:8;46034:18;:28::i;:::-;45869:201:::0;:::o;31165:187::-;31222:4;31286:13;;31276:7;:23;31246:98;;;;-1:-1:-1;;31317:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;31317:27:0;;;;31316:28;;31165:187::o;39335:196::-;39450:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39450:29:0;-1:-1:-1;;;;;39450:29:0;;;;;;;;;39495:28;;39450:24;;39495:28;;;;;;;39335:196;;;:::o;34278:2130::-;34393:35;34431:21;34444:7;34431:12;:21::i;:::-;34393:59;;34491:4;-1:-1:-1;;;;;34469:26:0;:13;:18;;;-1:-1:-1;;;;;34469:26:0;;34465:67;;34504:28;;-1:-1:-1;;;34504:28:0;;;;;;;;;;;34465:67;34545:22;3038:10;-1:-1:-1;;;;;34571:20:0;;;;:73;;-1:-1:-1;34608:36:0;34625:4;3038:10;29813:164;:::i;34608:36::-;34571:126;;;-1:-1:-1;3038:10:0;34661:20;34673:7;34661:11;:20::i;:::-;-1:-1:-1;;;;;34661:36:0;;34571:126;34545:153;;34716:17;34711:66;;34742:35;;-1:-1:-1;;;34742:35:0;;;;;;;;;;;34711:66;-1:-1:-1;;;;;34792:16:0;;34788:52;;34817:23;;-1:-1:-1;;;34817:23:0;;;;;;;;;;;34788:52;34961:35;34978:1;34982:7;34991:4;34961:8;:35::i;:::-;-1:-1:-1;;;;;35292:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;35292:31:0;;;-1:-1:-1;;;;;35292:31:0;;;-1:-1:-1;;35292:31:0;;;;;;;35338:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;35338:29:0;;;;;;;;;;;35418:20;;;:11;:20;;;;;;35453:18;;-1:-1:-1;;;;;;35486:49:0;;;;-1:-1:-1;;;35519:15:0;35486:49;;;;;;;;;;35809:11;;35869:24;;;;;35912:13;;35418:20;;35869:24;;35912:13;35908:384;;36122:13;;36107:11;:28;36103:174;;36160:20;;36229:28;;;;-1:-1:-1;;;;;36203:54:0;-1:-1:-1;;;36203:54:0;-1:-1:-1;;;;;;36203:54:0;;;-1:-1:-1;;;;;36160:20:0;;36203:54;;;;36103:174;35267:1036;;;36339:7;36335:2;-1:-1:-1;;;;;36320:27:0;36329:4;-1:-1:-1;;;;;36320:27:0;-1:-1:-1;;;;;;;;;;;36320:27:0;;;;;;;;;36358:42;34382:2026;;34278:2130;;;:::o;31360:104::-;31429:27;31439:2;31443:8;31429:27;;;;;;;;;;;;:9;:27::i;48441:162::-;48519:4;48543:52;48562:5;48569:19;;48590:4;48543:18;:52::i;:::-;48536:59;48441:162;-1:-1:-1;;;48441:162:0:o;26313:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;26424:7:0;26507:13;;26500:4;:20;26469:886;;;26541:31;26575:17;;;:11;:17;;;;;;;;;26541:51;;;;;;;;;-1:-1:-1;;;;;26541:51:0;;;;-1:-1:-1;;;26541:51:0;;-1:-1:-1;;;;;26541:51:0;;;;;;;;-1:-1:-1;;;26541:51:0;;;;;;;;;;;;;;26611:729;;26661:14;;-1:-1:-1;;;;;26661:28:0;;26657:101;;26725:9;26313:1109;-1:-1:-1;;;26313:1109:0:o;26657:101::-;-1:-1:-1;;;27100:6:0;27145:17;;;;:11;:17;;;;;;;;;27133:29;;;;;;;;;-1:-1:-1;;;;;27133:29:0;;;;;-1:-1:-1;;;27133:29:0;;-1:-1:-1;;;;;27133:29:0;;;;;;;;-1:-1:-1;;;27133:29:0;;;;;;;;;;;;;27193:28;27189:109;;27261:9;26313:1109;-1:-1:-1;;;26313:1109:0:o;27189:109::-;27060:261;;;26522:833;26469:886;27383:31;;-1:-1:-1;;;27383:31:0;;;;;;;;;;;46230:191;46323:6;;;-1:-1:-1;;;;;46340:17:0;;;-1:-1:-1;;;;;;46340:17:0;;;;;;;46373:40;;46323:6;;;46340:17;46323:6;;46373:40;;46304:16;;46373:40;46293:128;46230:191;:::o;36491:89::-;36551:21;36557:7;36566:5;36551;:21::i;40023:667::-;40207:72;;-1:-1:-1;;;40207:72:0;;40186:4;;-1:-1:-1;;;;;40207:36:0;;;;;:72;;3038:10;;40258:4;;40264:7;;40273:5;;40207:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40207:72:0;;;;;;;;-1:-1:-1;;40207:72:0;;;;;;;;;;;;:::i;:::-;;;40203:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40441:13:0;;40437:235;;40487:40;;-1:-1:-1;;;40487:40:0;;;;;;;;;;;40437:235;40630:6;40624:13;40615:6;40611:2;40607:15;40600:38;40203:480;-1:-1:-1;;;;;;40326:55:0;-1:-1:-1;;;40326:55:0;;-1:-1:-1;40203:480:0;40023:667;;;;;;:::o;49884:97::-;49937:13;49966:9;49959:16;;;;;:::i;31827:163::-;31950:32;31956:2;31960:8;31970:5;31977:4;31950:5;:32::i;43083:190::-;43208:4;43261;43232:25;43245:5;43252:4;43232:12;:25::i;:::-;:33;;43083:190;-1:-1:-1;;;;43083:190:0:o;36809:2408::-;36889:35;36927:21;36940:7;36927:12;:21::i;:::-;36976:18;;36889:59;;-1:-1:-1;37007:290:0;;;;37041:22;3038:10;-1:-1:-1;;;;;37067:20:0;;;;:77;;-1:-1:-1;37108:36:0;37125:4;3038:10;29813:164;:::i;37108:36::-;37067:134;;;-1:-1:-1;3038:10:0;37165:20;37177:7;37165:11;:20::i;:::-;-1:-1:-1;;;;;37165:36:0;;37067:134;37041:161;;37224:17;37219:66;;37250:35;;-1:-1:-1;;;37250:35:0;;;;;;;;;;;37219:66;37026:271;37007:290;37425:35;37442:1;37446:7;37455:4;37425:8;:35::i;:::-;-1:-1:-1;;;;;37790:18:0;;;37756:31;37790:18;;;:12;:18;;;;;;;;37823:24;;-1:-1:-1;;;;;;;;;;37823:24:0;;;;;;;;;-1:-1:-1;;37823:24:0;;;;37862:29;;;;;37846:1;37862:29;;;;;;;;-1:-1:-1;;37862:29:0;;;;;;;;;;38024:20;;;:11;:20;;;;;;38059;;-1:-1:-1;;;;38127:15:0;38094:49;;;-1:-1:-1;;;38094:49:0;-1:-1:-1;;;;;;38094:49:0;;;;;;;;;;38158:22;-1:-1:-1;;;38158:22:0;;;38450:11;;;38510:24;;;;;38553:13;;37790:18;;38510:24;;38553:13;38549:384;;38763:13;;38748:11;:28;38744:174;;38801:20;;38870:28;;;;-1:-1:-1;;;;;38844:54:0;-1:-1:-1;;;38844:54:0;-1:-1:-1;;;;;;38844:54:0;;;-1:-1:-1;;;;;38801:20:0;;38844:54;;;;38744:174;-1:-1:-1;;38961:35:0;;38988:7;;-1:-1:-1;38984:1:0;;-1:-1:-1;;;;;;38961:35:0;;;-1:-1:-1;;;;;;;;;;;38961:35:0;38984:1;;38961:35;-1:-1:-1;;39184:12:0;:14;;;;;;-1:-1:-1;;36809:2408:0:o;32249:1775::-;32388:20;32411:13;-1:-1:-1;;;;;32439:16:0;;32435:48;;32464:19;;-1:-1:-1;;;32464:19:0;;;;;;;;;;;32435:48;32498:13;32494:44;;32520:18;;-1:-1:-1;;;32520:18:0;;;;;;;;;;;32494:44;-1:-1:-1;;;;;32889:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;32948:49:0;;-1:-1:-1;;;;;32889:44:0;;;;;;;32948:49;;;;-1:-1:-1;;32889:44:0;;;;;;32948:49;;;;;;;;;;;;;;;;33014:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;33064:66:0;;;;-1:-1:-1;;;33114:15:0;33064:66;;;;;;;;;;33014:25;33211:23;;;33255:4;:23;;;;-1:-1:-1;;;;;;33263:13:0;;4700:19;:23;;33263:15;33251:641;;;33299:314;33330:38;;33355:12;;-1:-1:-1;;;;;33330:38:0;;;33347:1;;-1:-1:-1;;;;;;;;;;;33330:38:0;33347:1;;33330:38;33396:69;33435:1;33439:2;33443:14;;;;;;33459:5;33396:30;:69::i;:::-;33391:174;;33501:40;;-1:-1:-1;;;33501:40:0;;;;;;;;;;;33391:174;33608:3;33592:12;:19;;33299:314;;33694:12;33677:13;;:29;33673:43;;33708:8;;;33673:43;33251:641;;;33757:120;33788:40;;33813:14;;;;;-1:-1:-1;;;;;33788:40:0;;;33805:1;;-1:-1:-1;;;;;;;;;;;33788:40:0;33805:1;;33788:40;33872:3;33856:12;:19;;33757:120;;33251:641;-1:-1:-1;33906:13:0;:28;33956:60;30541:369;43635:675;43718:7;43761:4;43718:7;43776:497;43800:5;:12;43796:1;:16;43776:497;;;43834:20;43857:5;43863:1;43857:8;;;;;;;;:::i;:::-;;;;;;;43834:31;;43900:12;43884;:28;43880:382;;44386:13;44436:15;;;44472:4;44465:15;;;44519:4;44503:21;;44012:57;;43880:382;;;44386:13;44436:15;;;44472:4;44465:15;;;44519:4;44503:21;;44189:57;;43880:382;-1:-1:-1;43814:3:0;;;;:::i;:::-;;;;43776:497;;;-1:-1:-1;44290:12:0;43635:675;-1:-1:-1;;;43635:675:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;-1:-1:-1;;;;;149:2:1;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:367::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:55;;973:1;970;963:12;922:55;-1:-1:-1;996:20:1;;-1:-1:-1;;;;;1028:30:1;;1025:50;;;1071:1;1068;1061:12;1025:50;1108:4;1100:6;1096:17;1084:29;;1168:3;1161:4;1151:6;1148:1;1144:14;1136:6;1132:27;1128:38;1125:47;1122:67;;;1185:1;1182;1175:12;1122:67;828:367;;;;;:::o;1200:159::-;1267:20;;1327:6;1316:18;;1306:29;;1296:57;;1349:1;1346;1339:12;1364:186;1423:6;1476:2;1464:9;1455:7;1451:23;1447:32;1444:52;;;1492:1;1489;1482:12;1444:52;1515:29;1534:9;1515:29;:::i;1555:260::-;1623:6;1631;1684:2;1672:9;1663:7;1659:23;1655:32;1652:52;;;1700:1;1697;1690:12;1652:52;1723:29;1742:9;1723:29;:::i;:::-;1713:39;;1771:38;1805:2;1794:9;1790:18;1771:38;:::i;:::-;1761:48;;1555:260;;;;;:::o;1820:328::-;1897:6;1905;1913;1966:2;1954:9;1945:7;1941:23;1937:32;1934:52;;;1982:1;1979;1972:12;1934:52;2005:29;2024:9;2005:29;:::i;:::-;1995:39;;2053:38;2087:2;2076:9;2072:18;2053:38;:::i;:::-;2043:48;;2138:2;2127:9;2123:18;2110:32;2100:42;;1820:328;;;;;:::o;2153:666::-;2248:6;2256;2264;2272;2325:3;2313:9;2304:7;2300:23;2296:33;2293:53;;;2342:1;2339;2332:12;2293:53;2365:29;2384:9;2365:29;:::i;:::-;2355:39;;2413:38;2447:2;2436:9;2432:18;2413:38;:::i;:::-;2403:48;;2498:2;2487:9;2483:18;2470:32;2460:42;;2553:2;2542:9;2538:18;2525:32;-1:-1:-1;;;;;2572:6:1;2569:30;2566:50;;;2612:1;2609;2602:12;2566:50;2635:22;;2688:4;2680:13;;2676:27;-1:-1:-1;2666:55:1;;2717:1;2714;2707:12;2666:55;2740:73;2805:7;2800:2;2787:16;2782:2;2778;2774:11;2740:73;:::i;:::-;2730:83;;;2153:666;;;;;;;:::o;2824:347::-;2889:6;2897;2950:2;2938:9;2929:7;2925:23;2921:32;2918:52;;;2966:1;2963;2956:12;2918:52;2989:29;3008:9;2989:29;:::i;:::-;2979:39;;3068:2;3057:9;3053:18;3040:32;3115:5;3108:13;3101:21;3094:5;3091:32;3081:60;;3137:1;3134;3127:12;3081:60;3160:5;3150:15;;;2824:347;;;;;:::o;3176:254::-;3244:6;3252;3305:2;3293:9;3284:7;3280:23;3276:32;3273:52;;;3321:1;3318;3311:12;3273:52;3344:29;3363:9;3344:29;:::i;:::-;3334:39;3420:2;3405:18;;;;3392:32;;-1:-1:-1;;;3176:254:1:o;3435:437::-;3521:6;3529;3582:2;3570:9;3561:7;3557:23;3553:32;3550:52;;;3598:1;3595;3588:12;3550:52;3638:9;3625:23;-1:-1:-1;;;;;3663:6:1;3660:30;3657:50;;;3703:1;3700;3693:12;3657:50;3742:70;3804:7;3795:6;3784:9;3780:22;3742:70;:::i;:::-;3831:8;;3716:96;;-1:-1:-1;3435:437:1;-1:-1:-1;;;;3435:437:1:o;3877:180::-;3936:6;3989:2;3977:9;3968:7;3964:23;3960:32;3957:52;;;4005:1;4002;3995:12;3957:52;-1:-1:-1;4028:23:1;;3877:180;-1:-1:-1;3877:180:1:o;4062:245::-;4120:6;4173:2;4161:9;4152:7;4148:23;4144:32;4141:52;;;4189:1;4186;4179:12;4141:52;4228:9;4215:23;4247:30;4271:5;4247:30;:::i;4312:249::-;4381:6;4434:2;4422:9;4413:7;4409:23;4405:32;4402:52;;;4450:1;4447;4440:12;4402:52;4482:9;4476:16;4501:30;4525:5;4501:30;:::i;4566:450::-;4635:6;4688:2;4676:9;4667:7;4663:23;4659:32;4656:52;;;4704:1;4701;4694:12;4656:52;4744:9;4731:23;-1:-1:-1;;;;;4769:6:1;4766:30;4763:50;;;4809:1;4806;4799:12;4763:50;4832:22;;4885:4;4877:13;;4873:27;-1:-1:-1;4863:55:1;;4914:1;4911;4904:12;4863:55;4937:73;5002:7;4997:2;4984:16;4979:2;4975;4971:11;4937:73;:::i;5021:184::-;5079:6;5132:2;5120:9;5111:7;5107:23;5103:32;5100:52;;;5148:1;5145;5138:12;5100:52;5171:28;5189:9;5171:28;:::i;5210:258::-;5277:6;5285;5338:2;5326:9;5317:7;5313:23;5309:32;5306:52;;;5354:1;5351;5344:12;5306:52;5377:28;5395:9;5377:28;:::i;5658:594::-;5751:6;5759;5767;5820:2;5808:9;5799:7;5795:23;5791:32;5788:52;;;5836:1;5833;5826:12;5788:52;5875:9;5862:23;5925:4;5918:5;5914:16;5907:5;5904:27;5894:55;;5945:1;5942;5935:12;5894:55;5968:5;-1:-1:-1;6024:2:1;6009:18;;5996:32;-1:-1:-1;;;;;6040:30:1;;6037:50;;;6083:1;6080;6073:12;6037:50;6122:70;6184:7;6175:6;6164:9;6160:22;6122:70;:::i;:::-;5658:594;;6211:8;;-1:-1:-1;6096:96:1;;-1:-1:-1;;;;5658:594:1:o;6257:471::-;6298:3;6336:5;6330:12;6363:6;6358:3;6351:19;6388:1;6398:162;6412:6;6409:1;6406:13;6398:162;;;6474:4;6530:13;;;6526:22;;6520:29;6502:11;;;6498:20;;6491:59;6427:12;6398:162;;;6578:6;6575:1;6572:13;6569:87;;;6644:1;6637:4;6628:6;6623:3;6619:16;6615:27;6608:38;6569:87;-1:-1:-1;6710:2:1;6689:15;-1:-1:-1;;6685:29:1;6676:39;;;;6717:4;6672:50;;6257:471;-1:-1:-1;;6257:471:1:o;7175:488::-;-1:-1:-1;;;;;7444:15:1;;;7426:34;;7496:15;;7491:2;7476:18;;7469:43;7543:2;7528:18;;7521:34;;;7591:3;7586:2;7571:18;;7564:31;;;7369:4;;7612:45;;7637:19;;7629:6;7612:45;:::i;:::-;7604:53;7175:488;-1:-1:-1;;;;;;7175:488:1:o;8042:219::-;8191:2;8180:9;8173:21;8154:4;8211:44;8251:2;8240:9;8236:18;8228:6;8211:44;:::i;9376:356::-;9578:2;9560:21;;;9597:18;;;9590:30;9656:34;9651:2;9636:18;;9629:62;9723:2;9708:18;;9376:356::o;11934:224::-;11973:3;12001:6;12034:2;12031:1;12027:10;12064:2;12061:1;12057:10;12095:3;12091:2;12087:12;12082:3;12079:21;12076:47;;;12103:18;;:::i;:::-;12139:13;;11934:224;-1:-1:-1;;;;11934:224:1:o;12163:380::-;12242:1;12238:12;;;;12285;;;12306:61;;12360:4;12352:6;12348:17;12338:27;;12306:61;12413:2;12405:6;12402:14;12382:18;12379:38;12376:161;;;12459:10;12454:3;12450:20;12447:1;12440:31;12494:4;12491:1;12484:15;12522:4;12519:1;12512:15;12376:161;;12163:380;;;:::o;12548:135::-;12587:3;-1:-1:-1;;12608:17:1;;12605:43;;;12628:18;;:::i;:::-;-1:-1:-1;12675:1:1;12664:13;;12548:135::o;12688:127::-;12749:10;12744:3;12740:20;12737:1;12730:31;12780:4;12777:1;12770:15;12804:4;12801:1;12794:15;12820:127;12881:10;12876:3;12872:20;12869:1;12862:31;12912:4;12909:1;12902:15;12936:4;12933:1;12926:15;12952:127;13013:10;13008:3;13004:20;13001:1;12994:31;13044:4;13041:1;13034:15;13068:4;13065:1;13058:15;13084:131;-1:-1:-1;;;;;;13158:32:1;;13148:43;;13138:71;;13205:1;13202;13195:12
Swarm Source
ipfs://ff48bb3fa14a07a00eb123535fe0e7d869b06338fa3fd2646c1541a3f4267ac5
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.