ERC-721
Overview
Max Total Supply
666 YPUNK
Holders
341
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 YPUNKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YugaPunks
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-16 */ // File: contracts/YugaPunks.sol // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) 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); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: YugaPunks.sol pragma solidity ^0.8.2; contract YugaPunks is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = "ipfs://QmYrct91FPcanjDAaCeBATQK9bkG1MZAFKvYjbbUQGwkXd/"; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cost = 0 ether; uint256 public maxSupply = 666; uint256 public maxMintAmountPerTx = 3; bool public paused = false; bool public revealed = true; constructor() ERC721("Yuga Punks", "YPUNK") { setHiddenMetadataUri("ipfs://QmYrct91FPcanjDAaCeBATQK9bkG1MZAFKvYjbbUQGwkXd/"); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); require(supply.current() + _mintAmount <= maxSupply, "Max supply exceeded!"); _; } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) { require(!paused, "The contract is paused!"); if(supply.current() < 666) { require(total_nft(msg.sender) < 6, "NFT Per Wallet Limit Exceeds!!"); _mintLoop(msg.sender, _mintAmount); } else{ require(total_nft(msg.sender) < 6, "NFT Per Wallet Limit Exceeds!!"); require(msg.value >= cost * _mintAmount, "Insufficient funds!"); _mintLoop(msg.sender, _mintAmount); } } function total_nft(address _buyer) public view returns (uint256) { uint256[] memory _num = walletOfOwner(_buyer); return _num.length; } function _mintLoop(address _receiver, uint256 _mintAmount) internal { for (uint256 i = 0; i < _mintAmount; i++) { supply.increment(); _safeMint(_receiver, supply.current()); } } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory){ require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ""; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function totalSupply() public view returns (uint256) { return supply.current(); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_buyer","type":"address"}],"name":"total_nft","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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260366080818152906200258060a0398051620000299160089160209091019062000200565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000589160099162000200565b506000600b5561029a600c556003600d55600e805461ffff19166101001790553480156200008557600080fd5b50604080518082018252600a815269597567612050756e6b7360b01b6020808301918252835180850190945260058452645950554e4b60d81b908401528151919291620000d59160009162000200565b508051620000eb90600190602084019062000200565b50505062000108620001026200013260201b60201c565b62000136565b6200012c604051806060016040528060368152602001620025806036913962000188565b620002e3565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620001e75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001fc90600a90602084019062000200565b5050565b8280546200020e90620002a6565b90600052602060002090601f0160209004810192826200023257600085556200027d565b82601f106200024d57805160ff19168380011785556200027d565b828001600101855582156200027d579182015b828111156200027d57825182559160200191906001019062000260565b506200028b9291506200028f565b5090565b5b808211156200028b576000815560010162000290565b600181811c90821680620002bb57607f821691505b60208210811415620002dd57634e487b7160e01b600052602260045260246000fd5b50919050565b61228d80620002f36000396000f3fe60806040526004361061020f5760003560e01c806362b99ad411610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146105c9578063d5abeb01146105e9578063e0a80853146105ff578063e985e9c51461061f578063f2fde38b1461066857600080fd5b8063a22cb46514610554578063a45ba8e714610574578063b071401b14610589578063b88d4fde146105a957600080fd5b80637ec4a659116100e75780637ec4a659146104d85780638da5cb5b146104f857806394354fd01461051657806395d89b411461052c578063a0712d681461054157600080fd5b806362b99ad41461046e5780636352211e1461048357806370a08231146104a3578063715018a6146104c357600080fd5b806323b872dd1161019b57806344a0d68a1161016a57806344a0d68a146103e05780634fdd43cb1461040057806351830227146104205780635503a0e81461043f5780635c975abb1461045457600080fd5b806323b872dd1461035e5780633ccfd60b1461037e57806342842e0e14610393578063438b6300146103b357600080fd5b8063095ea7b3116101e2578063095ea7b3146102d157806313faede6146102f357806316ba10e01461030957806316c38b3c1461032957806318160ddd1461034957600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b57806309258805146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611df9565b610688565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106da565b6040516102409190612006565b34801561027757600080fd5b5061028b610286366004611e7c565b61076c565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611c84565b610806565b604051908152602001610240565b3480156102dd57600080fd5b506102f16102ec366004611db4565b61081a565b005b3480156102ff57600080fd5b506102c3600b5481565b34801561031557600080fd5b506102f1610324366004611e33565b610930565b34801561033557600080fd5b506102f1610344366004611dde565b610971565b34801561035557600080fd5b506102c36109ae565b34801561036a57600080fd5b506102f1610379366004611cd2565b6109be565b34801561038a57600080fd5b506102f16109ef565b34801561039f57600080fd5b506102f16103ae366004611cd2565b610a8d565b3480156103bf57600080fd5b506103d36103ce366004611c84565b610aa8565b6040516102409190611fc2565b3480156103ec57600080fd5b506102f16103fb366004611e7c565b610b89565b34801561040c57600080fd5b506102f161041b366004611e33565b610bb8565b34801561042c57600080fd5b50600e5461023490610100900460ff1681565b34801561044b57600080fd5b5061025e610bf5565b34801561046057600080fd5b50600e546102349060ff1681565b34801561047a57600080fd5b5061025e610c83565b34801561048f57600080fd5b5061028b61049e366004611e7c565b610c90565b3480156104af57600080fd5b506102c36104be366004611c84565b610d07565b3480156104cf57600080fd5b506102f1610d8e565b3480156104e457600080fd5b506102f16104f3366004611e33565b610dc4565b34801561050457600080fd5b506006546001600160a01b031661028b565b34801561052257600080fd5b506102c3600d5481565b34801561053857600080fd5b5061025e610e01565b6102f161054f366004611e7c565b610e10565b34801561056057600080fd5b506102f161056f366004611d8a565b611034565b34801561058057600080fd5b5061025e61103f565b34801561059557600080fd5b506102f16105a4366004611e7c565b61104c565b3480156105b557600080fd5b506102f16105c4366004611d0e565b61107b565b3480156105d557600080fd5b5061025e6105e4366004611e7c565b6110b3565b3480156105f557600080fd5b506102c3600c5481565b34801561060b57600080fd5b506102f161061a366004611dde565b611232565b34801561062b57600080fd5b5061023461063a366004611c9f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561067457600080fd5b506102f1610683366004611c84565b611276565b60006001600160e01b031982166380ac58cd60e01b14806106b957506001600160e01b03198216635b5e139f60e01b145b806106d457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106e99061217f565b80601f01602080910402602001604051908101604052809291908181526020018280546107159061217f565b80156107625780601f1061073757610100808354040283529160200191610762565b820191906000526020600020905b81548152906001019060200180831161074557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ea5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60008061081283610aa8565b519392505050565b600061082582610c90565b9050806001600160a01b0316836001600160a01b031614156108935760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107e1565b336001600160a01b03821614806108af57506108af813361063a565b6109215760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107e1565b61092b838361130e565b505050565b6006546001600160a01b0316331461095a5760405162461bcd60e51b81526004016107e19061206b565b805161096d906009906020840190611b49565b5050565b6006546001600160a01b0316331461099b5760405162461bcd60e51b81526004016107e19061206b565b600e805460ff1916911515919091179055565b60006109b960075490565b905090565b6109c8338261137c565b6109e45760405162461bcd60e51b81526004016107e1906120a0565b61092b838383611473565b6006546001600160a01b03163314610a195760405162461bcd60e51b81526004016107e19061206b565b6000610a2d6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a77576040519150601f19603f3d011682016040523d82523d6000602084013e610a7c565b606091505b5050905080610a8a57600080fd5b50565b61092b8383836040518060200160405280600081525061107b565b60606000610ab583610d07565b905060008167ffffffffffffffff811115610ad257610ad261222b565b604051908082528060200260200182016040528015610afb578160200160208202803683370190505b509050600160005b8381108015610b145750600c548211155b15610b7f576000610b2483610c90565b9050866001600160a01b0316816001600160a01b03161415610b6c5782848381518110610b5357610b53612215565b602090810291909101015281610b68816121ba565b9250505b82610b76816121ba565b93505050610b03565b5090949350505050565b6006546001600160a01b03163314610bb35760405162461bcd60e51b81526004016107e19061206b565b600b55565b6006546001600160a01b03163314610be25760405162461bcd60e51b81526004016107e19061206b565b805161096d90600a906020840190611b49565b60098054610c029061217f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2e9061217f565b8015610c7b5780601f10610c5057610100808354040283529160200191610c7b565b820191906000526020600020905b815481529060010190602001808311610c5e57829003601f168201915b505050505081565b60088054610c029061217f565b6000818152600260205260408120546001600160a01b0316806106d45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107e1565b60006001600160a01b038216610d725760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107e1565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610db85760405162461bcd60e51b81526004016107e19061206b565b610dc2600061160f565b565b6006546001600160a01b03163314610dee5760405162461bcd60e51b81526004016107e19061206b565b805161096d906008906020840190611b49565b6060600180546106e99061217f565b80600081118015610e235750600d548111155b610e665760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016107e1565b600c5481610e7360075490565b610e7d91906120f1565b1115610ec25760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064016107e1565b600e5460ff1615610f155760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e7472616374206973207061757365642100000000000000000060448201526064016107e1565b61029a610f2160075490565b1015610f89576006610f3233610806565b10610f7f5760405162461bcd60e51b815260206004820152601e60248201527f4e4654205065722057616c6c6574204c696d697420457863656564732121000060448201526064016107e1565b61096d3383611661565b6006610f9433610806565b10610fe15760405162461bcd60e51b815260206004820152601e60248201527f4e4654205065722057616c6c6574204c696d697420457863656564732121000060448201526064016107e1565b81600b54610fef919061211d565b341015610f7f5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016107e1565b61096d33838361169e565b600a8054610c029061217f565b6006546001600160a01b031633146110765760405162461bcd60e51b81526004016107e19061206b565b600d55565b611085338361137c565b6110a15760405162461bcd60e51b81526004016107e1906120a0565b6110ad8484848461176d565b50505050565b6000818152600260205260409020546060906001600160a01b03166111325760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107e1565b600e54610100900460ff166111d357600a805461114e9061217f565b80601f016020809104026020016040519081016040528092919081815260200182805461117a9061217f565b80156111c75780601f1061119c576101008083540402835291602001916111c7565b820191906000526020600020905b8154815290600101906020018083116111aa57829003601f168201915b50505050509050919050565b60006111dd6117a0565b905060008151116111fd576040518060200160405280600081525061122b565b80611207846117af565b600960405160200161121b93929190611ec1565b6040516020818303038152906040525b9392505050565b6006546001600160a01b0316331461125c5760405162461bcd60e51b81526004016107e19061206b565b600e80549115156101000261ff0019909216919091179055565b6006546001600160a01b031633146112a05760405162461bcd60e51b81526004016107e19061206b565b6001600160a01b0381166113055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e1565b610a8a8161160f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061134382610c90565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166113f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107e1565b600061140083610c90565b9050806001600160a01b0316846001600160a01b0316148061143b5750836001600160a01b03166114308461076c565b6001600160a01b0316145b8061146b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661148682610c90565b6001600160a01b0316146114ea5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107e1565b6001600160a01b03821661154c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107e1565b61155760008261130e565b6001600160a01b038316600090815260036020526040812080546001929061158090849061213c565b90915550506001600160a01b03821660009081526003602052604081208054600192906115ae9084906120f1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b8181101561092b5761167a600780546001019055565b61168c8361168760075490565b6118ad565b80611696816121ba565b915050611664565b816001600160a01b0316836001600160a01b031614156117005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611778848484611473565b611784848484846118c7565b6110ad5760405162461bcd60e51b81526004016107e190612019565b6060600880546106e99061217f565b6060816117d35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117fd57806117e7816121ba565b91506117f69050600a83612109565b91506117d7565b60008167ffffffffffffffff8111156118185761181861222b565b6040519080825280601f01601f191660200182016040528015611842576020820181803683370190505b5090505b841561146b5761185760018361213c565b9150611864600a866121d5565b61186f9060306120f1565b60f81b81838151811061188457611884612215565b60200101906001600160f81b031916908160001a9053506118a6600a86612109565b9450611846565b61096d8282604051806020016040528060008152506119d4565b60006001600160a01b0384163b156119c957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061190b903390899088908890600401611f85565b602060405180830381600087803b15801561192557600080fd5b505af1925050508015611955575060408051601f3d908101601f1916820190925261195291810190611e16565b60015b6119af573d808015611983576040519150601f19603f3d011682016040523d82523d6000602084013e611988565b606091505b5080516119a75760405162461bcd60e51b81526004016107e190612019565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061146b565b506001949350505050565b6119de8383611a07565b6119eb60008484846118c7565b61092b5760405162461bcd60e51b81526004016107e190612019565b6001600160a01b038216611a5d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e1565b6000818152600260205260409020546001600160a01b031615611ac25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e1565b6001600160a01b0382166000908152600360205260408120805460019290611aeb9084906120f1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611b559061217f565b90600052602060002090601f016020900481019282611b775760008555611bbd565b82601f10611b9057805160ff1916838001178555611bbd565b82800160010185558215611bbd579182015b82811115611bbd578251825591602001919060010190611ba2565b50611bc9929150611bcd565b5090565b5b80821115611bc95760008155600101611bce565b600067ffffffffffffffff80841115611bfd57611bfd61222b565b604051601f8501601f19908116603f01168101908282118183101715611c2557611c2561222b565b81604052809350858152868686011115611c3e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611c6f57600080fd5b919050565b80358015158114611c6f57600080fd5b600060208284031215611c9657600080fd5b61122b82611c58565b60008060408385031215611cb257600080fd5b611cbb83611c58565b9150611cc960208401611c58565b90509250929050565b600080600060608486031215611ce757600080fd5b611cf084611c58565b9250611cfe60208501611c58565b9150604084013590509250925092565b60008060008060808587031215611d2457600080fd5b611d2d85611c58565b9350611d3b60208601611c58565b925060408501359150606085013567ffffffffffffffff811115611d5e57600080fd5b8501601f81018713611d6f57600080fd5b611d7e87823560208401611be2565b91505092959194509250565b60008060408385031215611d9d57600080fd5b611da683611c58565b9150611cc960208401611c74565b60008060408385031215611dc757600080fd5b611dd083611c58565b946020939093013593505050565b600060208284031215611df057600080fd5b61122b82611c74565b600060208284031215611e0b57600080fd5b813561122b81612241565b600060208284031215611e2857600080fd5b815161122b81612241565b600060208284031215611e4557600080fd5b813567ffffffffffffffff811115611e5c57600080fd5b8201601f81018413611e6d57600080fd5b61146b84823560208401611be2565b600060208284031215611e8e57600080fd5b5035919050565b60008151808452611ead816020860160208601612153565b601f01601f19169290920160200192915050565b600084516020611ed48285838a01612153565b855191840191611ee78184848a01612153565b8554920191600090600181811c9080831680611f0457607f831692505b858310811415611f2257634e487b7160e01b85526022600452602485fd5b808015611f365760018114611f4757611f74565b60ff19851688528388019550611f74565b60008b81526020902060005b85811015611f6c5781548a820152908401908801611f53565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fb890830184611e95565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611ffa57835183529284019291840191600101611fde565b50909695505050505050565b60208152600061122b6020830184611e95565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612104576121046121e9565b500190565b600082612118576121186121ff565b500490565b6000816000190483118215151615612137576121376121e9565b500290565b60008282101561214e5761214e6121e9565b500390565b60005b8381101561216e578181015183820152602001612156565b838111156110ad5750506000910152565b600181811c9082168061219357607f821691505b602082108114156121b457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121ce576121ce6121e9565b5060010190565b6000826121e4576121e46121ff565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a8a57600080fdfea26469706673582212205d2d75c6505024cdda1c6bf8f05d73cb548774c70513232d69ad07bffa7258ff64736f6c63430008070033697066733a2f2f516d597263743931465063616e6a4441614365424154514b39626b47314d5a41464b76596a6262555147776b58642f
Deployed Bytecode
0x60806040526004361061020f5760003560e01c806362b99ad411610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146105c9578063d5abeb01146105e9578063e0a80853146105ff578063e985e9c51461061f578063f2fde38b1461066857600080fd5b8063a22cb46514610554578063a45ba8e714610574578063b071401b14610589578063b88d4fde146105a957600080fd5b80637ec4a659116100e75780637ec4a659146104d85780638da5cb5b146104f857806394354fd01461051657806395d89b411461052c578063a0712d681461054157600080fd5b806362b99ad41461046e5780636352211e1461048357806370a08231146104a3578063715018a6146104c357600080fd5b806323b872dd1161019b57806344a0d68a1161016a57806344a0d68a146103e05780634fdd43cb1461040057806351830227146104205780635503a0e81461043f5780635c975abb1461045457600080fd5b806323b872dd1461035e5780633ccfd60b1461037e57806342842e0e14610393578063438b6300146103b357600080fd5b8063095ea7b3116101e2578063095ea7b3146102d157806313faede6146102f357806316ba10e01461030957806316c38b3c1461032957806318160ddd1461034957600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b57806309258805146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611df9565b610688565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106da565b6040516102409190612006565b34801561027757600080fd5b5061028b610286366004611e7c565b61076c565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be366004611c84565b610806565b604051908152602001610240565b3480156102dd57600080fd5b506102f16102ec366004611db4565b61081a565b005b3480156102ff57600080fd5b506102c3600b5481565b34801561031557600080fd5b506102f1610324366004611e33565b610930565b34801561033557600080fd5b506102f1610344366004611dde565b610971565b34801561035557600080fd5b506102c36109ae565b34801561036a57600080fd5b506102f1610379366004611cd2565b6109be565b34801561038a57600080fd5b506102f16109ef565b34801561039f57600080fd5b506102f16103ae366004611cd2565b610a8d565b3480156103bf57600080fd5b506103d36103ce366004611c84565b610aa8565b6040516102409190611fc2565b3480156103ec57600080fd5b506102f16103fb366004611e7c565b610b89565b34801561040c57600080fd5b506102f161041b366004611e33565b610bb8565b34801561042c57600080fd5b50600e5461023490610100900460ff1681565b34801561044b57600080fd5b5061025e610bf5565b34801561046057600080fd5b50600e546102349060ff1681565b34801561047a57600080fd5b5061025e610c83565b34801561048f57600080fd5b5061028b61049e366004611e7c565b610c90565b3480156104af57600080fd5b506102c36104be366004611c84565b610d07565b3480156104cf57600080fd5b506102f1610d8e565b3480156104e457600080fd5b506102f16104f3366004611e33565b610dc4565b34801561050457600080fd5b506006546001600160a01b031661028b565b34801561052257600080fd5b506102c3600d5481565b34801561053857600080fd5b5061025e610e01565b6102f161054f366004611e7c565b610e10565b34801561056057600080fd5b506102f161056f366004611d8a565b611034565b34801561058057600080fd5b5061025e61103f565b34801561059557600080fd5b506102f16105a4366004611e7c565b61104c565b3480156105b557600080fd5b506102f16105c4366004611d0e565b61107b565b3480156105d557600080fd5b5061025e6105e4366004611e7c565b6110b3565b3480156105f557600080fd5b506102c3600c5481565b34801561060b57600080fd5b506102f161061a366004611dde565b611232565b34801561062b57600080fd5b5061023461063a366004611c9f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561067457600080fd5b506102f1610683366004611c84565b611276565b60006001600160e01b031982166380ac58cd60e01b14806106b957506001600160e01b03198216635b5e139f60e01b145b806106d457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106e99061217f565b80601f01602080910402602001604051908101604052809291908181526020018280546107159061217f565b80156107625780601f1061073757610100808354040283529160200191610762565b820191906000526020600020905b81548152906001019060200180831161074557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ea5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60008061081283610aa8565b519392505050565b600061082582610c90565b9050806001600160a01b0316836001600160a01b031614156108935760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107e1565b336001600160a01b03821614806108af57506108af813361063a565b6109215760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107e1565b61092b838361130e565b505050565b6006546001600160a01b0316331461095a5760405162461bcd60e51b81526004016107e19061206b565b805161096d906009906020840190611b49565b5050565b6006546001600160a01b0316331461099b5760405162461bcd60e51b81526004016107e19061206b565b600e805460ff1916911515919091179055565b60006109b960075490565b905090565b6109c8338261137c565b6109e45760405162461bcd60e51b81526004016107e1906120a0565b61092b838383611473565b6006546001600160a01b03163314610a195760405162461bcd60e51b81526004016107e19061206b565b6000610a2d6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a77576040519150601f19603f3d011682016040523d82523d6000602084013e610a7c565b606091505b5050905080610a8a57600080fd5b50565b61092b8383836040518060200160405280600081525061107b565b60606000610ab583610d07565b905060008167ffffffffffffffff811115610ad257610ad261222b565b604051908082528060200260200182016040528015610afb578160200160208202803683370190505b509050600160005b8381108015610b145750600c548211155b15610b7f576000610b2483610c90565b9050866001600160a01b0316816001600160a01b03161415610b6c5782848381518110610b5357610b53612215565b602090810291909101015281610b68816121ba565b9250505b82610b76816121ba565b93505050610b03565b5090949350505050565b6006546001600160a01b03163314610bb35760405162461bcd60e51b81526004016107e19061206b565b600b55565b6006546001600160a01b03163314610be25760405162461bcd60e51b81526004016107e19061206b565b805161096d90600a906020840190611b49565b60098054610c029061217f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2e9061217f565b8015610c7b5780601f10610c5057610100808354040283529160200191610c7b565b820191906000526020600020905b815481529060010190602001808311610c5e57829003601f168201915b505050505081565b60088054610c029061217f565b6000818152600260205260408120546001600160a01b0316806106d45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107e1565b60006001600160a01b038216610d725760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107e1565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610db85760405162461bcd60e51b81526004016107e19061206b565b610dc2600061160f565b565b6006546001600160a01b03163314610dee5760405162461bcd60e51b81526004016107e19061206b565b805161096d906008906020840190611b49565b6060600180546106e99061217f565b80600081118015610e235750600d548111155b610e665760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064016107e1565b600c5481610e7360075490565b610e7d91906120f1565b1115610ec25760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b60448201526064016107e1565b600e5460ff1615610f155760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e7472616374206973207061757365642100000000000000000060448201526064016107e1565b61029a610f2160075490565b1015610f89576006610f3233610806565b10610f7f5760405162461bcd60e51b815260206004820152601e60248201527f4e4654205065722057616c6c6574204c696d697420457863656564732121000060448201526064016107e1565b61096d3383611661565b6006610f9433610806565b10610fe15760405162461bcd60e51b815260206004820152601e60248201527f4e4654205065722057616c6c6574204c696d697420457863656564732121000060448201526064016107e1565b81600b54610fef919061211d565b341015610f7f5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b60448201526064016107e1565b61096d33838361169e565b600a8054610c029061217f565b6006546001600160a01b031633146110765760405162461bcd60e51b81526004016107e19061206b565b600d55565b611085338361137c565b6110a15760405162461bcd60e51b81526004016107e1906120a0565b6110ad8484848461176d565b50505050565b6000818152600260205260409020546060906001600160a01b03166111325760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107e1565b600e54610100900460ff166111d357600a805461114e9061217f565b80601f016020809104026020016040519081016040528092919081815260200182805461117a9061217f565b80156111c75780601f1061119c576101008083540402835291602001916111c7565b820191906000526020600020905b8154815290600101906020018083116111aa57829003601f168201915b50505050509050919050565b60006111dd6117a0565b905060008151116111fd576040518060200160405280600081525061122b565b80611207846117af565b600960405160200161121b93929190611ec1565b6040516020818303038152906040525b9392505050565b6006546001600160a01b0316331461125c5760405162461bcd60e51b81526004016107e19061206b565b600e80549115156101000261ff0019909216919091179055565b6006546001600160a01b031633146112a05760405162461bcd60e51b81526004016107e19061206b565b6001600160a01b0381166113055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e1565b610a8a8161160f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061134382610c90565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166113f55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107e1565b600061140083610c90565b9050806001600160a01b0316846001600160a01b0316148061143b5750836001600160a01b03166114308461076c565b6001600160a01b0316145b8061146b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661148682610c90565b6001600160a01b0316146114ea5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107e1565b6001600160a01b03821661154c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107e1565b61155760008261130e565b6001600160a01b038316600090815260036020526040812080546001929061158090849061213c565b90915550506001600160a01b03821660009081526003602052604081208054600192906115ae9084906120f1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b8181101561092b5761167a600780546001019055565b61168c8361168760075490565b6118ad565b80611696816121ba565b915050611664565b816001600160a01b0316836001600160a01b031614156117005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611778848484611473565b611784848484846118c7565b6110ad5760405162461bcd60e51b81526004016107e190612019565b6060600880546106e99061217f565b6060816117d35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117fd57806117e7816121ba565b91506117f69050600a83612109565b91506117d7565b60008167ffffffffffffffff8111156118185761181861222b565b6040519080825280601f01601f191660200182016040528015611842576020820181803683370190505b5090505b841561146b5761185760018361213c565b9150611864600a866121d5565b61186f9060306120f1565b60f81b81838151811061188457611884612215565b60200101906001600160f81b031916908160001a9053506118a6600a86612109565b9450611846565b61096d8282604051806020016040528060008152506119d4565b60006001600160a01b0384163b156119c957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061190b903390899088908890600401611f85565b602060405180830381600087803b15801561192557600080fd5b505af1925050508015611955575060408051601f3d908101601f1916820190925261195291810190611e16565b60015b6119af573d808015611983576040519150601f19603f3d011682016040523d82523d6000602084013e611988565b606091505b5080516119a75760405162461bcd60e51b81526004016107e190612019565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061146b565b506001949350505050565b6119de8383611a07565b6119eb60008484846118c7565b61092b5760405162461bcd60e51b81526004016107e190612019565b6001600160a01b038216611a5d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e1565b6000818152600260205260409020546001600160a01b031615611ac25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e1565b6001600160a01b0382166000908152600360205260408120805460019290611aeb9084906120f1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611b559061217f565b90600052602060002090601f016020900481019282611b775760008555611bbd565b82601f10611b9057805160ff1916838001178555611bbd565b82800160010185558215611bbd579182015b82811115611bbd578251825591602001919060010190611ba2565b50611bc9929150611bcd565b5090565b5b80821115611bc95760008155600101611bce565b600067ffffffffffffffff80841115611bfd57611bfd61222b565b604051601f8501601f19908116603f01168101908282118183101715611c2557611c2561222b565b81604052809350858152868686011115611c3e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611c6f57600080fd5b919050565b80358015158114611c6f57600080fd5b600060208284031215611c9657600080fd5b61122b82611c58565b60008060408385031215611cb257600080fd5b611cbb83611c58565b9150611cc960208401611c58565b90509250929050565b600080600060608486031215611ce757600080fd5b611cf084611c58565b9250611cfe60208501611c58565b9150604084013590509250925092565b60008060008060808587031215611d2457600080fd5b611d2d85611c58565b9350611d3b60208601611c58565b925060408501359150606085013567ffffffffffffffff811115611d5e57600080fd5b8501601f81018713611d6f57600080fd5b611d7e87823560208401611be2565b91505092959194509250565b60008060408385031215611d9d57600080fd5b611da683611c58565b9150611cc960208401611c74565b60008060408385031215611dc757600080fd5b611dd083611c58565b946020939093013593505050565b600060208284031215611df057600080fd5b61122b82611c74565b600060208284031215611e0b57600080fd5b813561122b81612241565b600060208284031215611e2857600080fd5b815161122b81612241565b600060208284031215611e4557600080fd5b813567ffffffffffffffff811115611e5c57600080fd5b8201601f81018413611e6d57600080fd5b61146b84823560208401611be2565b600060208284031215611e8e57600080fd5b5035919050565b60008151808452611ead816020860160208601612153565b601f01601f19169290920160200192915050565b600084516020611ed48285838a01612153565b855191840191611ee78184848a01612153565b8554920191600090600181811c9080831680611f0457607f831692505b858310811415611f2257634e487b7160e01b85526022600452602485fd5b808015611f365760018114611f4757611f74565b60ff19851688528388019550611f74565b60008b81526020902060005b85811015611f6c5781548a820152908401908801611f53565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fb890830184611e95565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611ffa57835183529284019291840191600101611fde565b50909695505050505050565b60208152600061122b6020830184611e95565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612104576121046121e9565b500190565b600082612118576121186121ff565b500490565b6000816000190483118215151615612137576121376121e9565b500290565b60008282101561214e5761214e6121e9565b500390565b60005b8381101561216e578181015183820152602001612156565b838111156110ad5750506000910152565b600181811c9082168061219357607f821691505b602082108114156121b457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121ce576121ce6121e9565b5060010190565b6000826121e4576121e46121ff565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a8a57600080fdfea26469706673582212205d2d75c6505024cdda1c6bf8f05d73cb548774c70513232d69ad07bffa7258ff64736f6c63430008070033
Deployed Bytecode Sourcemap
38822:4280:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25643:305;;;;;;;;;;-1:-1:-1;25643:305:0;;;;;:::i;:::-;;:::i;:::-;;;7807:14:1;;7800:22;7782:41;;7770:2;7755:18;25643:305:0;;;;;;;;26588:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28147:221::-;;;;;;;;;;-1:-1:-1;28147:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6468:32:1;;;6450:51;;6438:2;6423:18;28147:221:0;6304:203:1;40325:156:0;;;;;;;;;;-1:-1:-1;40325:156:0;;;;;:::i;:::-;;:::i;:::-;;;16339:25:1;;;16327:2;16312:18;40325:156:0;16193:177:1;27670:411:0;;;;;;;;;;-1:-1:-1;27670:411:0;;;;;:::i;:::-;;:::i;:::-;;39156:29;;;;;;;;;;;;;;;;42053:106;;;;;;;;;;-1:-1:-1;42053:106:0;;;;;:::i;:::-;;:::i;42167:83::-;;;;;;;;;;-1:-1:-1;42167:83:0;;;;;:::i;:::-;;:::i;42722:95::-;;;;;;;;;;;;;:::i;28897:339::-;;;;;;;;;;-1:-1:-1;28897:339:0;;;;;:::i;:::-;;:::i;42943:147::-;;;;;;;;;;;;;:::i;29307:185::-;;;;;;;;;;-1:-1:-1;29307:185:0;;;;;:::i;:::-;;:::i;41240:689::-;;;;;;;;;;-1:-1:-1;41240:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;42490:80::-;;;;;;;;;;-1:-1:-1;42490:80:0;;;;;:::i;:::-;;:::i;42258:129::-;;;;;;;;;;-1:-1:-1;42258:129:0;;;;;:::i;:::-;;:::i;39308:27::-;;;;;;;;;;-1:-1:-1;39308:27:0;;;;;;;;;;;39076:33;;;;;;;;;;;;;:::i;39275:26::-;;;;;;;;;;-1:-1:-1;39275:26:0;;;;;;;;38987:82;;;;;;;;;;;;;:::i;26282:239::-;;;;;;;;;;-1:-1:-1;26282:239:0;;;;;:::i;:::-;;:::i;26012:208::-;;;;;;;;;;-1:-1:-1;26012:208:0;;;;;:::i;:::-;;:::i;6264:103::-;;;;;;;;;;;;;:::i;41939:106::-;;;;;;;;;;-1:-1:-1;41939:106:0;;;;;:::i;:::-;;:::i;5613:87::-;;;;;;;;;;-1:-1:-1;5686:6:0;;-1:-1:-1;;;;;5686:6:0;5613:87;;39229:37;;;;;;;;;;;;;;;;26757:104;;;;;;;;;;;;;:::i;39750:561::-;;;;;;:::i;:::-;;:::i;28440:155::-;;;;;;;;;;-1:-1:-1;28440:155:0;;;;;:::i;:::-;;:::i;39116:31::-;;;;;;;;;;;;;:::i;42578:136::-;;;;;;;;;;-1:-1:-1;42578:136:0;;;;;:::i;:::-;;:::i;29563:328::-;;;;;;;;;;-1:-1:-1;29563:328:0;;;;;:::i;:::-;;:::i;40723:509::-;;;;;;;;;;-1:-1:-1;40723:509:0;;;;;:::i;:::-;;:::i;39192:30::-;;;;;;;;;;;;;;;;42395:87;;;;;;;;;;-1:-1:-1;42395:87:0;;;;;:::i;:::-;;:::i;28666:164::-;;;;;;;;;;-1:-1:-1;28666:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;28787:25:0;;;28763:4;28787:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28666:164;6522:201;;;;;;;;;;-1:-1:-1;6522:201:0;;;;;:::i;:::-;;:::i;25643:305::-;25745:4;-1:-1:-1;;;;;;25782:40:0;;-1:-1:-1;;;25782:40:0;;:105;;-1:-1:-1;;;;;;;25839:48:0;;-1:-1:-1;;;25839:48:0;25782:105;:158;;;-1:-1:-1;;;;;;;;;;18506:40:0;;;25904:36;25762:178;25643:305;-1:-1:-1;;25643:305:0:o;26588:100::-;26642:13;26675:5;26668:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26588:100;:::o;28147:221::-;28223:7;31490:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31490:16:0;28243:73;;;;-1:-1:-1;;;28243:73:0;;12977:2:1;28243:73:0;;;12959:21:1;13016:2;12996:18;;;12989:30;13055:34;13035:18;;;13028:62;-1:-1:-1;;;13106:18:1;;;13099:42;13158:19;;28243:73:0;;;;;;;;;-1:-1:-1;28336:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28336:24:0;;28147:221::o;40325:156::-;40381:7;40400:21;40424;40438:6;40424:13;:21::i;:::-;40462:11;;40325:156;-1:-1:-1;;;40325:156:0:o;27670:411::-;27751:13;27767:23;27782:7;27767:14;:23::i;:::-;27751:39;;27815:5;-1:-1:-1;;;;;27809:11:0;:2;-1:-1:-1;;;;;27809:11:0;;;27801:57;;;;-1:-1:-1;;;27801:57:0;;14878:2:1;27801:57:0;;;14860:21:1;14917:2;14897:18;;;14890:30;14956:34;14936:18;;;14929:62;-1:-1:-1;;;15007:18:1;;;15000:31;15048:19;;27801:57:0;14676:397:1;27801:57:0;4417:10;-1:-1:-1;;;;;27893:21:0;;;;:62;;-1:-1:-1;27918:37:0;27935:5;4417:10;28666:164;:::i;27918:37::-;27871:168;;;;-1:-1:-1;;;27871:168:0;;11370:2:1;27871:168:0;;;11352:21:1;11409:2;11389:18;;;11382:30;11448:34;11428:18;;;11421:62;11519:26;11499:18;;;11492:54;11563:19;;27871:168:0;11168:420:1;27871:168:0;28052:21;28061:2;28065:7;28052:8;:21::i;:::-;27740:341;27670:411;;:::o;42053:106::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42129:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;42053:106:::0;:::o;42167:83::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42227:6:::1;:15:::0;;-1:-1:-1;;42227:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;42167:83::o;42722:95::-;42766:7;42793:16;:6;1033:14;;941:114;42793:16;42786:23;;42722:95;:::o;28897:339::-;29092:41;4417:10;29125:7;29092:18;:41::i;:::-;29084:103;;;;-1:-1:-1;;;29084:103:0;;;;;;;:::i;:::-;29200:28;29210:4;29216:2;29220:7;29200:9;:28::i;42943:147::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42992:7:::1;43013;5686:6:::0;;-1:-1:-1;;;;;5686:6:0;;5613:87;43013:7:::1;-1:-1:-1::0;;;;;43005:21:0::1;43034;43005:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42991:69;;;43079:2;43071:11;;;::::0;::::1;;42980:110;42943:147::o:0;29307:185::-;29445:39;29462:4;29468:2;29472:7;29445:39;;;;;;;;;;;;:16;:39::i;41240:689::-;41300:16;41329:23;41355:17;41365:6;41355:9;:17::i;:::-;41329:43;;41383:30;41430:15;41416:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41416:30:0;-1:-1:-1;41383:63:0;-1:-1:-1;41482:1:0;41457:22;41534:355;41559:15;41541;:33;:64;;;;;41596:9;;41578:14;:27;;41541:64;41534:355;;;41624:25;41652:23;41660:14;41652:7;:23::i;:::-;41624:51;;41717:6;-1:-1:-1;;;;;41696:27:0;:17;-1:-1:-1;;;;;41696:27:0;;41692:153;;;41777:14;41744:13;41758:15;41744:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;41812:17;;;;:::i;:::-;;;;41692:153;41861:16;;;;:::i;:::-;;;;41607:282;41534:355;;;-1:-1:-1;41908:13:0;;41240:689;-1:-1:-1;;;;41240:689:0:o;42490:80::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42550:4:::1;:12:::0;42490:80::o;42258:129::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42344:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;39076:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38987:82::-;;;;;;;:::i;26282:239::-;26354:7;26390:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26390:16:0;26425:19;26417:73;;;;-1:-1:-1;;;26417:73:0;;12206:2:1;26417:73:0;;;12188:21:1;12245:2;12225:18;;;12218:30;12284:34;12264:18;;;12257:62;-1:-1:-1;;;12335:18:1;;;12328:39;12384:19;;26417:73:0;12004:405:1;26012:208:0;26084:7;-1:-1:-1;;;;;26112:19:0;;26104:74;;;;-1:-1:-1;;;26104:74:0;;11795:2:1;26104:74:0;;;11777:21:1;11834:2;11814:18;;;11807:30;11873:34;11853:18;;;11846:62;-1:-1:-1;;;11924:18:1;;;11917:40;11974:19;;26104:74:0;11593:406:1;26104:74:0;-1:-1:-1;;;;;;26196:16:0;;;;;:9;:16;;;;;;;26012:208::o;6264:103::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;6329:30:::1;6356:1;6329:18;:30::i;:::-;6264:103::o:0;41939:106::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42015:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;26757:104::-:0;26813:13;26846:7;26839:14;;;;;:::i;39750:561::-;39815:11;39572:1;39558:11;:15;:52;;;;;39592:18;;39577:11;:33;;39558:52;39550:85;;;;-1:-1:-1;;;39550:85:0;;9849:2:1;39550:85:0;;;9831:21:1;9888:2;9868:18;;;9861:30;-1:-1:-1;;;9907:18:1;;;9900:50;9967:18;;39550:85:0;9647:344:1;39550:85:0;39688:9;;39673:11;39654:16;:6;1033:14;;941:114;39654:16;:30;;;;:::i;:::-;:43;;39646:76;;;;-1:-1:-1;;;39646:76:0;;15280:2:1;39646:76:0;;;15262:21:1;15319:2;15299:18;;;15292:30;-1:-1:-1;;;15338:18:1;;;15331:50;15398:18;;39646:76:0;15078:344:1;39646:76:0;39848:6:::1;::::0;::::1;;39847:7;39839:43;;;::::0;-1:-1:-1;;;39839:43:0;;14110:2:1;39839:43:0::1;::::0;::::1;14092:21:1::0;14149:2;14129:18;;;14122:30;14188:25;14168:18;;;14161:53;14231:18;;39839:43:0::1;13908:347:1::0;39839:43:0::1;39917:3;39898:16;:6;1033:14:::0;;941:114;39898:16:::1;:22;39895:409;;;39969:1;39945:21;39955:10;39945:9;:21::i;:::-;:25;39937:69;;;::::0;-1:-1:-1;;;39937:69:0;;13751:2:1;39937:69:0::1;::::0;::::1;13733:21:1::0;13790:2;13770:18;;;13763:30;13829:32;13809:18;;;13802:60;13879:18;;39937:69:0::1;13549:354:1::0;39937:69:0::1;40021:34;40031:10;40043:11;40021:9;:34::i;39895:409::-;40128:1;40104:21;40114:10;40104:9;:21::i;:::-;:25;40096:69;;;::::0;-1:-1:-1;;;40096:69:0;;13751:2:1;40096:69:0::1;::::0;::::1;13733:21:1::0;13790:2;13770:18;;;13763:30;13829:32;13809:18;;;13802:60;13879:18;;40096:69:0::1;13549:354:1::0;40096:69:0::1;40208:11;40201:4;;:18;;;;:::i;:::-;40188:9;:31;;40180:63;;;::::0;-1:-1:-1;;;40180:63:0;;16047:2:1;40180:63:0::1;::::0;::::1;16029:21:1::0;16086:2;16066:18;;;16059:30;-1:-1:-1;;;16105:18:1;;;16098:49;16164:18;;40180:63:0::1;15845:343:1::0;28440:155:0;28535:52;4417:10;28568:8;28578;28535:18;:52::i;39116:31::-;;;;;;;:::i;42578:136::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42666:18:::1;:40:::0;42578:136::o;29563:328::-;29738:41;4417:10;29771:7;29738:18;:41::i;:::-;29730:103;;;;-1:-1:-1;;;29730:103:0;;;;;;;:::i;:::-;29844:39;29858:4;29864:2;29868:7;29877:5;29844:13;:39::i;:::-;29563:328;;;;:::o;40723:509::-;31466:4;31490:16;;;:7;:16;;;;;;40797:13;;-1:-1:-1;;;;;31490:16:0;40822:106;;;;-1:-1:-1;;;40822:106:0;;14462:2:1;40822:106:0;;;14444:21:1;14501:2;14481:18;;;14474:30;14540:34;14520:18;;;14513:62;-1:-1:-1;;;14591:18:1;;;14584:45;14646:19;;40822:106:0;14260:411:1;40822:106:0;40945:8;;;;;;;40941:74;;40986:17;40979:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40723:509;;;:::o;40941:74::-;41027:28;41058:10;:8;:10::i;:::-;41027:41;;41117:1;41092:14;41086:28;:32;:138;;;;;;;;;;;;;;;;;41158:14;41174:19;:8;:17;:19::i;:::-;41195:9;41141:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41086:138;41079:145;40723:509;-1:-1:-1;;;40723:509:0:o;42395:87::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;42457:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;42457:17:0;;::::1;::::0;;;::::1;::::0;;42395:87::o;6522:201::-;5686:6;;-1:-1:-1;;;;;5686:6:0;4417:10;5833:23;5825:68;;;;-1:-1:-1;;;5825:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;6611:22:0;::::1;6603:73;;;::::0;-1:-1:-1;;;6603:73:0;;8679:2:1;6603:73:0::1;::::0;::::1;8661:21:1::0;8718:2;8698:18;;;8691:30;8757:34;8737:18;;;8730:62;-1:-1:-1;;;8808:18:1;;;8801:36;8854:19;;6603:73:0::1;8477:402:1::0;6603:73:0::1;6687:28;6706:8;6687:18;:28::i;35547:174::-:0;35622:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;35622:29:0;-1:-1:-1;;;;;35622:29:0;;;;;;;;:24;;35676:23;35622:24;35676:14;:23::i;:::-;-1:-1:-1;;;;;35667:46:0;;;;;;;;;;;35547:174;;:::o;31695:348::-;31788:4;31490:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31490:16:0;31805:73;;;;-1:-1:-1;;;31805:73:0;;10957:2:1;31805:73:0;;;10939:21:1;10996:2;10976:18;;;10969:30;11035:34;11015:18;;;11008:62;-1:-1:-1;;;11086:18:1;;;11079:42;11138:19;;31805:73:0;10755:408:1;31805:73:0;31889:13;31905:23;31920:7;31905:14;:23::i;:::-;31889:39;;31958:5;-1:-1:-1;;;;;31947:16:0;:7;-1:-1:-1;;;;;31947:16:0;;:51;;;;31991:7;-1:-1:-1;;;;;31967:31:0;:20;31979:7;31967:11;:20::i;:::-;-1:-1:-1;;;;;31967:31:0;;31947:51;:87;;;-1:-1:-1;;;;;;28787:25:0;;;28763:4;28787:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;32002:32;31939:96;31695:348;-1:-1:-1;;;;31695:348:0:o;34804:625::-;34963:4;-1:-1:-1;;;;;34936:31:0;:23;34951:7;34936:14;:23::i;:::-;-1:-1:-1;;;;;34936:31:0;;34928:81;;;;-1:-1:-1;;;34928:81:0;;9086:2:1;34928:81:0;;;9068:21:1;9125:2;9105:18;;;9098:30;9164:34;9144:18;;;9137:62;-1:-1:-1;;;9215:18:1;;;9208:35;9260:19;;34928:81:0;8884:401:1;34928:81:0;-1:-1:-1;;;;;35028:16:0;;35020:65;;;;-1:-1:-1;;;35020:65:0;;10198:2:1;35020:65:0;;;10180:21:1;10237:2;10217:18;;;10210:30;10276:34;10256:18;;;10249:62;-1:-1:-1;;;10327:18:1;;;10320:34;10371:19;;35020:65:0;9996:400:1;35020:65:0;35202:29;35219:1;35223:7;35202:8;:29::i;:::-;-1:-1:-1;;;;;35244:15:0;;;;;;:9;:15;;;;;:20;;35263:1;;35244:15;:20;;35263:1;;35244:20;:::i;:::-;;;;-1:-1:-1;;;;;;;35275:13:0;;;;;;:9;:13;;;;;:18;;35292:1;;35275:13;:18;;35292:1;;35275:18;:::i;:::-;;;;-1:-1:-1;;35304:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;35304:21:0;-1:-1:-1;;;;;35304:21:0;;;;;;;;;35343:27;;35304:16;;35343:27;;;;;;;27740:341;27670:411;;:::o;6883:191::-;6976:6;;;-1:-1:-1;;;;;6993:17:0;;;-1:-1:-1;;;;;;6993:17:0;;;;;;;7026:40;;6976:6;;;6993:17;6976:6;;7026:40;;6957:16;;7026:40;6946:128;6883:191;:::o;40489:226::-;40573:9;40568:140;40592:11;40588:1;:15;40568:140;;;40625:18;:6;1152:19;;1170:1;1152:19;;;1063:127;40625:18;40658:38;40668:9;40679:16;:6;1033:14;;941:114;40679:16;40658:9;:38::i;:::-;40605:3;;;;:::i;:::-;;;;40568:140;;35863:315;36018:8;-1:-1:-1;;;;;36009:17:0;:5;-1:-1:-1;;;;;36009:17:0;;;36001:55;;;;-1:-1:-1;;;36001:55:0;;10603:2:1;36001:55:0;;;10585:21:1;10642:2;10622:18;;;10615:30;10681:27;10661:18;;;10654:55;10726:18;;36001:55:0;10401:349:1;36001:55:0;-1:-1:-1;;;;;36067:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;36067:46:0;;;;;;;;;;36129:41;;7782::1;;;36129::0;;7755:18:1;36129:41:0;;;;;;;35863:315;;;:::o;30773:::-;30930:28;30940:4;30946:2;30950:7;30930:9;:28::i;:::-;30977:48;31000:4;31006:2;31010:7;31019:5;30977:22;:48::i;:::-;30969:111;;;;-1:-1:-1;;;30969:111:0;;;;;;;:::i;42825:110::-;42885:13;42918:9;42911:16;;;;;:::i;1899:723::-;1955:13;2176:10;2172:53;;-1:-1:-1;;2203:10:0;;;;;;;;;;;;-1:-1:-1;;;2203:10:0;;;;;1899:723::o;2172:53::-;2250:5;2235:12;2291:78;2298:9;;2291:78;;2324:8;;;;:::i;:::-;;-1:-1:-1;2347:10:0;;-1:-1:-1;2355:2:0;2347:10;;:::i;:::-;;;2291:78;;;2379:19;2411:6;2401:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2401:17:0;;2379:39;;2429:154;2436:10;;2429:154;;2463:11;2473:1;2463:11;;:::i;:::-;;-1:-1:-1;2532:10:0;2540:2;2532:5;:10;:::i;:::-;2519:24;;:2;:24;:::i;:::-;2506:39;;2489:6;2496;2489:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2489:56:0;;;;;;;;-1:-1:-1;2560:11:0;2569:2;2560:11;;:::i;:::-;;;2429:154;;32385:110;32461:26;32471:2;32475:7;32461:26;;;;;;;;;;;;:9;:26::i;36743:799::-;36898:4;-1:-1:-1;;;;;36919:13:0;;8609:19;:23;36915:620;;36955:72;;-1:-1:-1;;;36955:72:0;;-1:-1:-1;;;;;36955:36:0;;;;;:72;;4417:10;;37006:4;;37012:7;;37021:5;;36955:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36955:72:0;;;;;;;;-1:-1:-1;;36955:72:0;;;;;;;;;;;;:::i;:::-;;;36951:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37197:13:0;;37193:272;;37240:60;;-1:-1:-1;;;37240:60:0;;;;;;;:::i;37193:272::-;37415:6;37409:13;37400:6;37396:2;37392:15;37385:38;36951:529;-1:-1:-1;;;;;;37078:51:0;-1:-1:-1;;;37078:51:0;;-1:-1:-1;37071:58:0;;36915:620;-1:-1:-1;37519:4:0;36743:799;;;;;;:::o;32722:321::-;32852:18;32858:2;32862:7;32852:5;:18::i;:::-;32903:54;32934:1;32938:2;32942:7;32951:5;32903:22;:54::i;:::-;32881:154;;;;-1:-1:-1;;;32881:154:0;;;;;;;:::i;33379:439::-;-1:-1:-1;;;;;33459:16:0;;33451:61;;;;-1:-1:-1;;;33451:61:0;;12616:2:1;33451:61:0;;;12598:21:1;;;12635:18;;;12628:30;12694:34;12674:18;;;12667:62;12746:18;;33451:61:0;12414:356:1;33451:61:0;31466:4;31490:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31490:16:0;:30;33523:58;;;;-1:-1:-1;;;33523:58:0;;9492:2:1;33523:58:0;;;9474:21:1;9531:2;9511:18;;;9504:30;9570;9550:18;;;9543:58;9618:18;;33523:58:0;9290:352:1;33523:58:0;-1:-1:-1;;;;;33652:13:0;;;;;;:9;:13;;;;;:18;;33669:1;;33652:13;:18;;33669:1;;33652:18;:::i;:::-;;;;-1:-1:-1;;33681:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;33681:21:0;-1:-1:-1;;;;;33681:21:0;;;;;;;;33720:33;;33681:16;;;33720:33;;33681:16;;33720:33;42129:22:::1;42053:106:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:1527::-;4786:3;4824:6;4818:13;4850:4;4863:51;4907:6;4902:3;4897:2;4889:6;4885:15;4863:51;:::i;:::-;4977:13;;4936:16;;;;4999:55;4977:13;4936:16;5021:15;;;4999:55;:::i;:::-;5143:13;;5076:20;;;5116:1;;5203;5225:18;;;;5278;;;;5305:93;;5383:4;5373:8;5369:19;5357:31;;5305:93;5446:2;5436:8;5433:16;5413:18;5410:40;5407:167;;;-1:-1:-1;;;5473:33:1;;5529:4;5526:1;5519:15;5559:4;5480:3;5547:17;5407:167;5590:18;5617:110;;;;5741:1;5736:328;;;;5583:481;;5617:110;-1:-1:-1;;5652:24:1;;5638:39;;5697:20;;;;-1:-1:-1;5617:110:1;;5736:328;16448:1;16441:14;;;16485:4;16472:18;;5831:1;5845:169;5859:8;5856:1;5853:15;5845:169;;;5941:14;;5926:13;;;5919:37;5984:16;;;;5876:10;;5845:169;;;5849:3;;6045:8;6038:5;6034:20;6027:27;;5583:481;-1:-1:-1;6080:3:1;;4562:1527;-1:-1:-1;;;;;;;;;;;4562:1527:1:o;6512:488::-;-1:-1:-1;;;;;6781:15:1;;;6763:34;;6833:15;;6828:2;6813:18;;6806:43;6880:2;6865:18;;6858:34;;;6928:3;6923:2;6908:18;;6901:31;;;6706:4;;6949:45;;6974:19;;6966:6;6949:45;:::i;:::-;6941:53;6512:488;-1:-1:-1;;;;;;6512:488:1:o;7005:632::-;7176:2;7228:21;;;7298:13;;7201:18;;;7320:22;;;7147:4;;7176:2;7399:15;;;;7373:2;7358:18;;;7147:4;7442:169;7456:6;7453:1;7450:13;7442:169;;;7517:13;;7505:26;;7586:15;;;;7551:12;;;;7478:1;7471:9;7442:169;;;-1:-1:-1;7628:3:1;;7005:632;-1:-1:-1;;;;;;7005:632:1:o;7834:219::-;7983:2;7972:9;7965:21;7946:4;8003:44;8043:2;8032:9;8028:18;8020:6;8003:44;:::i;8058:414::-;8260:2;8242:21;;;8299:2;8279:18;;;8272:30;8338:34;8333:2;8318:18;;8311:62;-1:-1:-1;;;8404:2:1;8389:18;;8382:48;8462:3;8447:19;;8058:414::o;13188:356::-;13390:2;13372:21;;;13409:18;;;13402:30;13468:34;13463:2;13448:18;;13441:62;13535:2;13520:18;;13188:356::o;15427:413::-;15629:2;15611:21;;;15668:2;15648:18;;;15641:30;15707:34;15702:2;15687:18;;15680:62;-1:-1:-1;;;15773:2:1;15758:18;;15751:47;15830:3;15815:19;;15427:413::o;16501:128::-;16541:3;16572:1;16568:6;16565:1;16562:13;16559:39;;;16578:18;;:::i;:::-;-1:-1:-1;16614:9:1;;16501:128::o;16634:120::-;16674:1;16700;16690:35;;16705:18;;:::i;:::-;-1:-1:-1;16739:9:1;;16634:120::o;16759:168::-;16799:7;16865:1;16861;16857:6;16853:14;16850:1;16847:21;16842:1;16835:9;16828:17;16824:45;16821:71;;;16872:18;;:::i;:::-;-1:-1:-1;16912:9:1;;16759:168::o;16932:125::-;16972:4;17000:1;16997;16994:8;16991:34;;;17005:18;;:::i;:::-;-1:-1:-1;17042:9:1;;16932:125::o;17062:258::-;17134:1;17144:113;17158:6;17155:1;17152:13;17144:113;;;17234:11;;;17228:18;17215:11;;;17208:39;17180:2;17173:10;17144:113;;;17275:6;17272:1;17269:13;17266:48;;;-1:-1:-1;;17310:1:1;17292:16;;17285:27;17062:258::o;17325:380::-;17404:1;17400:12;;;;17447;;;17468:61;;17522:4;17514:6;17510:17;17500:27;;17468:61;17575:2;17567:6;17564:14;17544:18;17541:38;17538:161;;;17621:10;17616:3;17612:20;17609:1;17602:31;17656:4;17653:1;17646:15;17684:4;17681:1;17674:15;17538:161;;17325:380;;;:::o;17710:135::-;17749:3;-1:-1:-1;;17770:17:1;;17767:43;;;17790:18;;:::i;:::-;-1:-1:-1;17837:1:1;17826:13;;17710:135::o;17850:112::-;17882:1;17908;17898:35;;17913:18;;:::i;:::-;-1:-1:-1;17947:9:1;;17850:112::o;17967:127::-;18028:10;18023:3;18019:20;18016:1;18009:31;18059:4;18056:1;18049:15;18083:4;18080:1;18073:15;18099:127;18160:10;18155:3;18151:20;18148:1;18141:31;18191:4;18188:1;18181:15;18215:4;18212:1;18205:15;18231:127;18292:10;18287:3;18283:20;18280:1;18273:31;18323:4;18320:1;18313:15;18347:4;18344:1;18337:15;18363:127;18424:10;18419:3;18415:20;18412:1;18405:31;18455:4;18452:1;18445:15;18479:4;18476:1;18469:15;18495:131;-1:-1:-1;;;;;;18569:32:1;;18559:43;;18549:71;;18616:1;18613;18606:12
Swarm Source
ipfs://5d2d75c6505024cdda1c6bf8f05d73cb548774c70513232d69ad07bffa7258ff
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.