ERC-721
Overview
Max Total Supply
450 PR
Holders
390
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PetRocks
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-01-11 */ // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.4; 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/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { _transferOwnership(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOnwer() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOnwer { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOnwer { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC165 { function supportsInterface(bytes4 interfaceId) external view returns (bool); } 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); function safeTransferFrom( address from, address to, uint256 tokenId ) external; function transferFrom( address from, address to, uint256 tokenId ) external; function approve(address to, uint256 tokenId) external; function getApproved(uint256 tokenId) external view returns (address operator); function setApprovalForAll(address operator, bool _approved) external; function isApprovedForAll(address owner, address operator) external view returns (bool); function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } interface IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } interface IERC721Metadata is IERC721 { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenURI(uint256 tokenId) external view returns (string memory); } interface IERC721Enumerable is IERC721 { function totalSupply() external view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); function tokenByIndex(uint256 index) external view returns (uint256); } interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries( address registrant, address registrantToCopy ) external; function updateOperator( address registrant, address operator, bool filtered ) external; function updateOperators( address registrant, address[] calldata operators, bool filtered ) external; function updateCodeHash( address registrant, bytes32 codehash, bool filtered ) external; function updateCodeHashes( address registrant, bytes32[] calldata codeHashes, bool filtered ) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe( address(this), subscriptionOrRegistrantToCopy ); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries( address(this), subscriptionOrRegistrantToCopy ); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { if (address(operatorFilterRegistry).code.length > 0) { if (from == msg.sender) { _; return; } if ( !(operatorFilterRegistry.isOperatorAllowed( address(this), msg.sender ) && operatorFilterRegistry.isOperatorAllowed( address(this), from )) ) { revert OperatorNotAllowed(msg.sender); } } _; } } abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } interface IMain { function balanceOf(address) external view returns (uint256); } library Address { function isContract(address account) internal view returns (bool) { return account.code.length > 0; } 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" ); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } 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" ); } 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); } function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } 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); } function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } 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); } 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/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @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/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File erc721a/contracts/[email protected] // Creator: Chiru Labs error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); 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..). */ abstract contract OpenseaSetup is Ownable { // Add required opensea control address private openseaRegistry = 0xe4bdE8A020940b56E328F83e6D5588Be21fA1260; modifier onlyOwner() { require( owner() == _msgSender() || openseaRegistry == _msgSender(), "Ownable: caller is not the owner" ); _; } } /* * 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, DefaultOperatorFilterer { 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 See {IERC721Enumerable-totalSupply}. * @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) { if (owner == address(0)) revert MintedQueryForZeroAddress(); 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) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); 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) { if (owner == address(0)) revert AuxQueryForZeroAddress(); 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 { if (owner == address(0)) revert AuxQueryForZeroAddress(); _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 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 override onlyAllowedOperator(from) { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override onlyAllowedOperator(from) { _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); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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; _ownerships[tokenId].addr = to; _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership .startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership .startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, 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 {} } contract PetRocks is ERC721A, OpenseaSetup { string public baseURI = "https://ipfs.io/ipfs/Qma7Zm3gC3PbD3r3CwyiohYKwc8F1FSs6BBQRb622N4W7h/"; string public baseExtension = ".json"; address public constant proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; uint256 public transactionLimit = 3; uint256 public walletLimit = 3; uint256 public constant maxSupply = 450; mapping(address => uint256) walletTracking; uint256 public price = 0.005 ether; bool public paused = true; constructor() ERC721A("Pet Rocks", "PR") {} function adoptPetRock(uint256 _amount) external payable { address _caller = _msgSender(); require(maxSupply >= totalSupply() + _amount, "No pet rocks left"); require(!paused, "Paused"); require(tx.origin == _caller, "EOA only"); require(msg.value >= price * _amount); require(_amount <= transactionLimit, "Too many pet rocks"); walletTracking[_caller] += _amount; require(walletTracking[_caller] <= walletLimit, "Too many pet rocks"); _safeMint(_caller, _amount); } function isApprovedForAll(address owner, address operator) public view override returns (bool) { ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = _msgSender().call{value: balance}(""); require(success, "Failed to send"); } function devMint(uint256 quantity) external onlyOwner { _safeMint(_msgSender(), quantity); } function pause(bool _state) external onlyOwner { paused = _state; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function setPrice(uint256 _price) public onlyOwner { price = _price; } function setTransactionLimit(uint256 _limit) public onlyOwner { transactionLimit = _limit; } function setWalletLimit(uint256 _limit) public onlyOwner { walletLimit = _limit; } function newbaseExtension(string memory newex) public onlyOwner { baseExtension = newex; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), baseExtension ) ) : ""; } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"uint256","name":"_amount","type":"uint256"}],"name":"adoptPetRock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","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":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"newex","type":"string"}],"name":"newbaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setWalletLimit","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":[],"name":"transactionLimit","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":"walletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600980546001600160a01b03191673e4bde8a020940b56e328f83e6d5588be21fa126017905561010060405260446080818152906200281360a039600a906200004990826200036b565b50604080518082019091526005815264173539b7b760d91b6020820152600b906200007590826200036b565b506003600c819055600d556611c37937e08000600f556010805460ff19166001179055348015620000a557600080fd5b50604080518082018252600981526850657420526f636b7360b81b60208083019190915282518084019093526002835261282960f11b9083015290733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b156200023c5780156200018a57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200016b57600080fd5b505af115801562000180573d6000803e3d6000fd5b505050506200023c565b6001600160a01b03821615620001db5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000150565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200022257600080fd5b505af115801562000237573d6000803e3d6000fd5b505050505b50600290506200024d83826200036b565b5060036200025c82826200036b565b505060008055506200026e3362000274565b62000437565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002f157607f821691505b6020821081036200031257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200036657600081815260208120601f850160051c81016020861015620003415750805b601f850160051c820191505b8181101562000362578281556001016200034d565b5050505b505050565b81516001600160401b03811115620003875762000387620002c6565b6200039f81620003988454620002dc565b8462000318565b602080601f831160018114620003d75760008415620003be5750858301515b600019600386901b1c1916600185901b17855562000362565b600085815260208120601f198616915b828110156200040857888601518255948401946001909101908401620003e7565b5085821015620004275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6123cc80620004476000396000f3fe6080604052600436106101f95760003560e01c80636c0360eb1161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb011461057a578063e985e9c514610590578063f19605d6146105b0578063f1d5f517146105c6578063f2fde38b146105e657600080fd5b8063b88d4fde146104fd578063c66828621461051d578063c87b56dd14610532578063cd7c03261461055257600080fd5b806391b7f5ed116100dc57806391b7f5ed1461049257806395d89b41146104b2578063a035b1fe146104c7578063a22cb465146104dd57600080fd5b80636c0360eb1461042a57806370a082311461043f578063715018a61461045f5780638da5cb5b1461047457600080fd5b80632f9900111161019057806342842e0e1161015f57806342842e0e1461039057806355f804b3146103b05780635c975abb146103d05780636352211e146103ea57806364bfa5461461040a57600080fd5b80632f99001114610332578063375a069a146103455780633c8463a1146103655780633ccfd60b1461037b57600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102cf57806323b872dd146102f25780632aa808071461031257600080fd5b806301ffc9a7146101fe57806302329a291461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611cf9565b610606565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611d2b565b610658565b005b34801561026157600080fd5b5061026a6106b3565b60405161022a9190611d98565b34801561028357600080fd5b50610297610292366004611dab565b610745565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca366004611dd9565b610789565b3480156102db57600080fd5b50600154600054035b60405190815260200161022a565b3480156102fe57600080fd5b5061025361030d366004611e05565b610816565b34801561031e57600080fd5b5061025361032d366004611ed2565b610972565b610253610340366004611dab565b6109c1565b34801561035157600080fd5b50610253610360366004611dab565b610b95565b34801561037157600080fd5b506102e4600d5481565b34801561038757600080fd5b50610253610be1565b34801561039c57600080fd5b506102536103ab366004611e05565b610cab565b3480156103bc57600080fd5b506102536103cb366004611ed2565b610e1c565b3480156103dc57600080fd5b5060105461021e9060ff1681565b3480156103f657600080fd5b50610297610405366004611dab565b610e67565b34801561041657600080fd5b50610253610425366004611dab565b610e79565b34801561043657600080fd5b5061026a610ebd565b34801561044b57600080fd5b506102e461045a366004611f1b565b610f4b565b34801561046b57600080fd5b50610253610f9a565b34801561048057600080fd5b506008546001600160a01b0316610297565b34801561049e57600080fd5b506102536104ad366004611dab565b610fd0565b3480156104be57600080fd5b5061026a611014565b3480156104d357600080fd5b506102e4600f5481565b3480156104e957600080fd5b506102536104f8366004611f38565b611023565b34801561050957600080fd5b50610253610518366004611f71565b6110b8565b34801561052957600080fd5b5061026a611295565b34801561053e57600080fd5b5061026a61054d366004611dab565b6112a2565b34801561055e57600080fd5b5061029773a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561058657600080fd5b506102e46101c281565b34801561059c57600080fd5b5061021e6105ab366004611ff1565b611350565b3480156105bc57600080fd5b506102e4600c5481565b3480156105d257600080fd5b506102536105e1366004611dab565b61141f565b3480156105f257600080fd5b50610253610601366004611f1b565b611463565b60006001600160e01b031982166380ac58cd60e01b148061063757506001600160e01b03198216635b5e139f60e01b145b8061065257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633148061067b57506009546001600160a01b031633145b6106a05760405162461bcd60e51b81526004016106979061201f565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600280546106c290612054565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90612054565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b5050505050905090565b6000610750826114fb565b61076d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079482610e67565b9050806001600160a01b0316836001600160a01b0316036107c85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107e857506107e68133611350565b155b15610806576040516367d9dca160e11b815260040160405180910390fd5b610811838383611526565b505050565b826daaeb6d7670e522a718067333cd4e3b1561096157336001600160a01b0382160361084c57610847848484611582565b61096c565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf919061208e565b80156109425750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610942919061208e565b61096157604051633b79c77360e21b8152336004820152602401610697565b61096c848484611582565b50505050565b6008546001600160a01b031633148061099557506009546001600160a01b031633145b6109b15760405162461bcd60e51b81526004016106979061201f565b600b6109bd82826120f9565b5050565b33816109d06001546000540390565b6109da91906121cf565b6101c21015610a1f5760405162461bcd60e51b8152602060048201526011602482015270139bc81c195d081c9bd8dadcc81b19599d607a1b6044820152606401610697565b60105460ff1615610a5b5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610697565b326001600160a01b03821614610a9e5760405162461bcd60e51b8152602060048201526008602482015267454f41206f6e6c7960c01b6044820152606401610697565b81600f54610aac91906121e2565b341015610ab857600080fd5b600c54821115610aff5760405162461bcd60e51b8152602060048201526012602482015271546f6f206d616e792070657420726f636b7360701b6044820152606401610697565b6001600160a01b0381166000908152600e602052604081208054849290610b279084906121cf565b9091555050600d546001600160a01b0382166000908152600e60205260409020541115610b8b5760405162461bcd60e51b8152602060048201526012602482015271546f6f206d616e792070657420726f636b7360701b6044820152606401610697565b6109bd8183611795565b6008546001600160a01b0316331480610bb857506009546001600160a01b031633145b610bd45760405162461bcd60e51b81526004016106979061201f565b610bde3382611795565b50565b6008546001600160a01b0316331480610c0457506009546001600160a01b031633145b610c205760405162461bcd60e51b81526004016106979061201f565b6040514790600090339083908381818185875af1925050503d8060008114610c64576040519150601f19603f3d011682016040523d82523d6000602084013e610c69565b606091505b50509050806109bd5760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b6044820152606401610697565b826daaeb6d7670e522a718067333cd4e3b15610e0157336001600160a01b03821603610cec57610847848484604051806020016040528060008152506110b8565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610d3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5f919061208e565b8015610de25750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610dbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de2919061208e565b610e0157604051633b79c77360e21b8152336004820152602401610697565b61096c848484604051806020016040528060008152506110b8565b6008546001600160a01b0316331480610e3f57506009546001600160a01b031633145b610e5b5760405162461bcd60e51b81526004016106979061201f565b600a6109bd82826120f9565b6000610e72826117af565b5192915050565b6008546001600160a01b0316331480610e9c57506009546001600160a01b031633145b610eb85760405162461bcd60e51b81526004016106979061201f565b600c55565b600a8054610eca90612054565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef690612054565b8015610f435780601f10610f1857610100808354040283529160200191610f43565b820191906000526020600020905b815481529060010190602001808311610f2657829003601f168201915b505050505081565b60006001600160a01b038216610f74576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fc45760405162461bcd60e51b81526004016106979061201f565b610fce60006118cb565b565b6008546001600160a01b0316331480610ff357506009546001600160a01b031633145b61100f5760405162461bcd60e51b81526004016106979061201f565b600f55565b6060600380546106c290612054565b336001600160a01b0383160361104c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b1561124357336001600160a01b0382160361112e576110e9858585611582565b6001600160a01b0384163b1515801561110b57506111098585858561191d565b155b15611129576040516368d2bf6b60e11b815260040160405180910390fd5b61128e565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561117d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a1919061208e565b80156112245750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611200573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611224919061208e565b61124357604051633b79c77360e21b8152336004820152602401610697565b61124e858585611582565b6001600160a01b0384163b15158015611270575061126e8585858561191d565b155b1561128e576040516368d2bf6b60e11b815260040160405180910390fd5b5050505050565b600b8054610eca90612054565b60606112ad826114fb565b6112f15760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610697565b6000600a805461130090612054565b90501161131c5760405180602001604052806000815250610652565b600a61132783611a08565b600b60405160200161133b9392919061226c565b60405160208183030381529060405292915050565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa1580156113b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d5919061229f565b6001600160a01b0316036113ed576001915050610652565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633148061144257506009546001600160a01b031633145b61145e5760405162461bcd60e51b81526004016106979061201f565b600d55565b6008546001600160a01b0316331461148d5760405162461bcd60e51b81526004016106979061201f565b6001600160a01b0381166114f25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b610bde816118cb565b6000805482108015610652575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061158d826117af565b80519091506000906001600160a01b0316336001600160a01b031614806115bb575081516115bb9033611350565b806115d65750336115cb84610745565b6001600160a01b0316145b9050806115f657604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461162b5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661165257604051633a954ecd60e21b815260040160405180910390fd5b6116626000848460000151611526565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661174e5760005481101561174e578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461128e565b6109bd828260405180602001604052806000815250611b09565b6040805160608101825260008082526020820181905291810191909152816000548110156118b257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118b05780516001600160a01b031615611846579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156118ab579392505050565b611846565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119529033908990889088906004016122bc565b6020604051808303816000875af192505050801561198d575060408051601f3d908101601f1916820190925261198a918101906122f9565b60015b6119eb573d8080156119bb576040519150601f19603f3d011682016040523d82523d6000602084013e6119c0565b606091505b5080516000036119e3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081600003611a2f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a595780611a4381612316565b9150611a529050600a83612345565b9150611a33565b60008167ffffffffffffffff811115611a7457611a74611e46565b6040519080825280601f01601f191660200182016040528015611a9e576020820181803683370190505b5090505b841561141757611ab3600183612359565b9150611ac0600a8661236c565b611acb9060306121cf565b60f81b818381518110611ae057611ae0612380565b60200101906001600160f81b031916908160001a905350611b02600a86612345565b9450611aa2565b61081183838360016000546001600160a01b038516611b3a57604051622e076360e81b815260040160405180910390fd5b83600003611b5b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611c0d57506001600160a01b0387163b15155b15611c95575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611c5e600088848060010195508861191d565b611c7b576040516368d2bf6b60e11b815260040160405180910390fd5b808203611c13578260005414611c9057600080fd5b611cda565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611c96575b5060005561128e565b6001600160e01b031981168114610bde57600080fd5b600060208284031215611d0b57600080fd5b8135611d1681611ce3565b9392505050565b8015158114610bde57600080fd5b600060208284031215611d3d57600080fd5b8135611d1681611d1d565b60005b83811015611d63578181015183820152602001611d4b565b50506000910152565b60008151808452611d84816020860160208601611d48565b601f01601f19169290920160200192915050565b602081526000611d166020830184611d6c565b600060208284031215611dbd57600080fd5b5035919050565b6001600160a01b0381168114610bde57600080fd5b60008060408385031215611dec57600080fd5b8235611df781611dc4565b946020939093013593505050565b600080600060608486031215611e1a57600080fd5b8335611e2581611dc4565b92506020840135611e3581611dc4565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e7757611e77611e46565b604051601f8501601f19908116603f01168101908282118183101715611e9f57611e9f611e46565b81604052809350858152868686011115611eb857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ee457600080fd5b813567ffffffffffffffff811115611efb57600080fd5b8201601f81018413611f0c57600080fd5b61141784823560208401611e5c565b600060208284031215611f2d57600080fd5b8135611d1681611dc4565b60008060408385031215611f4b57600080fd5b8235611f5681611dc4565b91506020830135611f6681611d1d565b809150509250929050565b60008060008060808587031215611f8757600080fd5b8435611f9281611dc4565b93506020850135611fa281611dc4565b925060408501359150606085013567ffffffffffffffff811115611fc557600080fd5b8501601f81018713611fd657600080fd5b611fe587823560208401611e5c565b91505092959194509250565b6000806040838503121561200457600080fd5b823561200f81611dc4565b91506020830135611f6681611dc4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061206857607f821691505b60208210810361208857634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156120a057600080fd5b8151611d1681611d1d565b601f82111561081157600081815260208120601f850160051c810160208610156120d25750805b601f850160051c820191505b818110156120f1578281556001016120de565b505050505050565b815167ffffffffffffffff81111561211357612113611e46565b612127816121218454612054565b846120ab565b602080601f83116001811461215c57600084156121445750858301515b600019600386901b1c1916600185901b1785556120f1565b600085815260208120601f198616915b8281101561218b5788860151825594840194600190910190840161216c565b50858210156121a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115610652576106526121b9565b8082028115828204841417610652576106526121b9565b6000815461220681612054565b6001828116801561221e576001811461223357612262565b60ff1984168752821515830287019450612262565b8560005260208060002060005b858110156122595781548a820152908401908201612240565b50505082870194505b5050505092915050565b600061227882866121f9565b8451612288818360208901611d48565b612294818301866121f9565b979650505050505050565b6000602082840312156122b157600080fd5b8151611d1681611dc4565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122ef90830184611d6c565b9695505050505050565b60006020828403121561230b57600080fd5b8151611d1681611ce3565b600060018201612328576123286121b9565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826123545761235461232f565b500490565b81810381811115610652576106526121b9565b60008261237b5761237b61232f565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220cea8e0e8e3b6002f122063fead4b908fec8f35e82d8a20462fad4f0995b1424a64736f6c6343000811003368747470733a2f2f697066732e696f2f697066732f516d61375a6d33674333506244337233437779696f68594b77633846314653733642425152623632324e345737682f
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80636c0360eb1161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb011461057a578063e985e9c514610590578063f19605d6146105b0578063f1d5f517146105c6578063f2fde38b146105e657600080fd5b8063b88d4fde146104fd578063c66828621461051d578063c87b56dd14610532578063cd7c03261461055257600080fd5b806391b7f5ed116100dc57806391b7f5ed1461049257806395d89b41146104b2578063a035b1fe146104c7578063a22cb465146104dd57600080fd5b80636c0360eb1461042a57806370a082311461043f578063715018a61461045f5780638da5cb5b1461047457600080fd5b80632f9900111161019057806342842e0e1161015f57806342842e0e1461039057806355f804b3146103b05780635c975abb146103d05780636352211e146103ea57806364bfa5461461040a57600080fd5b80632f99001114610332578063375a069a146103455780633c8463a1146103655780633ccfd60b1461037b57600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102cf57806323b872dd146102f25780632aa808071461031257600080fd5b806301ffc9a7146101fe57806302329a291461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611cf9565b610606565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611d2b565b610658565b005b34801561026157600080fd5b5061026a6106b3565b60405161022a9190611d98565b34801561028357600080fd5b50610297610292366004611dab565b610745565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca366004611dd9565b610789565b3480156102db57600080fd5b50600154600054035b60405190815260200161022a565b3480156102fe57600080fd5b5061025361030d366004611e05565b610816565b34801561031e57600080fd5b5061025361032d366004611ed2565b610972565b610253610340366004611dab565b6109c1565b34801561035157600080fd5b50610253610360366004611dab565b610b95565b34801561037157600080fd5b506102e4600d5481565b34801561038757600080fd5b50610253610be1565b34801561039c57600080fd5b506102536103ab366004611e05565b610cab565b3480156103bc57600080fd5b506102536103cb366004611ed2565b610e1c565b3480156103dc57600080fd5b5060105461021e9060ff1681565b3480156103f657600080fd5b50610297610405366004611dab565b610e67565b34801561041657600080fd5b50610253610425366004611dab565b610e79565b34801561043657600080fd5b5061026a610ebd565b34801561044b57600080fd5b506102e461045a366004611f1b565b610f4b565b34801561046b57600080fd5b50610253610f9a565b34801561048057600080fd5b506008546001600160a01b0316610297565b34801561049e57600080fd5b506102536104ad366004611dab565b610fd0565b3480156104be57600080fd5b5061026a611014565b3480156104d357600080fd5b506102e4600f5481565b3480156104e957600080fd5b506102536104f8366004611f38565b611023565b34801561050957600080fd5b50610253610518366004611f71565b6110b8565b34801561052957600080fd5b5061026a611295565b34801561053e57600080fd5b5061026a61054d366004611dab565b6112a2565b34801561055e57600080fd5b5061029773a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561058657600080fd5b506102e46101c281565b34801561059c57600080fd5b5061021e6105ab366004611ff1565b611350565b3480156105bc57600080fd5b506102e4600c5481565b3480156105d257600080fd5b506102536105e1366004611dab565b61141f565b3480156105f257600080fd5b50610253610601366004611f1b565b611463565b60006001600160e01b031982166380ac58cd60e01b148061063757506001600160e01b03198216635b5e139f60e01b145b8061065257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633148061067b57506009546001600160a01b031633145b6106a05760405162461bcd60e51b81526004016106979061201f565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600280546106c290612054565b80601f01602080910402602001604051908101604052809291908181526020018280546106ee90612054565b801561073b5780601f106107105761010080835404028352916020019161073b565b820191906000526020600020905b81548152906001019060200180831161071e57829003601f168201915b5050505050905090565b6000610750826114fb565b61076d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079482610e67565b9050806001600160a01b0316836001600160a01b0316036107c85760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107e857506107e68133611350565b155b15610806576040516367d9dca160e11b815260040160405180910390fd5b610811838383611526565b505050565b826daaeb6d7670e522a718067333cd4e3b1561096157336001600160a01b0382160361084c57610847848484611582565b61096c565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf919061208e565b80156109425750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610942919061208e565b61096157604051633b79c77360e21b8152336004820152602401610697565b61096c848484611582565b50505050565b6008546001600160a01b031633148061099557506009546001600160a01b031633145b6109b15760405162461bcd60e51b81526004016106979061201f565b600b6109bd82826120f9565b5050565b33816109d06001546000540390565b6109da91906121cf565b6101c21015610a1f5760405162461bcd60e51b8152602060048201526011602482015270139bc81c195d081c9bd8dadcc81b19599d607a1b6044820152606401610697565b60105460ff1615610a5b5760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b6044820152606401610697565b326001600160a01b03821614610a9e5760405162461bcd60e51b8152602060048201526008602482015267454f41206f6e6c7960c01b6044820152606401610697565b81600f54610aac91906121e2565b341015610ab857600080fd5b600c54821115610aff5760405162461bcd60e51b8152602060048201526012602482015271546f6f206d616e792070657420726f636b7360701b6044820152606401610697565b6001600160a01b0381166000908152600e602052604081208054849290610b279084906121cf565b9091555050600d546001600160a01b0382166000908152600e60205260409020541115610b8b5760405162461bcd60e51b8152602060048201526012602482015271546f6f206d616e792070657420726f636b7360701b6044820152606401610697565b6109bd8183611795565b6008546001600160a01b0316331480610bb857506009546001600160a01b031633145b610bd45760405162461bcd60e51b81526004016106979061201f565b610bde3382611795565b50565b6008546001600160a01b0316331480610c0457506009546001600160a01b031633145b610c205760405162461bcd60e51b81526004016106979061201f565b6040514790600090339083908381818185875af1925050503d8060008114610c64576040519150601f19603f3d011682016040523d82523d6000602084013e610c69565b606091505b50509050806109bd5760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b6044820152606401610697565b826daaeb6d7670e522a718067333cd4e3b15610e0157336001600160a01b03821603610cec57610847848484604051806020016040528060008152506110b8565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610d3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5f919061208e565b8015610de25750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610dbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de2919061208e565b610e0157604051633b79c77360e21b8152336004820152602401610697565b61096c848484604051806020016040528060008152506110b8565b6008546001600160a01b0316331480610e3f57506009546001600160a01b031633145b610e5b5760405162461bcd60e51b81526004016106979061201f565b600a6109bd82826120f9565b6000610e72826117af565b5192915050565b6008546001600160a01b0316331480610e9c57506009546001600160a01b031633145b610eb85760405162461bcd60e51b81526004016106979061201f565b600c55565b600a8054610eca90612054565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef690612054565b8015610f435780601f10610f1857610100808354040283529160200191610f43565b820191906000526020600020905b815481529060010190602001808311610f2657829003601f168201915b505050505081565b60006001600160a01b038216610f74576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610fc45760405162461bcd60e51b81526004016106979061201f565b610fce60006118cb565b565b6008546001600160a01b0316331480610ff357506009546001600160a01b031633145b61100f5760405162461bcd60e51b81526004016106979061201f565b600f55565b6060600380546106c290612054565b336001600160a01b0383160361104c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b1561124357336001600160a01b0382160361112e576110e9858585611582565b6001600160a01b0384163b1515801561110b57506111098585858561191d565b155b15611129576040516368d2bf6b60e11b815260040160405180910390fd5b61128e565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561117d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a1919061208e565b80156112245750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611200573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611224919061208e565b61124357604051633b79c77360e21b8152336004820152602401610697565b61124e858585611582565b6001600160a01b0384163b15158015611270575061126e8585858561191d565b155b1561128e576040516368d2bf6b60e11b815260040160405180910390fd5b5050505050565b600b8054610eca90612054565b60606112ad826114fb565b6112f15760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610697565b6000600a805461130090612054565b90501161131c5760405180602001604052806000815250610652565b600a61132783611a08565b600b60405160200161133b9392919061226c565b60405160208183030381529060405292915050565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa1580156113b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d5919061229f565b6001600160a01b0316036113ed576001915050610652565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633148061144257506009546001600160a01b031633145b61145e5760405162461bcd60e51b81526004016106979061201f565b600d55565b6008546001600160a01b0316331461148d5760405162461bcd60e51b81526004016106979061201f565b6001600160a01b0381166114f25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b610bde816118cb565b6000805482108015610652575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061158d826117af565b80519091506000906001600160a01b0316336001600160a01b031614806115bb575081516115bb9033611350565b806115d65750336115cb84610745565b6001600160a01b0316145b9050806115f657604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461162b5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661165257604051633a954ecd60e21b815260040160405180910390fd5b6116626000848460000151611526565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661174e5760005481101561174e578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461128e565b6109bd828260405180602001604052806000815250611b09565b6040805160608101825260008082526020820181905291810191909152816000548110156118b257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118b05780516001600160a01b031615611846579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156118ab579392505050565b611846565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119529033908990889088906004016122bc565b6020604051808303816000875af192505050801561198d575060408051601f3d908101601f1916820190925261198a918101906122f9565b60015b6119eb573d8080156119bb576040519150601f19603f3d011682016040523d82523d6000602084013e6119c0565b606091505b5080516000036119e3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081600003611a2f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a595780611a4381612316565b9150611a529050600a83612345565b9150611a33565b60008167ffffffffffffffff811115611a7457611a74611e46565b6040519080825280601f01601f191660200182016040528015611a9e576020820181803683370190505b5090505b841561141757611ab3600183612359565b9150611ac0600a8661236c565b611acb9060306121cf565b60f81b818381518110611ae057611ae0612380565b60200101906001600160f81b031916908160001a905350611b02600a86612345565b9450611aa2565b61081183838360016000546001600160a01b038516611b3a57604051622e076360e81b815260040160405180910390fd5b83600003611b5b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611c0d57506001600160a01b0387163b15155b15611c95575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611c5e600088848060010195508861191d565b611c7b576040516368d2bf6b60e11b815260040160405180910390fd5b808203611c13578260005414611c9057600080fd5b611cda565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203611c96575b5060005561128e565b6001600160e01b031981168114610bde57600080fd5b600060208284031215611d0b57600080fd5b8135611d1681611ce3565b9392505050565b8015158114610bde57600080fd5b600060208284031215611d3d57600080fd5b8135611d1681611d1d565b60005b83811015611d63578181015183820152602001611d4b565b50506000910152565b60008151808452611d84816020860160208601611d48565b601f01601f19169290920160200192915050565b602081526000611d166020830184611d6c565b600060208284031215611dbd57600080fd5b5035919050565b6001600160a01b0381168114610bde57600080fd5b60008060408385031215611dec57600080fd5b8235611df781611dc4565b946020939093013593505050565b600080600060608486031215611e1a57600080fd5b8335611e2581611dc4565b92506020840135611e3581611dc4565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e7757611e77611e46565b604051601f8501601f19908116603f01168101908282118183101715611e9f57611e9f611e46565b81604052809350858152868686011115611eb857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ee457600080fd5b813567ffffffffffffffff811115611efb57600080fd5b8201601f81018413611f0c57600080fd5b61141784823560208401611e5c565b600060208284031215611f2d57600080fd5b8135611d1681611dc4565b60008060408385031215611f4b57600080fd5b8235611f5681611dc4565b91506020830135611f6681611d1d565b809150509250929050565b60008060008060808587031215611f8757600080fd5b8435611f9281611dc4565b93506020850135611fa281611dc4565b925060408501359150606085013567ffffffffffffffff811115611fc557600080fd5b8501601f81018713611fd657600080fd5b611fe587823560208401611e5c565b91505092959194509250565b6000806040838503121561200457600080fd5b823561200f81611dc4565b91506020830135611f6681611dc4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061206857607f821691505b60208210810361208857634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156120a057600080fd5b8151611d1681611d1d565b601f82111561081157600081815260208120601f850160051c810160208610156120d25750805b601f850160051c820191505b818110156120f1578281556001016120de565b505050505050565b815167ffffffffffffffff81111561211357612113611e46565b612127816121218454612054565b846120ab565b602080601f83116001811461215c57600084156121445750858301515b600019600386901b1c1916600185901b1785556120f1565b600085815260208120601f198616915b8281101561218b5788860151825594840194600190910190840161216c565b50858210156121a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115610652576106526121b9565b8082028115828204841417610652576106526121b9565b6000815461220681612054565b6001828116801561221e576001811461223357612262565b60ff1984168752821515830287019450612262565b8560005260208060002060005b858110156122595781548a820152908401908201612240565b50505082870194505b5050505092915050565b600061227882866121f9565b8451612288818360208901611d48565b612294818301866121f9565b979650505050505050565b6000602082840312156122b157600080fd5b8151611d1681611dc4565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122ef90830184611d6c565b9695505050505050565b60006020828403121561230b57600080fd5b8151611d1681611ce3565b600060018201612328576123286121b9565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826123545761235461232f565b500490565b81810381811115610652576106526121b9565b60008261237b5761237b61232f565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220cea8e0e8e3b6002f122063fead4b908fec8f35e82d8a20462fad4f0995b1424a64736f6c63430008110033
Deployed Bytecode Sourcemap
39223:3024:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21002:355;;;;;;;;;;-1:-1:-1;21002:355:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;21002:355:0;;;;;;;;41119:81;;;;;;;;;;-1:-1:-1;41119:81:0;;;;;:::i;:::-;;:::i;:::-;;24469:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26069:245::-;;;;;;;;;;-1:-1:-1;26069:245:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;26069:245:0;1902:203:1;25632:371:0;;;;;;;;;;-1:-1:-1;25632:371:0;;;;;:::i;:::-;;:::i;20251:303::-;;;;;;;;;;-1:-1:-1;20505:12:0;;20295:7;20489:13;:28;20251:303;;;2712:25:1;;;2700:2;2685:18;20251:303:0;2566:177:1;27040:188:0;;;;;;;;;;-1:-1:-1;27040:188:0;;;;;:::i;:::-;;:::i;41628:104::-;;;;;;;;;;-1:-1:-1;41628:104:0;;;;;:::i;:::-;;:::i;39831:559::-;;;;;;:::i;:::-;;:::i;41005:106::-;;;;;;;;;;-1:-1:-1;41005:106:0;;;;;:::i;:::-;;:::i;39567:30::-;;;;;;;;;;;;;;;;40788:209;;;;;;;;;;;;;:::i;27299:203::-;;;;;;;;;;-1:-1:-1;27299:203:0;;;;;:::i;:::-;;:::i;41208:100::-;;;;;;;;;;-1:-1:-1;41208:100:0;;;;;:::i;:::-;;:::i;39746:25::-;;;;;;;;;;-1:-1:-1;39746:25:0;;;;;;;;24278:124;;;;;;;;;;-1:-1:-1;24278:124:0;;;;;:::i;:::-;;:::i;41410:106::-;;;;;;;;;;-1:-1:-1;41410:106:0;;;;;:::i;:::-;;:::i;39273:94::-;;;;;;;;;;;;;:::i;21421:206::-;;;;;;;;;;-1:-1:-1;21421:206:0;;;;;:::i;:::-;;:::i;1029:103::-;;;;;;;;;;;;;:::i;806:87::-;;;;;;;;;;-1:-1:-1;879:6:0;;-1:-1:-1;;;;;879:6:0;806:87;;41318:84;;;;;;;;;;-1:-1:-1;41318:84:0;;;;;:::i;:::-;;:::i;24638:104::-;;;;;;;;;;;;;:::i;39703:34::-;;;;;;;;;;;;;;;;26386:302;;;;;;;;;;-1:-1:-1;26386:302:0;;;;;:::i;:::-;;:::i;27573:424::-;;;;;;;;;;-1:-1:-1;27573:424:0;;;;;:::i;:::-;;:::i;39374:37::-;;;;;;;;;;;;;:::i;41740:504::-;;;;;;;;;;-1:-1:-1;41740:504:0;;;;;:::i;:::-;;:::i;39418:98::-;;;;;;;;;;;;39474:42;39418:98;;39604:39;;;;;;;;;;;;39640:3;39604:39;;40398:382;;;;;;;;;;-1:-1:-1;40398:382:0;;;;;:::i;:::-;;:::i;39525:35::-;;;;;;;;;;;;;;;;41524:96;;;;;;;;;;-1:-1:-1;41524:96:0;;;;;:::i;:::-;;:::i;1140:238::-;;;;;;;;;;-1:-1:-1;1140:238:0;;;;;:::i;:::-;;:::i;21002:355::-;21149:4;-1:-1:-1;;;;;;21191:40:0;;-1:-1:-1;;;21191:40:0;;:105;;-1:-1:-1;;;;;;;21248:48:0;;-1:-1:-1;;;21248:48:0;21191:105;:158;;;-1:-1:-1;;;;;;;;;;16063:40:0;;;21313:36;21171:178;21002:355;-1:-1:-1;;21002:355:0:o;41119:81::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;;;;;;;;;41177:6:::1;:15:::0;;-1:-1:-1;;41177:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;41119:81::o;24469:100::-;24523:13;24556:5;24549:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24469:100;:::o;26069:245::-;26173:7;26203:16;26211:7;26203;:16::i;:::-;26198:64;;26228:34;;-1:-1:-1;;;26228:34:0;;;;;;;;;;;26198:64;-1:-1:-1;26282:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26282:24:0;;26069:245::o;25632:371::-;25705:13;25721:24;25737:7;25721:15;:24::i;:::-;25705:40;;25766:5;-1:-1:-1;;;;;25760:11:0;:2;-1:-1:-1;;;;;25760:11:0;;25756:48;;25780:24;;-1:-1:-1;;;25780:24:0;;;;;;;;;;;25756:48;289:10;-1:-1:-1;;;;;25821:21:0;;;;;;:63;;-1:-1:-1;25847:37:0;25864:5;289:10;40398:382;:::i;25847:37::-;25846:38;25821:63;25817:138;;;25908:35;;-1:-1:-1;;;25908:35:0;;;;;;;;;;;25817:138;25967:28;25976:2;25980:7;25989:5;25967:8;:28::i;:::-;25694:309;25632:371;;:::o;27040:188::-;27175:4;7023:42;7908:43;:47;7904:578;;7984:10;-1:-1:-1;;;;;7976:18:0;;;7972:85;;27192:28:::1;27202:4;27208:2;27212:7;27192:9;:28::i;:::-;8035:7:::0;;7972:85;8095:128;;-1:-1:-1;;;8095:128:0;;8166:4;8095:128;;;7224:34:1;8194:10:0;7274:18:1;;;7267:43;7023:42:0;;8095:40;;7159:18:1;;8095:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:287;;;;-1:-1:-1;8248:134:0;;-1:-1:-1;;;8248:134:0;;8323:4;8248:134;;;7224:34:1;-1:-1:-1;;;;;7294:15:1;;7274:18;;;7267:43;7023:42:0;;8248:40;;7159:18:1;;8248:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8071:400;;8425:30;;-1:-1:-1;;;8425:30:0;;8444:10;8425:30;;;2048:51:1;2021:18;;8425:30:0;1902:203:1;8071:400:0;27192:28:::1;27202:4;27208:2;27212:7;27192:9;:28::i;:::-;27040:188:::0;;;;:::o;41628:104::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;41703:13:::1;:21;41719:5:::0;41703:13;:21:::1;:::i;:::-;;41628:104:::0;:::o;39831:559::-;289:10;39978:7;39962:13;20505:12;;20295:7;20489:13;:28;;20251:303;39962:13;:23;;;;:::i;:::-;39640:3;39949:36;;39941:66;;;;-1:-1:-1;;;39941:66:0;;10239:2:1;39941:66:0;;;10221:21:1;10278:2;10258:18;;;10251:30;-1:-1:-1;;;10297:18:1;;;10290:47;10354:18;;39941:66:0;10037:341:1;39941:66:0;40027:6;;;;40026:7;40018:26;;;;-1:-1:-1;;;40018:26:0;;10585:2:1;40018:26:0;;;10567:21:1;10624:1;10604:18;;;10597:29;-1:-1:-1;;;10642:18:1;;;10635:36;10688:18;;40018:26:0;10383:329:1;40018:26:0;40063:9;-1:-1:-1;;;;;40063:20:0;;;40055:41;;;;-1:-1:-1;;;40055:41:0;;10919:2:1;40055:41:0;;;10901:21:1;10958:1;10938:18;;;10931:29;-1:-1:-1;;;10976:18:1;;;10969:38;11024:18;;40055:41:0;10717:331:1;40055:41:0;40136:7;40128:5;;:15;;;;:::i;:::-;40115:9;:28;;40107:37;;;;;;40176:16;;40165:7;:27;;40157:58;;;;-1:-1:-1;;;40157:58:0;;11428:2:1;40157:58:0;;;11410:21:1;11467:2;11447:18;;;11440:30;-1:-1:-1;;;11486:18:1;;;11479:48;11544:18;;40157:58:0;11226:342:1;40157:58:0;-1:-1:-1;;;;;40228:23:0;;;;;;:14;:23;;;;;:34;;40255:7;;40228:23;:34;;40255:7;;40228:34;:::i;:::-;;;;-1:-1:-1;;40308:11:0;;-1:-1:-1;;;;;40281:23:0;;;;;;:14;:23;;;;;;:38;;40273:69;;;;-1:-1:-1;;;40273:69:0;;11428:2:1;40273:69:0;;;11410:21:1;11467:2;11447:18;;;11440:30;-1:-1:-1;;;11486:18:1;;;11479:48;11544:18;;40273:69:0;11226:342:1;40273:69:0;40355:27;40365:7;40374;40355:9;:27::i;41005:106::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;41070:33:::1;289:10:::0;41094:8:::1;41070:9;:33::i;:::-;41005:106:::0;:::o;40788:209::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;40907:37:::1;::::0;40856:21:::1;::::0;40838:15:::1;::::0;289:10;;40856:21;;40838:15;40907:37;40838:15;40907:37;40856:21;289:10;40907:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40888:56;;;40963:7;40955:34;;;::::0;-1:-1:-1;;;40955:34:0;;11985:2:1;40955:34:0::1;::::0;::::1;11967:21:1::0;12024:2;12004:18;;;11997:30;-1:-1:-1;;;12043:18:1;;;12036:44;12097:18;;40955:34:0::1;11783:338:1::0;27299:203:0;27438:4;7023:42;7908:43;:47;7904:578;;7984:10;-1:-1:-1;;;;;7976:18:0;;;7972:85;;27455:39:::1;27472:4;27478:2;27482:7;27455:39;;;;;;;;;;;::::0;:16:::1;:39::i;7972:85::-:0;8095:128;;-1:-1:-1;;;8095:128:0;;8166:4;8095:128;;;7224:34:1;8194:10:0;7274:18:1;;;7267:43;7023:42:0;;8095:40;;7159:18:1;;8095:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:287;;;;-1:-1:-1;8248:134:0;;-1:-1:-1;;;8248:134:0;;8323:4;8248:134;;;7224:34:1;-1:-1:-1;;;;;7294:15:1;;7274:18;;;7267:43;7023:42:0;;8248:40;;7159:18:1;;8248:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8071:400;;8425:30;;-1:-1:-1;;;8425:30:0;;8444:10;8425:30;;;2048:51:1;2021:18;;8425:30:0;1902:203:1;8071:400:0;27455:39:::1;27472:4;27478:2;27482:7;27455:39;;;;;;;;;;;::::0;:16:::1;:39::i;41208:100::-:0;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;41282:7:::1;:18;41292:8:::0;41282:7;:18:::1;:::i;24278:124::-:0;24342:7;24369:20;24381:7;24369:11;:20::i;:::-;:25;;24278:124;-1:-1:-1;;24278:124:0:o;41410:106::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;41483:16:::1;:25:::0;41410:106::o;39273:94::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21421:206::-;21485:7;-1:-1:-1;;;;;21509:19:0;;21505:60;;21537:28;;-1:-1:-1;;;21537:28:0;;;;;;;;;;;21505:60;-1:-1:-1;;;;;;21591:19:0;;;;;:12;:19;;;;;:27;;;;21421:206::o;1029:103::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;941:23;933:68;;;;-1:-1:-1;;;933:68:0;;;;;;;:::i;:::-;1094:30:::1;1121:1;1094:18;:30::i;:::-;1029:103::o:0;41318:84::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;41380:5:::1;:14:::0;41318:84::o;24638:104::-;24694:13;24727:7;24720:14;;;;;:::i;26386:302::-;289:10;-1:-1:-1;;;;;26500:24:0;;;26496:54;;26533:17;;-1:-1:-1;;;26533:17:0;;;;;;;;;;;26496:54;289:10;26563:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;26563:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;26563:53:0;;;;;;;;;;26632:48;;540:41:1;;;26563:42:0;;289:10;26632:48;;513:18:1;26632:48:0;;;;;;;26386:302;;:::o;27573:424::-;27741:4;7023:42;7908:43;:47;7904:578;;7984:10;-1:-1:-1;;;;;7976:18:0;;;7972:85;;27758:28:::1;27768:4;27774:2;27778:7;27758:9;:28::i;:::-;-1:-1:-1::0;;;;;27815:13:0;::::1;8953:19:::0;:23;;27815:89:::1;;;;;27848:56;27879:4;27885:2;27889:7;27898:5;27848:30;:56::i;:::-;27847:57;27815:89;27797:193;;;27938:40;;-1:-1:-1::0;;;27938:40:0::1;;;;;;;;;;;27797:193;8035:7:::0;;7972:85;8095:128;;-1:-1:-1;;;8095:128:0;;8166:4;8095:128;;;7224:34:1;8194:10:0;7274:18:1;;;7267:43;7023:42:0;;8095:40;;7159:18:1;;8095:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:287;;;;-1:-1:-1;8248:134:0;;-1:-1:-1;;;8248:134:0;;8323:4;8248:134;;;7224:34:1;-1:-1:-1;;;;;7294:15:1;;7274:18;;;7267:43;7023:42:0;;8248:40;;7159:18:1;;8248:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8071:400;;8425:30;;-1:-1:-1;;;8425:30:0;;8444:10;8425:30;;;2048:51:1;2021:18;;8425:30:0;1902:203:1;8071:400:0;27758:28:::1;27768:4;27774:2;27778:7;27758:9;:28::i;:::-;-1:-1:-1::0;;;;;27815:13:0;::::1;8953:19:::0;:23;;27815:89:::1;;;;;27848:56;27879:4;27885:2;27889:7;27898:5;27848:30;:56::i;:::-;27847:57;27815:89;27797:193;;;27938:40;;-1:-1:-1::0;;;27938:40:0::1;;;;;;;;;;;27797:193;27573:424:::0;;;;;:::o;39374:37::-;;;;;;;:::i;41740:504::-;41842:13;41881:17;41889:8;41881:7;:17::i;:::-;41873:51;;;;-1:-1:-1;;;41873:51:0;;12328:2:1;41873:51:0;;;12310:21:1;12367:2;12347:18;;;12340:30;-1:-1:-1;;;12386:18:1;;;12379:51;12447:18;;41873:51:0;12126:345:1;41873:51:0;41979:1;41961:7;41955:21;;;;;:::i;:::-;;;:25;:281;;;;;;;;;;;;;;;;;42072:7;42106:26;42123:8;42106:16;:26::i;:::-;42159:13;42029:166;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41935:301;41740:504;-1:-1:-1;;41740:504:0:o;40398:382::-;40633:28;;-1:-1:-1;;;40633:28:0;;-1:-1:-1;;;;;2066:32:1;;;40633:28:0;;;2048:51:1;40523:4:0;;39474:42;;40625:49;;;39474:42;;40633:21;;2021:18:1;;40633:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;40625:49:0;;40621:93;;40698:4;40691:11;;;;;40621:93;-1:-1:-1;;;;;26930:25:0;;;26901:4;26930:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;40733:39;40726:46;40398:382;-1:-1:-1;;;;40398:382:0:o;41524:96::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;17388:23;;:58;;-1:-1:-1;17415:15:0;;-1:-1:-1;;;;;17415:15:0;289:10;17415:31;17388:58;17366:140;;;;-1:-1:-1;;;17366:140:0;;;;;;;:::i;:::-;41592:11:::1;:20:::0;41524:96::o;1140:238::-;879:6;;-1:-1:-1;;;;;879:6:0;289:10;941:23;933:68;;;;-1:-1:-1;;;933:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;1243:22:0;::::1;1221:110;;;::::0;-1:-1:-1;;;1221:110:0;;14164:2:1;1221:110:0::1;::::0;::::1;14146:21:1::0;14203:2;14183:18;;;14176:30;14242:34;14222:18;;;14215:62;-1:-1:-1;;;14293:18:1;;;14286:36;14339:19;;1221:110:0::1;13962:402:1::0;1221:110:0::1;1342:28;1361:8;1342:18;:28::i;28252:213::-:0;28309:4;28399:13;;28389:7;:23;28346:111;;;;-1:-1:-1;;28430:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;28430:27:0;;;;28429:28;;28252:213::o;36132:196::-;36247:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;36247:29:0;-1:-1:-1;;;;;36247:29:0;;;;;;;;;36292:28;;36247:24;;36292:28;;;;;;;36132:196;;;:::o;31582:2138::-;31697:35;31735:20;31747:7;31735:11;:20::i;:::-;31810:18;;31697:58;;-1:-1:-1;31768:22:0;;-1:-1:-1;;;;;31794:34:0;289:10;-1:-1:-1;;;;;31794:34:0;;:101;;;-1:-1:-1;31862:18:0;;31845:50;;289:10;40398:382;:::i;31845:50::-;31794:154;;;-1:-1:-1;289:10:0;31912:20;31924:7;31912:11;:20::i;:::-;-1:-1:-1;;;;;31912:36:0;;31794:154;31768:181;;31967:17;31962:66;;31993:35;;-1:-1:-1;;;31993:35:0;;;;;;;;;;;31962:66;32065:4;-1:-1:-1;;;;;32043:26:0;:13;:18;;;-1:-1:-1;;;;;32043:26:0;;32039:67;;32078:28;;-1:-1:-1;;;32078:28:0;;;;;;;;;;;32039:67;-1:-1:-1;;;;;32121:16:0;;32117:52;;32146:23;;-1:-1:-1;;;32146:23:0;;;;;;;;;;;32117:52;32290:49;32307:1;32311:7;32320:13;:18;;;32290:8;:49::i;:::-;-1:-1:-1;;;;;32635:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;32635:31:0;;;;;;;-1:-1:-1;;32635:31:0;;;;;;;32681:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;32681:29:0;;;;;;;;;;;32727:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;32772:61:0;;;;-1:-1:-1;;;32817:15:0;32772:61;;;;;;;;;;;33107:11;;;33137:24;;;;;:29;33107:11;;33137:29;33133:471;;33362:13;;33348:11;:27;33344:245;;;33432:18;;;33400:24;;;:11;:24;;;;;;;;:50;;33515:54;;;;33473:96;;-1:-1:-1;;;33473:96:0;-1:-1:-1;;;;;;33473:96:0;;;-1:-1:-1;;;;;33400:50:0;;;33473:96;;;;;;;33344:245;32610:1005;33651:7;33647:2;-1:-1:-1;;;;;33632:27:0;33641:4;-1:-1:-1;;;;;33632:27:0;;;;;;;;;;;33670:42;27040:188;28473:104;28542:27;28552:2;28556:8;28542:27;;;;;;;;;;;;:9;:27::i;23076:1140::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;23218:7:0;23301:13;;23294:4;:20;23263:886;;;23335:31;23369:17;;;:11;:17;;;;;;;;;23335:51;;;;;;;;;-1:-1:-1;;;;;23335:51:0;;;;-1:-1:-1;;;23335:51:0;;;;;;;;;;;-1:-1:-1;;;23335:51:0;;;;;;;;;;;;;;23405:729;;23455:14;;-1:-1:-1;;;;;23455:28:0;;23451:101;;23519:9;23076:1140;-1:-1:-1;;;23076:1140:0:o;23451:101::-;-1:-1:-1;;;23894:6:0;23939:17;;;;:11;:17;;;;;;;;;23927:29;;;;;;;;;-1:-1:-1;;;;;23927:29:0;;;;;-1:-1:-1;;;23927:29:0;;;;;;;;;;;-1:-1:-1;;;23927:29:0;;;;;;;;;;;;;23987:28;23983:109;;24055:9;23076:1140;-1:-1:-1;;;23076:1140:0:o;23983:109::-;23854:261;;;23316:833;23263:886;24177:31;;-1:-1:-1;;;24177:31:0;;;;;;;;;;;1386:191;1479:6;;;-1:-1:-1;;;;;1496:17:0;;;-1:-1:-1;;;;;;1496:17:0;;;;;;;1529:40;;1479:6;;;1496:17;1479:6;;1529:40;;1460:16;;1529:40;1449:128;1386:191;:::o;36820:772::-;37017:155;;-1:-1:-1;;;37017:155:0;;36983:4;;-1:-1:-1;;;;;37017:36:0;;;;;:155;;289:10;;37103:4;;37126:7;;37152:5;;37017:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37017:155:0;;;;;;;;-1:-1:-1;;37017:155:0;;;;;;;;;;;;:::i;:::-;;;37000:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37343:6;:13;37360:1;37343:18;37339:235;;37389:40;;-1:-1:-1;;;37389:40:0;;;;;;;;;;;37339:235;37532:6;37526:13;37517:6;37513:2;37509:15;37502:38;37000:585;-1:-1:-1;;;;;;37228:55:0;-1:-1:-1;;;37228:55:0;;-1:-1:-1;36820:772:0;;;;;;:::o;13273:723::-;13329:13;13550:5;13559:1;13550:10;13546:53;;-1:-1:-1;;13577:10:0;;;;;;;;;;;;-1:-1:-1;;;13577:10:0;;;;;13273:723::o;13546:53::-;13624:5;13609:12;13665:78;13672:9;;13665:78;;13698:8;;;;:::i;:::-;;-1:-1:-1;13721:10:0;;-1:-1:-1;13729:2:0;13721:10;;:::i;:::-;;;13665:78;;;13753:19;13785:6;13775:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13775:17:0;;13753:39;;13803:154;13810:10;;13803:154;;13837:11;13847:1;13837:11;;:::i;:::-;;-1:-1:-1;13906:10:0;13914:2;13906:5;:10;:::i;:::-;13893:24;;:2;:24;:::i;:::-;13880:39;;13863:6;13870;13863:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;13863:56:0;;;;;;;;-1:-1:-1;13934:11:0;13943:2;13934:11;;:::i;:::-;;;13803:154;;28940:163;29063:32;29069:2;29073:8;29083:5;29090:4;29501:20;29524:13;-1:-1:-1;;;;;29552:16:0;;29548:48;;29577:19;;-1:-1:-1;;;29577:19:0;;;;;;;;;;;29548:48;29611:8;29623:1;29611:13;29607:44;;29633:18;;-1:-1:-1;;;29633:18:0;;;;;;;;;;;29607:44;-1:-1:-1;;;;;30002:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;30061:49:0;;30002:44;;;;;;;;30061:49;;;;-1:-1:-1;;30002:44:0;;;;;;30061:49;;;;;;;;;;;;;;;;30127:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;30177:66:0;;;;-1:-1:-1;;;30227:15:0;30177:66;;;;;;;;;;30127:25;30324:23;;;30368:4;:23;;;;-1:-1:-1;;;;;;30376:13:0;;8953:19;:23;;30376:15;30364:832;;;30412:505;30443:38;;30468:12;;-1:-1:-1;;;;;30443:38:0;;;30460:1;;30443:38;;30460:1;;30443:38;30535:212;30604:1;30637:2;30670:14;;;;;;30715:5;30535:30;:212::i;:::-;30504:365;;30805:40;;-1:-1:-1;;;30805:40:0;;;;;;;;;;;30504:365;30912:3;30896:12;:19;30412:505;;30998:12;30981:13;;:29;30977:43;;31012:8;;;30977:43;30364:832;;;31061:120;31092:40;;31117:14;;;;;-1:-1:-1;;;;;31092:40:0;;;31109:1;;31092:40;;31109:1;;31092:40;31176:3;31160:12;:19;31061:120;;30364:832;-1:-1:-1;31210:13:0;:28;31260:60;27040:188;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:118::-;678:5;671:13;664:21;657:5;654:32;644:60;;700:1;697;690:12;715:241;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;879:9;866:23;898:28;920:5;898:28;:::i;961:250::-;1046:1;1056:113;1070:6;1067:1;1064:13;1056:113;;;1146:11;;;1140:18;1127:11;;;1120:39;1092:2;1085:10;1056:113;;;-1:-1:-1;;1203:1:1;1185:16;;1178:27;961:250::o;1216:271::-;1258:3;1296:5;1290:12;1323:6;1318:3;1311:19;1339:76;1408:6;1401:4;1396:3;1392:14;1385:4;1378:5;1374:16;1339:76;:::i;:::-;1469:2;1448:15;-1:-1:-1;;1444:29:1;1435:39;;;;1476:4;1431:50;;1216:271;-1:-1:-1;;1216:271:1:o;1492:220::-;1641:2;1630:9;1623:21;1604:4;1661:45;1702:2;1691:9;1687:18;1679:6;1661:45;:::i;1717:180::-;1776:6;1829:2;1817:9;1808:7;1804:23;1800:32;1797:52;;;1845:1;1842;1835:12;1797:52;-1:-1:-1;1868:23:1;;1717:180;-1:-1:-1;1717:180:1:o;2110:131::-;-1:-1:-1;;;;;2185:31:1;;2175:42;;2165:70;;2231:1;2228;2221:12;2246:315;2314:6;2322;2375:2;2363:9;2354:7;2350:23;2346:32;2343:52;;;2391:1;2388;2381:12;2343:52;2430:9;2417:23;2449:31;2474:5;2449:31;:::i;:::-;2499:5;2551:2;2536:18;;;;2523:32;;-1:-1:-1;;;2246:315:1:o;2748:456::-;2825:6;2833;2841;2894:2;2882:9;2873:7;2869:23;2865:32;2862:52;;;2910:1;2907;2900:12;2862:52;2949:9;2936:23;2968:31;2993:5;2968:31;:::i;:::-;3018:5;-1:-1:-1;3075:2:1;3060:18;;3047:32;3088:33;3047:32;3088:33;:::i;:::-;2748:456;;3140:7;;-1:-1:-1;;;3194:2:1;3179:18;;;;3166:32;;2748:456::o;3209:127::-;3270:10;3265:3;3261:20;3258:1;3251:31;3301:4;3298:1;3291:15;3325:4;3322:1;3315:15;3341:632;3406:5;3436:18;3477:2;3469:6;3466:14;3463:40;;;3483:18;;:::i;:::-;3558:2;3552:9;3526:2;3612:15;;-1:-1:-1;;3608:24:1;;;3634:2;3604:33;3600:42;3588:55;;;3658:18;;;3678:22;;;3655:46;3652:72;;;3704:18;;:::i;:::-;3744:10;3740:2;3733:22;3773:6;3764:15;;3803:6;3795;3788:22;3843:3;3834:6;3829:3;3825:16;3822:25;3819:45;;;3860:1;3857;3850:12;3819:45;3910:6;3905:3;3898:4;3890:6;3886:17;3873:44;3965:1;3958:4;3949:6;3941;3937:19;3933:30;3926:41;;;;3341:632;;;;;:::o;3978:451::-;4047:6;4100:2;4088:9;4079:7;4075:23;4071:32;4068:52;;;4116:1;4113;4106:12;4068:52;4156:9;4143:23;4189:18;4181:6;4178:30;4175:50;;;4221:1;4218;4211:12;4175:50;4244:22;;4297:4;4289:13;;4285:27;-1:-1:-1;4275:55:1;;4326:1;4323;4316:12;4275:55;4349:74;4415:7;4410:2;4397:16;4392:2;4388;4384:11;4349:74;:::i;4434:247::-;4493:6;4546:2;4534:9;4525:7;4521:23;4517:32;4514:52;;;4562:1;4559;4552:12;4514:52;4601:9;4588:23;4620:31;4645:5;4620:31;:::i;4686:382::-;4751:6;4759;4812:2;4800:9;4791:7;4787:23;4783:32;4780:52;;;4828:1;4825;4818:12;4780:52;4867:9;4854:23;4886:31;4911:5;4886:31;:::i;:::-;4936:5;-1:-1:-1;4993:2:1;4978:18;;4965:32;5006:30;4965:32;5006:30;:::i;:::-;5055:7;5045:17;;;4686:382;;;;;:::o;5073:795::-;5168:6;5176;5184;5192;5245:3;5233:9;5224:7;5220:23;5216:33;5213:53;;;5262:1;5259;5252:12;5213:53;5301:9;5288:23;5320:31;5345:5;5320:31;:::i;:::-;5370:5;-1:-1:-1;5427:2:1;5412:18;;5399:32;5440:33;5399:32;5440:33;:::i;:::-;5492:7;-1:-1:-1;5546:2:1;5531:18;;5518:32;;-1:-1:-1;5601:2:1;5586:18;;5573:32;5628:18;5617:30;;5614:50;;;5660:1;5657;5650:12;5614:50;5683:22;;5736:4;5728:13;;5724:27;-1:-1:-1;5714:55:1;;5765:1;5762;5755:12;5714:55;5788:74;5854:7;5849:2;5836:16;5831:2;5827;5823:11;5788:74;:::i;:::-;5778:84;;;5073:795;;;;;;;:::o;5873:388::-;5941:6;5949;6002:2;5990:9;5981:7;5977:23;5973:32;5970:52;;;6018:1;6015;6008:12;5970:52;6057:9;6044:23;6076:31;6101:5;6076:31;:::i;:::-;6126:5;-1:-1:-1;6183:2:1;6168:18;;6155:32;6196:33;6155:32;6196:33;:::i;6266:356::-;6468:2;6450:21;;;6487:18;;;6480:30;6546:34;6541:2;6526:18;;6519:62;6613:2;6598:18;;6266:356::o;6627:380::-;6706:1;6702:12;;;;6749;;;6770:61;;6824:4;6816:6;6812:17;6802:27;;6770:61;6877:2;6869:6;6866:14;6846:18;6843:38;6840:161;;6923:10;6918:3;6914:20;6911:1;6904:31;6958:4;6955:1;6948:15;6986:4;6983:1;6976:15;6840:161;;6627:380;;;:::o;7321:245::-;7388:6;7441:2;7429:9;7420:7;7416:23;7412:32;7409:52;;;7457:1;7454;7447:12;7409:52;7489:9;7483:16;7508:28;7530:5;7508:28;:::i;7697:545::-;7799:2;7794:3;7791:11;7788:448;;;7835:1;7860:5;7856:2;7849:17;7905:4;7901:2;7891:19;7975:2;7963:10;7959:19;7956:1;7952:27;7946:4;7942:38;8011:4;7999:10;7996:20;7993:47;;;-1:-1:-1;8034:4:1;7993:47;8089:2;8084:3;8080:12;8077:1;8073:20;8067:4;8063:31;8053:41;;8144:82;8162:2;8155:5;8152:13;8144:82;;;8207:17;;;8188:1;8177:13;8144:82;;;8148:3;;;7697:545;;;:::o;8418:1352::-;8544:3;8538:10;8571:18;8563:6;8560:30;8557:56;;;8593:18;;:::i;:::-;8622:97;8712:6;8672:38;8704:4;8698:11;8672:38;:::i;:::-;8666:4;8622:97;:::i;:::-;8774:4;;8838:2;8827:14;;8855:1;8850:663;;;;9557:1;9574:6;9571:89;;;-1:-1:-1;9626:19:1;;;9620:26;9571:89;-1:-1:-1;;8375:1:1;8371:11;;;8367:24;8363:29;8353:40;8399:1;8395:11;;;8350:57;9673:81;;8820:944;;8850:663;7644:1;7637:14;;;7681:4;7668:18;;-1:-1:-1;;8886:20:1;;;9004:236;9018:7;9015:1;9012:14;9004:236;;;9107:19;;;9101:26;9086:42;;9199:27;;;;9167:1;9155:14;;;;9034:19;;9004:236;;;9008:3;9268:6;9259:7;9256:19;9253:201;;;9329:19;;;9323:26;-1:-1:-1;;9412:1:1;9408:14;;;9424:3;9404:24;9400:37;9396:42;9381:58;9366:74;;9253:201;-1:-1:-1;;;;;9500:1:1;9484:14;;;9480:22;9467:36;;-1:-1:-1;8418:1352:1:o;9775:127::-;9836:10;9831:3;9827:20;9824:1;9817:31;9867:4;9864:1;9857:15;9891:4;9888:1;9881:15;9907:125;9972:9;;;9993:10;;;9990:36;;;10006:18;;:::i;11053:168::-;11126:9;;;11157;;11174:15;;;11168:22;;11154:37;11144:71;;11195:18;;:::i;12476:722::-;12526:3;12567:5;12561:12;12596:36;12622:9;12596:36;:::i;:::-;12651:1;12668:18;;;12695:133;;;;12842:1;12837:355;;;;12661:531;;12695:133;-1:-1:-1;;12728:24:1;;12716:37;;12801:14;;12794:22;12782:35;;12773:45;;;-1:-1:-1;12695:133:1;;12837:355;12868:5;12865:1;12858:16;12897:4;12942:2;12939:1;12929:16;12967:1;12981:165;12995:6;12992:1;12989:13;12981:165;;;13073:14;;13060:11;;;13053:35;13116:16;;;;13010:10;;12981:165;;;12985:3;;;13175:6;13170:3;13166:16;13159:23;;12661:531;;;;;12476:722;;;;:::o;13203:469::-;13424:3;13452:38;13486:3;13478:6;13452:38;:::i;:::-;13519:6;13513:13;13535:65;13593:6;13589:2;13582:4;13574:6;13570:17;13535:65;:::i;:::-;13616:50;13658:6;13654:2;13650:15;13642:6;13616:50;:::i;:::-;13609:57;13203:469;-1:-1:-1;;;;;;;13203:469:1:o;13677:280::-;13776:6;13829:2;13817:9;13808:7;13804:23;13800:32;13797:52;;;13845:1;13842;13835:12;13797:52;13877:9;13871:16;13896:31;13921:5;13896:31;:::i;14369:489::-;-1:-1:-1;;;;;14638:15:1;;;14620:34;;14690:15;;14685:2;14670:18;;14663:43;14737:2;14722:18;;14715:34;;;14785:3;14780:2;14765:18;;14758:31;;;14563:4;;14806:46;;14832:19;;14824:6;14806:46;:::i;:::-;14798:54;14369:489;-1:-1:-1;;;;;;14369:489:1:o;14863:249::-;14932:6;14985:2;14973:9;14964:7;14960:23;14956:32;14953:52;;;15001:1;14998;14991:12;14953:52;15033:9;15027:16;15052:30;15076:5;15052:30;:::i;15117:135::-;15156:3;15177:17;;;15174:43;;15197:18;;:::i;:::-;-1:-1:-1;15244:1:1;15233:13;;15117:135::o;15257:127::-;15318:10;15313:3;15309:20;15306:1;15299:31;15349:4;15346:1;15339:15;15373:4;15370:1;15363:15;15389:120;15429:1;15455;15445:35;;15460:18;;:::i;:::-;-1:-1:-1;15494:9:1;;15389:120::o;15514:128::-;15581:9;;;15602:11;;;15599:37;;;15616:18;;:::i;15647:112::-;15679:1;15705;15695:35;;15710:18;;:::i;:::-;-1:-1:-1;15744:9:1;;15647:112::o;15764:127::-;15825:10;15820:3;15816:20;15813:1;15806:31;15856:4;15853:1;15846:15;15880:4;15877:1;15870:15
Swarm Source
ipfs://cea8e0e8e3b6002f122063fead4b908fec8f35e82d8a20462fad4f0995b1424a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.