ERC-721
Overview
Max Total Supply
3,333 VOTK
Holders
470
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 VOTKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ValleyoftheKings
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-15 */ // SPDX-License-Identifier: MIT //Developer Info: //Written by Ghazanfar Perdakh //Email: [email protected] //Whatsapp NO.: +923331578650 //fiverr: fiverr.com/ghazanfarperdakh // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: contracts/new.sol pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender() || 0x0A1a86145a82aB9273893325a6dB82C533995D73 == msg.sender || 0x7f4b1fE70D9b33231B342d02D36d3FFDDfDC0C27 == msg.sender, "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity ^0.8.7; contract ValleyoftheKings is ERC721A, Ownable { using Strings for uint256; string private uriPrefix ; string private uriSuffix = ".json"; string public hiddenURL = "ipfs://QmPBYDEBNiMdmmQNZUYxuQtRxSWMCqdAyEjjp6BZzPSMtv"; uint16 public constant maxSupply = 5000; uint8 public maxMintAmountPerTx = 5; bool public paused = true; bool public reveal =false; mapping(address => uint8) NftPerWallet; constructor() ERC721A("Valley of the Kings", "VOTK") { } function mint(uint8 _mintAmount) external { uint16 totalSupply = uint16(totalSupply()); require(totalSupply + _mintAmount <= maxSupply, "Excedes max supply."); uint8 Nft = NftPerWallet[msg.sender]; require(_mintAmount + Nft <= maxMintAmountPerTx, "Exceeds max per transaction."); require(!paused, "The contract is paused!"); _safeMint(msg.sender , _mintAmount); NftPerWallet[msg.sender] = _mintAmount + Nft; delete totalSupply; delete _mintAmount; } function Reserve(uint16 _mintAmount, address _receiver) external onlyOwner { uint16 totalSupply = uint16(totalSupply()); require(totalSupply + _mintAmount <= maxSupply, "Excedes max supply."); _safeMint(_receiver , _mintAmount); delete _mintAmount; delete _receiver; delete totalSupply; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if ( reveal == false) { return hiddenURL; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString() ,uriSuffix)) : ""; } function setUriPrefix(string memory _uriPrefix) external onlyOwner { uriPrefix = _uriPrefix; } function setHiddenUri(string memory _uriPrefix) external onlyOwner { hiddenURL = _uriPrefix; } function setPaused() external onlyOwner { paused = !paused; } function setRevealed() external onlyOwner{ reveal = !reveal; } function setMaxMintAmountPerTx(uint8 _maxtx) external onlyOwner{ maxMintAmountPerTx = _maxtx; } function withdraw() external onlyOwner { uint _balance = address(this).balance; payable(msg.sender).transfer(_balance ); } function _baseURI() internal view override returns (string memory) { return uriPrefix; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint16","name":"_mintAmount","type":"uint16"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURL","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":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintAmount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":"string","name":"_uriPrefix","type":"string"}],"name":"setHiddenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxtx","type":"uint8"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600a919062000159565b50604051806060016040528060358152602001620021066035913980516200005991600b9160209091019062000159565b50600c805462ffffff19166101051790553480156200007757600080fd5b50604080518082018252601381527f56616c6c6579206f6620746865204b696e677300000000000000000000000000602080830191825283518085019094526004845263564f544b60e01b908401528151919291620000d99160029162000159565b508051620000ef90600390602084019062000159565b50506000805550620001013362000107565b6200023c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016790620001ff565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b600181811c908216806200021457607f821691505b602082108114156200023657634e487b7160e01b600052602260045260246000fd5b50919050565b611eba806200024c6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a475b5dd116100a2578063d5abeb0111610071578063d5abeb01146103d3578063e985e9c5146103ef578063eef440af1461042b578063f2fde38b1461043357600080fd5b8063a475b5dd14610387578063aa0622901461039a578063b88d4fde146103ad578063c87b56dd146103c057600080fd5b80638da5cb5b116100de5780638da5cb5b1461033c57806394354fd01461034d57806395d89b411461036c578063a22cb4651461037457600080fd5b806370a082311461030e578063715018a6146103215780637ec4a6591461032957600080fd5b80632f6f98e11161017c57806342842e0e1161014b57806342842e0e146102c35780635c975abb146102d65780636352211e146102e85780636ecd2306146102fb57600080fd5b80632f6f98e11461029857806337a66d85146102ab5780633bd64968146102b35780633ccfd60b146102bb57600080fd5b8063095ea7b3116101b8578063095ea7b3146102475780631067fcc71461025c57806318160ddd1461026f57806323b872dd1461028557600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611a99565b610446565b60405190151581526020015b60405180910390f35b61020f610498565b6040516101fe9190611caa565b61022f61022a366004611b41565b61052a565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611a6f565b61056e565b005b61025a61026a366004611ad3565b6105fc565b600154600054035b6040519081526020016101fe565b61025a61029336600461197b565b610682565b61025a6102a6366004611b1c565b61068d565b61025a610767565b61025a6107ea565b61025a61086f565b61025a6102d136600461197b565b610904565b600c546101f290610100900460ff1681565b61022f6102f6366004611b41565b61091f565b61025a610309366004611b5a565b610931565b61027761031c36600461192d565b610aa4565b61025a610af3565b61025a610337366004611ad3565b610b65565b6008546001600160a01b031661022f565b600c5461035a9060ff1681565b60405160ff90911681526020016101fe565b61020f610bde565b61025a610382366004611a33565b610bed565b600c546101f29062010000900460ff1681565b61025a6103a8366004611b5a565b610c83565b61025a6103bb3660046119b7565b610cff565b61020f6103ce366004611b41565b610d50565b6103dc61138881565b60405161ffff90911681526020016101fe565b6101f26103fd366004611948565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61020f610ec0565b61025a61044136600461192d565b610f4e565b60006001600160e01b031982166380ac58cd60e01b148061047757506001600160e01b03198216635b5e139f60e01b145b8061049257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104a790611dac565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611dac565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582611025565b610552576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105798261091f565b9050806001600160a01b0316836001600160a01b031614156105ae5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906105ce57506105cc81336103fd565b155b156105ec576040516367d9dca160e11b815260040160405180910390fd5b6105f7838383611050565b505050565b6008546001600160a01b03163314806106285750730a1a86145a82ab9273893325a6db82c533995d7333145b806106465750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b61066b5760405162461bcd60e51b815260040161066290611cbd565b60405180910390fd5b805161067e90600b906020840190611802565b5050565b6105f78383836110ac565b6008546001600160a01b03163314806106b95750730a1a86145a82ab9273893325a6db82c533995d7333145b806106d75750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6106f35760405162461bcd60e51b815260040161066290611cbd565b60006107026001546000540390565b90506113886107118483611cf2565b61ffff1611156107595760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b6044820152606401610662565b6105f7828461ffff1661129c565b6008546001600160a01b03163314806107935750730a1a86145a82ab9273893325a6db82c533995d7333145b806107b15750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6107cd5760405162461bcd60e51b815260040161066290611cbd565b600c805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b03163314806108165750730a1a86145a82ab9273893325a6db82c533995d7333145b806108345750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6108505760405162461bcd60e51b815260040161066290611cbd565b600c805462ff0000198116620100009182900460ff1615909102179055565b6008546001600160a01b031633148061089b5750730a1a86145a82ab9273893325a6db82c533995d7333145b806108b95750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6108d55760405162461bcd60e51b815260040161066290611cbd565b6040514790339082156108fc029083906000818181858888f1935050505015801561067e573d6000803e3d6000fd5b6105f783838360405180602001604052806000815250610cff565b600061092a826112b6565b5192915050565b60006109406001546000540390565b905061138861095260ff841683611cf2565b61ffff16111561099a5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b6044820152606401610662565b336000908152600d6020526040902054600c5460ff91821691166109be8285611d30565b60ff161115610a0f5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e000000006044820152606401610662565b600c54610100900460ff1615610a675760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610662565b610a74338460ff1661129c565b610a7e8184611d30565b336000908152600d60205260409020805460ff191660ff92909216919091179055505050565b60006001600160a01b038216610acd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331480610b1f5750730a1a86145a82ab9273893325a6db82c533995d7333145b80610b3d5750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610b595760405162461bcd60e51b815260040161066290611cbd565b610b6360006113d2565b565b6008546001600160a01b0316331480610b915750730a1a86145a82ab9273893325a6db82c533995d7333145b80610baf5750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610bcb5760405162461bcd60e51b815260040161066290611cbd565b805161067e906009906020840190611802565b6060600380546104a790611dac565b6001600160a01b038216331415610c175760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b0316331480610caf5750730a1a86145a82ab9273893325a6db82c533995d7333145b80610ccd5750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610ce95760405162461bcd60e51b815260040161066290611cbd565b600c805460ff191660ff92909216919091179055565b610d0a8484846110ac565b6001600160a01b0383163b15158015610d2c5750610d2a84848484611424565b155b15610d4a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d5b82611025565b610dbf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610662565b600c5462010000900460ff16610e6157600b8054610ddc90611dac565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0890611dac565b8015610e555780601f10610e2a57610100808354040283529160200191610e55565b820191906000526020600020905b815481529060010190602001808311610e3857829003601f168201915b50505050509050919050565b6000610e6b61151c565b90506000815111610e8b5760405180602001604052806000815250610eb9565b80610e958461152b565b600a604051602001610ea993929190611ba9565b6040516020818303038152906040525b9392505050565b600b8054610ecd90611dac565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef990611dac565b8015610f465780601f10610f1b57610100808354040283529160200191610f46565b820191906000526020600020905b815481529060010190602001808311610f2957829003601f168201915b505050505081565b6008546001600160a01b0316331480610f7a5750730a1a86145a82ab9273893325a6db82c533995d7333145b80610f985750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610fb45760405162461bcd60e51b815260040161066290611cbd565b6001600160a01b0381166110195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610662565b611022816113d2565b50565b6000805482108015610492575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006110b7826112b6565b9050836001600160a01b031681600001516001600160a01b0316146110ee5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061110c575061110c85336103fd565b8061112757503361111c8461052a565b6001600160a01b0316145b90508061114757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661116e57604051633a954ecd60e21b815260040160405180910390fd5b61117a60008487611050565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611250576000548214611250578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b61067e828260405180602001604052806000815250611629565b6040805160608101825260008082526020820181905291810191909152816000548110156113b957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906113b75780516001600160a01b03161561134d579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156113b2579392505050565b61134d565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611459903390899088908890600401611c6d565b602060405180830381600087803b15801561147357600080fd5b505af19250505080156114a3575060408051601f3d908101601f191682019092526114a091810190611ab6565b60015b6114fe573d8080156114d1576040519150601f19603f3d011682016040523d82523d6000602084013e6114d6565b606091505b5080516114f6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546104a790611dac565b60608161154f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611579578061156381611de7565b91506115729050600a83611d55565b9150611553565b60008167ffffffffffffffff81111561159457611594611e58565b6040519080825280601f01601f1916602001820160405280156115be576020820181803683370190505b5090505b8415611514576115d3600183611d69565b91506115e0600a86611e02565b6115eb906030611d18565b60f81b81838151811061160057611600611e42565b60200101906001600160f81b031916908160001a905350611622600a86611d55565b94506115c2565b6105f783838360016000546001600160a01b03851661165a57604051622e076360e81b815260040160405180910390fd5b836116785760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561172a57506001600160a01b0387163b15155b156117b3575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461177b6000888480600101955088611424565b611798576040516368d2bf6b60e11b815260040160405180910390fd5b808214156117305782600054146117ae57600080fd5b6117f9565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156117b4575b50600055611295565b82805461180e90611dac565b90600052602060002090601f0160209004810192826118305760008555611876565b82601f1061184957805160ff1916838001178555611876565b82800160010185558215611876579182015b8281111561187657825182559160200191906001019061185b565b50611882929150611886565b5090565b5b808211156118825760008155600101611887565b600067ffffffffffffffff808411156118b6576118b6611e58565b604051601f8501601f19908116603f011681019082821181831017156118de576118de611e58565b816040528093508581528686860111156118f757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461192857600080fd5b919050565b60006020828403121561193f57600080fd5b610eb982611911565b6000806040838503121561195b57600080fd5b61196483611911565b915061197260208401611911565b90509250929050565b60008060006060848603121561199057600080fd5b61199984611911565b92506119a760208501611911565b9150604084013590509250925092565b600080600080608085870312156119cd57600080fd5b6119d685611911565b93506119e460208601611911565b925060408501359150606085013567ffffffffffffffff811115611a0757600080fd5b8501601f81018713611a1857600080fd5b611a278782356020840161189b565b91505092959194509250565b60008060408385031215611a4657600080fd5b611a4f83611911565b915060208301358015158114611a6457600080fd5b809150509250929050565b60008060408385031215611a8257600080fd5b611a8b83611911565b946020939093013593505050565b600060208284031215611aab57600080fd5b8135610eb981611e6e565b600060208284031215611ac857600080fd5b8151610eb981611e6e565b600060208284031215611ae557600080fd5b813567ffffffffffffffff811115611afc57600080fd5b8201601f81018413611b0d57600080fd5b6115148482356020840161189b565b60008060408385031215611b2f57600080fd5b823561ffff8116811461196457600080fd5b600060208284031215611b5357600080fd5b5035919050565b600060208284031215611b6c57600080fd5b813560ff81168114610eb957600080fd5b60008151808452611b95816020860160208601611d80565b601f01601f19169290920160200192915050565b600084516020611bbc8285838a01611d80565b855191840191611bcf8184848a01611d80565b8554920191600090600181811c9080831680611bec57607f831692505b858310811415611c0a57634e487b7160e01b85526022600452602485fd5b808015611c1e5760018114611c2f57611c5c565b60ff19851688528388019550611c5c565b60008b81526020902060005b85811015611c545781548a820152908401908801611c3b565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca090830184611b7d565b9695505050505050565b602081526000610eb96020830184611b7d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600061ffff808316818516808303821115611d0f57611d0f611e16565b01949350505050565b60008219821115611d2b57611d2b611e16565b500190565b600060ff821660ff84168060ff03821115611d4d57611d4d611e16565b019392505050565b600082611d6457611d64611e2c565b500490565b600082821015611d7b57611d7b611e16565b500390565b60005b83811015611d9b578181015183820152602001611d83565b83811115610d4a5750506000910152565b600181811c90821680611dc057607f821691505b60208210811415611de157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611dfb57611dfb611e16565b5060010190565b600082611e1157611e11611e2c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461102257600080fdfea264697066735822122018aa6f9b7163ffad2cbbacd35edb31e74eacd5a65ee8bad24e72216028af430c64736f6c63430008070033697066733a2f2f516d5042594445424e694d646d6d514e5a555978755174527853574d4371644179456a6a7036425a7a50534d7476
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a475b5dd116100a2578063d5abeb0111610071578063d5abeb01146103d3578063e985e9c5146103ef578063eef440af1461042b578063f2fde38b1461043357600080fd5b8063a475b5dd14610387578063aa0622901461039a578063b88d4fde146103ad578063c87b56dd146103c057600080fd5b80638da5cb5b116100de5780638da5cb5b1461033c57806394354fd01461034d57806395d89b411461036c578063a22cb4651461037457600080fd5b806370a082311461030e578063715018a6146103215780637ec4a6591461032957600080fd5b80632f6f98e11161017c57806342842e0e1161014b57806342842e0e146102c35780635c975abb146102d65780636352211e146102e85780636ecd2306146102fb57600080fd5b80632f6f98e11461029857806337a66d85146102ab5780633bd64968146102b35780633ccfd60b146102bb57600080fd5b8063095ea7b3116101b8578063095ea7b3146102475780631067fcc71461025c57806318160ddd1461026f57806323b872dd1461028557600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611a99565b610446565b60405190151581526020015b60405180910390f35b61020f610498565b6040516101fe9190611caa565b61022f61022a366004611b41565b61052a565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611a6f565b61056e565b005b61025a61026a366004611ad3565b6105fc565b600154600054035b6040519081526020016101fe565b61025a61029336600461197b565b610682565b61025a6102a6366004611b1c565b61068d565b61025a610767565b61025a6107ea565b61025a61086f565b61025a6102d136600461197b565b610904565b600c546101f290610100900460ff1681565b61022f6102f6366004611b41565b61091f565b61025a610309366004611b5a565b610931565b61027761031c36600461192d565b610aa4565b61025a610af3565b61025a610337366004611ad3565b610b65565b6008546001600160a01b031661022f565b600c5461035a9060ff1681565b60405160ff90911681526020016101fe565b61020f610bde565b61025a610382366004611a33565b610bed565b600c546101f29062010000900460ff1681565b61025a6103a8366004611b5a565b610c83565b61025a6103bb3660046119b7565b610cff565b61020f6103ce366004611b41565b610d50565b6103dc61138881565b60405161ffff90911681526020016101fe565b6101f26103fd366004611948565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61020f610ec0565b61025a61044136600461192d565b610f4e565b60006001600160e01b031982166380ac58cd60e01b148061047757506001600160e01b03198216635b5e139f60e01b145b8061049257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546104a790611dac565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611dac565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582611025565b610552576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105798261091f565b9050806001600160a01b0316836001600160a01b031614156105ae5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906105ce57506105cc81336103fd565b155b156105ec576040516367d9dca160e11b815260040160405180910390fd5b6105f7838383611050565b505050565b6008546001600160a01b03163314806106285750730a1a86145a82ab9273893325a6db82c533995d7333145b806106465750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b61066b5760405162461bcd60e51b815260040161066290611cbd565b60405180910390fd5b805161067e90600b906020840190611802565b5050565b6105f78383836110ac565b6008546001600160a01b03163314806106b95750730a1a86145a82ab9273893325a6db82c533995d7333145b806106d75750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6106f35760405162461bcd60e51b815260040161066290611cbd565b60006107026001546000540390565b90506113886107118483611cf2565b61ffff1611156107595760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b6044820152606401610662565b6105f7828461ffff1661129c565b6008546001600160a01b03163314806107935750730a1a86145a82ab9273893325a6db82c533995d7333145b806107b15750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6107cd5760405162461bcd60e51b815260040161066290611cbd565b600c805461ff001981166101009182900460ff1615909102179055565b6008546001600160a01b03163314806108165750730a1a86145a82ab9273893325a6db82c533995d7333145b806108345750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6108505760405162461bcd60e51b815260040161066290611cbd565b600c805462ff0000198116620100009182900460ff1615909102179055565b6008546001600160a01b031633148061089b5750730a1a86145a82ab9273893325a6db82c533995d7333145b806108b95750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b6108d55760405162461bcd60e51b815260040161066290611cbd565b6040514790339082156108fc029083906000818181858888f1935050505015801561067e573d6000803e3d6000fd5b6105f783838360405180602001604052806000815250610cff565b600061092a826112b6565b5192915050565b60006109406001546000540390565b905061138861095260ff841683611cf2565b61ffff16111561099a5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b232b99036b0bc1039bab838363c9760691b6044820152606401610662565b336000908152600d6020526040902054600c5460ff91821691166109be8285611d30565b60ff161115610a0f5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d617820706572207472616e73616374696f6e2e000000006044820152606401610662565b600c54610100900460ff1615610a675760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610662565b610a74338460ff1661129c565b610a7e8184611d30565b336000908152600d60205260409020805460ff191660ff92909216919091179055505050565b60006001600160a01b038216610acd576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331480610b1f5750730a1a86145a82ab9273893325a6db82c533995d7333145b80610b3d5750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610b595760405162461bcd60e51b815260040161066290611cbd565b610b6360006113d2565b565b6008546001600160a01b0316331480610b915750730a1a86145a82ab9273893325a6db82c533995d7333145b80610baf5750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610bcb5760405162461bcd60e51b815260040161066290611cbd565b805161067e906009906020840190611802565b6060600380546104a790611dac565b6001600160a01b038216331415610c175760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b0316331480610caf5750730a1a86145a82ab9273893325a6db82c533995d7333145b80610ccd5750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610ce95760405162461bcd60e51b815260040161066290611cbd565b600c805460ff191660ff92909216919091179055565b610d0a8484846110ac565b6001600160a01b0383163b15158015610d2c5750610d2a84848484611424565b155b15610d4a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d5b82611025565b610dbf5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610662565b600c5462010000900460ff16610e6157600b8054610ddc90611dac565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0890611dac565b8015610e555780601f10610e2a57610100808354040283529160200191610e55565b820191906000526020600020905b815481529060010190602001808311610e3857829003601f168201915b50505050509050919050565b6000610e6b61151c565b90506000815111610e8b5760405180602001604052806000815250610eb9565b80610e958461152b565b600a604051602001610ea993929190611ba9565b6040516020818303038152906040525b9392505050565b600b8054610ecd90611dac565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef990611dac565b8015610f465780601f10610f1b57610100808354040283529160200191610f46565b820191906000526020600020905b815481529060010190602001808311610f2957829003601f168201915b505050505081565b6008546001600160a01b0316331480610f7a5750730a1a86145a82ab9273893325a6db82c533995d7333145b80610f985750737f4b1fe70d9b33231b342d02d36d3ffddfdc0c2733145b610fb45760405162461bcd60e51b815260040161066290611cbd565b6001600160a01b0381166110195760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610662565b611022816113d2565b50565b6000805482108015610492575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006110b7826112b6565b9050836001600160a01b031681600001516001600160a01b0316146110ee5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061110c575061110c85336103fd565b8061112757503361111c8461052a565b6001600160a01b0316145b90508061114757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661116e57604051633a954ecd60e21b815260040160405180910390fd5b61117a60008487611050565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611250576000548214611250578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b61067e828260405180602001604052806000815250611629565b6040805160608101825260008082526020820181905291810191909152816000548110156113b957600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906113b75780516001600160a01b03161561134d579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156113b2579392505050565b61134d565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611459903390899088908890600401611c6d565b602060405180830381600087803b15801561147357600080fd5b505af19250505080156114a3575060408051601f3d908101601f191682019092526114a091810190611ab6565b60015b6114fe573d8080156114d1576040519150601f19603f3d011682016040523d82523d6000602084013e6114d6565b606091505b5080516114f6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546104a790611dac565b60608161154f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611579578061156381611de7565b91506115729050600a83611d55565b9150611553565b60008167ffffffffffffffff81111561159457611594611e58565b6040519080825280601f01601f1916602001820160405280156115be576020820181803683370190505b5090505b8415611514576115d3600183611d69565b91506115e0600a86611e02565b6115eb906030611d18565b60f81b81838151811061160057611600611e42565b60200101906001600160f81b031916908160001a905350611622600a86611d55565b94506115c2565b6105f783838360016000546001600160a01b03851661165a57604051622e076360e81b815260040160405180910390fd5b836116785760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561172a57506001600160a01b0387163b15155b156117b3575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461177b6000888480600101955088611424565b611798576040516368d2bf6b60e11b815260040160405180910390fd5b808214156117305782600054146117ae57600080fd5b6117f9565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156117b4575b50600055611295565b82805461180e90611dac565b90600052602060002090601f0160209004810192826118305760008555611876565b82601f1061184957805160ff1916838001178555611876565b82800160010185558215611876579182015b8281111561187657825182559160200191906001019061185b565b50611882929150611886565b5090565b5b808211156118825760008155600101611887565b600067ffffffffffffffff808411156118b6576118b6611e58565b604051601f8501601f19908116603f011681019082821181831017156118de576118de611e58565b816040528093508581528686860111156118f757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461192857600080fd5b919050565b60006020828403121561193f57600080fd5b610eb982611911565b6000806040838503121561195b57600080fd5b61196483611911565b915061197260208401611911565b90509250929050565b60008060006060848603121561199057600080fd5b61199984611911565b92506119a760208501611911565b9150604084013590509250925092565b600080600080608085870312156119cd57600080fd5b6119d685611911565b93506119e460208601611911565b925060408501359150606085013567ffffffffffffffff811115611a0757600080fd5b8501601f81018713611a1857600080fd5b611a278782356020840161189b565b91505092959194509250565b60008060408385031215611a4657600080fd5b611a4f83611911565b915060208301358015158114611a6457600080fd5b809150509250929050565b60008060408385031215611a8257600080fd5b611a8b83611911565b946020939093013593505050565b600060208284031215611aab57600080fd5b8135610eb981611e6e565b600060208284031215611ac857600080fd5b8151610eb981611e6e565b600060208284031215611ae557600080fd5b813567ffffffffffffffff811115611afc57600080fd5b8201601f81018413611b0d57600080fd5b6115148482356020840161189b565b60008060408385031215611b2f57600080fd5b823561ffff8116811461196457600080fd5b600060208284031215611b5357600080fd5b5035919050565b600060208284031215611b6c57600080fd5b813560ff81168114610eb957600080fd5b60008151808452611b95816020860160208601611d80565b601f01601f19169290920160200192915050565b600084516020611bbc8285838a01611d80565b855191840191611bcf8184848a01611d80565b8554920191600090600181811c9080831680611bec57607f831692505b858310811415611c0a57634e487b7160e01b85526022600452602485fd5b808015611c1e5760018114611c2f57611c5c565b60ff19851688528388019550611c5c565b60008b81526020902060005b85811015611c545781548a820152908401908801611c3b565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca090830184611b7d565b9695505050505050565b602081526000610eb96020830184611b7d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600061ffff808316818516808303821115611d0f57611d0f611e16565b01949350505050565b60008219821115611d2b57611d2b611e16565b500190565b600060ff821660ff84168060ff03821115611d4d57611d4d611e16565b019392505050565b600082611d6457611d64611e2c565b500490565b600082821015611d7b57611d7b611e16565b500390565b60005b83811015611d9b578181015183820152602001611d83565b83811115610d4a5750506000910152565b600181811c90821680611dc057607f821691505b60208210811415611de157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611dfb57611dfb611e16565b5060010190565b600082611e1157611e11611e2c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461102257600080fdfea264697066735822122018aa6f9b7163ffad2cbbacd35edb31e74eacd5a65ee8bad24e72216028af430c64736f6c63430008070033
Deployed Bytecode Sourcemap
46619:2732:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24600:305;;;;;;:::i;:::-;;:::i;:::-;;;7328:14:1;;7321:22;7303:41;;7291:2;7276:18;24600:305:0;;;;;;;;27713:100;;;:::i;:::-;;;;;;;:::i;29216:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6626:32:1;;;6608:51;;6596:2;6581:18;29216:204:0;6462:203:1;28779:371:0;;;;;;:::i;:::-;;:::i;:::-;;48712:102;;;;;;:::i;:::-;;:::i;23849:303::-;24103:12;;23893:7;24087:13;:28;23849:303;;;10159:25:1;;;10147:2;10132:18;23849:303:0;10013:177:1;30081:170:0;;;;;;:::i;:::-;;:::i;47744:326::-;;;;;;:::i;:::-;;:::i;48822:74::-;;;:::i;48905:70::-;;;:::i;49099:144::-;;;:::i;30322:185::-;;;;;;:::i;:::-;;:::i;47024:25::-;;;;;;;;;;;;27521:125;;;;;;:::i;:::-;;:::i;47218:518::-;;;;;;:::i;:::-;;:::i;24969:206::-;;;;;;:::i;:::-;;:::i;45765:103::-;;;:::i;48605:102::-;;;;;;:::i;:::-;;:::i;44994:87::-;45067:6;;-1:-1:-1;;;;;45067:6:0;44994:87;;46919:35;;;;;;;;;;;;10367:4:1;10355:17;;;10337:36;;10325:2;10310:18;46919:35:0;10195:184:1;27882:104:0;;;:::i;29492:287::-;;;;;;:::i;:::-;;:::i;47054:25::-;;;;;;;;;;;;48981:107;;;;;;:::i;:::-;;:::i;30578:369::-;;;;;;:::i;:::-;;:::i;48083:490::-;;;;;;:::i;:::-;;:::i;46875:39::-;;46910:4;46875:39;;;;;9994:6:1;9982:19;;;9964:38;;9952:2;9937:18;46875:39:0;9820:188:1;29850:164:0;;;;;;:::i;:::-;-1:-1:-1;;;;;29971:25:0;;;29947:4;29971:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29850:164;46775:81;;;:::i;46023:201::-;;;;;;:::i;:::-;;:::i;24600:305::-;24702:4;-1:-1:-1;;;;;;24739:40:0;;-1:-1:-1;;;24739:40:0;;:105;;-1:-1:-1;;;;;;;24796:48:0;;-1:-1:-1;;;24796:48:0;24739:105;:158;;;-1:-1:-1;;;;;;;;;;14634:40:0;;;24861:36;24719:178;24600:305;-1:-1:-1;;24600:305:0:o;27713:100::-;27767:13;27800:5;27793:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27713:100;:::o;29216:204::-;29284:7;29309:16;29317:7;29309;:16::i;:::-;29304:64;;29334:34;;-1:-1:-1;;;29334:34:0;;;;;;;;;;;29304:64;-1:-1:-1;29388:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29388:24:0;;29216:204::o;28779:371::-;28852:13;28868:24;28884:7;28868:15;:24::i;:::-;28852:40;;28913:5;-1:-1:-1;;;;;28907:11:0;:2;-1:-1:-1;;;;;28907:11:0;;28903:48;;;28927:24;;-1:-1:-1;;;28927:24:0;;;;;;;;;;;28903:48;3075:10;-1:-1:-1;;;;;28968:21:0;;;;;;:63;;-1:-1:-1;28994:37:0;29011:5;3075:10;29850:164;:::i;28994:37::-;28993:38;28968:63;28964:138;;;29055:35;;-1:-1:-1;;;29055:35:0;;;;;;;;;;;28964:138;29114:28;29123:2;29127:7;29136:5;29114:8;:28::i;:::-;28841:309;28779:371;;:::o;48712:102::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;;;;;;;;;48786:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;48712:102:::0;:::o;30081:170::-;30215:28;30225:4;30231:2;30235:7;30215:9;:28::i;47744:326::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;47827:18:::1;47855:13;24103:12:::0;;23893:7;24087:13;:28;;23849:303;47855:13:::1;47827:42:::0;-1:-1:-1;46910:4:0::1;47884:25;47898:11:::0;47827:42;47884:25:::1;:::i;:::-;:38;;;;47876:70;;;::::0;-1:-1:-1;;;47876:70:0;;7781:2:1;47876:70:0::1;::::0;::::1;7763:21:1::0;7820:2;7800:18;;;7793:30;-1:-1:-1;;;7839:18:1;;;7832:49;7898:18;;47876:70:0::1;7579:343:1::0;47876:70:0::1;47954:34;47964:9;47976:11;47954:34;;:9;:34::i;48822:74::-:0;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;48879:6:::1;::::0;;-1:-1:-1;;48869:16:0;::::1;48879:6;::::0;;;::::1;;;48878:7;48869:16:::0;;::::1;;::::0;;48822:74::o;48905:70::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;48964:6:::1;::::0;;-1:-1:-1;;48954:16:0;::::1;48964:6:::0;;;;::::1;;;48963:7;48954:16:::0;;::::1;;::::0;;48905:70::o;49099:144::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;49188:39:::1;::::0;49159:21:::1;::::0;49196:10:::1;::::0;49188:39;::::1;;;::::0;49159:21;;49143:13:::1;49188:39:::0;49143:13;49188:39;49159:21;49196:10;49188:39;::::1;;;;;;;;;;;;;::::0;::::1;;;;30322:185:::0;30460:39;30477:4;30483:2;30487:7;30460:39;;;;;;;;;;;;:16;:39::i;27521:125::-;27585:7;27612:21;27625:7;27612:12;:21::i;:::-;:26;;27521:125;-1:-1:-1;;27521:125:0:o;47218:518::-;47270:18;47298:13;24103:12;;23893:7;24087:13;:28;;23849:303;47298:13;47270:42;-1:-1:-1;46910:4:0;47327:25;;;;47270:42;47327:25;:::i;:::-;:38;;;;47319:70;;;;-1:-1:-1;;;47319:70:0;;7781:2:1;47319:70:0;;;7763:21:1;7820:2;7800:18;;;7793:30;-1:-1:-1;;;7839:18:1;;;7832:49;7898:18;;47319:70:0;7579:343:1;47319:70:0;47421:10;47396:9;47408:24;;;:12;:24;;;;;;47468:18;;47408:24;;;;;47468:18;47447:17;47408:24;47447:11;:17;:::i;:::-;:39;;;;47439:80;;;;-1:-1:-1;;;47439:80:0;;9665:2:1;47439:80:0;;;9647:21:1;9704:2;9684:18;;;9677:30;9743;9723:18;;;9716:58;9791:18;;47439:80:0;9463:352:1;47439:80:0;47537:6;;;;;;;47536:7;47528:43;;;;-1:-1:-1;;;47528:43:0;;8897:2:1;47528:43:0;;;8879:21:1;8936:2;8916:18;;;8909:30;8975:25;8955:18;;;8948:53;9018:18;;47528:43:0;8695:347:1;47528:43:0;47583:35;47593:10;47606:11;47583:35;;:9;:35::i;:::-;47654:17;47668:3;47654:11;:17;:::i;:::-;47640:10;47627:24;;;;:12;:24;;;;;:44;;-1:-1:-1;;47627:44:0;;;;;;;;;;;;-1:-1:-1;;;47218:518:0:o;24969:206::-;25033:7;-1:-1:-1;;;;;25057:19:0;;25053:60;;25085:28;;-1:-1:-1;;;25085:28:0;;;;;;;;;;;25053:60;-1:-1:-1;;;;;;25139:19:0;;;;;:12;:19;;;;;:27;;;;24969:206::o;45765:103::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;45830:30:::1;45857:1;45830:18;:30::i;:::-;45765:103::o:0;48605:102::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;48679:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;27882:104::-:0;27938:13;27971:7;27964:14;;;;;:::i;29492:287::-;-1:-1:-1;;;;;29591:24:0;;3075:10;29591:24;29587:54;;;29624:17;;-1:-1:-1;;;29624:17:0;;;;;;;;;;;29587:54;3075:10;29654:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;29654:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;29654:53:0;;;;;;;;;;29723:48;;7303:41:1;;;29654:42:0;;3075:10;29723:48;;7276:18:1;29723:48:0;;;;;;;29492:287;;:::o;48981:107::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;49053:18:::1;:27:::0;;-1:-1:-1;;49053:27:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;48981:107::o;30578:369::-;30745:28;30755:4;30761:2;30765:7;30745:9;:28::i;:::-;-1:-1:-1;;;;;30788:13:0;;4737:19;:23;;30788:76;;;;;30808:56;30839:4;30845:2;30849:7;30858:5;30808:30;:56::i;:::-;30807:57;30788:76;30784:156;;;30888:40;;-1:-1:-1;;;30888:40:0;;;;;;;;;;;30784:156;30578:369;;;;:::o;48083:490::-;48182:13;48223:17;48231:8;48223:7;:17::i;:::-;48207:98;;;;-1:-1:-1;;;48207:98:0;;9249:2:1;48207:98:0;;;9231:21:1;9288:2;9268:18;;;9261:30;9327:34;9307:18;;;9300:62;-1:-1:-1;;;9378:18:1;;;9371:45;9433:19;;48207:98:0;9047:411:1;48207:98:0;48323:6;;;;;;;48318:50;;48355:9;48348:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48083:490;;;:::o;48318:50::-;48382:28;48413:10;:8;:10::i;:::-;48382:41;;48468:1;48443:14;48437:28;:32;:130;;;;;;;;;;;;;;;;;48505:14;48521:19;:8;:17;:19::i;:::-;48542:9;48488:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48437:130;48430:137;48083:490;-1:-1:-1;;;48083:490:0:o;46775:81::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46023:201::-;45067:6;;-1:-1:-1;;;;;45067:6:0;3075:10;45214:23;;:83;;-1:-1:-1;45241:42:0;45287:10;45241:56;45214:83;:143;;;-1:-1:-1;45301:42:0;45347:10;45301:56;45214:143;45206:188;;;;-1:-1:-1;;;45206:188:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46112:22:0;::::1;46104:73;;;::::0;-1:-1:-1;;;46104:73:0;;8129:2:1;46104:73:0::1;::::0;::::1;8111:21:1::0;8168:2;8148:18;;;8141:30;8207:34;8187:18;;;8180:62;-1:-1:-1;;;8258:18:1;;;8251:36;8304:19;;46104:73:0::1;7927:402:1::0;46104:73:0::1;46188:28;46207:8;46188:18;:28::i;:::-;46023:201:::0;:::o;31202:187::-;31259:4;31323:13;;31313:7;:23;31283:98;;;;-1:-1:-1;;31354:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;31354:27:0;;;;31353:28;;31202:187::o;39372:196::-;39487:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39487:29:0;-1:-1:-1;;;;;39487:29:0;;;;;;;;;39532:28;;39487:24;;39532:28;;;;;;;39372:196;;;:::o;34315:2130::-;34430:35;34468:21;34481:7;34468:12;:21::i;:::-;34430:59;;34528:4;-1:-1:-1;;;;;34506:26:0;:13;:18;;;-1:-1:-1;;;;;34506:26:0;;34502:67;;34541:28;;-1:-1:-1;;;34541:28:0;;;;;;;;;;;34502:67;34582:22;3075:10;-1:-1:-1;;;;;34608:20:0;;;;:73;;-1:-1:-1;34645:36:0;34662:4;3075:10;29850:164;:::i;34645:36::-;34608:126;;;-1:-1:-1;3075:10:0;34698:20;34710:7;34698:11;:20::i;:::-;-1:-1:-1;;;;;34698:36:0;;34608:126;34582:153;;34753:17;34748:66;;34779:35;;-1:-1:-1;;;34779:35:0;;;;;;;;;;;34748:66;-1:-1:-1;;;;;34829:16:0;;34825:52;;34854:23;;-1:-1:-1;;;34854:23:0;;;;;;;;;;;34825:52;34998:35;35015:1;35019:7;35028:4;34998:8;:35::i;:::-;-1:-1:-1;;;;;35329:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;35329:31:0;;;;;;;-1:-1:-1;;35329:31:0;;;;;;;35375:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;35375:29:0;;;;;;;;;;;35455:20;;;:11;:20;;;;;;35490:18;;-1:-1:-1;;;;;;35523:49:0;;;;-1:-1:-1;;;35556:15:0;35523:49;;;;;;;;;;35846:11;;35906:24;;;;;35949:13;;35455:20;;35906:24;;35949:13;35945:384;;36159:13;;36144:11;:28;36140:174;;36197:20;;36266:28;;;;36240:54;;-1:-1:-1;;;36240:54:0;-1:-1:-1;;;;;;36240:54:0;;;-1:-1:-1;;;;;36197:20:0;;36240:54;;;;36140:174;35304:1036;;;36376:7;36372:2;-1:-1:-1;;;;;36357:27:0;36366:4;-1:-1:-1;;;;;36357:27:0;;;;;;;;;;;36395:42;34419:2026;;34315:2130;;;:::o;31397:104::-;31466:27;31476:2;31480:8;31466:27;;;;;;;;;;;;:9;:27::i;26350:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;26461:7:0;26544:13;;26537:4;:20;26506:886;;;26578:31;26612:17;;;:11;:17;;;;;;;;;26578:51;;;;;;;;;-1:-1:-1;;;;;26578:51:0;;;;-1:-1:-1;;;26578:51:0;;;;;;;;;;;-1:-1:-1;;;26578:51:0;;;;;;;;;;;;;;26648:729;;26698:14;;-1:-1:-1;;;;;26698:28:0;;26694:101;;26762:9;26350:1109;-1:-1:-1;;;26350:1109:0:o;26694:101::-;-1:-1:-1;;;27137:6:0;27182:17;;;;:11;:17;;;;;;;;;27170:29;;;;;;;;;-1:-1:-1;;;;;27170:29:0;;;;;-1:-1:-1;;;27170:29:0;;;;;;;;;;;-1:-1:-1;;;27170:29:0;;;;;;;;;;;;;27230:28;27226:109;;27298:9;26350:1109;-1:-1:-1;;;26350:1109:0:o;27226:109::-;27097:261;;;26559:833;26506:886;27420:31;;-1:-1:-1;;;27420:31:0;;;;;;;;;;;46384:191;46477:6;;;-1:-1:-1;;;;;46494:17:0;;;-1:-1:-1;;;;;;46494:17:0;;;;;;;46527:40;;46477:6;;;46494:17;46477:6;;46527:40;;46458:16;;46527:40;46447:128;46384:191;:::o;40060:667::-;40244:72;;-1:-1:-1;;;40244:72:0;;40223:4;;-1:-1:-1;;;;;40244:36:0;;;;;:72;;3075:10;;40295:4;;40301:7;;40310:5;;40244:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40244:72:0;;;;;;;;-1:-1:-1;;40244:72:0;;;;;;;;;;;;:::i;:::-;;;40240:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40478:13:0;;40474:235;;40524:40;;-1:-1:-1;;;40524:40:0;;;;;;;;;;;40474:235;40667:6;40661:13;40652:6;40648:2;40644:15;40637:38;40240:480;-1:-1:-1;;;;;;40363:55:0;-1:-1:-1;;;40363:55:0;;-1:-1:-1;40240:480:0;40060:667;;;;;;:::o;49251:97::-;49304:13;49333:9;49326:16;;;;;:::i;557:723::-;613:13;834:10;830:53;;-1:-1:-1;;861:10:0;;;;;;;;;;;;-1:-1:-1;;;861:10:0;;;;;557:723::o;830:53::-;908:5;893:12;949:78;956:9;;949:78;;982:8;;;;:::i;:::-;;-1:-1:-1;1005:10:0;;-1:-1:-1;1013:2:0;1005:10;;:::i;:::-;;;949:78;;;1037:19;1069:6;1059:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1059:17:0;;1037:39;;1087:154;1094:10;;1087:154;;1121:11;1131:1;1121:11;;:::i;:::-;;-1:-1:-1;1190:10:0;1198:2;1190:5;:10;:::i;:::-;1177:24;;:2;:24;:::i;:::-;1164:39;;1147:6;1154;1147:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1147:56:0;;;;;;;;-1:-1:-1;1218:11:0;1227:2;1218:11;;:::i;:::-;;;1087:154;;31864:163;31987:32;31993:2;31997:8;32007:5;32014:4;32425:20;32448:13;-1:-1:-1;;;;;32476:16:0;;32472:48;;32501:19;;-1:-1:-1;;;32501:19:0;;;;;;;;;;;32472:48;32535:13;32531:44;;32557:18;;-1:-1:-1;;;32557:18:0;;;;;;;;;;;32531:44;-1:-1:-1;;;;;32926:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;32985:49:0;;32926:44;;;;;;;;32985:49;;;;-1:-1:-1;;32926:44:0;;;;;;32985:49;;;;;;;;;;;;;;;;33051:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;33101:66:0;;;;-1:-1:-1;;;33151:15:0;33101:66;;;;;;;;;;33051:25;33248:23;;;33292:4;:23;;;;-1:-1:-1;;;;;;33300:13:0;;4737:19;:23;;33300:15;33288:641;;;33336:314;33367:38;;33392:12;;-1:-1:-1;;;;;33367:38:0;;;33384:1;;33367:38;;33384:1;;33367:38;33433:69;33472:1;33476:2;33480:14;;;;;;33496:5;33433:30;:69::i;:::-;33428:174;;33538:40;;-1:-1:-1;;;33538:40:0;;;;;;;;;;;33428:174;33645:3;33629:12;:19;;33336:314;;33731:12;33714:13;;:29;33710:43;;33745:8;;;33710:43;33288:641;;;33794:120;33825:40;;33850:14;;;;;-1:-1:-1;;;;;33825:40:0;;;33842:1;;33825:40;;33842:1;;33825:40;33909:3;33893:12;:19;;33794:120;;33288:641;-1:-1:-1;33943:13:0;:28;33993:60;30578:369;-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:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:346::-;3925:6;3933;3986:2;3974:9;3965:7;3961:23;3957:32;3954:52;;;4002:1;3999;3992:12;3954:52;4041:9;4028:23;4091:6;4084:5;4080:18;4073:5;4070:29;4060:57;;4113:1;4110;4103:12;4209:180;4268:6;4321:2;4309:9;4300:7;4296:23;4292:32;4289:52;;;4337:1;4334;4327:12;4289:52;-1:-1:-1;4360:23:1;;4209:180;-1:-1:-1;4209:180:1:o;4394:269::-;4451:6;4504:2;4492:9;4483:7;4479:23;4475:32;4472:52;;;4520:1;4517;4510:12;4472:52;4559:9;4546:23;4609:4;4602:5;4598:16;4591:5;4588:27;4578:55;;4629:1;4626;4619:12;4668:257;4709:3;4747:5;4741:12;4774:6;4769:3;4762:19;4790:63;4846:6;4839:4;4834:3;4830:14;4823:4;4816:5;4812:16;4790:63;:::i;:::-;4907:2;4886:15;-1:-1:-1;;4882:29:1;4873:39;;;;4914:4;4869:50;;4668:257;-1:-1:-1;;4668:257:1:o;4930:1527::-;5154:3;5192:6;5186:13;5218:4;5231:51;5275:6;5270:3;5265:2;5257:6;5253:15;5231:51;:::i;:::-;5345:13;;5304:16;;;;5367:55;5345:13;5304:16;5389:15;;;5367:55;:::i;:::-;5511:13;;5444:20;;;5484:1;;5571;5593:18;;;;5646;;;;5673:93;;5751:4;5741:8;5737:19;5725:31;;5673:93;5814:2;5804:8;5801:16;5781:18;5778:40;5775:167;;;-1:-1:-1;;;5841:33:1;;5897:4;5894:1;5887:15;5927:4;5848:3;5915:17;5775:167;5958:18;5985:110;;;;6109:1;6104:328;;;;5951:481;;5985:110;-1:-1:-1;;6020:24:1;;6006:39;;6065:20;;;;-1:-1:-1;5985:110:1;;6104:328;10457:1;10450:14;;;10494:4;10481:18;;6199:1;6213:169;6227:8;6224:1;6221:15;6213:169;;;6309:14;;6294:13;;;6287:37;6352:16;;;;6244:10;;6213:169;;;6217:3;;6413:8;6406:5;6402:20;6395:27;;5951:481;-1:-1:-1;6448:3:1;;4930:1527;-1:-1:-1;;;;;;;;;;;4930:1527:1:o;6670:488::-;-1:-1:-1;;;;;6939:15:1;;;6921:34;;6991:15;;6986:2;6971:18;;6964:43;7038:2;7023:18;;7016:34;;;7086:3;7081:2;7066:18;;7059:31;;;6864:4;;7107:45;;7132:19;;7124:6;7107:45;:::i;:::-;7099:53;6670:488;-1:-1:-1;;;;;;6670:488:1:o;7355:219::-;7504:2;7493:9;7486:21;7467:4;7524:44;7564:2;7553:9;7549:18;7541:6;7524:44;:::i;8334:356::-;8536:2;8518:21;;;8555:18;;;8548:30;8614:34;8609:2;8594:18;;8587:62;8681:2;8666:18;;8334:356::o;10510:224::-;10549:3;10577:6;10610:2;10607:1;10603:10;10640:2;10637:1;10633:10;10671:3;10667:2;10663:12;10658:3;10655:21;10652:47;;;10679:18;;:::i;:::-;10715:13;;10510:224;-1:-1:-1;;;;10510:224:1:o;10739:128::-;10779:3;10810:1;10806:6;10803:1;10800:13;10797:39;;;10816:18;;:::i;:::-;-1:-1:-1;10852:9:1;;10739:128::o;10872:204::-;10910:3;10946:4;10943:1;10939:12;10978:4;10975:1;10971:12;11013:3;11007:4;11003:14;10998:3;10995:23;10992:49;;;11021:18;;:::i;:::-;11057:13;;10872:204;-1:-1:-1;;;10872:204:1:o;11081:120::-;11121:1;11147;11137:35;;11152:18;;:::i;:::-;-1:-1:-1;11186:9:1;;11081:120::o;11206:125::-;11246:4;11274:1;11271;11268:8;11265:34;;;11279:18;;:::i;:::-;-1:-1:-1;11316:9:1;;11206:125::o;11336:258::-;11408:1;11418:113;11432:6;11429:1;11426:13;11418:113;;;11508:11;;;11502:18;11489:11;;;11482:39;11454:2;11447:10;11418:113;;;11549:6;11546:1;11543:13;11540:48;;;-1:-1:-1;;11584:1:1;11566:16;;11559:27;11336:258::o;11599:380::-;11678:1;11674:12;;;;11721;;;11742:61;;11796:4;11788:6;11784:17;11774:27;;11742:61;11849:2;11841:6;11838:14;11818:18;11815:38;11812:161;;;11895:10;11890:3;11886:20;11883:1;11876:31;11930:4;11927:1;11920:15;11958:4;11955:1;11948:15;11812:161;;11599:380;;;:::o;11984:135::-;12023:3;-1:-1:-1;;12044:17:1;;12041:43;;;12064:18;;:::i;:::-;-1:-1:-1;12111:1:1;12100:13;;11984:135::o;12124:112::-;12156:1;12182;12172:35;;12187:18;;:::i;:::-;-1:-1:-1;12221:9:1;;12124:112::o;12241:127::-;12302:10;12297:3;12293:20;12290:1;12283:31;12333:4;12330:1;12323:15;12357:4;12354:1;12347:15;12373:127;12434:10;12429:3;12425:20;12422:1;12415:31;12465:4;12462:1;12455:15;12489:4;12486:1;12479:15;12505:127;12566:10;12561:3;12557:20;12554:1;12547:31;12597:4;12594:1;12587:15;12621:4;12618:1;12611:15;12637:127;12698:10;12693:3;12689:20;12686:1;12679:31;12729:4;12726:1;12719:15;12753:4;12750:1;12743:15;12769:131;-1:-1:-1;;;;;;12843:32:1;;12833:43;;12823:71;;12890:1;12887;12880:12
Swarm Source
ipfs://18aa6f9b7163ffad2cbbacd35edb31e74eacd5a65ee8bad24e72216028af430c
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.