ERC-721
Overview
Max Total Supply
56 JPEG ALERTS PASS
Holders
56
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 JPEG ALERTS PASSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JPEGALERTS
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "./DefaultOperatorFilterer.sol"; contract JPEGALERTS is ERC721, DefaultOperatorFilterer, ERC721Enumerable, Pausable, Ownable { using Counters for Counters.Counter; Counters.Counter private tokenIdCounter; constructor() ERC721("JPEGALERTS", "JPEG ALERTS PASS") { tokenIdCounter.increment(); } string private baseURI; uint256 public maxSupply = 99; bool public pubMintStatus = false; uint256 public pubWalletMintLimit = 0; uint256 public pubMintPrice = 0 ether; uint256 public pubMintStock = 0; uint256 private pubMintCounter = 0; bool public wlMintStatus = false; uint256 public wlWalletMintLimit = 0; uint256 public wlMintPrice = 0 ether; uint256 public wlMintStock = 0; uint256 private wlMintCounter = 0; address private withdrawAddress = 0xF8FA5B533E9b5b25283Fea4bd288acc7735EDcA8; mapping(address => bool) private whitelistedWallets; function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // set baseURI function setBaseURI(string memory value) public onlyOwner { baseURI = value; } // Get metadata URI function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721: invalid token ID"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, "/", Strings.toString(tokenId) ) ) : ""; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } // publicMint function publicMint(uint256 quantity) public payable { require(pubMintStatus, "public sale is not live"); require(pubMintCounter < pubMintStock, "sold out"); require(maxSupply >= (totalSupply() + quantity), "reached max supply"); require( quantity > 0 && (balanceOf(msg.sender) + quantity) <= pubWalletMintLimit, "invalid quantity" ); require(msg.value >= (quantity * pubMintPrice), "insufficient eth"); for (uint256 i = 0; i < quantity; i++) { uint256 tokenId = tokenIdCounter.current(); _safeMint(msg.sender, tokenId); tokenIdCounter.increment(); pubMintCounter++; } } // whitelist Mint function whitelistMint(uint256 quantity) public payable { require(wlMintStatus, "whitelist sale is not live"); require(wlMintCounter < wlMintStock, "sold out"); require(maxSupply >= (totalSupply() + quantity), "reached max supply"); require( whitelistedWallets[msg.sender], "sorry you are not in the whitelist" ); require( quantity > 0 && (balanceOf(msg.sender) + quantity) <= wlWalletMintLimit, "invalid quantity" ); require(msg.value >= (quantity * wlMintPrice), "insufficient eth"); for (uint256 i = 0; i < quantity; i++) { uint256 tokenId = tokenIdCounter.current(); _safeMint(msg.sender, tokenId); tokenIdCounter.increment(); wlMintCounter++; } } // airdrop function airdrop(address[] calldata addresses) public onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { uint256 tokenId = tokenIdCounter.current(); _safeMint(addresses[i], tokenId); tokenIdCounter.increment(); } } // configure public mint function configurePubMint( uint256 limitPerWallet, uint256 price, uint256 stock ) public onlyOwner { pubMintStatus = true; pubWalletMintLimit = limitPerWallet; pubMintPrice = price; pubMintStock = stock; } // configure whitelist mint function configureWlMint( uint256 limitPerWallet, uint256 price, uint256 stock ) public onlyOwner { wlMintStatus = true; wlWalletMintLimit = limitPerWallet; wlMintPrice = price; wlMintStock = stock; } // turn off public Mint function togglePubMint() public onlyOwner { pubMintStatus = false; pubWalletMintLimit = 0; pubMintPrice = 0; pubMintStock = 0; pubMintCounter = 0; } // turn off whitelist Mint function toggleWlMint() public onlyOwner { wlMintStatus = false; wlWalletMintLimit = 0; wlMintPrice = 0; wlMintStock = 0; wlMintCounter = 0; } // add wallets to whitelist function addWalletsToWL(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { whitelistedWallets[addresses[i]] = true; } } // check whitelist status function checkWhitelist(address addr) public view returns (bool) { return whitelistedWallets[addr]; } // withdraw balance function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(withdrawAddress).transfer(balance); } // set max supply function setMaxSupply(uint256 supply) public onlyOwner { maxSupply = supply; } function _beforeTokenTransfer( address from, address to, uint256 tokenId, uint256 batchSize ) internal override(ERC721, ERC721Enumerable) whenNotPaused { super._beforeTokenTransfer(from, to, tokenId, batchSize); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); 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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @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`. * * 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; /** * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if ( !( operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender) && operatorFilterRegistry.isOperatorAllowed(address(this), from) ) ) { revert OperatorNotAllowed(msg.sender); } } _; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addWalletsToWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"airdrop","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":"address","name":"addr","type":"address"}],"name":"checkWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"limitPerWallet","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"stock","type":"uint256"}],"name":"configurePubMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limitPerWallet","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"stock","type":"uint256"}],"name":"configureWlMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubMintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubMintStock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubWalletMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"value","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setMaxSupply","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":[],"name":"togglePubMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWlMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMintStock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlWalletMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526063600d55600e805460ff199081169091556000600f81905560108190556011819055601281905560138054909216909155601481905560158190556016819055601755601880546001600160a01b03191673f8fa5b533e9b5b25283fea4bd288acc7735edca81790553480156200007b57600080fd5b50604080518082018252600a8152694a504547414c4552545360b01b6020808301919091528251808401909352601083526f4a50454720414c45525453205041535360801b9083015290733cc6cdda760b79bafa08df41ecfa224f810dceb660016daaeb6d7670e522a718067333cd4e3b15620002215780156200016f57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015057600080fd5b505af115801562000165573d6000803e3d6000fd5b5050505062000221565b6001600160a01b03821615620001c05760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000135565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020757600080fd5b505af11580156200021c573d6000803e3d6000fd5b505050505b50600090506200023283826200037e565b5060016200024182826200037e565b5050600a805460ff1916905550620002593362000276565b62000270600b620002d060201b620013591760201c565b6200044a565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030457607f821691505b6020821081036200032557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037957600081815260208120601f850160051c81016020861015620003545750805b601f850160051c820191505b81811015620003755782815560010162000360565b5050505b505050565b81516001600160401b038111156200039a576200039a620002d9565b620003b281620003ab8454620002ef565b846200032b565b602080601f831160018114620003ea5760008415620003d15750858301515b600019600386901b1c1916600185901b17855562000375565b600085815260208120601f198616915b828110156200041b57888601518255948401946001909101908401620003fa565b50858210156200043a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612883806200045a6000396000f3fe60806040526004361061025c5760003560e01c8063636a82db116101445780639c08feb2116100b6578063d5abeb011161007a578063d5abeb01146106b4578063e985e9c5146106ca578063f2fde38b14610713578063f600956614610733578063f8becc0f14610749578063fa6c83f11461075f57600080fd5b80639c08feb21461061f578063a22cb46514610634578063b7ac2e0614610654578063b88d4fde14610674578063c87b56dd1461069457600080fd5b80637d5da771116101085780637d5da7711461058f5780638456cb59146105a9578063868ff4a2146105be5780638da5cb5b146105d15780638df5378f146105f457806395d89b411461060a57600080fd5b8063636a82db146105055780636f8b44b01461051a57806370a082311461053a578063715018a61461055a578063729ad39e1461056f57600080fd5b80632c4e9fc6116101dd57806342842e0e116101a157806342842e0e1461044d5780634f6ccce71461046d57806355f804b31461048d57806356ffe189146104ad5780635c975abb146104cd5780636352211e146104e557600080fd5b80632c4e9fc6146103da5780632db11544146103f05780632f745c59146104035780633ccfd60b146104235780633f4ba83a1461043857600080fd5b8063178e659711610224578063178e65971461032c57806318160ddd1461034c5780631950c2181461036b5780631d0dc9eb146103a457806323b872dd146103ba57600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f057806315f99c5914610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004612125565b610775565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610786565b60405161028d9190612192565b3480156102c457600080fd5b506102d86102d33660046121a5565b610818565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b3660046121da565b61083f565b005b34801561031e57600080fd5b50600e546102819060ff1681565b34801561033857600080fd5b50610310610347366004612204565b610959565b34801561035857600080fd5b506008545b60405190815260200161028d565b34801561037757600080fd5b50610281610386366004612230565b6001600160a01b031660009081526019602052604090205460ff1690565b3480156103b057600080fd5b5061035d60115481565b3480156103c657600080fd5b506103106103d536600461224b565b61097c565b3480156103e657600080fd5b5061035d60155481565b6103106103fe3660046121a5565b6109ad565b34801561040f57600080fd5b5061035d61041e3660046121da565b610ba7565b34801561042f57600080fd5b50610310610c3d565b34801561044457600080fd5b50610310610c7f565b34801561045957600080fd5b5061031061046836600461224b565b610c91565b34801561047957600080fd5b5061035d6104883660046121a5565b610cac565b34801561049957600080fd5b506103106104a8366004612313565b610d3f565b3480156104b957600080fd5b506103106104c8366004612204565b610d53565b3480156104d957600080fd5b50600a5460ff16610281565b3480156104f157600080fd5b506102d86105003660046121a5565b610d76565b34801561051157600080fd5b50610310610dab565b34801561052657600080fd5b506103106105353660046121a5565b610dd3565b34801561054657600080fd5b5061035d610555366004612230565b610de0565b34801561056657600080fd5b50610310610e66565b34801561057b57600080fd5b5061031061058a36600461235c565b610e78565b34801561059b57600080fd5b506013546102819060ff1681565b3480156105b557600080fd5b50610310610ee9565b6103106105cc3660046121a5565b610ef9565b3480156105dd57600080fd5b50600a5461010090046001600160a01b03166102d8565b34801561060057600080fd5b5061035d60105481565b34801561061657600080fd5b506102ab611159565b34801561062b57600080fd5b50610310611168565b34801561064057600080fd5b5061031061064f3660046123d1565b611190565b34801561066057600080fd5b5061031061066f36600461235c565b61119b565b34801561068057600080fd5b5061031061068f36600461240d565b611215565b3480156106a057600080fd5b506102ab6106af3660046121a5565b61124d565b3480156106c057600080fd5b5061035d600d5481565b3480156106d657600080fd5b506102816106e5366004612489565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071f57600080fd5b5061031061072e366004612230565b6112e0565b34801561073f57600080fd5b5061035d600f5481565b34801561075557600080fd5b5061035d60145481565b34801561076b57600080fd5b5061035d60165481565b600061078082611362565b92915050565b606060008054610795906124bc565b80601f01602080910402602001604051908101604052809291908181526020018280546107c1906124bc565b801561080e5780601f106107e35761010080835404028352916020019161080e565b820191906000526020600020905b8154815290600101906020018083116107f157829003601f168201915b5050505050905090565b600061082382611387565b506000908152600460205260409020546001600160a01b031690565b600061084a82610d76565b9050806001600160a01b0316836001600160a01b0316036108bc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108d857506108d881336106e5565b61094a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108b3565b61095483836113bb565b505050565b610961611429565b6013805460ff19166001179055601492909255601555601655565b6109863382611489565b6109a25760405162461bcd60e51b81526004016108b3906124f6565b610954838383611508565b600e5460ff166109ff5760405162461bcd60e51b815260206004820152601760248201527f7075626c69632073616c65206973206e6f74206c69766500000000000000000060448201526064016108b3565b60115460125410610a3d5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016108b3565b80610a4760085490565b610a519190612559565b600d541015610a975760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016108b3565b600081118015610abc5750600f5481610aaf33610de0565b610ab99190612559565b11155b610afb5760405162461bcd60e51b815260206004820152601060248201526f696e76616c6964207175616e7469747960801b60448201526064016108b3565b601054610b08908261256c565b341015610b4a5760405162461bcd60e51b815260206004820152601060248201526f0d2dce6eaccccd2c6d2cadce840cae8d60831b60448201526064016108b3565b60005b81811015610ba3576000610b60600b5490565b9050610b6c3382611679565b610b7a600b80546001019055565b60128054906000610b8a83612583565b9190505550508080610b9b90612583565b915050610b4d565b5050565b6000610bb283610de0565b8210610c145760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108b3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610c45611429565b60185460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610ba3573d6000803e3d6000fd5b610c87611429565b610c8f611693565b565b61095483838360405180602001604052806000815250611215565b6000610cb760085490565b8210610d1a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108b3565b60088281548110610d2d57610d2d61259c565b90600052602060002001549050919050565b610d47611429565b600c610ba38282612600565b610d5b611429565b600e805460ff19166001179055600f92909255601055601155565b6000818152600260205260408120546001600160a01b0316806107805760405162461bcd60e51b81526004016108b3906126c0565b610db3611429565b600e805460ff191690556000600f81905560108190556011819055601255565b610ddb611429565b600d55565b60006001600160a01b038216610e4a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108b3565b506001600160a01b031660009081526003602052604090205490565b610e6e611429565b610c8f60006116e5565b610e80611429565b60005b81811015610954576000610e96600b5490565b9050610ec8848484818110610ead57610ead61259c565b9050602002016020810190610ec29190612230565b82611679565b610ed6600b80546001019055565b5080610ee181612583565b915050610e83565b610ef1611429565b610c8f61173f565b60135460ff16610f4b5760405162461bcd60e51b815260206004820152601a60248201527f77686974656c6973742073616c65206973206e6f74206c69766500000000000060448201526064016108b3565b60165460175410610f895760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016108b3565b80610f9360085490565b610f9d9190612559565b600d541015610fe35760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016108b3565b3360009081526019602052604090205460ff1661104d5760405162461bcd60e51b815260206004820152602260248201527f736f72727920796f7520617265206e6f7420696e207468652077686974656c696044820152611cdd60f21b60648201526084016108b3565b60008111801561107257506014548161106533610de0565b61106f9190612559565b11155b6110b15760405162461bcd60e51b815260206004820152601060248201526f696e76616c6964207175616e7469747960801b60448201526064016108b3565b6015546110be908261256c565b3410156111005760405162461bcd60e51b815260206004820152601060248201526f0d2dce6eaccccd2c6d2cadce840cae8d60831b60448201526064016108b3565b60005b81811015610ba3576000611116600b5490565b90506111223382611679565b611130600b80546001019055565b6017805490600061114083612583565b919050555050808061115190612583565b915050611103565b606060018054610795906124bc565b611170611429565b6013805460ff191690556000601481905560158190556016819055601755565b610ba333838361177c565b6111a3611429565b60005b81811015610954576001601960008585858181106111c6576111c661259c565b90506020020160208101906111db9190612230565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061120d81612583565b9150506111a6565b61121f3383611489565b61123b5760405162461bcd60e51b81526004016108b3906124f6565b6112478484848461184a565b50505050565b6000818152600260205260409020546060906001600160a01b03166112845760405162461bcd60e51b81526004016108b3906126c0565b600061128e61187d565b905060008151116112ae57604051806020016040528060008152506112d9565b806112b88461188c565b6040516020016112c99291906126f7565b6040516020818303038152906040525b9392505050565b6112e8611429565b6001600160a01b03811661134d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b3565b611356816116e5565b50565b80546001019055565b60006001600160e01b0319821663780e9d6360e01b148061078057506107808261191f565b6000818152600260205260409020546001600160a01b03166113565760405162461bcd60e51b81526004016108b3906126c0565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113f082610d76565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b03610100909104163314610c8f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b3565b60008061149583610d76565b9050806001600160a01b0316846001600160a01b031614806114dc57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806115005750836001600160a01b03166114f584610818565b6001600160a01b0316145b949350505050565b826001600160a01b031661151b82610d76565b6001600160a01b0316146115415760405162461bcd60e51b81526004016108b390612733565b6001600160a01b0382166115a35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108b3565b6115b0838383600161196f565b826001600160a01b03166115c382610d76565b6001600160a01b0316146115e95760405162461bcd60e51b81526004016108b390612733565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610ba3828260405180602001604052806000815250611983565b61169b6119b6565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117476119ff565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116c83390565b816001600160a01b0316836001600160a01b0316036117dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108b3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611855848484611508565b61186184848484611a45565b6112475760405162461bcd60e51b81526004016108b390612778565b6060600c8054610795906124bc565b6060600061189983611b46565b600101905060008167ffffffffffffffff8111156118b9576118b9612287565b6040519080825280601f01601f1916602001820160405280156118e3576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846118ed57509392505050565b60006001600160e01b031982166380ac58cd60e01b148061195057506001600160e01b03198216635b5e139f60e01b145b8061078057506301ffc9a760e01b6001600160e01b0319831614610780565b6119776119ff565b61124784848484611c1e565b61198d8383611d5e565b61199a6000848484611a45565b6109545760405162461bcd60e51b81526004016108b390612778565b600a5460ff16610c8f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108b3565b600a5460ff1615610c8f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108b3565b60006001600160a01b0384163b15611b3b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a899033908990889088906004016127ca565b6020604051808303816000875af1925050508015611ac4575060408051601f3d908101601f19168201909252611ac191810190612807565b60015b611b21573d808015611af2576040519150601f19603f3d011682016040523d82523d6000602084013e611af7565b606091505b508051600003611b195760405162461bcd60e51b81526004016108b390612778565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611500565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b855772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611bb1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611bcf57662386f26fc10000830492506010015b6305f5e1008310611be7576305f5e100830492506008015b6127108310611bfb57612710830492506004015b60648310611c0d576064830492506002015b600a83106107805760010192915050565b611c2a84848484611ef7565b6001811115611c995760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016108b3565b816001600160a01b038516611cf557611cf081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d18565b836001600160a01b0316856001600160a01b031614611d1857611d188582611f7f565b6001600160a01b038416611d3457611d2f8161201c565b611d57565b846001600160a01b0316846001600160a01b031614611d5757611d5784826120cb565b5050505050565b6001600160a01b038216611db45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108b3565b6000818152600260205260409020546001600160a01b031615611e195760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108b3565b611e2760008383600161196f565b6000818152600260205260409020546001600160a01b031615611e8c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108b3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115611247576001600160a01b03841615611f3d576001600160a01b03841660009081526003602052604081208054839290611f37908490612824565b90915550505b6001600160a01b03831615611247576001600160a01b03831660009081526003602052604081208054839290611f74908490612559565b909155505050505050565b60006001611f8c84610de0565b611f969190612824565b600083815260076020526040902054909150808214611fe9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061202e90600190612824565b600083815260096020526040812054600880549394509092849081106120565761205661259c565b9060005260206000200154905080600883815481106120775761207761259c565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120af576120af612837565b6001900381819060005260206000200160009055905550505050565b60006120d683610de0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b03198116811461135657600080fd5b60006020828403121561213757600080fd5b81356112d98161210f565b60005b8381101561215d578181015183820152602001612145565b50506000910152565b6000815180845261217e816020860160208601612142565b601f01601f19169290920160200192915050565b6020815260006112d96020830184612166565b6000602082840312156121b757600080fd5b5035919050565b80356001600160a01b03811681146121d557600080fd5b919050565b600080604083850312156121ed57600080fd5b6121f6836121be565b946020939093013593505050565b60008060006060848603121561221957600080fd5b505081359360208301359350604090920135919050565b60006020828403121561224257600080fd5b6112d9826121be565b60008060006060848603121561226057600080fd5b612269846121be565b9250612277602085016121be565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156122b8576122b8612287565b604051601f8501601f19908116603f011681019082821181831017156122e0576122e0612287565b816040528093508581528686860111156122f957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561232557600080fd5b813567ffffffffffffffff81111561233c57600080fd5b8201601f8101841361234d57600080fd5b6115008482356020840161229d565b6000806020838503121561236f57600080fd5b823567ffffffffffffffff8082111561238757600080fd5b818501915085601f83011261239b57600080fd5b8135818111156123aa57600080fd5b8660208260051b85010111156123bf57600080fd5b60209290920196919550909350505050565b600080604083850312156123e457600080fd5b6123ed836121be565b91506020830135801515811461240257600080fd5b809150509250929050565b6000806000806080858703121561242357600080fd5b61242c856121be565b935061243a602086016121be565b925060408501359150606085013567ffffffffffffffff81111561245d57600080fd5b8501601f8101871361246e57600080fd5b61247d8782356020840161229d565b91505092959194509250565b6000806040838503121561249c57600080fd5b6124a5836121be565b91506124b3602084016121be565b90509250929050565b600181811c908216806124d057607f821691505b6020821081036124f057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561078057610780612543565b808202811582820484141761078057610780612543565b60006001820161259557612595612543565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561095457600081815260208120601f850160051c810160208610156125d95750805b601f850160051c820191505b818110156125f8578281556001016125e5565b505050505050565b815167ffffffffffffffff81111561261a5761261a612287565b61262e8161262884546124bc565b846125b2565b602080601f831160018114612663576000841561264b5750858301515b600019600386901b1c1916600185901b1785556125f8565b600085815260208120601f198616915b8281101561269257888601518255948401946001909101908401612673565b50858210156126b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526018908201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604082015260600190565b60008351612709818460208801612142565b602f60f81b9083019081528351612727816001840160208801612142565b01600101949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127fd90830184612166565b9695505050505050565b60006020828403121561281957600080fd5b81516112d98161210f565b8181038181111561078057610780612543565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220624300a21d80cc6c00dd60aad322f21791163935e56e816eff939f05490b155d64736f6c63430008110033
Deployed Bytecode
0x60806040526004361061025c5760003560e01c8063636a82db116101445780639c08feb2116100b6578063d5abeb011161007a578063d5abeb01146106b4578063e985e9c5146106ca578063f2fde38b14610713578063f600956614610733578063f8becc0f14610749578063fa6c83f11461075f57600080fd5b80639c08feb21461061f578063a22cb46514610634578063b7ac2e0614610654578063b88d4fde14610674578063c87b56dd1461069457600080fd5b80637d5da771116101085780637d5da7711461058f5780638456cb59146105a9578063868ff4a2146105be5780638da5cb5b146105d15780638df5378f146105f457806395d89b411461060a57600080fd5b8063636a82db146105055780636f8b44b01461051a57806370a082311461053a578063715018a61461055a578063729ad39e1461056f57600080fd5b80632c4e9fc6116101dd57806342842e0e116101a157806342842e0e1461044d5780634f6ccce71461046d57806355f804b31461048d57806356ffe189146104ad5780635c975abb146104cd5780636352211e146104e557600080fd5b80632c4e9fc6146103da5780632db11544146103f05780632f745c59146104035780633ccfd60b146104235780633f4ba83a1461043857600080fd5b8063178e659711610224578063178e65971461032c57806318160ddd1461034c5780631950c2181461036b5780631d0dc9eb146103a457806323b872dd146103ba57600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f057806315f99c5914610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004612125565b610775565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610786565b60405161028d9190612192565b3480156102c457600080fd5b506102d86102d33660046121a5565b610818565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b3660046121da565b61083f565b005b34801561031e57600080fd5b50600e546102819060ff1681565b34801561033857600080fd5b50610310610347366004612204565b610959565b34801561035857600080fd5b506008545b60405190815260200161028d565b34801561037757600080fd5b50610281610386366004612230565b6001600160a01b031660009081526019602052604090205460ff1690565b3480156103b057600080fd5b5061035d60115481565b3480156103c657600080fd5b506103106103d536600461224b565b61097c565b3480156103e657600080fd5b5061035d60155481565b6103106103fe3660046121a5565b6109ad565b34801561040f57600080fd5b5061035d61041e3660046121da565b610ba7565b34801561042f57600080fd5b50610310610c3d565b34801561044457600080fd5b50610310610c7f565b34801561045957600080fd5b5061031061046836600461224b565b610c91565b34801561047957600080fd5b5061035d6104883660046121a5565b610cac565b34801561049957600080fd5b506103106104a8366004612313565b610d3f565b3480156104b957600080fd5b506103106104c8366004612204565b610d53565b3480156104d957600080fd5b50600a5460ff16610281565b3480156104f157600080fd5b506102d86105003660046121a5565b610d76565b34801561051157600080fd5b50610310610dab565b34801561052657600080fd5b506103106105353660046121a5565b610dd3565b34801561054657600080fd5b5061035d610555366004612230565b610de0565b34801561056657600080fd5b50610310610e66565b34801561057b57600080fd5b5061031061058a36600461235c565b610e78565b34801561059b57600080fd5b506013546102819060ff1681565b3480156105b557600080fd5b50610310610ee9565b6103106105cc3660046121a5565b610ef9565b3480156105dd57600080fd5b50600a5461010090046001600160a01b03166102d8565b34801561060057600080fd5b5061035d60105481565b34801561061657600080fd5b506102ab611159565b34801561062b57600080fd5b50610310611168565b34801561064057600080fd5b5061031061064f3660046123d1565b611190565b34801561066057600080fd5b5061031061066f36600461235c565b61119b565b34801561068057600080fd5b5061031061068f36600461240d565b611215565b3480156106a057600080fd5b506102ab6106af3660046121a5565b61124d565b3480156106c057600080fd5b5061035d600d5481565b3480156106d657600080fd5b506102816106e5366004612489565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071f57600080fd5b5061031061072e366004612230565b6112e0565b34801561073f57600080fd5b5061035d600f5481565b34801561075557600080fd5b5061035d60145481565b34801561076b57600080fd5b5061035d60165481565b600061078082611362565b92915050565b606060008054610795906124bc565b80601f01602080910402602001604051908101604052809291908181526020018280546107c1906124bc565b801561080e5780601f106107e35761010080835404028352916020019161080e565b820191906000526020600020905b8154815290600101906020018083116107f157829003601f168201915b5050505050905090565b600061082382611387565b506000908152600460205260409020546001600160a01b031690565b600061084a82610d76565b9050806001600160a01b0316836001600160a01b0316036108bc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108d857506108d881336106e5565b61094a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108b3565b61095483836113bb565b505050565b610961611429565b6013805460ff19166001179055601492909255601555601655565b6109863382611489565b6109a25760405162461bcd60e51b81526004016108b3906124f6565b610954838383611508565b600e5460ff166109ff5760405162461bcd60e51b815260206004820152601760248201527f7075626c69632073616c65206973206e6f74206c69766500000000000000000060448201526064016108b3565b60115460125410610a3d5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016108b3565b80610a4760085490565b610a519190612559565b600d541015610a975760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016108b3565b600081118015610abc5750600f5481610aaf33610de0565b610ab99190612559565b11155b610afb5760405162461bcd60e51b815260206004820152601060248201526f696e76616c6964207175616e7469747960801b60448201526064016108b3565b601054610b08908261256c565b341015610b4a5760405162461bcd60e51b815260206004820152601060248201526f0d2dce6eaccccd2c6d2cadce840cae8d60831b60448201526064016108b3565b60005b81811015610ba3576000610b60600b5490565b9050610b6c3382611679565b610b7a600b80546001019055565b60128054906000610b8a83612583565b9190505550508080610b9b90612583565b915050610b4d565b5050565b6000610bb283610de0565b8210610c145760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108b3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610c45611429565b60185460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610ba3573d6000803e3d6000fd5b610c87611429565b610c8f611693565b565b61095483838360405180602001604052806000815250611215565b6000610cb760085490565b8210610d1a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108b3565b60088281548110610d2d57610d2d61259c565b90600052602060002001549050919050565b610d47611429565b600c610ba38282612600565b610d5b611429565b600e805460ff19166001179055600f92909255601055601155565b6000818152600260205260408120546001600160a01b0316806107805760405162461bcd60e51b81526004016108b3906126c0565b610db3611429565b600e805460ff191690556000600f81905560108190556011819055601255565b610ddb611429565b600d55565b60006001600160a01b038216610e4a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108b3565b506001600160a01b031660009081526003602052604090205490565b610e6e611429565b610c8f60006116e5565b610e80611429565b60005b81811015610954576000610e96600b5490565b9050610ec8848484818110610ead57610ead61259c565b9050602002016020810190610ec29190612230565b82611679565b610ed6600b80546001019055565b5080610ee181612583565b915050610e83565b610ef1611429565b610c8f61173f565b60135460ff16610f4b5760405162461bcd60e51b815260206004820152601a60248201527f77686974656c6973742073616c65206973206e6f74206c69766500000000000060448201526064016108b3565b60165460175410610f895760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b60448201526064016108b3565b80610f9360085490565b610f9d9190612559565b600d541015610fe35760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b60448201526064016108b3565b3360009081526019602052604090205460ff1661104d5760405162461bcd60e51b815260206004820152602260248201527f736f72727920796f7520617265206e6f7420696e207468652077686974656c696044820152611cdd60f21b60648201526084016108b3565b60008111801561107257506014548161106533610de0565b61106f9190612559565b11155b6110b15760405162461bcd60e51b815260206004820152601060248201526f696e76616c6964207175616e7469747960801b60448201526064016108b3565b6015546110be908261256c565b3410156111005760405162461bcd60e51b815260206004820152601060248201526f0d2dce6eaccccd2c6d2cadce840cae8d60831b60448201526064016108b3565b60005b81811015610ba3576000611116600b5490565b90506111223382611679565b611130600b80546001019055565b6017805490600061114083612583565b919050555050808061115190612583565b915050611103565b606060018054610795906124bc565b611170611429565b6013805460ff191690556000601481905560158190556016819055601755565b610ba333838361177c565b6111a3611429565b60005b81811015610954576001601960008585858181106111c6576111c661259c565b90506020020160208101906111db9190612230565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061120d81612583565b9150506111a6565b61121f3383611489565b61123b5760405162461bcd60e51b81526004016108b3906124f6565b6112478484848461184a565b50505050565b6000818152600260205260409020546060906001600160a01b03166112845760405162461bcd60e51b81526004016108b3906126c0565b600061128e61187d565b905060008151116112ae57604051806020016040528060008152506112d9565b806112b88461188c565b6040516020016112c99291906126f7565b6040516020818303038152906040525b9392505050565b6112e8611429565b6001600160a01b03811661134d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b3565b611356816116e5565b50565b80546001019055565b60006001600160e01b0319821663780e9d6360e01b148061078057506107808261191f565b6000818152600260205260409020546001600160a01b03166113565760405162461bcd60e51b81526004016108b3906126c0565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113f082610d76565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b03610100909104163314610c8f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b3565b60008061149583610d76565b9050806001600160a01b0316846001600160a01b031614806114dc57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806115005750836001600160a01b03166114f584610818565b6001600160a01b0316145b949350505050565b826001600160a01b031661151b82610d76565b6001600160a01b0316146115415760405162461bcd60e51b81526004016108b390612733565b6001600160a01b0382166115a35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108b3565b6115b0838383600161196f565b826001600160a01b03166115c382610d76565b6001600160a01b0316146115e95760405162461bcd60e51b81526004016108b390612733565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610ba3828260405180602001604052806000815250611983565b61169b6119b6565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6117476119ff565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116c83390565b816001600160a01b0316836001600160a01b0316036117dd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108b3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611855848484611508565b61186184848484611a45565b6112475760405162461bcd60e51b81526004016108b390612778565b6060600c8054610795906124bc565b6060600061189983611b46565b600101905060008167ffffffffffffffff8111156118b9576118b9612287565b6040519080825280601f01601f1916602001820160405280156118e3576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846118ed57509392505050565b60006001600160e01b031982166380ac58cd60e01b148061195057506001600160e01b03198216635b5e139f60e01b145b8061078057506301ffc9a760e01b6001600160e01b0319831614610780565b6119776119ff565b61124784848484611c1e565b61198d8383611d5e565b61199a6000848484611a45565b6109545760405162461bcd60e51b81526004016108b390612778565b600a5460ff16610c8f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108b3565b600a5460ff1615610c8f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108b3565b60006001600160a01b0384163b15611b3b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a899033908990889088906004016127ca565b6020604051808303816000875af1925050508015611ac4575060408051601f3d908101601f19168201909252611ac191810190612807565b60015b611b21573d808015611af2576040519150601f19603f3d011682016040523d82523d6000602084013e611af7565b606091505b508051600003611b195760405162461bcd60e51b81526004016108b390612778565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611500565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b855772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611bb1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611bcf57662386f26fc10000830492506010015b6305f5e1008310611be7576305f5e100830492506008015b6127108310611bfb57612710830492506004015b60648310611c0d576064830492506002015b600a83106107805760010192915050565b611c2a84848484611ef7565b6001811115611c995760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016108b3565b816001600160a01b038516611cf557611cf081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611d18565b836001600160a01b0316856001600160a01b031614611d1857611d188582611f7f565b6001600160a01b038416611d3457611d2f8161201c565b611d57565b846001600160a01b0316846001600160a01b031614611d5757611d5784826120cb565b5050505050565b6001600160a01b038216611db45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108b3565b6000818152600260205260409020546001600160a01b031615611e195760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108b3565b611e2760008383600161196f565b6000818152600260205260409020546001600160a01b031615611e8c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108b3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115611247576001600160a01b03841615611f3d576001600160a01b03841660009081526003602052604081208054839290611f37908490612824565b90915550505b6001600160a01b03831615611247576001600160a01b03831660009081526003602052604081208054839290611f74908490612559565b909155505050505050565b60006001611f8c84610de0565b611f969190612824565b600083815260076020526040902054909150808214611fe9576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061202e90600190612824565b600083815260096020526040812054600880549394509092849081106120565761205661259c565b9060005260206000200154905080600883815481106120775761207761259c565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806120af576120af612837565b6001900381819060005260206000200160009055905550505050565b60006120d683610de0565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b03198116811461135657600080fd5b60006020828403121561213757600080fd5b81356112d98161210f565b60005b8381101561215d578181015183820152602001612145565b50506000910152565b6000815180845261217e816020860160208601612142565b601f01601f19169290920160200192915050565b6020815260006112d96020830184612166565b6000602082840312156121b757600080fd5b5035919050565b80356001600160a01b03811681146121d557600080fd5b919050565b600080604083850312156121ed57600080fd5b6121f6836121be565b946020939093013593505050565b60008060006060848603121561221957600080fd5b505081359360208301359350604090920135919050565b60006020828403121561224257600080fd5b6112d9826121be565b60008060006060848603121561226057600080fd5b612269846121be565b9250612277602085016121be565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156122b8576122b8612287565b604051601f8501601f19908116603f011681019082821181831017156122e0576122e0612287565b816040528093508581528686860111156122f957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561232557600080fd5b813567ffffffffffffffff81111561233c57600080fd5b8201601f8101841361234d57600080fd5b6115008482356020840161229d565b6000806020838503121561236f57600080fd5b823567ffffffffffffffff8082111561238757600080fd5b818501915085601f83011261239b57600080fd5b8135818111156123aa57600080fd5b8660208260051b85010111156123bf57600080fd5b60209290920196919550909350505050565b600080604083850312156123e457600080fd5b6123ed836121be565b91506020830135801515811461240257600080fd5b809150509250929050565b6000806000806080858703121561242357600080fd5b61242c856121be565b935061243a602086016121be565b925060408501359150606085013567ffffffffffffffff81111561245d57600080fd5b8501601f8101871361246e57600080fd5b61247d8782356020840161229d565b91505092959194509250565b6000806040838503121561249c57600080fd5b6124a5836121be565b91506124b3602084016121be565b90509250929050565b600181811c908216806124d057607f821691505b6020821081036124f057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561078057610780612543565b808202811582820484141761078057610780612543565b60006001820161259557612595612543565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561095457600081815260208120601f850160051c810160208610156125d95750805b601f850160051c820191505b818110156125f8578281556001016125e5565b505050505050565b815167ffffffffffffffff81111561261a5761261a612287565b61262e8161262884546124bc565b846125b2565b602080601f831160018114612663576000841561264b5750858301515b600019600386901b1c1916600185901b1785556125f8565b600085815260208120601f198616915b8281101561269257888601518255948401946001909101908401612673565b50858210156126b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526018908201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604082015260600190565b60008351612709818460208801612142565b602f60f81b9083019081528351612727816001840160208801612142565b01600101949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127fd90830184612166565b9695505050505050565b60006020828403121561281957600080fd5b81516112d98161210f565b8181038181111561078057610780612543565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220624300a21d80cc6c00dd60aad322f21791163935e56e816eff939f05490b155d64736f6c63430008110033
Deployed Bytecode Sourcemap
521:6285:20:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6591:212;;;;;;;;;;-1:-1:-1;6591:212:20;;;;;:::i;:::-;;:::i;:::-;;;565:14:21;;558:22;540:41;;528:2;513:18;6591:212:20;;;;;;;;2471:98:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;;;;;-1:-1:-1;3935:167:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:21;;;1679:51;;1667:2;1652:18;3935:167:3;1533:203:21;3468:406:3;;;;;;;;;;-1:-1:-1;3468:406:3;;;;;:::i;:::-;;:::i;:::-;;909:33:20;;;;;;;;;;-1:-1:-1;909:33:20;;;;;;;;4792:273;;;;;;;;;;-1:-1:-1;4792:273:20;;;;;:::i;:::-;;:::i;1630:111:6:-;;;;;;;;;;-1:-1:-1;1717:10:6;:17;1630:111;;;2645:25:21;;;2633:2;2618:18;1630:111:6;2499:177:21;5816:115:20;;;;;;;;;;-1:-1:-1;5816:115:20;;;;;:::i;:::-;-1:-1:-1;;;;;5899:24:20;5875:4;5899:24;;;:18;:24;;;;;;;;;5816:115;1037:31;;;;;;;;;;;;;;;;4612:326:3;;;;;;;;;;-1:-1:-1;4612:326:3;;;;;:::i;:::-;;:::i;1198:36:20:-;;;;;;;;;;;;;;;;2479:744;;;;;;:::i;:::-;;:::i;1306:253:6:-;;;;;;;;;;-1:-1:-1;1306:253:6;;;;;:::i;:::-;;:::i;5964:150:20:-;;;;;;;;;;;;;:::i;2387:65::-;;;;;;;;;;;;;:::i;5004:179:3:-;;;;;;;;;;-1:-1:-1;5004:179:3;;;;;:::i;:::-;;:::i;1813:230:6:-;;;;;;;;;;-1:-1:-1;1813:230:6;;;;;:::i;:::-;;:::i;1606:92:20:-;;;;;;;;;;-1:-1:-1;1606:92:20;;;;;:::i;:::-;;:::i;4473:278::-;;;;;;;;;;-1:-1:-1;4473:278:20;;;;;:::i;:::-;;:::i;1615:84:2:-;;;;;;;;;;-1:-1:-1;1685:7:2;;;;1615:84;;2190:219:3;;;;;;;;;;-1:-1:-1;2190:219:3;;;;;:::i;:::-;;:::i;5102:198:20:-;;;;;;;;;;;;;:::i;6145:92::-;;;;;;;;;;-1:-1:-1;6145:92:20;;;;;:::i;:::-;;:::i;1929:204:3:-;;;;;;;;;;-1:-1:-1;1929:204:3;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;4149:286:20:-;;;;;;;;;;-1:-1:-1;4149:286:20;;;;;:::i;:::-;;:::i;1116:32::-;;;;;;;;;;-1:-1:-1;1116:32:20;;;;;;;;2318:61;;;;;;;;;;;;;:::i;3254:871::-;;;;;;:::i;:::-;;:::i;1201:85:0:-;;;;;;;;;;-1:-1:-1;1273:6:0;;;;;-1:-1:-1;;;;;1273:6:0;1201:85;;993:37:20;;;;;;;;;;;;;;;;2633:102:3;;;;;;;;;;;;;:::i;5340:192:20:-;;;;;;;;;;;;;:::i;4169:153:3:-;;;;;;;;;;-1:-1:-1;4169:153:3;;;;;:::i;:::-;;:::i;5573:204:20:-;;;;;;;;;;-1:-1:-1;5573:204:20;;;;;:::i;:::-;;:::i;5249:314:3:-;;;;;;;;;;-1:-1:-1;5249:314:3;;;;;:::i;:::-;;:::i;1731:579:20:-;;;;;;;;;;-1:-1:-1;1731:579:20;;;;;:::i;:::-;;:::i;873:29::-;;;;;;;;;;;;;;;;4388:162:3;;;;;;;;;;-1:-1:-1;4388:162:3;;;;;:::i;:::-;-1:-1:-1;;;;;4508:25:3;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;2081:198:0;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;949:37:20:-;;;;;;;;;;;;;;;;1155:36;;;;;;;;;;;;;;;;1241:30;;;;;;;;;;;;;;;;6591:212;6730:4;6759:36;6783:11;6759:23;:36::i;:::-;6752:43;6591:212;-1:-1:-1;;6591:212:20:o;2471:98:3:-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:3;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:3;:2;-1:-1:-1;;;;;3605:11:3;;3597:57;;;;-1:-1:-1;;;3597:57:3;;6926:2:21;3597:57:3;;;6908:21:21;6965:2;6945:18;;;6938:30;7004:34;6984:18;;;6977:62;-1:-1:-1;;;7055:18:21;;;7048:31;7096:19;;3597:57:3;;;;;;;;;719:10:11;-1:-1:-1;;;;;3686:21:3;;;;:62;;-1:-1:-1;3711:37:3;3728:5;719:10:11;4388:162:3;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:3;;7328:2:21;3665:170:3;;;7310:21:21;7367:2;7347:18;;;7340:30;7406:34;7386:18;;;7379:62;7477:31;7457:18;;;7450:59;7526:19;;3665:170:3;7126:425:21;3665:170:3;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;4792:273:20:-;1094:13:0;:11;:13::i;:::-;4933:12:20::1;:19:::0;;-1:-1:-1;;4933:19:20::1;4948:4;4933:19;::::0;;4963:17:::1;:34:::0;;;;5008:11:::1;:19:::0;5038:11:::1;:19:::0;4792:273::o;4612:326:3:-;4801:41;719:10:11;4834:7:3;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:3;;;;;;;:::i;:::-;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;2479:744:20:-;2551:13;;;;2543:49;;;;-1:-1:-1;;;2543:49:20;;8172:2:21;2543:49:20;;;8154:21:21;8211:2;8191:18;;;8184:30;8250:25;8230:18;;;8223:53;8293:18;;2543:49:20;7970:347:21;2543:49:20;2628:12;;2611:14;;:29;2603:50;;;;-1:-1:-1;;;2603:50:20;;8524:2:21;2603:50:20;;;8506:21:21;8563:1;8543:18;;;8536:29;-1:-1:-1;;;8581:18:21;;;8574:38;8629:18;;2603:50:20;8322:331:21;2603:50:20;2702:8;2686:13;1717:10:6;:17;;1630:111;2686:13:20;:24;;;;:::i;:::-;2672:9;;:39;;2664:70;;;;-1:-1:-1;;;2664:70:20;;9122:2:21;2664:70:20;;;9104:21:21;9161:2;9141:18;;;9134:30;-1:-1:-1;;;9180:18:21;;;9173:48;9238:18;;2664:70:20;8920:342:21;2664:70:20;2778:1;2767:8;:12;:89;;;;;2838:18;;2825:8;2801:21;2811:10;2801:9;:21::i;:::-;:32;;;;:::i;:::-;2800:56;;2767:89;2745:155;;;;-1:-1:-1;;;2745:155:20;;9469:2:21;2745:155:20;;;9451:21:21;9508:2;9488:18;;;9481:30;-1:-1:-1;;;9527:18:21;;;9520:46;9583:18;;2745:155:20;9267:340:21;2745:155:20;2944:12;;2933:23;;:8;:23;:::i;:::-;2919:9;:38;;2911:67;;;;-1:-1:-1;;;2911:67:20;;9987:2:21;2911:67:20;;;9969:21:21;10026:2;10006:18;;;9999:30;-1:-1:-1;;;10045:18:21;;;10038:46;10101:18;;2911:67:20;9785:340:21;2911:67:20;2996:9;2991:225;3015:8;3011:1;:12;2991:225;;;3045:15;3063:24;:14;918::12;;827:112;3063:24:20;3045:42;;3102:30;3112:10;3124:7;3102:9;:30::i;:::-;3147:26;:14;1032:19:12;;1050:1;1032:19;;;945:123;3147:26:20;3188:14;:16;;;:14;:16;;;:::i;:::-;;;;;;3030:186;3025:3;;;;;:::i;:::-;;;;2991:225;;;;2479:744;:::o;1306:253:6:-;1403:7;1438:23;1455:5;1438:16;:23::i;:::-;1430:5;:31;1422:87;;;;-1:-1:-1;;;1422:87:6;;10472:2:21;1422:87:6;;;10454:21:21;10511:2;10491:18;;;10484:30;10550:34;10530:18;;;10523:62;-1:-1:-1;;;10601:18:21;;;10594:41;10652:19;;1422:87:6;10270:407:21;1422:87:6;-1:-1:-1;;;;;;1526:19:6;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1306:253::o;5964:150:20:-;1094:13:0;:11;:13::i;:::-;6072:15:20::1;::::0;6064:42:::1;::::0;6032:21:::1;::::0;-1:-1:-1;;;;;6072:15:20::1;::::0;6064:42;::::1;;;::::0;6032:21;;6014:15:::1;6064:42:::0;6014:15;6064:42;6032:21;6072:15;6064:42;::::1;;;;;;;;;;;;;::::0;::::1;;;;2387:65:::0;1094:13:0;:11;:13::i;:::-;2434:10:20::1;:8;:10::i;:::-;2387:65::o:0;5004:179:3:-;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;1813:230:6:-;1888:7;1923:30;1717:10;:17;;1630:111;1923:30;1915:5;:38;1907:95;;;;-1:-1:-1;;;1907:95:6;;10884:2:21;1907:95:6;;;10866:21:21;10923:2;10903:18;;;10896:30;10962:34;10942:18;;;10935:62;-1:-1:-1;;;11013:18:21;;;11006:42;11065:19;;1907:95:6;10682:408:21;1907:95:6;2019:10;2030:5;2019:17;;;;;;;;:::i;:::-;;;;;;;;;2012:24;;1813:230;;;:::o;1606:92:20:-;1094:13:0;:11;:13::i;:::-;1675:7:20::1;:15;1685:5:::0;1675:7;:15:::1;:::i;4473:278::-:0;1094:13:0;:11;:13::i;:::-;4615::20::1;:20:::0;;-1:-1:-1;;4615:20:20::1;4631:4;4615:20;::::0;;4646:18:::1;:35:::0;;;;4692:12:::1;:20:::0;4723:12:::1;:20:::0;4473:278::o;2190:219:3:-;2262:7;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:3;;2324:56;;;;-1:-1:-1;;;2324:56:3;;;;;;;:::i;5102:198:20:-;1094:13:0;:11;:13::i;:::-;5155::20::1;:21:::0;;-1:-1:-1;;5155:21:20::1;::::0;;5171:5:::1;5187:18;:22:::0;;;5220:12:::1;:16:::0;;;5247:12:::1;:16:::0;;;5274:14:::1;:18:::0;5102:198::o;6145:92::-;1094:13:0;:11;:13::i;:::-;6211:9:20::1;:18:::0;6145:92::o;1929:204:3:-;2001:7;-1:-1:-1;;;;;2028:19:3;;2020:73;;;;-1:-1:-1;;;2020:73:3;;13986:2:21;2020:73:3;;;13968:21:21;14025:2;14005:18;;;13998:30;14064:34;14044:18;;;14037:62;-1:-1:-1;;;14115:18:21;;;14108:39;14164:19;;2020:73:3;13784:405:21;2020:73:3;-1:-1:-1;;;;;;2110:16:3;;;;;:9;:16;;;;;;;1929:204::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;4149:286:20:-:0;1094:13:0;:11;:13::i;:::-;4229:9:20::1;4224:204;4244:20:::0;;::::1;4224:204;;;4286:15;4304:24;:14;918::12::0;;827:112;4304:24:20::1;4286:42;;4343:32;4353:9;;4363:1;4353:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;4367:7;4343:9;:32::i;:::-;4390:26;:14;1032:19:12::0;;1050:1;1032:19;;;945:123;4390:26:20::1;-1:-1:-1::0;4266:3:20;::::1;::::0;::::1;:::i;:::-;;;;4224:204;;2318:61:::0;1094:13:0;:11;:13::i;:::-;2363:8:20::1;:6;:8::i;3254:871::-:0;3329:12;;;;3321:51;;;;-1:-1:-1;;;3321:51:20;;14396:2:21;3321:51:20;;;14378:21:21;14435:2;14415:18;;;14408:30;14474:28;14454:18;;;14447:56;14520:18;;3321:51:20;14194:350:21;3321:51:20;3407:11;;3391:13;;:27;3383:48;;;;-1:-1:-1;;;3383:48:20;;8524:2:21;3383:48:20;;;8506:21:21;8563:1;8543:18;;;8536:29;-1:-1:-1;;;8581:18:21;;;8574:38;8629:18;;3383:48:20;8322:331:21;3383:48:20;3480:8;3464:13;1717:10:6;:17;;1630:111;3464:13:20;:24;;;;:::i;:::-;3450:9;;:39;;3442:70;;;;-1:-1:-1;;;3442:70:20;;9122:2:21;3442:70:20;;;9104:21:21;9161:2;9141:18;;;9134:30;-1:-1:-1;;;9180:18:21;;;9173:48;9238:18;;3442:70:20;8920:342:21;3442:70:20;3564:10;3545:30;;;;:18;:30;;;;;;;;3523:114;;;;-1:-1:-1;;;3523:114:20;;14751:2:21;3523:114:20;;;14733:21:21;14790:2;14770:18;;;14763:30;14829:34;14809:18;;;14802:62;-1:-1:-1;;;14880:18:21;;;14873:32;14922:19;;3523:114:20;14549:398:21;3523:114:20;3681:1;3670:8;:12;:88;;;;;3741:17;;3728:8;3704:21;3714:10;3704:9;:21::i;:::-;:32;;;;:::i;:::-;3703:55;;3670:88;3648:154;;;;-1:-1:-1;;;3648:154:20;;9469:2:21;3648:154:20;;;9451:21:21;9508:2;9488:18;;;9481:30;-1:-1:-1;;;9527:18:21;;;9520:46;9583:18;;3648:154:20;9267:340:21;3648:154:20;3846:11;;3835:22;;:8;:22;:::i;:::-;3821:9;:37;;3813:66;;;;-1:-1:-1;;;3813:66:20;;9987:2:21;3813:66:20;;;9969:21:21;10026:2;10006:18;;;9999:30;-1:-1:-1;;;10045:18:21;;;10038:46;10101:18;;3813:66:20;9785:340:21;3813:66:20;3897:9;3892:226;3916:8;3912:1;:12;3892:226;;;3946:15;3964:24;:14;918::12;;827:112;3964:24:20;3946:42;;4003:30;4013:10;4025:7;4003:9;:30::i;:::-;4050:26;:14;1032:19:12;;1050:1;1032:19;;;945:123;4050:26:20;4091:13;:15;;;:13;:15;;;:::i;:::-;;;;;;3931:187;3926:3;;;;;:::i;:::-;;;;3892:226;;2633:102:3;2689:13;2721:7;2714:14;;;;;:::i;5340:192:20:-;1094:13:0;:11;:13::i;:::-;5392:12:20::1;:20:::0;;-1:-1:-1;;5392:20:20::1;::::0;;5407:5:::1;5423:17;:21:::0;;;5455:11:::1;:15:::0;;;5481:11:::1;:15:::0;;;5507:13:::1;:17:::0;5340:192::o;4169:153:3:-;4263:52;719:10:11;4296:8:3;4306;4263:18;:52::i;5573:204:20:-;1094:13:0;:11;:13::i;:::-;5662:9:20::1;5657:113;5677:20:::0;;::::1;5657:113;;;5754:4;5719:18;:32;5738:9;;5748:1;5738:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;5719:32:20::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;5719:32:20;:39;;-1:-1:-1;;5719:39:20::1;::::0;::::1;;::::0;;;::::1;::::0;;5699:3;::::1;::::0;::::1;:::i;:::-;;;;5657:113;;5249:314:3::0;5417:41;719:10:11;5450:7:3;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:3;;;;;;;:::i;:::-;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;:::-;5249:314;;;;:::o;1731:579:20:-;7321:4:3;6930:16;;;:7;:16;;;;;;1849:13:20;;-1:-1:-1;;;;;6930:16:3;1880:53:20;;;;-1:-1:-1;;;1880:53:20;;;;;;;:::i;:::-;1946:28;1977:10;:8;:10::i;:::-;1946:41;;2049:1;2024:14;2018:28;:32;:284;;;;;;;;;;;;;;;;;2142:14;2213:25;2230:7;2213:16;:25::i;:::-;2099:162;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2018:284;1998:304;1731:579;-1:-1:-1;;;1731:579:20:o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;15799:2:21;2161:73:0::1;::::0;::::1;15781:21:21::0;15838:2;15818:18;;;15811:30;15877:34;15857:18;;;15850:62;-1:-1:-1;;;15928:18:21;;;15921:36;15974:19;;2161:73:0::1;15597:402:21::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;945:123:12:-;1032:19;;1050:1;1032:19;;;945:123::o;1005:222:6:-;1107:4;-1:-1:-1;;;;;;1130:50:6;;-1:-1:-1;;;1130:50:6;;:90;;;1184:36;1208:11;1184:23;:36::i;13466:133:3:-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:3;13539:53;;;;-1:-1:-1;;;13539:53:3;;;;;;;:::i;12768:171::-;12842:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12842:29:3;-1:-1:-1;;;;;12842:29:3;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;-1:-1:-1;;;;;12886:46:3;;;;;;;;;;;12768:171;;:::o;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;;;;;719:10:11;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;16206:2:21;1414:68:0;;;16188:21:21;;;16225:18;;;16218:30;16284:34;16264:18;;;16257:62;16336:18;;1414:68:0;16004:356:21;7540:261:3;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;-1:-1:-1;;;;;7706:16:3;:7;-1:-1:-1;;;;;7706:16:3;;:52;;;-1:-1:-1;;;;;;4508:25:3;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7726:32;7706:87;;;;7786:7;-1:-1:-1;;;;;7762:31:3;:20;7774:7;7762:11;:20::i;:::-;-1:-1:-1;;;;;7762:31:3;;7706:87;7698:96;7540:261;-1:-1:-1;;;;7540:261:3:o;11423:1233::-;11577:4;-1:-1:-1;;;;;11550:31:3;:23;11565:7;11550:14;:23::i;:::-;-1:-1:-1;;;;;11550:31:3;;11542:81;;;;-1:-1:-1;;;11542:81:3;;;;;;;:::i;:::-;-1:-1:-1;;;;;11641:16:3;;11633:65;;;;-1:-1:-1;;;11633:65:3;;16973:2:21;11633:65:3;;;16955:21:21;17012:2;16992:18;;;16985:30;17051:34;17031:18;;;17024:62;-1:-1:-1;;;17102:18:21;;;17095:34;17146:19;;11633:65:3;16771:400:21;11633:65:3;11709:42;11730:4;11736:2;11740:7;11749:1;11709:20;:42::i;:::-;11878:4;-1:-1:-1;;;;;11851:31:3;:23;11866:7;11851:14;:23::i;:::-;-1:-1:-1;;;;;11851:31:3;;11843:81;;;;-1:-1:-1;;;11843:81:3;;;;;;;:::i;:::-;11993:24;;;;:15;:24;;;;;;;;11986:31;;-1:-1:-1;;;;;;11986:31:3;;;;;;-1:-1:-1;;;;;12461:15:3;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12461:20:3;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;3538:336;3468:406;;:::o;8131:108::-;8206:26;8216:2;8220:7;8206:26;;;;;;;;;;;;:9;:26::i;2433:117:2:-;1486:16;:14;:16::i;:::-;2491:7:::1;:15:::0;;-1:-1:-1;;2491:15:2::1;::::0;;2521:22:::1;719:10:11::0;2530:12:2::1;2521:22;::::0;-1:-1:-1;;;;;1697:32:21;;;1679:51;;1667:2;1652:18;2521:22:2::1;;;;;;;2433:117::o:0;:187:0:-;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;2525:6;2541:17;;;-1:-1:-1;;;;;;2541:17:0;;;;;;2573:40;;2525:6;;;;;;;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;2186:115:2:-;1239:19;:17;:19::i;:::-;2245:7:::1;:14:::0;;-1:-1:-1;;2245:14:2::1;2255:4;2245:14;::::0;;2274:20:::1;2281:12;719:10:11::0;;640:96;13075:307:3;13225:8;-1:-1:-1;;;;;13216:17:3;:5;-1:-1:-1;;;;;13216:17:3;;13208:55;;;;-1:-1:-1;;;13208:55:3;;17378:2:21;13208:55:3;;;17360:21:21;17417:2;17397:18;;;17390:30;17456:27;17436:18;;;17429:55;17501:18;;13208:55:3;17176:349:21;13208:55:3;-1:-1:-1;;;;;13273:25:3;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13273:46:3;;;;;;;;;;13334:41;;540::21;;;13334::3;;513:18:21;13334:41:3;;;;;;;13075:307;;;:::o;6424:305::-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:3;;;;;;;:::i;1470:108:20:-;1530:13;1563:7;1556:14;;;;;:::i;415:696:13:-;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:13;-1:-1:-1;572:41:13;-1:-1:-1;733:28:13;;;749:2;733:28;788:280;-1:-1:-1;;819:5:13;-1:-1:-1;;;953:2:13;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:13;788:280;1032:21;-1:-1:-1;1088:6:13;415:696;-1:-1:-1;;;415:696:13:o;1570:300:3:-;1672:4;-1:-1:-1;;;;;;1707:40:3;;-1:-1:-1;;;1707:40:3;;:104;;-1:-1:-1;;;;;;;1763:48:3;;-1:-1:-1;;;1763:48:3;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:14;;;1827:36:3;829:155:14;6245:268:20;1239:19:2;:17;:19::i;:::-;6449:56:20::1;6476:4;6482:2;6486:7;6495:9;6449:26;:56::i;8460:309:3:-:0;8584:18;8590:2;8594:7;8584:5;:18::i;:::-;8633:53;8664:1;8668:2;8672:7;8681:4;8633:22;:53::i;:::-;8612:150;;;;-1:-1:-1;;;8612:150:3;;;;;;;:::i;1945:106:2:-;1685:7;;;;2003:41;;;;-1:-1:-1;;;2003:41:2;;18283:2:21;2003:41:2;;;18265:21:21;18322:2;18302:18;;;18295:30;-1:-1:-1;;;18341:18:21;;;18334:50;18401:18;;2003:41:2;18081:344:21;1767:106:2;1685:7;;;;1836:9;1828:38;;;;-1:-1:-1;;;1828:38:2;;18632:2:21;1828:38:2;;;18614:21:21;18671:2;18651:18;;;18644:30;-1:-1:-1;;;18690:18:21;;;18683:46;18746:18;;1828:38:2;18430:340:21;14151:831:3;14300:4;-1:-1:-1;;;;;14320:13:3;;1465:19:10;:23;14316:660:3;;14355:71;;-1:-1:-1;;;14355:71:3;;-1:-1:-1;;;;;14355:36:3;;;;;:71;;719:10:11;;14406:4:3;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:3;;;;;;;;-1:-1:-1;;14355:71:3;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14593:6;:13;14610:1;14593:18;14589:321;;14635:60;;-1:-1:-1;;;14635:60:3;;;;;;;:::i;14589:321::-;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;-1:-1:-1;;;;;;14476:51:3;-1:-1:-1;;;14476:51:3;;-1:-1:-1;14469:58:3;;14316:660;-1:-1:-1;14961:4:3;14151:831;;;;;;:::o;9889:890:16:-;9942:7;;-1:-1:-1;;;10017:15:16;;10013:99;;-1:-1:-1;;;10052:15:16;;;-1:-1:-1;10095:2:16;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:16;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:16;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:16;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:16;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:16;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:16:o;2112::6:-;2283:61;2310:4;2316:2;2320:12;2334:9;2283:26;:61::i;:::-;2371:1;2359:9;:13;2355:219;;;2500:63;;-1:-1:-1;;;2500:63:6;;19725:2:21;2500:63:6;;;19707:21:21;19764:2;19744:18;;;19737:30;19803:34;19783:18;;;19776:62;-1:-1:-1;;;19854:18:21;;;19847:51;19915:19;;2500:63:6;19523:417:21;2355:219:6;2602:12;-1:-1:-1;;;;;2629:18:6;;2625:183;;2663:40;2695:7;3811:10;:17;;3784:24;;;;:15;:24;;;;;:44;;;3838:24;;;;;;;;;;;;3708:161;2663:40;2625:183;;;2732:2;-1:-1:-1;;;;;2724:10:6;:4;-1:-1:-1;;;;;2724:10:6;;2720:88;;2750:47;2783:4;2789:7;2750:32;:47::i;:::-;-1:-1:-1;;;;;2821:16:6;;2817:179;;2853:45;2890:7;2853:36;:45::i;:::-;2817:179;;;2925:4;-1:-1:-1;;;;;2919:10:6;:2;-1:-1:-1;;;;;2919:10:6;;2915:81;;2945:40;2973:2;2977:7;2945:27;:40::i;:::-;2273:729;2112:890;;;;:::o;9091:920:3:-;-1:-1:-1;;;;;9170:16:3;;9162:61;;;;-1:-1:-1;;;9162:61:3;;20147:2:21;9162:61:3;;;20129:21:21;;;20166:18;;;20159:30;20225:34;20205:18;;;20198:62;20277:18;;9162:61:3;19945:356:21;9162:61:3;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:3;7344:31;9233:58;;;;-1:-1:-1;;;9233:58:3;;20508:2:21;9233:58:3;;;20490:21:21;20547:2;20527:18;;;20520:30;20586;20566:18;;;20559:58;20634:18;;9233:58:3;20306:352:21;9233:58:3;9302:48;9331:1;9335:2;9339:7;9348:1;9302:20;:48::i;:::-;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:3;7344:31;9437:58;;;;-1:-1:-1;;;9437:58:3;;20508:2:21;9437:58:3;;;20490:21:21;20547:2;20527:18;;;20520:30;20586;20566:18;;;20559:58;20634:18;;9437:58:3;20306:352:21;9437:58:3;-1:-1:-1;;;;;9837:13:3;;;;;;:9;:13;;;;;;;;:18;;9854:1;9837:18;;;9876:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9876:21:3;;;;;9913:33;9884:7;;9837:13;;9913:33;;9837:13;;9913:33;2991:225:20;2479:744;:::o;15698:396:3:-;15882:1;15870:9;:13;15866:222;;;-1:-1:-1;;;;;15903:18:3;;;15899:85;;-1:-1:-1;;;;;15941:15:3;;;;;;:9;:15;;;;;:28;;15960:9;;15941:15;:28;;15960:9;;15941:28;:::i;:::-;;;;-1:-1:-1;;15899:85:3;-1:-1:-1;;;;;16001:16:3;;;15997:81;;-1:-1:-1;;;;;16037:13:3;;;;;;:9;:13;;;;;:26;;16054:9;;16037:13;:26;;16054:9;;16037:26;:::i;:::-;;;;-1:-1:-1;;15698:396:3;;;;:::o;4486:970:6:-;4748:22;4798:1;4773:22;4790:4;4773:16;:22::i;:::-;:26;;;;:::i;:::-;4809:18;4830:26;;;:17;:26;;;;;;4748:51;;-1:-1:-1;4960:28:6;;;4956:323;;-1:-1:-1;;;;;5026:18:6;;5004:19;5026:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5075:30;;;;;;:44;;;5191:30;;:17;:30;;;;;:43;;;4956:323;-1:-1:-1;5372:26:6;;;;:17;:26;;;;;;;;5365:33;;;-1:-1:-1;;;;;5415:18:6;;;;;:12;:18;;;;;:34;;;;;;;5408:41;4486:970::o;5744:1061::-;6018:10;:17;5993:22;;6018:21;;6038:1;;6018:21;:::i;:::-;6049:18;6070:24;;;:15;:24;;;;;;6438:10;:26;;5993:46;;-1:-1:-1;6070:24:6;;5993:46;;6438:26;;;;;;:::i;:::-;;;;;;;;;6416:48;;6500:11;6475:10;6486;6475:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6579:28;;;:15;:28;;;;;;;:41;;;6748:24;;;;;6741:31;6782:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5815:990;;;5744:1061;:::o;3296:217::-;3380:14;3397:20;3414:2;3397:16;:20::i;:::-;-1:-1:-1;;;;;3427:16:6;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3471:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3296:217:6:o;14:131:21:-;-1:-1:-1;;;;;;88:32:21;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:21;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:21;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:21:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:21;;1348:180;-1:-1:-1;1348:180:21:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:21;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:21:o;2178:316::-;2255:6;2263;2271;2324:2;2312:9;2303:7;2299:23;2295:32;2292:52;;;2340:1;2337;2330:12;2292:52;-1:-1:-1;;2363:23:21;;;2433:2;2418:18;;2405:32;;-1:-1:-1;2484:2:21;2469:18;;;2456:32;;2178:316;-1:-1:-1;2178:316:21:o;2681:186::-;2740:6;2793:2;2781:9;2772:7;2768:23;2764:32;2761:52;;;2809:1;2806;2799:12;2761:52;2832:29;2851:9;2832:29;:::i;2872:328::-;2949:6;2957;2965;3018:2;3006:9;2997:7;2993:23;2989:32;2986:52;;;3034:1;3031;3024:12;2986:52;3057:29;3076:9;3057:29;:::i;:::-;3047:39;;3105:38;3139:2;3128:9;3124:18;3105:38;:::i;:::-;3095:48;;3190:2;3179:9;3175:18;3162:32;3152:42;;2872:328;;;;;:::o;3205:127::-;3266:10;3261:3;3257:20;3254:1;3247:31;3297:4;3294:1;3287:15;3321:4;3318:1;3311:15;3337:632;3402:5;3432:18;3473:2;3465:6;3462:14;3459:40;;;3479:18;;:::i;:::-;3554:2;3548:9;3522:2;3608:15;;-1:-1:-1;;3604:24:21;;;3630:2;3600:33;3596:42;3584:55;;;3654:18;;;3674:22;;;3651:46;3648:72;;;3700:18;;:::i;:::-;3740:10;3736:2;3729:22;3769:6;3760:15;;3799:6;3791;3784:22;3839:3;3830:6;3825:3;3821:16;3818:25;3815:45;;;3856:1;3853;3846:12;3815:45;3906:6;3901:3;3894:4;3886:6;3882:17;3869:44;3961:1;3954:4;3945:6;3937;3933:19;3929:30;3922:41;;;;3337:632;;;;;:::o;3974:451::-;4043:6;4096:2;4084:9;4075:7;4071:23;4067:32;4064:52;;;4112:1;4109;4102:12;4064:52;4152:9;4139:23;4185:18;4177:6;4174:30;4171:50;;;4217:1;4214;4207:12;4171:50;4240:22;;4293:4;4285:13;;4281:27;-1:-1:-1;4271:55:21;;4322:1;4319;4312:12;4271:55;4345:74;4411:7;4406:2;4393:16;4388:2;4384;4380:11;4345:74;:::i;4430:615::-;4516:6;4524;4577:2;4565:9;4556:7;4552:23;4548:32;4545:52;;;4593:1;4590;4583:12;4545:52;4633:9;4620:23;4662:18;4703:2;4695:6;4692:14;4689:34;;;4719:1;4716;4709:12;4689:34;4757:6;4746:9;4742:22;4732:32;;4802:7;4795:4;4791:2;4787:13;4783:27;4773:55;;4824:1;4821;4814:12;4773:55;4864:2;4851:16;4890:2;4882:6;4879:14;4876:34;;;4906:1;4903;4896:12;4876:34;4959:7;4954:2;4944:6;4941:1;4937:14;4933:2;4929:23;4925:32;4922:45;4919:65;;;4980:1;4977;4970:12;4919:65;5011:2;5003:11;;;;;5033:6;;-1:-1:-1;4430:615:21;;-1:-1:-1;;;;4430:615:21:o;5050:347::-;5115:6;5123;5176:2;5164:9;5155:7;5151:23;5147:32;5144:52;;;5192:1;5189;5182:12;5144:52;5215:29;5234:9;5215:29;:::i;:::-;5205:39;;5294:2;5283:9;5279:18;5266:32;5341:5;5334:13;5327:21;5320:5;5317:32;5307:60;;5363:1;5360;5353:12;5307:60;5386:5;5376:15;;;5050:347;;;;;:::o;5402:667::-;5497:6;5505;5513;5521;5574:3;5562:9;5553:7;5549:23;5545:33;5542:53;;;5591:1;5588;5581:12;5542:53;5614:29;5633:9;5614:29;:::i;:::-;5604:39;;5662:38;5696:2;5685:9;5681:18;5662:38;:::i;:::-;5652:48;;5747:2;5736:9;5732:18;5719:32;5709:42;;5802:2;5791:9;5787:18;5774:32;5829:18;5821:6;5818:30;5815:50;;;5861:1;5858;5851:12;5815:50;5884:22;;5937:4;5929:13;;5925:27;-1:-1:-1;5915:55:21;;5966:1;5963;5956:12;5915:55;5989:74;6055:7;6050:2;6037:16;6032:2;6028;6024:11;5989:74;:::i;:::-;5979:84;;;5402:667;;;;;;;:::o;6074:260::-;6142:6;6150;6203:2;6191:9;6182:7;6178:23;6174:32;6171:52;;;6219:1;6216;6209:12;6171:52;6242:29;6261:9;6242:29;:::i;:::-;6232:39;;6290:38;6324:2;6313:9;6309:18;6290:38;:::i;:::-;6280:48;;6074:260;;;;;:::o;6339:380::-;6418:1;6414:12;;;;6461;;;6482:61;;6536:4;6528:6;6524:17;6514:27;;6482:61;6589:2;6581:6;6578:14;6558:18;6555:38;6552:161;;6635:10;6630:3;6626:20;6623:1;6616:31;6670:4;6667:1;6660:15;6698:4;6695:1;6688:15;6552:161;;6339:380;;;:::o;7556:409::-;7758:2;7740:21;;;7797:2;7777:18;;;7770:30;7836:34;7831:2;7816:18;;7809:62;-1:-1:-1;;;7902:2:21;7887:18;;7880:43;7955:3;7940:19;;7556:409::o;8658:127::-;8719:10;8714:3;8710:20;8707:1;8700:31;8750:4;8747:1;8740:15;8774:4;8771:1;8764:15;8790:125;8855:9;;;8876:10;;;8873:36;;;8889:18;;:::i;9612:168::-;9685:9;;;9716;;9733:15;;;9727:22;;9713:37;9703:71;;9754:18;;:::i;10130:135::-;10169:3;10190:17;;;10187:43;;10210:18;;:::i;:::-;-1:-1:-1;10257:1:21;10246:13;;10130:135::o;11095:127::-;11156:10;11151:3;11147:20;11144:1;11137:31;11187:4;11184:1;11177:15;11211:4;11208:1;11201:15;11353:545;11455:2;11450:3;11447:11;11444:448;;;11491:1;11516:5;11512:2;11505:17;11561:4;11557:2;11547:19;11631:2;11619:10;11615:19;11612:1;11608:27;11602:4;11598:38;11667:4;11655:10;11652:20;11649:47;;;-1:-1:-1;11690:4:21;11649:47;11745:2;11740:3;11736:12;11733:1;11729:20;11723:4;11719:31;11709:41;;11800:82;11818:2;11811:5;11808:13;11800:82;;;11863:17;;;11844:1;11833:13;11800:82;;;11804:3;;;11353:545;;;:::o;12074:1352::-;12200:3;12194:10;12227:18;12219:6;12216:30;12213:56;;;12249:18;;:::i;:::-;12278:97;12368:6;12328:38;12360:4;12354:11;12328:38;:::i;:::-;12322:4;12278:97;:::i;:::-;12430:4;;12494:2;12483:14;;12511:1;12506:663;;;;13213:1;13230:6;13227:89;;;-1:-1:-1;13282:19:21;;;13276:26;13227:89;-1:-1:-1;;12031:1:21;12027:11;;;12023:24;12019:29;12009:40;12055:1;12051:11;;;12006:57;13329:81;;12476:944;;12506:663;11300:1;11293:14;;;11337:4;11324:18;;-1:-1:-1;;12542:20:21;;;12660:236;12674:7;12671:1;12668:14;12660:236;;;12763:19;;;12757:26;12742:42;;12855:27;;;;12823:1;12811:14;;;;12690:19;;12660:236;;;12664:3;12924:6;12915:7;12912:19;12909:201;;;12985:19;;;12979:26;-1:-1:-1;;13068:1:21;13064:14;;;13080:3;13060:24;13056:37;13052:42;13037:58;13022:74;;12909:201;-1:-1:-1;;;;;13156:1:21;13140:14;;;13136:22;13123:36;;-1:-1:-1;12074:1352:21:o;13431:348::-;13633:2;13615:21;;;13672:2;13652:18;;;13645:30;13711:26;13706:2;13691:18;;13684:54;13770:2;13755:18;;13431:348::o;14952:640::-;15232:3;15270:6;15264:13;15286:66;15345:6;15340:3;15333:4;15325:6;15321:17;15286:66;:::i;:::-;-1:-1:-1;;;15374:16:21;;;15399:18;;;15442:13;;15464:78;15442:13;15529:1;15518:13;;15511:4;15499:17;;15464:78;:::i;:::-;15562:20;15584:1;15558:28;;14952:640;-1:-1:-1;;;;14952:640:21:o;16365:401::-;16567:2;16549:21;;;16606:2;16586:18;;;16579:30;16645:34;16640:2;16625:18;;16618:62;-1:-1:-1;;;16711:2:21;16696:18;;16689:35;16756:3;16741:19;;16365:401::o;17530:414::-;17732:2;17714:21;;;17771:2;17751:18;;;17744:30;17810:34;17805:2;17790:18;;17783:62;-1:-1:-1;;;17876:2:21;17861:18;;17854:48;17934:3;17919:19;;17530:414::o;18775:489::-;-1:-1:-1;;;;;19044:15:21;;;19026:34;;19096:15;;19091:2;19076:18;;19069:43;19143:2;19128:18;;19121:34;;;19191:3;19186:2;19171:18;;19164:31;;;18969:4;;19212:46;;19238:19;;19230:6;19212:46;:::i;:::-;19204:54;18775:489;-1:-1:-1;;;;;;18775:489:21:o;19269:249::-;19338:6;19391:2;19379:9;19370:7;19366:23;19362:32;19359:52;;;19407:1;19404;19397:12;19359:52;19439:9;19433:16;19458:30;19482:5;19458:30;:::i;20663:128::-;20730:9;;;20751:11;;;20748:37;;;20765:18;;:::i;20796:127::-;20857:10;20852:3;20848:20;20845:1;20838:31;20888:4;20885:1;20878:15;20912:4;20909:1;20902:15
Swarm Source
ipfs://624300a21d80cc6c00dd60aad322f21791163935e56e816eff939f05490b155d
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.