Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
865 sqrlz
Holders
210
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 sqrlzLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
tree_squirrelz
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-05 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); 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 and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { 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; } // Compiler will pack the following // _currentIndex and _burnCounter into a single 256bit word. // The tokenId of the next token to be minted. uint128 internal _currentIndex; // The number of tokens burned. uint128 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_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex times unchecked { return _currentIndex - _burnCounter; } } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert TokenIndexOutOfBounds(); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @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 || interfaceId == type(IERC721Enumerable).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); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * 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 (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 virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (!_checkOnERC721Received(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 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 > 3.4e38 (2**128) - 1 // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 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; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } _currentIndex = uint128(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**128. 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**128. 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 address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @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 tree_squirrelz is ERC721A, Ownable { uint256 MAX_MINTS = 20; uint256 MAX_SUPPLY = 3500; uint256 public mintRate = 0.025 ether; bool public claimIsActive = false; bool public saleIsActive = false; mapping(uint => bool) public owlzMap; address public constant BARNOWLZ = 0x2a281305a50627a22eC3e7d82aE656AdFee6D964; string public baseURI = ""; constructor() ERC721A("Tree Squirrelz", "sqrlz") {} function mint(uint256 quantity) external payable { // _safeMint's second argument now takes in a quantity, not a tokenId. require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left"); require(quantity <= MAX_MINTS, "You can't mint more than 20 in one transaction"); require(msg.value >= (mintRate * quantity), "Not enough ether sent"); require(saleIsActive, "Public mint period not active"); _safeMint(msg.sender, quantity); } function claimCheck(address user) view public returns (bool) { uint256 numtokens = IERC721Enumerable(BARNOWLZ).balanceOf(user); for (uint256 i = 0; i < numtokens; i++) { uint256 tokenId = IERC721Enumerable(BARNOWLZ).tokenOfOwnerByIndex(user, i); if(owlzMap[tokenId] == false) { return true; } } return false; } function freeClaim(uint numberOfTokens) public payable { require(claimIsActive, "Claim has not started yet"); require(numberOfTokens <= MAX_MINTS, "You can't claim more than 20 in one transaction"); require(numberOfTokens > 0, "You can't claim 0 squirrelz"); require(claimCheck(msg.sender) == true, "You don't own any owlz eligible for a free claim"); uint256 j = 0; uint256 maxClaimable = IERC721Enumerable(BARNOWLZ).balanceOf(msg.sender); for (uint256 i = 0; i < maxClaimable; i++) { uint256 tokenId = IERC721Enumerable(BARNOWLZ).tokenOfOwnerByIndex(msg.sender, i); if (owlzMap[tokenId] != true && totalSupply() < MAX_SUPPLY) { owlzMap[tokenId] = true; j++; } if (j == numberOfTokens || j == maxClaimable) { _safeMint(msg.sender, j); break; } } } function withdraw() external payable onlyOwner { payable(owner()).transfer(address(this).balance); } function _baseURI() internal view override returns (string memory) { return baseURI; } function setMintRate(uint256 _mintRate) public onlyOwner { mintRate = _mintRate; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function flipClaimState() public onlyOwner { claimIsActive = !claimIsActive; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":[],"name":"BARNOWLZ","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"claimCheck","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"freeClaim","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRate","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":"uint256","name":"","type":"uint256"}],"name":"owlzMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintRate","type":"uint256"}],"name":"setMintRate","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6014600855610dac6009556658d15e17628000600a55600b805461ffff1916905560a06040819052600060808190526200003c91600d916200012d565b503480156200004a57600080fd5b50604080518082018252600e81526d2a3932b29029b8bab4b93932b63d60911b60208083019182528351808501909452600584526439b8b9363d60d91b9084015281519192916200009e916001916200012d565b508051620000b49060029060208401906200012d565b505050620000d1620000cb620000d760201b60201c565b620000db565b62000210565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013b90620001d3565b90600052602060002090601f0160209004810192826200015f5760008555620001aa565b82601f106200017a57805160ff1916838001178555620001aa565b82800160010185558215620001aa579182015b82811115620001aa5782518255916020019190600101906200018d565b50620001b8929150620001bc565b5090565b5b80821115620001b85760008155600101620001bd565b600181811c90821680620001e857607f821691505b602082108114156200020a57634e487b7160e01b600052602260045260246000fd5b50919050565b61221780620002206000396000f3fe6080604052600436106101ee5760003560e01c806370a082311161010d578063b88d4fde116100a0578063d1281ec41161006f578063d1281ec414610544578063dbe2193f14610564578063e985e9c514610584578063eb8d2444146105cd578063f2fde38b146105ec57600080fd5b8063b88d4fde146104c6578063c58be312146104e6578063c87b56dd1461050e578063ca0dcf161461052e57600080fd5b806395d89b41116100dc57806395d89b411461046b578063a0712d6814610480578063a22cb46514610493578063a74af87a146104b357600080fd5b806370a08231146103e8578063715018a614610408578063737d64601461041d5780638da5cb5b1461044d57600080fd5b80633ccfd60b1161018557806355f804b31161015457806355f804b31461037e5780636352211e1461039e5780636c0360eb146103be5780636d60e6c1146103d357600080fd5b80633ccfd60b1461031c57806342842e0e146103245780634f6ccce7146103445780635303f68c1461036457600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c75780632f745c59146102e757806334918dfd1461030757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f03565b61060c565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610679565b60405161021f9190612049565b34801561025657600080fd5b5061026a610265366004611f81565b61070b565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611eda565b61074f565b005b3480156102b057600080fd5b506102b96107dd565b60405190815260200161021f565b3480156102d357600080fd5b506102a26102e2366004611dec565b6107fc565b3480156102f357600080fd5b506102b9610302366004611eda565b610807565b34801561031357600080fd5b506102a2610904565b6102a2610954565b34801561033057600080fd5b506102a261033f366004611dec565b6109ba565b34801561035057600080fd5b506102b961035f366004611f81565b6109d5565b34801561037057600080fd5b50600b546102139060ff1681565b34801561038a57600080fd5b506102a2610399366004611f3b565b610a80565b3480156103aa57600080fd5b5061026a6103b9366004611f81565b610ac1565b3480156103ca57600080fd5b5061023d610ad3565b3480156103df57600080fd5b506102a2610b61565b3480156103f457600080fd5b506102b9610403366004611da0565b610b9f565b34801561041457600080fd5b506102a2610bee565b34801561042957600080fd5b50610213610438366004611f81565b600c6020526000908152604090205460ff1681565b34801561045957600080fd5b506007546001600160a01b031661026a565b34801561047757600080fd5b5061023d610c24565b6102a261048e366004611f81565b610c33565b34801561049f57600080fd5b506102a26104ae366004611ea0565b610daf565b6102a26104c1366004611f81565b610e45565b3480156104d257600080fd5b506102a26104e1366004611e27565b61117a565b3480156104f257600080fd5b5061026a732a281305a50627a22ec3e7d82ae656adfee6d96481565b34801561051a57600080fd5b5061023d610529366004611f81565b6111ae565b34801561053a57600080fd5b506102b9600a5481565b34801561055057600080fd5b5061021361055f366004611da0565b611233565b34801561057057600080fd5b506102a261057f366004611f81565b6113a6565b34801561059057600080fd5b5061021361059f366004611dba565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105d957600080fd5b50600b5461021390610100900460ff1681565b3480156105f857600080fd5b506102a2610607366004611da0565b6113d5565b60006001600160e01b031982166380ac58cd60e01b148061063d57506001600160e01b03198216635b5e139f60e01b145b8061065857506001600160e01b0319821663780e9d6360e01b145b8061067357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546106889061211f565b80601f01602080910402602001604051908101604052809291908181526020018280546106b49061211f565b80156107015780601f106106d657610100808354040283529160200191610701565b820191906000526020600020905b8154815290600101906020018083116106e457829003601f168201915b5050505050905090565b60006107168261146d565b610733576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061075a82610ac1565b9050806001600160a01b0316836001600160a01b0316141561078f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107af57506107ad813361059f565b155b156107cd576040516367d9dca160e11b815260040160405180910390fd5b6107d88383836114a1565b505050565b6000546001600160801b03600160801b82048116918116919091031690565b6107d88383836114fd565b600061081283610b9f565b8210610831576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b838110156108fe57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906108aa57506108f6565b80516001600160a01b0316156108bf57805192505b876001600160a01b0316836001600160a01b031614156108f457868414156108ed5750935061067392505050565b6001909301925b505b600101610842565b50600080fd5b6007546001600160a01b031633146109375760405162461bcd60e51b815260040161092e9061205c565b60405180910390fd5b600b805461ff001981166101009182900460ff1615909102179055565b6007546001600160a01b0316331461097e5760405162461bcd60e51b815260040161092e9061205c565b6007546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156109b7573d6000803e3d6000fd5b50565b6107d88383836040518060200160405280600081525061117a565b600080546001600160801b031681805b82811015610a6657600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610a5d5785831415610a565750949350505050565b6001909201915b506001016109e5565b506040516329c8c00760e21b815260040160405180910390fd5b6007546001600160a01b03163314610aaa5760405162461bcd60e51b815260040161092e9061205c565b8051610abd90600d906020840190611c75565b5050565b6000610acc8261171c565b5192915050565b600d8054610ae09061211f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0c9061211f565b8015610b595780601f10610b2e57610100808354040283529160200191610b59565b820191906000526020600020905b815481529060010190602001808311610b3c57829003601f168201915b505050505081565b6007546001600160a01b03163314610b8b5760405162461bcd60e51b815260040161092e9061205c565b600b805460ff19811660ff90911615179055565b60006001600160a01b038216610bc8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b6007546001600160a01b03163314610c185760405162461bcd60e51b815260040161092e9061205c565b610c226000611840565b565b6060600280546106889061211f565b60095481610c3f6107dd565b610c499190612091565b1115610c905760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161092e565b600854811115610cf95760405162461bcd60e51b815260206004820152602e60248201527f596f752063616e2774206d696e74206d6f7265207468616e20323020696e206f60448201526d3732903a3930b739b0b1ba34b7b760911b606482015260840161092e565b80600a54610d0791906120bd565b341015610d4e5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604482015260640161092e565b600b54610100900460ff16610da55760405162461bcd60e51b815260206004820152601d60248201527f5075626c6963206d696e7420706572696f64206e6f7420616374697665000000604482015260640161092e565b6109b73382611892565b6001600160a01b038216331415610dd95760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b5460ff16610e975760405162461bcd60e51b815260206004820152601960248201527f436c61696d20686173206e6f7420737461727465642079657400000000000000604482015260640161092e565b600854811115610f015760405162461bcd60e51b815260206004820152602f60248201527f596f752063616e277420636c61696d206d6f7265207468616e20323020696e2060448201526e37b732903a3930b739b0b1ba34b7b760891b606482015260840161092e565b60008111610f515760405162461bcd60e51b815260206004820152601b60248201527f596f752063616e277420636c61696d203020737175697272656c7a0000000000604482015260640161092e565b610f5a33611233565b1515600114610fc45760405162461bcd60e51b815260206004820152603060248201527f596f7520646f6e2774206f776e20616e79206f776c7a20656c696769626c652060448201526f666f722061206672656520636c61696d60801b606482015260840161092e565b6040516370a0823160e01b81523360048201526000908190732a281305a50627a22ec3e7d82ae656adfee6d964906370a082319060240160206040518083038186803b15801561101357600080fd5b505afa158015611027573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104b9190611f99565b905060005b8181101561117457604051632f745c5960e01b815233600482015260248101829052600090732a281305a50627a22ec3e7d82ae656adfee6d96490632f745c599060440160206040518083038186803b1580156110ac57600080fd5b505afa1580156110c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e49190611f99565b6000818152600c602052604090205490915060ff16151560011480159061111357506009546111116107dd565b105b1561113f576000818152600c60205260409020805460ff191660011790558361113b8161215a565b9450505b8484148061114c57508284145b156111615761115b3385611892565b50611174565b508061116c8161215a565b915050611050565b50505050565b6111858484846114fd565b611191848484846118ac565b611174576040516368d2bf6b60e11b815260040160405180910390fd5b60606111b98261146d565b6111d657604051630a14c4b560e41b815260040160405180910390fd5b60006111e06119bb565b9050805160001415611201576040518060200160405280600081525061122c565b8061120b846119ca565b60405160200161121c929190611fdd565b6040516020818303038152906040525b9392505050565b6040516370a0823160e01b81526001600160a01b03821660048201526000908190732a281305a50627a22ec3e7d82ae656adfee6d964906370a082319060240160206040518083038186803b15801561128b57600080fd5b505afa15801561129f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c39190611f99565b905060005b8181101561139c57604051632f745c5960e01b81526001600160a01b038516600482015260248101829052600090732a281305a50627a22ec3e7d82ae656adfee6d96490632f745c599060440160206040518083038186803b15801561132d57600080fd5b505afa158015611341573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113659190611f99565b6000818152600c602052604090205490915060ff1661138957506001949350505050565b50806113948161215a565b9150506112c8565b5060009392505050565b6007546001600160a01b031633146113d05760405162461bcd60e51b815260040161092e9061205c565b600a55565b6007546001600160a01b031633146113ff5760405162461bcd60e51b815260040161092e9061205c565b6001600160a01b0381166114645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092e565b6109b781611840565b600080546001600160801b031682108015610673575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006115088261171c565b80519091506000906001600160a01b0316336001600160a01b0316148061153657508151611536903361059f565b806115515750336115468461070b565b6001600160a01b0316145b90508061157157604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146115a65760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166115cd57604051633a954ecd60e21b815260040160405180910390fd5b6115dd60008484600001516114a1565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166116d2576000546001600160801b03168110156116d2578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906001600160801b031681101561182757600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118255780516001600160a01b0316156117bb579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611820579392505050565b6117bb565b505b604051636f96cda160e11b815260040160405180910390fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610abd828260405180602001604052806000815250611ae4565b60006001600160a01b0384163b156119af57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118f090339089908890889060040161200c565b602060405180830381600087803b15801561190a57600080fd5b505af192505050801561193a575060408051601f3d908101601f1916820190925261193791810190611f1f565b60015b611995573d808015611968576040519150601f19603f3d011682016040523d82523d6000602084013e61196d565b606091505b50805161198d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119b3565b5060015b949350505050565b6060600d80546106889061211f565b6060816119ee5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a185780611a028161215a565b9150611a119050600a836120a9565b91506119f2565b60008167ffffffffffffffff811115611a4157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a6b576020820181803683370190505b5090505b84156119b357611a806001836120dc565b9150611a8d600a86612175565b611a98906030612091565b60f81b818381518110611abb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611add600a866120a9565b9450611a6f565b6107d883838360016000546001600160801b03166001600160a01b038516611b1e57604051622e076360e81b815260040160405180910390fd5b83611b3c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b0319811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611c4f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611c255750611c2360008884886118ac565b155b15611c43576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611bce565b50600080546001600160801b0319166001600160801b0392909216919091179055611715565b828054611c819061211f565b90600052602060002090601f016020900481019282611ca35760008555611ce9565b82601f10611cbc57805160ff1916838001178555611ce9565b82800160010185558215611ce9579182015b82811115611ce9578251825591602001919060010190611cce565b50611cf5929150611cf9565b5090565b5b80821115611cf55760008155600101611cfa565b600067ffffffffffffffff80841115611d2957611d296121b5565b604051601f8501601f19908116603f01168101908282118183101715611d5157611d516121b5565b81604052809350858152868686011115611d6a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d9b57600080fd5b919050565b600060208284031215611db1578081fd5b61122c82611d84565b60008060408385031215611dcc578081fd5b611dd583611d84565b9150611de360208401611d84565b90509250929050565b600080600060608486031215611e00578081fd5b611e0984611d84565b9250611e1760208501611d84565b9150604084013590509250925092565b60008060008060808587031215611e3c578081fd5b611e4585611d84565b9350611e5360208601611d84565b925060408501359150606085013567ffffffffffffffff811115611e75578182fd5b8501601f81018713611e85578182fd5b611e9487823560208401611d0e565b91505092959194509250565b60008060408385031215611eb2578182fd5b611ebb83611d84565b915060208301358015158114611ecf578182fd5b809150509250929050565b60008060408385031215611eec578182fd5b611ef583611d84565b946020939093013593505050565b600060208284031215611f14578081fd5b813561122c816121cb565b600060208284031215611f30578081fd5b815161122c816121cb565b600060208284031215611f4c578081fd5b813567ffffffffffffffff811115611f62578182fd5b8201601f81018413611f72578182fd5b6119b384823560208401611d0e565b600060208284031215611f92578081fd5b5035919050565b600060208284031215611faa578081fd5b5051919050565b60008151808452611fc98160208601602086016120f3565b601f01601f19169290920160200192915050565b60008351611fef8184602088016120f3565b8351908301906120038183602088016120f3565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203f90830184611fb1565b9695505050505050565b60208152600061122c6020830184611fb1565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156120a4576120a4612189565b500190565b6000826120b8576120b861219f565b500490565b60008160001904831182151516156120d7576120d7612189565b500290565b6000828210156120ee576120ee612189565b500390565b60005b8381101561210e5781810151838201526020016120f6565b838111156111745750506000910152565b600181811c9082168061213357607f821691505b6020821081141561215457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561216e5761216e612189565b5060010190565b6000826121845761218461219f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109b757600080fdfea26469706673582212205bc6fe0e834bd932c4e57686ca40380ed60d861aeee5c46e5c2582a6896be21664736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806370a082311161010d578063b88d4fde116100a0578063d1281ec41161006f578063d1281ec414610544578063dbe2193f14610564578063e985e9c514610584578063eb8d2444146105cd578063f2fde38b146105ec57600080fd5b8063b88d4fde146104c6578063c58be312146104e6578063c87b56dd1461050e578063ca0dcf161461052e57600080fd5b806395d89b41116100dc57806395d89b411461046b578063a0712d6814610480578063a22cb46514610493578063a74af87a146104b357600080fd5b806370a08231146103e8578063715018a614610408578063737d64601461041d5780638da5cb5b1461044d57600080fd5b80633ccfd60b1161018557806355f804b31161015457806355f804b31461037e5780636352211e1461039e5780636c0360eb146103be5780636d60e6c1146103d357600080fd5b80633ccfd60b1461031c57806342842e0e146103245780634f6ccce7146103445780635303f68c1461036457600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c75780632f745c59146102e757806334918dfd1461030757600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611f03565b61060c565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d610679565b60405161021f9190612049565b34801561025657600080fd5b5061026a610265366004611f81565b61070b565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d366004611eda565b61074f565b005b3480156102b057600080fd5b506102b96107dd565b60405190815260200161021f565b3480156102d357600080fd5b506102a26102e2366004611dec565b6107fc565b3480156102f357600080fd5b506102b9610302366004611eda565b610807565b34801561031357600080fd5b506102a2610904565b6102a2610954565b34801561033057600080fd5b506102a261033f366004611dec565b6109ba565b34801561035057600080fd5b506102b961035f366004611f81565b6109d5565b34801561037057600080fd5b50600b546102139060ff1681565b34801561038a57600080fd5b506102a2610399366004611f3b565b610a80565b3480156103aa57600080fd5b5061026a6103b9366004611f81565b610ac1565b3480156103ca57600080fd5b5061023d610ad3565b3480156103df57600080fd5b506102a2610b61565b3480156103f457600080fd5b506102b9610403366004611da0565b610b9f565b34801561041457600080fd5b506102a2610bee565b34801561042957600080fd5b50610213610438366004611f81565b600c6020526000908152604090205460ff1681565b34801561045957600080fd5b506007546001600160a01b031661026a565b34801561047757600080fd5b5061023d610c24565b6102a261048e366004611f81565b610c33565b34801561049f57600080fd5b506102a26104ae366004611ea0565b610daf565b6102a26104c1366004611f81565b610e45565b3480156104d257600080fd5b506102a26104e1366004611e27565b61117a565b3480156104f257600080fd5b5061026a732a281305a50627a22ec3e7d82ae656adfee6d96481565b34801561051a57600080fd5b5061023d610529366004611f81565b6111ae565b34801561053a57600080fd5b506102b9600a5481565b34801561055057600080fd5b5061021361055f366004611da0565b611233565b34801561057057600080fd5b506102a261057f366004611f81565b6113a6565b34801561059057600080fd5b5061021361059f366004611dba565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105d957600080fd5b50600b5461021390610100900460ff1681565b3480156105f857600080fd5b506102a2610607366004611da0565b6113d5565b60006001600160e01b031982166380ac58cd60e01b148061063d57506001600160e01b03198216635b5e139f60e01b145b8061065857506001600160e01b0319821663780e9d6360e01b145b8061067357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600180546106889061211f565b80601f01602080910402602001604051908101604052809291908181526020018280546106b49061211f565b80156107015780601f106106d657610100808354040283529160200191610701565b820191906000526020600020905b8154815290600101906020018083116106e457829003601f168201915b5050505050905090565b60006107168261146d565b610733576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061075a82610ac1565b9050806001600160a01b0316836001600160a01b0316141561078f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107af57506107ad813361059f565b155b156107cd576040516367d9dca160e11b815260040160405180910390fd5b6107d88383836114a1565b505050565b6000546001600160801b03600160801b82048116918116919091031690565b6107d88383836114fd565b600061081283610b9f565b8210610831576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b838110156108fe57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906108aa57506108f6565b80516001600160a01b0316156108bf57805192505b876001600160a01b0316836001600160a01b031614156108f457868414156108ed5750935061067392505050565b6001909301925b505b600101610842565b50600080fd5b6007546001600160a01b031633146109375760405162461bcd60e51b815260040161092e9061205c565b60405180910390fd5b600b805461ff001981166101009182900460ff1615909102179055565b6007546001600160a01b0316331461097e5760405162461bcd60e51b815260040161092e9061205c565b6007546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156109b7573d6000803e3d6000fd5b50565b6107d88383836040518060200160405280600081525061117a565b600080546001600160801b031681805b82811015610a6657600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610a5d5785831415610a565750949350505050565b6001909201915b506001016109e5565b506040516329c8c00760e21b815260040160405180910390fd5b6007546001600160a01b03163314610aaa5760405162461bcd60e51b815260040161092e9061205c565b8051610abd90600d906020840190611c75565b5050565b6000610acc8261171c565b5192915050565b600d8054610ae09061211f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0c9061211f565b8015610b595780601f10610b2e57610100808354040283529160200191610b59565b820191906000526020600020905b815481529060010190602001808311610b3c57829003601f168201915b505050505081565b6007546001600160a01b03163314610b8b5760405162461bcd60e51b815260040161092e9061205c565b600b805460ff19811660ff90911615179055565b60006001600160a01b038216610bc8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b6007546001600160a01b03163314610c185760405162461bcd60e51b815260040161092e9061205c565b610c226000611840565b565b6060600280546106889061211f565b60095481610c3f6107dd565b610c499190612091565b1115610c905760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161092e565b600854811115610cf95760405162461bcd60e51b815260206004820152602e60248201527f596f752063616e2774206d696e74206d6f7265207468616e20323020696e206f60448201526d3732903a3930b739b0b1ba34b7b760911b606482015260840161092e565b80600a54610d0791906120bd565b341015610d4e5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604482015260640161092e565b600b54610100900460ff16610da55760405162461bcd60e51b815260206004820152601d60248201527f5075626c6963206d696e7420706572696f64206e6f7420616374697665000000604482015260640161092e565b6109b73382611892565b6001600160a01b038216331415610dd95760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b5460ff16610e975760405162461bcd60e51b815260206004820152601960248201527f436c61696d20686173206e6f7420737461727465642079657400000000000000604482015260640161092e565b600854811115610f015760405162461bcd60e51b815260206004820152602f60248201527f596f752063616e277420636c61696d206d6f7265207468616e20323020696e2060448201526e37b732903a3930b739b0b1ba34b7b760891b606482015260840161092e565b60008111610f515760405162461bcd60e51b815260206004820152601b60248201527f596f752063616e277420636c61696d203020737175697272656c7a0000000000604482015260640161092e565b610f5a33611233565b1515600114610fc45760405162461bcd60e51b815260206004820152603060248201527f596f7520646f6e2774206f776e20616e79206f776c7a20656c696769626c652060448201526f666f722061206672656520636c61696d60801b606482015260840161092e565b6040516370a0823160e01b81523360048201526000908190732a281305a50627a22ec3e7d82ae656adfee6d964906370a082319060240160206040518083038186803b15801561101357600080fd5b505afa158015611027573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104b9190611f99565b905060005b8181101561117457604051632f745c5960e01b815233600482015260248101829052600090732a281305a50627a22ec3e7d82ae656adfee6d96490632f745c599060440160206040518083038186803b1580156110ac57600080fd5b505afa1580156110c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e49190611f99565b6000818152600c602052604090205490915060ff16151560011480159061111357506009546111116107dd565b105b1561113f576000818152600c60205260409020805460ff191660011790558361113b8161215a565b9450505b8484148061114c57508284145b156111615761115b3385611892565b50611174565b508061116c8161215a565b915050611050565b50505050565b6111858484846114fd565b611191848484846118ac565b611174576040516368d2bf6b60e11b815260040160405180910390fd5b60606111b98261146d565b6111d657604051630a14c4b560e41b815260040160405180910390fd5b60006111e06119bb565b9050805160001415611201576040518060200160405280600081525061122c565b8061120b846119ca565b60405160200161121c929190611fdd565b6040516020818303038152906040525b9392505050565b6040516370a0823160e01b81526001600160a01b03821660048201526000908190732a281305a50627a22ec3e7d82ae656adfee6d964906370a082319060240160206040518083038186803b15801561128b57600080fd5b505afa15801561129f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c39190611f99565b905060005b8181101561139c57604051632f745c5960e01b81526001600160a01b038516600482015260248101829052600090732a281305a50627a22ec3e7d82ae656adfee6d96490632f745c599060440160206040518083038186803b15801561132d57600080fd5b505afa158015611341573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113659190611f99565b6000818152600c602052604090205490915060ff1661138957506001949350505050565b50806113948161215a565b9150506112c8565b5060009392505050565b6007546001600160a01b031633146113d05760405162461bcd60e51b815260040161092e9061205c565b600a55565b6007546001600160a01b031633146113ff5760405162461bcd60e51b815260040161092e9061205c565b6001600160a01b0381166114645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092e565b6109b781611840565b600080546001600160801b031682108015610673575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006115088261171c565b80519091506000906001600160a01b0316336001600160a01b0316148061153657508151611536903361059f565b806115515750336115468461070b565b6001600160a01b0316145b90508061157157604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146115a65760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166115cd57604051633a954ecd60e21b815260040160405180910390fd5b6115dd60008484600001516114a1565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166116d2576000546001600160801b03168110156116d2578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906001600160801b031681101561182757600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118255780516001600160a01b0316156117bb579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611820579392505050565b6117bb565b505b604051636f96cda160e11b815260040160405180910390fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610abd828260405180602001604052806000815250611ae4565b60006001600160a01b0384163b156119af57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118f090339089908890889060040161200c565b602060405180830381600087803b15801561190a57600080fd5b505af192505050801561193a575060408051601f3d908101601f1916820190925261193791810190611f1f565b60015b611995573d808015611968576040519150601f19603f3d011682016040523d82523d6000602084013e61196d565b606091505b50805161198d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119b3565b5060015b949350505050565b6060600d80546106889061211f565b6060816119ee5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a185780611a028161215a565b9150611a119050600a836120a9565b91506119f2565b60008167ffffffffffffffff811115611a4157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a6b576020820181803683370190505b5090505b84156119b357611a806001836120dc565b9150611a8d600a86612175565b611a98906030612091565b60f81b818381518110611abb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611add600a866120a9565b9450611a6f565b6107d883838360016000546001600160801b03166001600160a01b038516611b1e57604051622e076360e81b815260040160405180910390fd5b83611b3c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b0319811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611c4f5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611c255750611c2360008884886118ac565b155b15611c43576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611bce565b50600080546001600160801b0319166001600160801b0392909216919091179055611715565b828054611c819061211f565b90600052602060002090601f016020900481019282611ca35760008555611ce9565b82601f10611cbc57805160ff1916838001178555611ce9565b82800160010185558215611ce9579182015b82811115611ce9578251825591602001919060010190611cce565b50611cf5929150611cf9565b5090565b5b80821115611cf55760008155600101611cfa565b600067ffffffffffffffff80841115611d2957611d296121b5565b604051601f8501601f19908116603f01168101908282118183101715611d5157611d516121b5565b81604052809350858152868686011115611d6a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d9b57600080fd5b919050565b600060208284031215611db1578081fd5b61122c82611d84565b60008060408385031215611dcc578081fd5b611dd583611d84565b9150611de360208401611d84565b90509250929050565b600080600060608486031215611e00578081fd5b611e0984611d84565b9250611e1760208501611d84565b9150604084013590509250925092565b60008060008060808587031215611e3c578081fd5b611e4585611d84565b9350611e5360208601611d84565b925060408501359150606085013567ffffffffffffffff811115611e75578182fd5b8501601f81018713611e85578182fd5b611e9487823560208401611d0e565b91505092959194509250565b60008060408385031215611eb2578182fd5b611ebb83611d84565b915060208301358015158114611ecf578182fd5b809150509250929050565b60008060408385031215611eec578182fd5b611ef583611d84565b946020939093013593505050565b600060208284031215611f14578081fd5b813561122c816121cb565b600060208284031215611f30578081fd5b815161122c816121cb565b600060208284031215611f4c578081fd5b813567ffffffffffffffff811115611f62578182fd5b8201601f81018413611f72578182fd5b6119b384823560208401611d0e565b600060208284031215611f92578081fd5b5035919050565b600060208284031215611faa578081fd5b5051919050565b60008151808452611fc98160208601602086016120f3565b601f01601f19169290920160200192915050565b60008351611fef8184602088016120f3565b8351908301906120038183602088016120f3565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203f90830184611fb1565b9695505050505050565b60208152600061122c6020830184611fb1565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156120a4576120a4612189565b500190565b6000826120b8576120b861219f565b500490565b60008160001904831182151516156120d7576120d7612189565b500290565b6000828210156120ee576120ee612189565b500390565b60005b8381101561210e5781810151838201526020016120f6565b838111156111745750506000910152565b600181811c9082168061213357607f821691505b6020821081141561215457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561216e5761216e612189565b5060010190565b6000826121845761218461219f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109b757600080fdfea26469706673582212205bc6fe0e834bd932c4e57686ca40380ed60d861aeee5c46e5c2582a6896be21664736f6c63430008040033
Deployed Bytecode Sourcemap
44852:2981:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28390:372;;;;;;;;;;-1:-1:-1;28390:372:0;;;;;:::i;:::-;;:::i;:::-;;;6274:14:1;;6267:22;6249:41;;6237:2;6222:18;28390:372:0;;;;;;;;31000:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32503:204::-;;;;;;;;;;-1:-1:-1;32503:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5293:32:1;;;5275:51;;5263:2;5248:18;32503:204:0;5230:102:1;32066:371:0;;;;;;;;;;-1:-1:-1;32066:371:0;;;;;:::i;:::-;;:::i;:::-;;25627:280;;;;;;;;;;;;;:::i;:::-;;;10456:25:1;;;10444:2;10429:18;25627:280:0;10411:76:1;33360:170:0;;;;;;;;;;-1:-1:-1;33360:170:0;;;;;:::i;:::-;;:::i;27213:1105::-;;;;;;;;;;-1:-1:-1;27213:1105:0;;;;;:::i;:::-;;:::i;47641:89::-;;;;;;;;;;;;;:::i;47211:114::-;;;:::i;33601:185::-;;;;;;;;;;-1:-1:-1;33601:185:0;;;;;:::i;:::-;;:::i;26200:713::-;;;;;;;;;;-1:-1:-1;26200:713:0;;;;;:::i;:::-;;:::i;45008:33::-;;;;;;;;;;-1:-1:-1;45008:33:0;;;;;;;;47545:88;;;;;;;;;;-1:-1:-1;47545:88:0;;;;;:::i;:::-;;:::i;30809:124::-;;;;;;;;;;-1:-1:-1;30809:124:0;;;;;:::i;:::-;;:::i;45218:26::-;;;;;;;;;;;;;:::i;47738:92::-;;;;;;;;;;;;;:::i;28826:206::-;;;;;;;;;;-1:-1:-1;28826:206:0;;;;;:::i;:::-;;:::i;21632:103::-;;;;;;;;;;;;;:::i;45087:36::-;;;;;;;;;;-1:-1:-1;45087:36:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;20981:87;;;;;;;;;;-1:-1:-1;21054:6:0;;-1:-1:-1;;;;;21054:6:0;20981:87;;31169:104;;;;;;;;;;;;;:::i;45312:498::-;;;;;;:::i;:::-;;:::i;32779:279::-;;;;;;;;;;-1:-1:-1;32779:279:0;;;;;:::i;:::-;;:::i;46233:970::-;;;;;;:::i;:::-;;:::i;33857:342::-;;;;;;;;;;-1:-1:-1;33857:342:0;;;;;:::i;:::-;;:::i;45132:77::-;;;;;;;;;;;;45167:42;45132:77;;31344:318;;;;;;;;;;-1:-1:-1;31344:318:0;;;;;:::i;:::-;;:::i;44964:37::-;;;;;;;;;;;;;;;;45818:407;;;;;;;;;;-1:-1:-1;45818:407:0;;;;;:::i;:::-;;:::i;47441:96::-;;;;;;;;;;-1:-1:-1;47441:96:0;;;;;:::i;:::-;;:::i;33129:164::-;;;;;;;;;;-1:-1:-1;33129:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33250:25:0;;;33226:4;33250:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33129:164;45048:32;;;;;;;;;;-1:-1:-1;45048:32:0;;;;;;;;;;;21890:201;;;;;;;;;;-1:-1:-1;21890:201:0;;;;;:::i;:::-;;:::i;28390:372::-;28492:4;-1:-1:-1;;;;;;28529:40:0;;-1:-1:-1;;;28529:40:0;;:105;;-1:-1:-1;;;;;;;28586:48:0;;-1:-1:-1;;;28586:48:0;28529:105;:172;;;-1:-1:-1;;;;;;;28651:50:0;;-1:-1:-1;;;28651:50:0;28529:172;:225;;;-1:-1:-1;;;;;;;;;;13704:40:0;;;28718:36;28509:245;28390:372;-1:-1:-1;;28390:372:0:o;31000:100::-;31054:13;31087:5;31080:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31000:100;:::o;32503:204::-;32571:7;32596:16;32604:7;32596;:16::i;:::-;32591:64;;32621:34;;-1:-1:-1;;;32621:34:0;;;;;;;;;;;32591:64;-1:-1:-1;32675:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32675:24:0;;32503:204::o;32066:371::-;32139:13;32155:24;32171:7;32155:15;:24::i;:::-;32139:40;;32200:5;-1:-1:-1;;;;;32194:11:0;:2;-1:-1:-1;;;;;32194:11:0;;32190:48;;;32214:24;;-1:-1:-1;;;32214:24:0;;;;;;;;;;;32190:48;9947:10;-1:-1:-1;;;;;32255:21:0;;;;;;:63;;-1:-1:-1;32281:37:0;32298:5;9947:10;33129:164;:::i;32281:37::-;32280:38;32255:63;32251:138;;;32342:35;;-1:-1:-1;;;32342:35:0;;;;;;;;;;;32251:138;32401:28;32410:2;32414:7;32423:5;32401:8;:28::i;:::-;32066:371;;;:::o;25627:280::-;25680:7;25872:12;-1:-1:-1;;;;;;;;25872:12:0;;;;25856:13;;;:28;;;;25849:35;;25627:280::o;33360:170::-;33494:28;33504:4;33510:2;33514:7;33494:9;:28::i;27213:1105::-;27302:7;27335:16;27345:5;27335:9;:16::i;:::-;27326:5;:25;27322:61;;27360:23;;-1:-1:-1;;;27360:23:0;;;;;;;;;;;27322:61;27394:22;27419:13;;-1:-1:-1;;;;;27419:13:0;;27394:22;;27669:557;27689:14;27685:1;:18;27669:557;;;27729:31;27763:14;;;:11;:14;;;;;;;;;27729:48;;;;;;;;;-1:-1:-1;;;;;27729:48:0;;;;-1:-1:-1;;;27729:48:0;;;;;;;;;;;-1:-1:-1;;;27729:48:0;;;;;;;;;;;;;;;;27796:73;;27841:8;;;27796:73;27891:14;;-1:-1:-1;;;;;27891:28:0;;27887:111;;27964:14;;;-1:-1:-1;27887:111:0;28041:5;-1:-1:-1;;;;;28020:26:0;:17;-1:-1:-1;;;;;28020:26:0;;28016:195;;;28090:5;28075:11;:20;28071:85;;;-1:-1:-1;28131:1:0;-1:-1:-1;28124:8:0;;-1:-1:-1;;;28124:8:0;28071:85;28178:13;;;;;28016:195;27669:557;;27705:3;;27669:557;;;;28302:8;;;47641:89;21054:6;;-1:-1:-1;;;;;21054:6:0;9947:10;21201:23;21193:68;;;;-1:-1:-1;;;21193:68:0;;;;;;;:::i;:::-;;;;;;;;;47710:12:::1;::::0;;-1:-1:-1;;47694:28:0;::::1;47710:12;::::0;;;::::1;;;47709:13;47694:28:::0;;::::1;;::::0;;47641:89::o;47211:114::-;21054:6;;-1:-1:-1;;;;;21054:6:0;9947:10;21201:23;21193:68;;;;-1:-1:-1;;;21193:68:0;;;;;;;:::i;:::-;21054:6;;47269:48:::1;::::0;-1:-1:-1;;;;;21054:6:0;;;;47295:21:::1;47269:48:::0;::::1;;;::::0;::::1;::::0;;;47295:21;21054:6;47269:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;47211:114::o:0;33601:185::-;33739:39;33756:4;33762:2;33766:7;33739:39;;;;;;;;;;;;:16;:39::i;26200:713::-;26267:7;26312:13;;-1:-1:-1;;;;;26312:13:0;26267:7;;26526:328;26546:14;26542:1;:18;26526:328;;;26586:31;26620:14;;;:11;:14;;;;;;;;;26586:48;;;;;;;;;-1:-1:-1;;;;;26586:48:0;;;;-1:-1:-1;;;26586:48:0;;;;;;;;;;;-1:-1:-1;;;26586:48:0;;;;;;;;;;;;;;26653:186;;26718:5;26703:11;:20;26699:85;;;-1:-1:-1;26759:1:0;26200:713;-1:-1:-1;;;;26200:713:0:o;26699:85::-;26806:13;;;;;26653:186;-1:-1:-1;26562:3:0;;26526:328;;;;26882:23;;-1:-1:-1;;;26882:23:0;;;;;;;;;;;47545:88;21054:6;;-1:-1:-1;;;;;21054:6:0;9947:10;21201:23;21193:68;;;;-1:-1:-1;;;21193:68:0;;;;;;;:::i;:::-;47612:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47545:88:::0;:::o;30809:124::-;30873:7;30900:20;30912:7;30900:11;:20::i;:::-;:25;;30809:124;-1:-1:-1;;30809:124:0:o;45218:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47738:92::-;21054:6;;-1:-1:-1;;;;;21054:6:0;9947:10;21201:23;21193:68;;;;-1:-1:-1;;;21193:68:0;;;;;;;:::i;:::-;47809:13:::1;::::0;;-1:-1:-1;;47792:30:0;::::1;47809:13;::::0;;::::1;47808:14;47792:30;::::0;;47738:92::o;28826:206::-;28890:7;-1:-1:-1;;;;;28914:19:0;;28910:60;;28942:28;;-1:-1:-1;;;28942:28:0;;;;;;;;;;;28910:60;-1:-1:-1;;;;;;28996:19:0;;;;;:12;:19;;;;;:27;;;;28826:206::o;21632:103::-;21054:6;;-1:-1:-1;;;;;21054:6:0;9947:10;21201:23;21193:68;;;;-1:-1:-1;;;21193:68:0;;;;;;;:::i;:::-;21697:30:::1;21724:1;21697:18;:30::i;:::-;21632:103::o:0;31169:104::-;31225:13;31258:7;31251:14;;;;;:::i;45312:498::-;45488:10;;45476:8;45460:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;45452:73;;;;-1:-1:-1;;;45452:73:0;;7550:2:1;45452:73:0;;;7532:21:1;7589:2;7569:18;;;7562:30;-1:-1:-1;;;7608:18:1;;;7601:52;7670:18;;45452:73:0;7522:172:1;45452:73:0;45556:9;;45544:8;:21;;45536:80;;;;-1:-1:-1;;;45536:80:0;;8611:2:1;45536:80:0;;;8593:21:1;8650:2;8630:18;;;8623:30;8689:34;8669:18;;;8662:62;-1:-1:-1;;;8740:18:1;;;8733:44;8794:19;;45536:80:0;8583:236:1;45536:80:0;45660:8;45649;;:19;;;;:::i;:::-;45635:9;:34;;45627:68;;;;-1:-1:-1;;;45627:68:0;;9745:2:1;45627:68:0;;;9727:21:1;9784:2;9764:18;;;9757:30;-1:-1:-1;;;9803:18:1;;;9796:51;9864:18;;45627:68:0;9717:171:1;45627:68:0;45714:12;;;;;;;45706:54;;;;-1:-1:-1;;;45706:54:0;;9387:2:1;45706:54:0;;;9369:21:1;9426:2;9406:18;;;9399:30;9465:31;9445:18;;;9438:59;9514:18;;45706:54:0;9359:179:1;45706:54:0;45771:31;45781:10;45793:8;45771:9;:31::i;32779:279::-;-1:-1:-1;;;;;32870:24:0;;9947:10;32870:24;32866:54;;;32903:17;;-1:-1:-1;;;32903:17:0;;;;;;;;;;;32866:54;9947:10;32933:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;32933:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;32933:53:0;;;;;;;;;;33002:48;;6249:41:1;;;32933:42:0;;9947:10;33002:48;;6222:18:1;33002:48:0;;;;;;;32779:279;;:::o;46233:970::-;46307:13;;;;46299:51;;;;-1:-1:-1;;;46299:51:0;;8257:2:1;46299:51:0;;;8239:21:1;8296:2;8276:18;;;8269:30;8335:27;8315:18;;;8308:55;8380:18;;46299:51:0;8229:175:1;46299:51:0;46387:9;;46369:14;:27;;46361:87;;;;-1:-1:-1;;;46361:87:0;;7134:2:1;46361:87:0;;;7116:21:1;7173:2;7153:18;;;7146:30;7212:34;7192:18;;;7185:62;-1:-1:-1;;;7263:18:1;;;7256:45;7318:19;;46361:87:0;7106:237:1;46361:87:0;46484:1;46467:14;:18;46459:58;;;;-1:-1:-1;;;46459:58:0;;7901:2:1;46459:58:0;;;7883:21:1;7940:2;7920:18;;;7913:30;7979:29;7959:18;;;7952:57;8026:18;;46459:58:0;7873:177:1;46459:58:0;46536:22;46547:10;46536;:22::i;:::-;:30;;46562:4;46536:30;46528:91;;;;-1:-1:-1;;;46528:91:0;;10095:2:1;46528:91:0;;;10077:21:1;10134:2;10114:18;;;10107:30;10173:34;10153:18;;;10146:62;-1:-1:-1;;;10224:18:1;;;10217:46;10280:19;;46528:91:0;10067:238:1;46528:91:0;46679:49;;-1:-1:-1;;;46679:49:0;;46717:10;46679:49;;;5275:51:1;46632:9:0;;;;45167:42;;46679:37;;5248:18:1;;46679:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46656:72;;46744:9;46739:447;46763:12;46759:1;:16;46739:447;;;46815:62;;-1:-1:-1;;;46815:62:0;;46863:10;46815:62;;;6004:51:1;6071:18;;;6064:34;;;46797:15:0;;45167:42;;46815:47;;5977:18:1;;46815:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46896:16;;;;:7;:16;;;;;;46797:80;;-1:-1:-1;46896:16:0;;:24;;:16;:24;;;;:54;;;46940:10;;46924:13;:11;:13::i;:::-;:26;46896:54;46892:140;;;46971:16;;;;:7;:16;;;;;:23;;-1:-1:-1;;46971:23:0;46990:4;46971:23;;;47013:3;;;;:::i;:::-;;;;46892:140;47055:14;47050:1;:19;:40;;;;47078:12;47073:1;:17;47050:40;47046:129;;;47111:24;47121:10;47133:1;47111:9;:24::i;:::-;47154:5;;;47046:129;-1:-1:-1;46777:3:0;;;;:::i;:::-;;;;46739:447;;;;46233:970;;;:::o;33857:342::-;34024:28;34034:4;34040:2;34044:7;34024:9;:28::i;:::-;34068:48;34091:4;34097:2;34101:7;34110:5;34068:22;:48::i;:::-;34063:129;;34140:40;;-1:-1:-1;;;34140:40:0;;;;;;;;;;;31344:318;31417:13;31448:16;31456:7;31448;:16::i;:::-;31443:59;;31473:29;;-1:-1:-1;;;31473:29:0;;;;;;;;;;;31443:59;31515:21;31539:10;:8;:10::i;:::-;31515:34;;31573:7;31567:21;31592:1;31567:26;;:87;;;;;;;;;;;;;;;;;31620:7;31629:18;:7;:16;:18::i;:::-;31603:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;31567:87;31560:94;31344:318;-1:-1:-1;;;31344:318:0:o;45818:407::-;45910:43;;-1:-1:-1;;;45910:43:0;;-1:-1:-1;;;;;5293:32:1;;45910:43:0;;;5275:51:1;45873:4:0;;;;45167:42;;45910:37;;5248:18:1;;45910:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45890:63;;45969:9;45964:231;45988:9;45984:1;:13;45964:231;;;46037:56;;-1:-1:-1;;;46037:56:0;;-1:-1:-1;;;;;6022:32:1;;46037:56:0;;;6004:51:1;6071:18;;;6064:34;;;46019:15:0;;45167:42;;46037:47;;5977:18:1;;46037:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46111:16;;;;:7;:16;;;;;;46019:74;;-1:-1:-1;46111:16:0;;46108:76;;-1:-1:-1;46164:4:0;;45818:407;-1:-1:-1;;;;45818:407:0:o;46108:76::-;-1:-1:-1;45999:3:0;;;;:::i;:::-;;;;45964:231;;;-1:-1:-1;46212:5:0;;45818:407;-1:-1:-1;;;45818:407:0:o;47441:96::-;21054:6;;-1:-1:-1;;;;;21054:6:0;9947:10;21201:23;21193:68;;;;-1:-1:-1;;;21193:68:0;;;;;;;:::i;:::-;47509:8:::1;:20:::0;47441:96::o;21890:201::-;21054:6;;-1:-1:-1;;;;;21054:6:0;9947:10;21201:23;21193:68;;;;-1:-1:-1;;;21193:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;21979:22:0;::::1;21971:73;;;::::0;-1:-1:-1;;;21971:73:0;;6727:2:1;21971:73:0::1;::::0;::::1;6709:21:1::0;6766:2;6746:18;;;6739:30;6805:34;6785:18;;;6778:62;-1:-1:-1;;;6856:18:1;;;6849:36;6902:19;;21971:73:0::1;6699:228:1::0;21971:73:0::1;22055:28;22074:8;22055:18;:28::i;34454:144::-:0;34511:4;34545:13;;-1:-1:-1;;;;;34545:13:0;34535:23;;:55;;;;-1:-1:-1;;34563:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;34563:27:0;;;;34562:28;;34454:144::o;41670:196::-;41785:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;41785:29:0;-1:-1:-1;;;;;41785:29:0;;;;;;;;;41830:28;;41785:24;;41830:28;;;;;;;41670:196;;;:::o;37171:2112::-;37286:35;37324:20;37336:7;37324:11;:20::i;:::-;37399:18;;37286:58;;-1:-1:-1;37357:22:0;;-1:-1:-1;;;;;37383:34:0;9947:10;-1:-1:-1;;;;;37383:34:0;;:101;;;-1:-1:-1;37451:18:0;;37434:50;;9947:10;33129:164;:::i;37434:50::-;37383:154;;;-1:-1:-1;9947:10:0;37501:20;37513:7;37501:11;:20::i;:::-;-1:-1:-1;;;;;37501:36:0;;37383:154;37357:181;;37556:17;37551:66;;37582:35;;-1:-1:-1;;;37582:35:0;;;;;;;;;;;37551:66;37654:4;-1:-1:-1;;;;;37632:26:0;:13;:18;;;-1:-1:-1;;;;;37632:26:0;;37628:67;;37667:28;;-1:-1:-1;;;37667:28:0;;;;;;;;;;;37628:67;-1:-1:-1;;;;;37710:16:0;;37706:52;;37735:23;;-1:-1:-1;;;37735:23:0;;;;;;;;;;;37706:52;37879:49;37896:1;37900:7;37909:13;:18;;;37879:8;:49::i;:::-;-1:-1:-1;;;;;38224:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;38224:31:0;;;;;;;-1:-1:-1;;38224:31:0;;;;;;;38270:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;38270:29:0;;;;;;;;;;;38316:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;38361:61:0;;;;-1:-1:-1;;;38406:15:0;38361:61;;;;;;;;;;;38696:11;;;38726:24;;;;;:29;38696:11;;38726:29;38722:445;;38951:13;;-1:-1:-1;;;;;38951:13:0;38937:27;;38933:219;;;39021:18;;;38989:24;;;:11;:24;;;;;;;;:50;;39104:28;;;;39062:70;;-1:-1:-1;;;39062:70:0;-1:-1:-1;;;;;;39062:70:0;;;-1:-1:-1;;;;;38989:50:0;;;39062:70;;;;;;;38933:219;37171:2112;39214:7;39210:2;-1:-1:-1;;;;;39195:27:0;39204:4;-1:-1:-1;;;;;39195:27:0;;;;;;;;;;;39233:42;37171:2112;;;;;:::o;29664:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;29830:13:0;;29774:7;;-1:-1:-1;;;;;29830:13:0;29823:20;;29819:861;;;29864:31;29898:17;;;:11;:17;;;;;;;;;29864:51;;;;;;;;;-1:-1:-1;;;;;29864:51:0;;;;-1:-1:-1;;;29864:51:0;;;;;;;;;;;-1:-1:-1;;;29864:51:0;;;;;;;;;;;;;;29934:731;;29984:14;;-1:-1:-1;;;;;29984:28:0;;29980:101;;30048:9;29664:1083;-1:-1:-1;;;29664:1083:0:o;29980:101::-;-1:-1:-1;;;30425:6:0;30470:17;;;;:11;:17;;;;;;;;;30458:29;;;;;;;;;-1:-1:-1;;;;;30458:29:0;;;;;-1:-1:-1;;;30458:29:0;;;;;;;;;;;-1:-1:-1;;;30458:29:0;;;;;;;;;;;;;30518:28;30514:109;;30586:9;29664:1083;-1:-1:-1;;;29664:1083:0:o;30514:109::-;30385:261;;;29819:861;;30708:31;;-1:-1:-1;;;30708:31:0;;;;;;;;;;;22251:191;22344:6;;;-1:-1:-1;;;;;22361:17:0;;;-1:-1:-1;;;;;;22361:17:0;;;;;;;22394:40;;22344:6;;;22361:17;22344:6;;22394:40;;22325:16;;22394:40;22251:191;;:::o;34606:104::-;34675:27;34685:2;34689:8;34675:27;;;;;;;;;;;;:9;:27::i;42431:790::-;42586:4;-1:-1:-1;;;;;42607:13:0;;2325:19;:23;42603:611;;42643:72;;-1:-1:-1;;;42643:72:0;;-1:-1:-1;;;;;42643:36:0;;;;;:72;;9947:10;;42694:4;;42700:7;;42709:5;;42643:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42643:72:0;;;;;;;;-1:-1:-1;;42643:72:0;;;;;;;;;;;;:::i;:::-;;;42639:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42889:13:0;;42885:259;;42939:40;;-1:-1:-1;;;42939:40:0;;;;;;;;;;;42885:259;43094:6;43088:13;43079:6;43075:2;43071:15;43064:38;42639:520;-1:-1:-1;;;;;;42766:55:0;-1:-1:-1;;;42766:55:0;;-1:-1:-1;42759:62:0;;42603:611;-1:-1:-1;43198:4:0;42603:611;42431:790;;;;;;:::o;47333:100::-;47385:13;47418:7;47411:14;;;;;:::i;10334:723::-;10390:13;10611:10;10607:53;;-1:-1:-1;;10638:10:0;;;;;;;;;;;;-1:-1:-1;;;10638:10:0;;;;;10334:723::o;10607:53::-;10685:5;10670:12;10726:78;10733:9;;10726:78;;10759:8;;;;:::i;:::-;;-1:-1:-1;10782:10:0;;-1:-1:-1;10790:2:0;10782:10;;:::i;:::-;;;10726:78;;;10814:19;10846:6;10836:17;;;;;;-1:-1:-1;;;10836:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10836:17:0;;10814:39;;10864:154;10871:10;;10864:154;;10898:11;10908:1;10898:11;;:::i;:::-;;-1:-1:-1;10967:10:0;10975:2;10967:5;:10;:::i;:::-;10954:24;;:2;:24;:::i;:::-;10941:39;;10924:6;10931;10924:14;;;;;;-1:-1:-1;;;10924:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;10924:56:0;;;;;;;;-1:-1:-1;10995:11:0;11004:2;10995:11;;:::i;:::-;;;10864:154;;35073:163;35196:32;35202:2;35206:8;35216:5;35223:4;35634:20;35657:13;-1:-1:-1;;;;;35657:13:0;-1:-1:-1;;;;;35685:16:0;;35681:48;;35710:19;;-1:-1:-1;;;35710:19:0;;;;;;;;;;;35681:48;35744:13;35740:44;;35766:18;;-1:-1:-1;;;35766:18:0;;;;;;;;;;;35740:44;-1:-1:-1;;;;;36136:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;;;;;36195:49:0;;36136:44;;;;;;;;36195:49;;;;-1:-1:-1;;36136:44:0;;;;;;36195:49;;;;;;;;;;;;;;;;36261:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;36311:66:0;;;;-1:-1:-1;;;36361:15:0;36311:66;;;;;;;;;;;36261:25;;36446:328;36466:8;36462:1;:12;36446:328;;;36505:38;;36530:12;;-1:-1:-1;;;;;36505:38:0;;;36522:1;;36505:38;;36522:1;;36505:38;36566:4;:68;;;;;36575:59;36606:1;36610:2;36614:12;36628:5;36575:22;:59::i;:::-;36574:60;36566:68;36562:164;;;36666:40;;-1:-1:-1;;;36666:40:0;;;;;;;;;;;36562:164;36744:14;;;;;36476:3;36446:328;;;-1:-1:-1;36790:13:0;:37;;-1:-1:-1;;;;;;36790:37:0;-1:-1:-1;;;;;36790:37:0;;;;;;;;;;36849:60;46233:970;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:194::-;4263:6;4316:2;4304:9;4295:7;4291:23;4287:32;4284:2;;;4337:6;4329;4322:22;4284:2;-1:-1:-1;4365:16:1;;4274:113;-1:-1:-1;4274:113:1:o;4392:257::-;4433:3;4471:5;4465:12;4498:6;4493:3;4486:19;4514:63;4570:6;4563:4;4558:3;4554:14;4547:4;4540:5;4536:16;4514:63;:::i;:::-;4631:2;4610:15;-1:-1:-1;;4606:29:1;4597:39;;;;4638:4;4593:50;;4441:208;-1:-1:-1;;4441:208:1:o;4654:470::-;4833:3;4871:6;4865:13;4887:53;4933:6;4928:3;4921:4;4913:6;4909:17;4887:53;:::i;:::-;5003:13;;4962:16;;;;5025:57;5003:13;4962:16;5059:4;5047:17;;5025:57;:::i;:::-;5098:20;;4841:283;-1:-1:-1;;;;4841:283:1:o;5337:488::-;-1:-1:-1;;;;;5606:15:1;;;5588:34;;5658:15;;5653:2;5638:18;;5631:43;5705:2;5690:18;;5683:34;;;5753:3;5748:2;5733:18;;5726:31;;;5531:4;;5774:45;;5799:19;;5791:6;5774:45;:::i;:::-;5766:53;5540:285;-1:-1:-1;;;;;;5540:285:1:o;6301:219::-;6450:2;6439:9;6432:21;6413:4;6470:44;6510:2;6499:9;6495:18;6487:6;6470:44;:::i;8824:356::-;9026:2;9008:21;;;9045:18;;;9038:30;9104:34;9099:2;9084:18;;9077:62;9171:2;9156:18;;8998:182::o;10492:128::-;10532:3;10563:1;10559:6;10556:1;10553:13;10550:2;;;10569:18;;:::i;:::-;-1:-1:-1;10605:9:1;;10540:80::o;10625:120::-;10665:1;10691;10681:2;;10696:18;;:::i;:::-;-1:-1:-1;10730:9:1;;10671:74::o;10750:168::-;10790:7;10856:1;10852;10848:6;10844:14;10841:1;10838:21;10833:1;10826:9;10819:17;10815:45;10812:2;;;10863:18;;:::i;:::-;-1:-1:-1;10903:9:1;;10802:116::o;10923:125::-;10963:4;10991:1;10988;10985:8;10982:2;;;10996:18;;:::i;:::-;-1:-1:-1;11033:9:1;;10972:76::o;11053:258::-;11125:1;11135:113;11149:6;11146:1;11143:13;11135:113;;;11225:11;;;11219:18;11206:11;;;11199:39;11171:2;11164:10;11135:113;;;11266:6;11263:1;11260:13;11257:2;;;-1:-1:-1;;11301:1:1;11283:16;;11276:27;11106:205::o;11316:380::-;11395:1;11391:12;;;;11438;;;11459:2;;11513:4;11505:6;11501:17;11491:27;;11459:2;11566;11558:6;11555:14;11535:18;11532:38;11529:2;;;11612:10;11607:3;11603:20;11600:1;11593:31;11647:4;11644:1;11637:15;11675:4;11672:1;11665:15;11529:2;;11371:325;;;:::o;11701:135::-;11740:3;-1:-1:-1;;11761:17:1;;11758:2;;;11781:18;;:::i;:::-;-1:-1:-1;11828:1:1;11817:13;;11748:88::o;11841:112::-;11873:1;11899;11889:2;;11904:18;;:::i;:::-;-1:-1:-1;11938:9:1;;11879:74::o;11958:127::-;12019:10;12014:3;12010:20;12007:1;12000:31;12050:4;12047:1;12040:15;12074:4;12071:1;12064:15;12090:127;12151:10;12146:3;12142:20;12139:1;12132:31;12182:4;12179:1;12172:15;12206:4;12203:1;12196:15;12222:127;12283:10;12278:3;12274:20;12271:1;12264:31;12314:4;12311:1;12304:15;12338:4;12335:1;12328:15;12354:131;-1:-1:-1;;;;;;12428:32:1;;12418:43;;12408:2;;12475:1;12472;12465:12
Swarm Source
ipfs://5bc6fe0e834bd932c4e57686ca40380ed60d861aeee5c46e5c2582a6896be216
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.