Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
100 DEST
Holders
59
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DESTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Destinations
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "./ERC721ABurnable.sol"; import "./ERC721A.sol"; import "./Ownable.sol"; import "./Strings.sol"; import "./ReentrancyGuard.sol"; import {DefaultOperatorFilterer} from "./DefaultOperatorFilterer.sol"; contract OwnableDelegateProxy {} /** * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract Destinations is ERC721ABurnable, DefaultOperatorFilterer, Ownable, ReentrancyGuard { using Strings for uint256; string public baseURI; uint256 public totalWithdrawn = 0; uint256 public phaseMaxPerWallet = 2; // max allowance per wallet in the phases uint256 public maxPerTx = 2; // max allowance per transaction uint256 public price = 0.005 ether; // mint price uint256 public phase = 1; // current phase uint256 public maxSupply = 70; // increases to 100 in phase 2 uint256 public saleStartTime = 1687442400; // Thursday, June 22, 2023 15:00:00 GMT+01:00 bool public burningDisabled = true; mapping(address => uint256) public airdropMints; // mapping of mints per address for airdrop mapping(address => uint256) public phase2Mints; // mapping of mints per address for Phase 2 address public constant PHASE_1_SIGNER = 0x7E3734637DCB3a1Ae4019f46db57B33a3d96b096; address public constant PHASE_2_SIGNER = 0x4BBFB4B577dad0eAF72B44E869Aa09c34CF3E6aF; string _name = "Destinations"; string _symbol = "DEST"; string _initBaseURI = "https://houseoffirst.com:1335/destinations/opensea/"; address public proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; // OpenSea Mainnet Proxy Registry address constructor() ERC721A(_name, _symbol) { setBaseURI(_initBaseURI); } function getNFTPrice() public view returns (uint256) { return price; } function setPrice(uint256 _newPrice) public onlyOwner { price = _newPrice; } function setPhaseMaxPerWallet(uint256 _newMax) public onlyOwner { phaseMaxPerWallet = _newMax; } function setMaxPerTx(uint256 _maxPerTx) public onlyOwner { maxPerTx = _maxPerTx; } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } /* allowlist */ function isAllowlistedPhase1(address user, bytes memory signature) public pure returns (bool) { bytes32 messageHash = keccak256(abi.encodePacked(user)); bytes32 ethSignedMessageHash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", messageHash)); return recoverSigner(ethSignedMessageHash, signature) == PHASE_1_SIGNER; } function isAllowlistedPhase2(address user, bytes memory signature) public pure returns (bool) { bytes32 messageHash = keccak256(abi.encodePacked(user)); bytes32 ethSignedMessageHash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", messageHash)); return recoverSigner(ethSignedMessageHash, signature) == PHASE_2_SIGNER; } function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) private pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) private pure returns (bytes32 r, bytes32 s, uint8 v) { require(sig.length == 65, "invalid signature length"); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } } function getPhase() public view returns (uint256) { return phase; } function mintingStarted() public view returns (bool) { return block.timestamp >= saleStartTime; } function getSaleStartTime() public view returns (uint256) { return saleStartTime; } function getAirdropMints(address addr) public view returns (uint256) { return airdropMints[addr]; } function getNumberMinted(address addr) public view returns (uint256) { return _numberMinted(addr); } function setSaleStartTime(uint256 _saleStartTime) public onlyOwner { saleStartTime = _saleStartTime; } function setAirdropMints(address addr, uint256 _airdropMintQty) public onlyOwner { airdropMints[addr] = _airdropMintQty; } // manually call before each phase function setPhase(uint256 _phase) public onlyOwner { phase = _phase; if(phase == 1) { maxSupply = 70; saleStartTime = 1687442400; // Thursday, June 22, 2023 15:00:00 GMT+01:00 maxPerTx = 2; } else if(phase == 2) { maxSupply = 100; saleStartTime = 1687528800; // Friday, June 23, 2023 15:00:00 GMT+01:00 maxPerTx = 2; } else { maxSupply = 100; saleStartTime = 1687615200; // Saturday, June 24, 2023 15:00:00 GMT+01:00 maxPerTx = 50; } } function getAllowance(address addr) public view returns (uint256) { if(phase == 1) { return phaseMaxPerWallet - (_numberMinted(addr) - airdropMints[addr]); // qty user can mint based on existing mints } else if(phase == 2) { return phaseMaxPerWallet - phase2Mints[addr]; } return 50; // default allowance in public } /** * public mint nfts (no signature required) */ function mintNFT(uint256 numberOfNfts) public payable nonReentrant { require(phase == 3 && block.timestamp >= saleStartTime, "Public sale not started"); require(numberOfNfts > 0, "Invalid numberOfNfts"); require(msg.value >= price * numberOfNfts, "Not Enough ETH"); uint256 supply = _totalMinted(); // total minted globally require((supply + numberOfNfts) <= maxSupply, "Exceeds max supply"); _mint(msg.sender, numberOfNfts); delete supply; } /** * allowlist mint nfts (signature required) */ function allowlistMintNFT(uint256 numberOfNfts, bytes memory signature) public payable nonReentrant { require(phase == 1 || phase == 2, "Allowlist Phases ended"); require(block.timestamp >= saleStartTime, "Sale has not started"); require(numberOfNfts > 0 && numberOfNfts <= phaseMaxPerWallet, "Invalid numberOfNfts"); require(msg.value >= price * numberOfNfts, "Not Enough ETH"); uint256 userMinted; // use signature for allowlist validation if(phase == 1) { require(isAllowlistedPhase1(msg.sender, signature), "Address not allowlisted for Phase 1"); userMinted = _numberMinted(msg.sender) - airdropMints[msg.sender]; // qty user has minted (ignores airdrop mints) } else if(phase == 2) { require(isAllowlistedPhase2(msg.sender, signature), "Address not allowlisted for Phase 2"); userMinted = phase2Mints[msg.sender]; // in phase 2, only look at phase2 number minted phase2Mints[msg.sender] += numberOfNfts; // increment } uint256 userCanMint = phaseMaxPerWallet - userMinted; // qty user can mint based on existing mints require(numberOfNfts <= userCanMint, "Exceeds user allowance"); uint256 supply = _totalMinted(); // total minted globally require((supply + numberOfNfts) <= maxSupply, "Exceeds max supply"); _mint(msg.sender, numberOfNfts); delete userMinted; delete userCanMint; delete supply; } // admin minting function airdrop(uint256[] calldata quantities, address[] calldata recipients) external onlyOwner { require(quantities.length == recipients.length, "Invalid quantities and recipients (length mismatch)"); uint256 totalQuantity = 0; uint256 supply = _totalMinted(); // total minted globally for (uint256 i = 0; i < quantities.length; ++i) { totalQuantity += quantities[i]; } require(supply + totalQuantity <= maxSupply, "Exceeds max mupply"); delete totalQuantity; for (uint256 i = 0; i < recipients.length; ++i) { _mint(recipients[i], quantities[i]); airdropMints[recipients[i]] += quantities[i]; // increment } delete supply; } function burn(uint256 tokenId) public virtual override { require(!burningDisabled, "Burning is disabled"); _burn(tokenId, true); } function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom(_from, _to, _tokenIds[i]); } } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString())) : ""; } function setMaxSupply(uint256 _newMaxSupply) public onlyOwner { maxSupply = _newMaxSupply; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBurningDisabled(bool _burningDisabled) public onlyOwner { burningDisabled = _burningDisabled; } function totalMinted() public view returns (uint256) { return _totalMinted(); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function getPhase2Mints(address owner) public view returns(uint256) { return phase2Mints[owner]; } function totalBurned() public view returns (uint256) { return _totalBurned(); } function numberBurned(address owner) public view returns (uint256) { return _numberBurned(owner); } function ownershipOf(uint256 tokenId) external view returns (TokenOwnership memory) { return _ownershipOf(tokenId); } function getTotalWithdrawn() public view returns (uint256) { return totalWithdrawn; } function getTotalBalance() public view returns (uint256) { return address(this).balance; } function getTotalRaised() public view returns (uint256) { return getTotalWithdrawn() + getTotalBalance(); } /** * withdraw ETH from the contract (callable by Owner only) */ function withdraw() public payable onlyOwner { uint256 val = address(this).balance; (bool success, ) = payable(msg.sender).call{ value: val }(""); require(success); totalWithdrawn += val; delete val; } /** * whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) override public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 pragma solidity ^0.8.4; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721ABurnable.sol'; import './ERC721A.sol'; /** * @title ERC721ABurnable. * * @dev ERC721A token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.10; import "./ERC721P.sol"; import "./IERC721Enumerable.sol"; abstract contract ERC721Enum is ERC721P, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721P) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) { require(index < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) { if (count == index) return i; else ++count; } } require(false, "ERC721Enum: owner ioob"); } function tokensOfOwner(address owner) public view returns (uint256[] memory) { require(0 < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 tokenCount = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); } return tokenIds; } function totalSupply() public view virtual override returns (uint256) { return _owners.length; } function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob"); return index; } }
// SPDX-License-Identifier: GPL-3.0 // Thank you to ToyBoogers & Pagzi Tech for the optimised ERC721 pragma solidity ^0.8.10; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./ERC165.sol"; abstract contract ERC721P is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function getOwners() external view returns (address[] memory) { return _owners; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); uint256 count = 0; uint256 length = _owners.length; for (uint256 i = 0; i < length; ++i) { if (owner == _owners[i]) { ++count; } } delete length; return count; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721P.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } 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" ); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721P.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } 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" ); } 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); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721P.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721P.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721P.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721ABurnable. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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 tokenId); /** * @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.0 (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 v4.4.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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; 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 unregister(address addr) 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.4; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = 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(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // 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) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "./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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PHASE_1_SIGNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PHASE_2_SIGNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantities","type":"uint256[]"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"airdropMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfNfts","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"allowlistMintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burningDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getAirdropMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getPhase2Mints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isAllowlistedPhase1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isAllowlistedPhase2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfNfts","type":"uint256"}],"name":"mintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"phase2Mints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phaseMaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[],"name":"saleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"_airdropMintQty","type":"uint256"}],"name":"setAirdropMints","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_burningDisabled","type":"bool"}],"name":"setBurningDisabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_phase","type":"uint256"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setPhaseMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleStartTime","type":"uint256"}],"name":"setSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWithdrawn","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6000600b556002600c818155600d919091556611c37937e08000600e556001600f819055604660105563649453e06011556012805460ff1916909117905560c060405260808190526b44657374696e6174696f6e7360a01b60a09081526200006b916015919062000536565b5060408051808201909152600480825263111154d560e21b6020909201918252620000999160169162000536565b5060405180606001604052806033815260200162003630603391398051620000ca9160179160209091019062000536565b50601880546001600160a01b03191673a5409ec958c83c3f309868babaca7c86dcb077c1179055348015620000fe57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb66001601580546200012590620005dc565b80601f01602080910402602001604051908101604052809291908181526020018280546200015390620005dc565b8015620001a45780601f106200017857610100808354040283529160200191620001a4565b820191906000526020600020905b8154815290600101906020018083116200018657829003601f168201915b505050505060168054620001b890620005dc565b80601f0160208091040260200160405190810160405280929190818152602001828054620001e690620005dc565b8015620002375780601f106200020b5761010080835404028352916020019162000237565b820191906000526020600020905b8154815290600101906020018083116200021957829003601f168201915b505084516200025193506002925060208601915062000536565b5080516200026790600390602084019062000536565b506000805550506daaeb6d7670e522a718067333cd4e3b15620003b35780156200030157604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620002e257600080fd5b505af1158015620002f7573d6000803e3d6000fd5b50505050620003b3565b6001600160a01b03821615620003525760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620002c7565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200039957600080fd5b505af1158015620003ae573d6000803e3d6000fd5b505050505b50620003c19050336200046c565b600160095560178054620004669190620003db90620005dc565b80601f01602080910402602001604051908101604052809291908181526020018280546200040990620005dc565b80156200045a5780601f106200042e576101008083540402835291602001916200045a565b820191906000526020600020905b8154815290600101906020018083116200043c57829003601f168201915b5050620004be92505050565b62000619565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b031633146200051d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200053290600a90602084019062000536565b5050565b8280546200054490620005dc565b90600052602060002090601f016020900481019282620005685760008555620005b3565b82601f106200058357805160ff1916838001178555620005b3565b82800160010185558215620005b3579182015b82811115620005b357825182559160200191906001019062000596565b50620005c1929150620005c5565b5090565b5b80821115620005c15760008155600101620005c6565b600181811c90821680620005f157607f821691505b602082108114156200061357634e487b7160e01b600052602260045260246000fd5b50919050565b61300780620006296000396000f3fe6080604052600436106103ce5760003560e01c80638a59a7fd116101fd578063cd1b805a11610118578063eb5a662e116100ab578063f3dc902e1161007a578063f3dc902e14610ae3578063f77b774a14610af9578063f968adbe14610b2f578063fb107a4f14610b45578063fe3dbd8114610b5a57600080fd5b8063eb5a662e14610a6e578063eced028014610a8e578063f2fde38b14610aa3578063f3993d1114610ac357600080fd5b8063dc33e681116100e7578063dc33e681146107e9578063de78ea7f14610a01578063e1240e9114610a21578063e985e9c514610a4e57600080fd5b8063cd1b805a14610980578063cd7c0326146109b6578063d5abeb01146109d6578063d89135cd146109ec57600080fd5b8063a2309ff811610190578063b88d4fde1161015f578063b88d4fde14610918578063c2b1ddaf1461092b578063c6f6f21614610940578063c87b56dd1461096057600080fd5b8063a2309ff8146108ba578063a7c7bf9c146108cf578063acf86e33146108ef578063b1c9fe6e1461090257600080fd5b806395d89b41116101cc57806395d89b411461085a5780639f5502931461086f578063a035b1fe14610884578063a22cb4651461089a57600080fd5b80638a59a7fd146107e95780638da5cb5b1461080957806391b7f5ed14610827578063926427441461084757600080fd5b806342842e0e116102ed5780636673c4c21161028057806370a082311161024f57806370a0823114610772578063715018a6146107925780638522c7ca146107a757806389404a79146107d457600080fd5b80636673c4c2146107055780636c0360eb146107255780636f8608e41461073a5780636f8b44b01461075257600080fd5b8063525f8a5c116102bc578063525f8a5c1461068557806355f804b3146106a557806360a96dcf146106c55780636352211e146106e557600080fd5b806342842e0e1461061457806342966c68146106275780634b31971314610647578063508a65f71461065d57600080fd5b80631cbaee2d116103655780633132c3ea116103345780633132c3ea146105a25780633ccfd60b146105ca5780633d43675a146105d257806341f43434146105f257600080fd5b80631cbaee2d1461053957806323b872dd1461054f5780632478d639146105625780632cc826551461058257600080fd5b806312b58349116103a157806312b5834914610477578063140364a11461049457806316c815941461050057806318160ddd1461052057600080fd5b806301ffc9a7146103d357806306fdde0314610408578063081812fc1461042a578063095ea7b314610462575b600080fd5b3480156103df57600080fd5b506103f36103ee366004612868565b610b74565b60405190151581526020015b60405180910390f35b34801561041457600080fd5b5061041d610bc6565b6040516103ff91906128dd565b34801561043657600080fd5b5061044a6104453660046128f0565b610c58565b6040516001600160a01b0390911681526020016103ff565b61047561047036600461291e565b610c9c565b005b34801561048357600080fd5b50475b6040519081526020016103ff565b3480156104a057600080fd5b506104b46104af3660046128f0565b610cb5565b6040516103ff919081516001600160a01b031681526020808301516001600160401b03169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b34801561050c57600080fd5b5061047561051b36600461291e565b610ce2565b34801561052c57600080fd5b5060015460005403610486565b34801561054557600080fd5b5061048660115481565b61047561055d36600461294a565b610d31565b34801561056e57600080fd5b5061048661057d36600461298b565b610d5c565b34801561058e57600080fd5b5061047561059d3660046128f0565b610d89565b3480156105ae57600080fd5b5061044a737e3734637dcb3a1ae4019f46db57b33a3d96b09681565b610475610e0c565b3480156105de57600080fd5b506104756105ed3660046129b6565b610ea8565b3480156105fe57600080fd5b5061044a6daaeb6d7670e522a718067333cd4e81565b61047561062236600461294a565b610ee5565b34801561063357600080fd5b506104756106423660046128f0565b610f0a565b34801561065357600080fd5b50610486600b5481565b34801561066957600080fd5b5061044a734bbfb4b577dad0eaf72b44e869aa09c34cf3e6af81565b34801561069157600080fd5b506104756106a03660046128f0565b610f5e565b3480156106b157600080fd5b506104756106c0366004612a70565b610f8d565b3480156106d157600080fd5b506103f36106e0366004612ad8565b610fce565b3480156106f157600080fd5b5061044a6107003660046128f0565b611080565b34801561071157600080fd5b50610475610720366004612b72565b61108b565b34801561073157600080fd5b5061041d6112a9565b34801561074657600080fd5b506011544210156103f3565b34801561075e57600080fd5b5061047561076d3660046128f0565b611337565b34801561077e57600080fd5b5061048661078d36600461298b565b611366565b34801561079e57600080fd5b506104756113b4565b3480156107b357600080fd5b506104866107c236600461298b565b60136020526000908152604090205481565b3480156107e057600080fd5b50600b54610486565b3480156107f557600080fd5b5061048661080436600461298b565b6113ea565b34801561081557600080fd5b506008546001600160a01b031661044a565b34801561083357600080fd5b506104756108423660046128f0565b6113f5565b6104756108553660046128f0565b611424565b34801561086657600080fd5b5061041d6115d7565b34801561087b57600080fd5b506104866115e6565b34801561089057600080fd5b50610486600e5481565b3480156108a657600080fd5b506104756108b5366004612bdd565b6115fb565b3480156108c657600080fd5b50600054610486565b3480156108db57600080fd5b506103f36108ea366004612ad8565b61160f565b6104756108fd366004612c16565b6116ae565b34801561090e57600080fd5b50610486600f5481565b610475610926366004612c46565b611a3b565b34801561093757600080fd5b50601154610486565b34801561094c57600080fd5b5061047561095b3660046128f0565b611a68565b34801561096c57600080fd5b5061041d61097b3660046128f0565b611a97565b34801561098c57600080fd5b5061048661099b36600461298b565b6001600160a01b031660009081526013602052604090205490565b3480156109c257600080fd5b5060185461044a906001600160a01b031681565b3480156109e257600080fd5b5061048660105481565b3480156109f857600080fd5b50610486611b54565b348015610a0d57600080fd5b50610475610a1c3660046128f0565b611b5f565b348015610a2d57600080fd5b50610486610a3c36600461298b565b60146020526000908152604090205481565b348015610a5a57600080fd5b506103f3610a69366004612cb1565b611b8e565b348015610a7a57600080fd5b50610486610a8936600461298b565b611c4f565b348015610a9a57600080fd5b50600f54610486565b348015610aaf57600080fd5b50610475610abe36600461298b565b611cce565b348015610acf57600080fd5b50610475610ade366004612cdf565b611d66565b348015610aef57600080fd5b50610486600c5481565b348015610b0557600080fd5b50610486610b1436600461298b565b6001600160a01b031660009081526014602052604090205490565b348015610b3b57600080fd5b50610486600d5481565b348015610b5157600080fd5b50600e54610486565b348015610b6657600080fd5b506012546103f39060ff1681565b60006301ffc9a760e01b6001600160e01b031983161480610ba557506380ac58cd60e01b6001600160e01b03198316145b80610bc05750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610bd590612dab565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0190612dab565b8015610c4e5780601f10610c2357610100808354040283529160200191610c4e565b820191906000526020600020905b815481529060010190602001808311610c3157829003601f168201915b5050505050905090565b6000610c6382611da8565b610c80576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610ca681611dcf565b610cb08383611e88565b505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bc082611f28565b6008546001600160a01b03163314610d155760405162461bcd60e51b8152600401610d0c90612de6565b60405180910390fd5b6001600160a01b03909116600090815260136020526040902055565b826001600160a01b0381163314610d4b57610d4b33611dcf565b610d56848484611f9f565b50505050565b6000610bc0826001600160a01b031660009081526005602052604090205460801c6001600160401b031690565b6008546001600160a01b03163314610db35760405162461bcd60e51b8152600401610d0c90612de6565b600f8190556001811415610dd657604660105563649453e06011556002600d5550565b600f5460021415610df6576064601055636495a5606011556002600d5550565b6064601055636496f6e06011556032600d555b50565b6008546001600160a01b03163314610e365760405162461bcd60e51b8152600401610d0c90612de6565b6040514790600090339083908381818185875af1925050503d8060008114610e7a576040519150601f19603f3d011682016040523d82523d6000602084013e610e7f565b606091505b5050905080610e8d57600080fd5b81600b6000828254610e9f9190612e31565b90915550505050565b6008546001600160a01b03163314610ed25760405162461bcd60e51b8152600401610d0c90612de6565b6012805460ff1916911515919091179055565b826001600160a01b0381163314610eff57610eff33611dcf565b610d56848484612128565b60125460ff1615610f535760405162461bcd60e51b8152602060048201526013602482015272109d5c9b9a5b99c81a5cc8191a5cd8589b1959606a1b6044820152606401610d0c565b610e09816001612143565b6008546001600160a01b03163314610f885760405162461bcd60e51b8152600401610d0c90612de6565b601155565b6008546001600160a01b03163314610fb75760405162461bcd60e51b8152600401610d0c90612de6565b8051610fca90600a9060208401906127b9565b5050565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060548401526070808401829052845180850390910181526090909301909352815191012060009190734bbfb4b577dad0eaf72b44e869aa09c34cf3e6af61106d8286612274565b6001600160a01b03161495945050505050565b6000610bc0826122f3565b6008546001600160a01b031633146110b55760405162461bcd60e51b8152600401610d0c90612de6565b8281146111205760405162461bcd60e51b815260206004820152603360248201527f496e76616c6964207175616e74697469657320616e6420726563697069656e746044820152727320286c656e677468206d69736d617463682960681b6064820152608401610d0c565b60008061112c60005490565b905060005b8581101561116f5786868281811061114b5761114b612e49565b905060200201358361115d9190612e31565b925061116881612e5f565b9050611131565b5060105461117d8383612e31565b11156111c05760405162461bcd60e51b815260206004820152601260248201527145786365656473206d6178206d7570706c7960701b6044820152606401610d0c565b6000915060005b838110156112a0576112178585838181106111e4576111e4612e49565b90506020020160208101906111f9919061298b565b88888481811061120b5761120b612e49565b90506020020135612354565b86868281811061122957611229612e49565b905060200201356013600087878581811061124657611246612e49565b905060200201602081019061125b919061298b565b6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461128a9190612e31565b90915550611299905081612e5f565b90506111c7565b50505050505050565b600a80546112b690612dab565b80601f01602080910402602001604051908101604052809291908181526020018280546112e290612dab565b801561132f5780601f106113045761010080835404028352916020019161132f565b820191906000526020600020905b81548152906001019060200180831161131257829003601f168201915b505050505081565b6008546001600160a01b031633146113615760405162461bcd60e51b8152600401610d0c90612de6565b601055565b60006001600160a01b03821661138f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146113de5760405162461bcd60e51b8152600401610d0c90612de6565b6113e86000612427565b565b6000610bc082612479565b6008546001600160a01b0316331461141f5760405162461bcd60e51b8152600401610d0c90612de6565b600e55565b600260095414156114775760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d0c565b6002600955600f54600314801561149057506011544210155b6114dc5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f7420737461727465640000000000000000006044820152606401610d0c565b600081116115235760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206e756d6265724f664e66747360601b6044820152606401610d0c565b80600e546115319190612e7a565b3410156115715760405162461bcd60e51b815260206004820152600e60248201526d09cdee8408adcdeeaced0408aa8960931b6044820152606401610d0c565b6000546010546115818383612e31565b11156115c45760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610d0c565b6115ce3383612354565b50506001600955565b606060038054610bd590612dab565b600047600b546115f69190612e31565b905090565b8161160581611dcf565b610cb083836124a1565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060548401526070808401829052845180850390910181526090909301909352815191012060009190737e3734637dcb3a1ae4019f46db57b33a3d96b09661106d8286612274565b600260095414156117015760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d0c565b6002600955600f54600114806117195750600f546002145b61175e5760405162461bcd60e51b8152602060048201526016602482015275105b1b1bdddb1a5cdd08141a185cd95cc8195b99195960521b6044820152606401610d0c565b6011544210156117a75760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b6044820152606401610d0c565b6000821180156117b95750600c548211155b6117fc5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206e756d6265724f664e66747360601b6044820152606401610d0c565b81600e5461180a9190612e7a565b34101561184a5760405162461bcd60e51b815260206004820152600e60248201526d09cdee8408adcdeeaced0408aa8960931b6044820152606401610d0c565b6000600f54600114156118e457611861338361160f565b6118b95760405162461bcd60e51b815260206004820152602360248201527f41646472657373206e6f7420616c6c6f776c697374656420666f72205068617360448201526265203160e81b6064820152608401610d0c565b33600081815260136020526040902054906118d390612479565b6118dd9190612e99565b9050611977565b600f5460021415611977576118f93383610fce565b6119515760405162461bcd60e51b815260206004820152602360248201527f41646472657373206e6f7420616c6c6f776c697374656420666f72205068617360448201526232901960e91b6064820152608401610d0c565b503360009081526014602052604081208054918491906119718385612e31565b90915550505b600081600c546119879190612e99565b9050808411156119d25760405162461bcd60e51b815260206004820152601660248201527545786365656473207573657220616c6c6f77616e636560501b6044820152606401610d0c565b6000546010546119e28683612e31565b1115611a255760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610d0c565b611a2f3386612354565b50506001600955505050565b836001600160a01b0381163314611a5557611a5533611dcf565b611a618585858561250d565b5050505050565b6008546001600160a01b03163314611a925760405162461bcd60e51b8152600401610d0c90612de6565b600d55565b6060611aa282611da8565b611af85760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b6064820152608401610d0c565b6000611b02612551565b90506000815111611b225760405180602001604052806000815250611b4d565b80611b2c84612560565b604051602001611b3d929190612eb0565b6040516020818303038152906040525b9392505050565b60006115f660015490565b6008546001600160a01b03163314611b895760405162461bcd60e51b8152600401610d0c90612de6565b600c55565b60185460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c049190612edf565b6001600160a01b03161415611c1d576001915050610bc0565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6000600f5460011415611c95576001600160a01b038216600090815260136020526040902054611c7e83612479565b611c889190612e99565b600c54610bc09190612e99565b600f5460021415611cc6576001600160a01b038216600090815260146020526040902054600c54610bc09190612e99565b506032919050565b6008546001600160a01b03163314611cf85760405162461bcd60e51b8152600401610d0c90612de6565b6001600160a01b038116611d5d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d0c565b610e0981612427565b60005b8151811015610d5657611d968484848481518110611d8957611d89612e49565b6020026020010151610d31565b80611da081612e5f565b915050611d69565b6000805482108015610bc0575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e0957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611e3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e609190612efc565b610e0957604051633b79c77360e21b81526001600160a01b0382166004820152602401610d0c565b6000611e9382611080565b9050336001600160a01b03821614611ecc57611eaf8133611b8e565b611ecc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bc0611f58836122f3565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611faa826122f3565b9050836001600160a01b0316816001600160a01b031614611fdd5760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546120098187335b6001600160a01b039081169116811491141790565b612034576120178633611b8e565b61203457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661205b57604051633a954ecd60e21b815260040160405180910390fd5b801561206657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166120f157600184016000818152600460205260409020546120ef5760005481146120ef5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612fb283398151915260405160405180910390a4505050505050565b610cb083838360405180602001604052806000815250611a3b565b600061214e836122f3565b90508060008061216c86600090815260066020526040902080549091565b9150915084156121ac57612181818433611ff4565b6121ac5761218f8333611b8e565b6121ac57604051632ce44b5f60e11b815260040160405180910390fd5b80156121b757600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040902055600160e11b841661223e576001860160008181526004602052604090205461223c57600054811461223c5760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612fb2833981519152908390a45050600180548101905550505050565b6000806000806122838561265d565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa1580156122de573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008160005481101561233b57600081815260046020526040902054600160e01b8116612339575b80611b4d57506000190160008181526004602052604090205461231b565b505b604051636f96cda160e11b815260040160405180910390fd5b600054816123755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020612fb28339815191528180a4600183015b8181146124005780836000600080516020612fb2833981519152600080a46001016123da565b508161241e57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612518848484610d31565b6001600160a01b0383163b15610d5657612534848484846126d1565b610d56576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a8054610bd590612dab565b6060816125845750506040805180820190915260018152600360fc1b602082015290565b8160005b81156125ae578061259881612e5f565b91506125a79050600a83612f2f565b9150612588565b6000816001600160401b038111156125c8576125c86129d3565b6040519080825280601f01601f1916602001820160405280156125f2576020820181803683370190505b5090505b8415611c4757612607600183612e99565b9150612614600a86612f43565b61261f906030612e31565b60f81b81838151811061263457612634612e49565b60200101906001600160f81b031916908160001a905350612656600a86612f2f565b94506125f6565b600080600083516041146126b35760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610d0c565b50505060208101516040820151606090920151909260009190911a90565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612706903390899088908890600401612f57565b6020604051808303816000875af1925050508015612741575060408051601f3d908101601f1916820190925261273e91810190612f94565b60015b61279c573d80801561276f576040519150601f19603f3d011682016040523d82523d6000602084013e612774565b606091505b508051612794576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546127c590612dab565b90600052602060002090601f0160209004810192826127e7576000855561282d565b82601f1061280057805160ff191683800117855561282d565b8280016001018555821561282d579182015b8281111561282d578251825591602001919060010190612812565b5061283992915061283d565b5090565b5b80821115612839576000815560010161283e565b6001600160e01b031981168114610e0957600080fd5b60006020828403121561287a57600080fd5b8135611b4d81612852565b60005b838110156128a0578181015183820152602001612888565b83811115610d565750506000910152565b600081518084526128c9816020860160208601612885565b601f01601f19169290920160200192915050565b602081526000611b4d60208301846128b1565b60006020828403121561290257600080fd5b5035919050565b6001600160a01b0381168114610e0957600080fd5b6000806040838503121561293157600080fd5b823561293c81612909565b946020939093013593505050565b60008060006060848603121561295f57600080fd5b833561296a81612909565b9250602084013561297a81612909565b929592945050506040919091013590565b60006020828403121561299d57600080fd5b8135611b4d81612909565b8015158114610e0957600080fd5b6000602082840312156129c857600080fd5b8135611b4d816129a8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612a1157612a116129d3565b604052919050565b60006001600160401b03831115612a3257612a326129d3565b612a45601f8401601f19166020016129e9565b9050828152838383011115612a5957600080fd5b828260208301376000602084830101529392505050565b600060208284031215612a8257600080fd5b81356001600160401b03811115612a9857600080fd5b8201601f81018413612aa957600080fd5b611c4784823560208401612a19565b600082601f830112612ac957600080fd5b611b4d83833560208501612a19565b60008060408385031215612aeb57600080fd5b8235612af681612909565b915060208301356001600160401b03811115612b1157600080fd5b612b1d85828601612ab8565b9150509250929050565b60008083601f840112612b3957600080fd5b5081356001600160401b03811115612b5057600080fd5b6020830191508360208260051b8501011115612b6b57600080fd5b9250929050565b60008060008060408587031215612b8857600080fd5b84356001600160401b0380821115612b9f57600080fd5b612bab88838901612b27565b90965094506020870135915080821115612bc457600080fd5b50612bd187828801612b27565b95989497509550505050565b60008060408385031215612bf057600080fd5b8235612bfb81612909565b91506020830135612c0b816129a8565b809150509250929050565b60008060408385031215612c2957600080fd5b8235915060208301356001600160401b03811115612b1157600080fd5b60008060008060808587031215612c5c57600080fd5b8435612c6781612909565b93506020850135612c7781612909565b92506040850135915060608501356001600160401b03811115612c9957600080fd5b612ca587828801612ab8565b91505092959194509250565b60008060408385031215612cc457600080fd5b8235612ccf81612909565b91506020830135612c0b81612909565b600080600060608486031215612cf457600080fd5b8335612cff81612909565b9250602084810135612d1081612909565b925060408501356001600160401b0380821115612d2c57600080fd5b818701915087601f830112612d4057600080fd5b813581811115612d5257612d526129d3565b8060051b9150612d638483016129e9565b818152918301840191848101908a841115612d7d57600080fd5b938501935b83851015612d9b57843582529385019390850190612d82565b8096505050505050509250925092565b600181811c90821680612dbf57607f821691505b60208210811415612de057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e4457612e44612e1b565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612e7357612e73612e1b565b5060010190565b6000816000190483118215151615612e9457612e94612e1b565b500290565b600082821015612eab57612eab612e1b565b500390565b60008351612ec2818460208801612885565b835190830190612ed6818360208801612885565b01949350505050565b600060208284031215612ef157600080fd5b8151611b4d81612909565b600060208284031215612f0e57600080fd5b8151611b4d816129a8565b634e487b7160e01b600052601260045260246000fd5b600082612f3e57612f3e612f19565b500490565b600082612f5257612f52612f19565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f8a908301846128b1565b9695505050505050565b600060208284031215612fa657600080fd5b8151611b4d8161285256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201e68acf2101bce9c9898bd09036fbb251af79692e5e832a32134b43578c15c1464736f6c634300080a003368747470733a2f2f686f7573656f6666697273742e636f6d3a313333352f64657374696e6174696f6e732f6f70656e7365612f
Deployed Bytecode
0x6080604052600436106103ce5760003560e01c80638a59a7fd116101fd578063cd1b805a11610118578063eb5a662e116100ab578063f3dc902e1161007a578063f3dc902e14610ae3578063f77b774a14610af9578063f968adbe14610b2f578063fb107a4f14610b45578063fe3dbd8114610b5a57600080fd5b8063eb5a662e14610a6e578063eced028014610a8e578063f2fde38b14610aa3578063f3993d1114610ac357600080fd5b8063dc33e681116100e7578063dc33e681146107e9578063de78ea7f14610a01578063e1240e9114610a21578063e985e9c514610a4e57600080fd5b8063cd1b805a14610980578063cd7c0326146109b6578063d5abeb01146109d6578063d89135cd146109ec57600080fd5b8063a2309ff811610190578063b88d4fde1161015f578063b88d4fde14610918578063c2b1ddaf1461092b578063c6f6f21614610940578063c87b56dd1461096057600080fd5b8063a2309ff8146108ba578063a7c7bf9c146108cf578063acf86e33146108ef578063b1c9fe6e1461090257600080fd5b806395d89b41116101cc57806395d89b411461085a5780639f5502931461086f578063a035b1fe14610884578063a22cb4651461089a57600080fd5b80638a59a7fd146107e95780638da5cb5b1461080957806391b7f5ed14610827578063926427441461084757600080fd5b806342842e0e116102ed5780636673c4c21161028057806370a082311161024f57806370a0823114610772578063715018a6146107925780638522c7ca146107a757806389404a79146107d457600080fd5b80636673c4c2146107055780636c0360eb146107255780636f8608e41461073a5780636f8b44b01461075257600080fd5b8063525f8a5c116102bc578063525f8a5c1461068557806355f804b3146106a557806360a96dcf146106c55780636352211e146106e557600080fd5b806342842e0e1461061457806342966c68146106275780634b31971314610647578063508a65f71461065d57600080fd5b80631cbaee2d116103655780633132c3ea116103345780633132c3ea146105a25780633ccfd60b146105ca5780633d43675a146105d257806341f43434146105f257600080fd5b80631cbaee2d1461053957806323b872dd1461054f5780632478d639146105625780632cc826551461058257600080fd5b806312b58349116103a157806312b5834914610477578063140364a11461049457806316c815941461050057806318160ddd1461052057600080fd5b806301ffc9a7146103d357806306fdde0314610408578063081812fc1461042a578063095ea7b314610462575b600080fd5b3480156103df57600080fd5b506103f36103ee366004612868565b610b74565b60405190151581526020015b60405180910390f35b34801561041457600080fd5b5061041d610bc6565b6040516103ff91906128dd565b34801561043657600080fd5b5061044a6104453660046128f0565b610c58565b6040516001600160a01b0390911681526020016103ff565b61047561047036600461291e565b610c9c565b005b34801561048357600080fd5b50475b6040519081526020016103ff565b3480156104a057600080fd5b506104b46104af3660046128f0565b610cb5565b6040516103ff919081516001600160a01b031681526020808301516001600160401b03169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b34801561050c57600080fd5b5061047561051b36600461291e565b610ce2565b34801561052c57600080fd5b5060015460005403610486565b34801561054557600080fd5b5061048660115481565b61047561055d36600461294a565b610d31565b34801561056e57600080fd5b5061048661057d36600461298b565b610d5c565b34801561058e57600080fd5b5061047561059d3660046128f0565b610d89565b3480156105ae57600080fd5b5061044a737e3734637dcb3a1ae4019f46db57b33a3d96b09681565b610475610e0c565b3480156105de57600080fd5b506104756105ed3660046129b6565b610ea8565b3480156105fe57600080fd5b5061044a6daaeb6d7670e522a718067333cd4e81565b61047561062236600461294a565b610ee5565b34801561063357600080fd5b506104756106423660046128f0565b610f0a565b34801561065357600080fd5b50610486600b5481565b34801561066957600080fd5b5061044a734bbfb4b577dad0eaf72b44e869aa09c34cf3e6af81565b34801561069157600080fd5b506104756106a03660046128f0565b610f5e565b3480156106b157600080fd5b506104756106c0366004612a70565b610f8d565b3480156106d157600080fd5b506103f36106e0366004612ad8565b610fce565b3480156106f157600080fd5b5061044a6107003660046128f0565b611080565b34801561071157600080fd5b50610475610720366004612b72565b61108b565b34801561073157600080fd5b5061041d6112a9565b34801561074657600080fd5b506011544210156103f3565b34801561075e57600080fd5b5061047561076d3660046128f0565b611337565b34801561077e57600080fd5b5061048661078d36600461298b565b611366565b34801561079e57600080fd5b506104756113b4565b3480156107b357600080fd5b506104866107c236600461298b565b60136020526000908152604090205481565b3480156107e057600080fd5b50600b54610486565b3480156107f557600080fd5b5061048661080436600461298b565b6113ea565b34801561081557600080fd5b506008546001600160a01b031661044a565b34801561083357600080fd5b506104756108423660046128f0565b6113f5565b6104756108553660046128f0565b611424565b34801561086657600080fd5b5061041d6115d7565b34801561087b57600080fd5b506104866115e6565b34801561089057600080fd5b50610486600e5481565b3480156108a657600080fd5b506104756108b5366004612bdd565b6115fb565b3480156108c657600080fd5b50600054610486565b3480156108db57600080fd5b506103f36108ea366004612ad8565b61160f565b6104756108fd366004612c16565b6116ae565b34801561090e57600080fd5b50610486600f5481565b610475610926366004612c46565b611a3b565b34801561093757600080fd5b50601154610486565b34801561094c57600080fd5b5061047561095b3660046128f0565b611a68565b34801561096c57600080fd5b5061041d61097b3660046128f0565b611a97565b34801561098c57600080fd5b5061048661099b36600461298b565b6001600160a01b031660009081526013602052604090205490565b3480156109c257600080fd5b5060185461044a906001600160a01b031681565b3480156109e257600080fd5b5061048660105481565b3480156109f857600080fd5b50610486611b54565b348015610a0d57600080fd5b50610475610a1c3660046128f0565b611b5f565b348015610a2d57600080fd5b50610486610a3c36600461298b565b60146020526000908152604090205481565b348015610a5a57600080fd5b506103f3610a69366004612cb1565b611b8e565b348015610a7a57600080fd5b50610486610a8936600461298b565b611c4f565b348015610a9a57600080fd5b50600f54610486565b348015610aaf57600080fd5b50610475610abe36600461298b565b611cce565b348015610acf57600080fd5b50610475610ade366004612cdf565b611d66565b348015610aef57600080fd5b50610486600c5481565b348015610b0557600080fd5b50610486610b1436600461298b565b6001600160a01b031660009081526014602052604090205490565b348015610b3b57600080fd5b50610486600d5481565b348015610b5157600080fd5b50600e54610486565b348015610b6657600080fd5b506012546103f39060ff1681565b60006301ffc9a760e01b6001600160e01b031983161480610ba557506380ac58cd60e01b6001600160e01b03198316145b80610bc05750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610bd590612dab565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0190612dab565b8015610c4e5780601f10610c2357610100808354040283529160200191610c4e565b820191906000526020600020905b815481529060010190602001808311610c3157829003601f168201915b5050505050905090565b6000610c6382611da8565b610c80576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610ca681611dcf565b610cb08383611e88565b505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bc082611f28565b6008546001600160a01b03163314610d155760405162461bcd60e51b8152600401610d0c90612de6565b60405180910390fd5b6001600160a01b03909116600090815260136020526040902055565b826001600160a01b0381163314610d4b57610d4b33611dcf565b610d56848484611f9f565b50505050565b6000610bc0826001600160a01b031660009081526005602052604090205460801c6001600160401b031690565b6008546001600160a01b03163314610db35760405162461bcd60e51b8152600401610d0c90612de6565b600f8190556001811415610dd657604660105563649453e06011556002600d5550565b600f5460021415610df6576064601055636495a5606011556002600d5550565b6064601055636496f6e06011556032600d555b50565b6008546001600160a01b03163314610e365760405162461bcd60e51b8152600401610d0c90612de6565b6040514790600090339083908381818185875af1925050503d8060008114610e7a576040519150601f19603f3d011682016040523d82523d6000602084013e610e7f565b606091505b5050905080610e8d57600080fd5b81600b6000828254610e9f9190612e31565b90915550505050565b6008546001600160a01b03163314610ed25760405162461bcd60e51b8152600401610d0c90612de6565b6012805460ff1916911515919091179055565b826001600160a01b0381163314610eff57610eff33611dcf565b610d56848484612128565b60125460ff1615610f535760405162461bcd60e51b8152602060048201526013602482015272109d5c9b9a5b99c81a5cc8191a5cd8589b1959606a1b6044820152606401610d0c565b610e09816001612143565b6008546001600160a01b03163314610f885760405162461bcd60e51b8152600401610d0c90612de6565b601155565b6008546001600160a01b03163314610fb75760405162461bcd60e51b8152600401610d0c90612de6565b8051610fca90600a9060208401906127b9565b5050565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060548401526070808401829052845180850390910181526090909301909352815191012060009190734bbfb4b577dad0eaf72b44e869aa09c34cf3e6af61106d8286612274565b6001600160a01b03161495945050505050565b6000610bc0826122f3565b6008546001600160a01b031633146110b55760405162461bcd60e51b8152600401610d0c90612de6565b8281146111205760405162461bcd60e51b815260206004820152603360248201527f496e76616c6964207175616e74697469657320616e6420726563697069656e746044820152727320286c656e677468206d69736d617463682960681b6064820152608401610d0c565b60008061112c60005490565b905060005b8581101561116f5786868281811061114b5761114b612e49565b905060200201358361115d9190612e31565b925061116881612e5f565b9050611131565b5060105461117d8383612e31565b11156111c05760405162461bcd60e51b815260206004820152601260248201527145786365656473206d6178206d7570706c7960701b6044820152606401610d0c565b6000915060005b838110156112a0576112178585838181106111e4576111e4612e49565b90506020020160208101906111f9919061298b565b88888481811061120b5761120b612e49565b90506020020135612354565b86868281811061122957611229612e49565b905060200201356013600087878581811061124657611246612e49565b905060200201602081019061125b919061298b565b6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461128a9190612e31565b90915550611299905081612e5f565b90506111c7565b50505050505050565b600a80546112b690612dab565b80601f01602080910402602001604051908101604052809291908181526020018280546112e290612dab565b801561132f5780601f106113045761010080835404028352916020019161132f565b820191906000526020600020905b81548152906001019060200180831161131257829003601f168201915b505050505081565b6008546001600160a01b031633146113615760405162461bcd60e51b8152600401610d0c90612de6565b601055565b60006001600160a01b03821661138f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146113de5760405162461bcd60e51b8152600401610d0c90612de6565b6113e86000612427565b565b6000610bc082612479565b6008546001600160a01b0316331461141f5760405162461bcd60e51b8152600401610d0c90612de6565b600e55565b600260095414156114775760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d0c565b6002600955600f54600314801561149057506011544210155b6114dc5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f7420737461727465640000000000000000006044820152606401610d0c565b600081116115235760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206e756d6265724f664e66747360601b6044820152606401610d0c565b80600e546115319190612e7a565b3410156115715760405162461bcd60e51b815260206004820152600e60248201526d09cdee8408adcdeeaced0408aa8960931b6044820152606401610d0c565b6000546010546115818383612e31565b11156115c45760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610d0c565b6115ce3383612354565b50506001600955565b606060038054610bd590612dab565b600047600b546115f69190612e31565b905090565b8161160581611dcf565b610cb083836124a1565b604080516bffffffffffffffffffffffff19606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060548401526070808401829052845180850390910181526090909301909352815191012060009190737e3734637dcb3a1ae4019f46db57b33a3d96b09661106d8286612274565b600260095414156117015760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d0c565b6002600955600f54600114806117195750600f546002145b61175e5760405162461bcd60e51b8152602060048201526016602482015275105b1b1bdddb1a5cdd08141a185cd95cc8195b99195960521b6044820152606401610d0c565b6011544210156117a75760405162461bcd60e51b815260206004820152601460248201527314d85b19481a185cc81b9bdd081cdd185c9d195960621b6044820152606401610d0c565b6000821180156117b95750600c548211155b6117fc5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206e756d6265724f664e66747360601b6044820152606401610d0c565b81600e5461180a9190612e7a565b34101561184a5760405162461bcd60e51b815260206004820152600e60248201526d09cdee8408adcdeeaced0408aa8960931b6044820152606401610d0c565b6000600f54600114156118e457611861338361160f565b6118b95760405162461bcd60e51b815260206004820152602360248201527f41646472657373206e6f7420616c6c6f776c697374656420666f72205068617360448201526265203160e81b6064820152608401610d0c565b33600081815260136020526040902054906118d390612479565b6118dd9190612e99565b9050611977565b600f5460021415611977576118f93383610fce565b6119515760405162461bcd60e51b815260206004820152602360248201527f41646472657373206e6f7420616c6c6f776c697374656420666f72205068617360448201526232901960e91b6064820152608401610d0c565b503360009081526014602052604081208054918491906119718385612e31565b90915550505b600081600c546119879190612e99565b9050808411156119d25760405162461bcd60e51b815260206004820152601660248201527545786365656473207573657220616c6c6f77616e636560501b6044820152606401610d0c565b6000546010546119e28683612e31565b1115611a255760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610d0c565b611a2f3386612354565b50506001600955505050565b836001600160a01b0381163314611a5557611a5533611dcf565b611a618585858561250d565b5050505050565b6008546001600160a01b03163314611a925760405162461bcd60e51b8152600401610d0c90612de6565b600d55565b6060611aa282611da8565b611af85760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b6064820152608401610d0c565b6000611b02612551565b90506000815111611b225760405180602001604052806000815250611b4d565b80611b2c84612560565b604051602001611b3d929190612eb0565b6040516020818303038152906040525b9392505050565b60006115f660015490565b6008546001600160a01b03163314611b895760405162461bcd60e51b8152600401610d0c90612de6565b600c55565b60185460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c049190612edf565b6001600160a01b03161415611c1d576001915050610bc0565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6000600f5460011415611c95576001600160a01b038216600090815260136020526040902054611c7e83612479565b611c889190612e99565b600c54610bc09190612e99565b600f5460021415611cc6576001600160a01b038216600090815260146020526040902054600c54610bc09190612e99565b506032919050565b6008546001600160a01b03163314611cf85760405162461bcd60e51b8152600401610d0c90612de6565b6001600160a01b038116611d5d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d0c565b610e0981612427565b60005b8151811015610d5657611d968484848481518110611d8957611d89612e49565b6020026020010151610d31565b80611da081612e5f565b915050611d69565b6000805482108015610bc0575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e0957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611e3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e609190612efc565b610e0957604051633b79c77360e21b81526001600160a01b0382166004820152602401610d0c565b6000611e9382611080565b9050336001600160a01b03821614611ecc57611eaf8133611b8e565b611ecc576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b604080516080810182526000808252602082018190529181018290526060810191909152610bc0611f58836122f3565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000611faa826122f3565b9050836001600160a01b0316816001600160a01b031614611fdd5760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546120098187335b6001600160a01b039081169116811491141790565b612034576120178633611b8e565b61203457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661205b57604051633a954ecd60e21b815260040160405180910390fd5b801561206657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166120f157600184016000818152600460205260409020546120ef5760005481146120ef5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612fb283398151915260405160405180910390a4505050505050565b610cb083838360405180602001604052806000815250611a3b565b600061214e836122f3565b90508060008061216c86600090815260066020526040902080549091565b9150915084156121ac57612181818433611ff4565b6121ac5761218f8333611b8e565b6121ac57604051632ce44b5f60e11b815260040160405180910390fd5b80156121b757600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040902055600160e11b841661223e576001860160008181526004602052604090205461223c57600054811461223c5760008181526004602052604090208590555b505b60405186906000906001600160a01b03861690600080516020612fb2833981519152908390a45050600180548101905550505050565b6000806000806122838561265d565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa1580156122de573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b60008160005481101561233b57600081815260046020526040902054600160e01b8116612339575b80611b4d57506000190160008181526004602052604090205461231b565b505b604051636f96cda160e11b815260040160405180910390fd5b600054816123755760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020612fb28339815191528180a4600183015b8181146124005780836000600080516020612fb2833981519152600080a46001016123da565b508161241e57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612518848484610d31565b6001600160a01b0383163b15610d5657612534848484846126d1565b610d56576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a8054610bd590612dab565b6060816125845750506040805180820190915260018152600360fc1b602082015290565b8160005b81156125ae578061259881612e5f565b91506125a79050600a83612f2f565b9150612588565b6000816001600160401b038111156125c8576125c86129d3565b6040519080825280601f01601f1916602001820160405280156125f2576020820181803683370190505b5090505b8415611c4757612607600183612e99565b9150612614600a86612f43565b61261f906030612e31565b60f81b81838151811061263457612634612e49565b60200101906001600160f81b031916908160001a905350612656600a86612f2f565b94506125f6565b600080600083516041146126b35760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610d0c565b50505060208101516040820151606090920151909260009190911a90565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612706903390899088908890600401612f57565b6020604051808303816000875af1925050508015612741575060408051601f3d908101601f1916820190925261273e91810190612f94565b60015b61279c573d80801561276f576040519150601f19603f3d011682016040523d82523d6000602084013e612774565b606091505b508051612794576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546127c590612dab565b90600052602060002090601f0160209004810192826127e7576000855561282d565b82601f1061280057805160ff191683800117855561282d565b8280016001018555821561282d579182015b8281111561282d578251825591602001919060010190612812565b5061283992915061283d565b5090565b5b80821115612839576000815560010161283e565b6001600160e01b031981168114610e0957600080fd5b60006020828403121561287a57600080fd5b8135611b4d81612852565b60005b838110156128a0578181015183820152602001612888565b83811115610d565750506000910152565b600081518084526128c9816020860160208601612885565b601f01601f19169290920160200192915050565b602081526000611b4d60208301846128b1565b60006020828403121561290257600080fd5b5035919050565b6001600160a01b0381168114610e0957600080fd5b6000806040838503121561293157600080fd5b823561293c81612909565b946020939093013593505050565b60008060006060848603121561295f57600080fd5b833561296a81612909565b9250602084013561297a81612909565b929592945050506040919091013590565b60006020828403121561299d57600080fd5b8135611b4d81612909565b8015158114610e0957600080fd5b6000602082840312156129c857600080fd5b8135611b4d816129a8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612a1157612a116129d3565b604052919050565b60006001600160401b03831115612a3257612a326129d3565b612a45601f8401601f19166020016129e9565b9050828152838383011115612a5957600080fd5b828260208301376000602084830101529392505050565b600060208284031215612a8257600080fd5b81356001600160401b03811115612a9857600080fd5b8201601f81018413612aa957600080fd5b611c4784823560208401612a19565b600082601f830112612ac957600080fd5b611b4d83833560208501612a19565b60008060408385031215612aeb57600080fd5b8235612af681612909565b915060208301356001600160401b03811115612b1157600080fd5b612b1d85828601612ab8565b9150509250929050565b60008083601f840112612b3957600080fd5b5081356001600160401b03811115612b5057600080fd5b6020830191508360208260051b8501011115612b6b57600080fd5b9250929050565b60008060008060408587031215612b8857600080fd5b84356001600160401b0380821115612b9f57600080fd5b612bab88838901612b27565b90965094506020870135915080821115612bc457600080fd5b50612bd187828801612b27565b95989497509550505050565b60008060408385031215612bf057600080fd5b8235612bfb81612909565b91506020830135612c0b816129a8565b809150509250929050565b60008060408385031215612c2957600080fd5b8235915060208301356001600160401b03811115612b1157600080fd5b60008060008060808587031215612c5c57600080fd5b8435612c6781612909565b93506020850135612c7781612909565b92506040850135915060608501356001600160401b03811115612c9957600080fd5b612ca587828801612ab8565b91505092959194509250565b60008060408385031215612cc457600080fd5b8235612ccf81612909565b91506020830135612c0b81612909565b600080600060608486031215612cf457600080fd5b8335612cff81612909565b9250602084810135612d1081612909565b925060408501356001600160401b0380821115612d2c57600080fd5b818701915087601f830112612d4057600080fd5b813581811115612d5257612d526129d3565b8060051b9150612d638483016129e9565b818152918301840191848101908a841115612d7d57600080fd5b938501935b83851015612d9b57843582529385019390850190612d82565b8096505050505050509250925092565b600181811c90821680612dbf57607f821691505b60208210811415612de057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e4457612e44612e1b565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612e7357612e73612e1b565b5060010190565b6000816000190483118215151615612e9457612e94612e1b565b500290565b600082821015612eab57612eab612e1b565b500390565b60008351612ec2818460208801612885565b835190830190612ed6818360208801612885565b01949350505050565b600060208284031215612ef157600080fd5b8151611b4d81612909565b600060208284031215612f0e57600080fd5b8151611b4d816129a8565b634e487b7160e01b600052601260045260246000fd5b600082612f3e57612f3e612f19565b500490565b600082612f5257612f52612f19565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f8a908301846128b1565b9695505050505050565b600060208284031215612fa657600080fd5b8151611b4d8161285256feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201e68acf2101bce9c9898bd09036fbb251af79692e5e832a32134b43578c15c1464736f6c634300080a0033
Deployed Bytecode Sourcemap
546:12203:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9410:639:5;;;;;;;;;;-1:-1:-1;9410:639:5;;;;;:::i;:::-;;:::i;:::-;;;565:14:21;;558:22;540:41;;528:2;513:18;9410:639:5;;;;;;;;10312:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16803:218::-;;;;;;;;;;-1:-1:-1;16803:218:5;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:21;;;1674:51;;1662:2;1647:18;16803:218:5;1528:203:21;2557:165:3;;;;;;:::i;:::-;;:::i;:::-;;11647:104;;;;;;;;;;-1:-1:-1;11722:21:3;11647:104;;;2338:25:21;;;2326:2;2311:18;11647:104:3;2192:177:21;11369:163:3;;;;;;;;;;-1:-1:-1;11369:163:3;;;;;:::i;:::-;;:::i;:::-;;;;;;2607:13:21;;-1:-1:-1;;;;;2603:39:21;2585:58;;2703:4;2691:17;;;2685:24;-1:-1:-1;;;;;2681:49:21;2659:20;;;2652:79;2801:4;2789:17;;;2783:24;2776:32;2769:40;2747:20;;;2740:70;2870:4;2858:17;;;2852:24;2878:8;2848:39;2826:20;;;2819:69;;;;2572:3;2557:19;;2374:520;5399:136:3;;;;;;;;;;-1:-1:-1;5399:136:3;;;;;:::i;:::-;;:::i;6063:323:5:-;;;;;;;;;;-1:-1:-1;6337:12:5;;6124:7;6321:13;:28;6063:323;;1067:41:3;;;;;;;;;;;;;;;;2730:171;;;;;;:::i;:::-;;:::i;11248:113::-;;;;;;;;;;-1:-1:-1;11248:113:3;;;;;:::i;:::-;;:::i;5583:620::-;;;;;;;;;;-1:-1:-1;5583:620:3;;;;;:::i;:::-;;:::i;1401:83::-;;;;;;;;;;;;1442:42;1401:83;;11970:273;;;:::i;10676:121::-;;;;;;;;;;-1:-1:-1;10676:121:3;;;;;:::i;:::-;;:::i;752:143:17:-;;;;;;;;;;;;852:42;752:143;;2909:179:3;;;;;;:::i;:::-;;:::i;9598:153::-;;;;;;;;;;-1:-1:-1;9598:153:3;;;;;:::i;:::-;;:::i;705:33::-;;;;;;;;;;;;;;;;1491:83;;;;;;;;;;;;1532:42;1491:83;;5275:116;;;;;;;;;;-1:-1:-1;5275:116:3;;;;;:::i;:::-;;:::i;10564:104::-;;;;;;;;;;-1:-1:-1;10564:104:3;;;;;:::i;:::-;;:::i;3750:368::-;;;;;;;;;;-1:-1:-1;3750:368:3;;;;;:::i;:::-;;:::i;11705:152:5:-;;;;;;;;;;-1:-1:-1;11705:152:5;;;;;:::i;:::-;;:::i;8829:761:3:-;;;;;;;;;;-1:-1:-1;8829:761:3;;;;;:::i;:::-;;:::i;677:21::-;;;;;;;;;;;;;:::i;4808:111::-;;;;;;;;;;-1:-1:-1;4898:13:3;;4879:15;:32;;4808:111;;10450:106;;;;;;;;;;-1:-1:-1;10450:106:3;;;;;:::i;:::-;;:::i;7247:233:5:-;;;;;;;;;;-1:-1:-1;7247:233:5;;;;;:::i;:::-;;:::i;1661:101:18:-;;;;;;;;;;;;;:::i;1204:47:3:-;;;;;;;;;;-1:-1:-1;1204:47:3;;;;;:::i;:::-;;;;;;;;;;;;;;11540:99;;;;;;;;;;-1:-1:-1;11617:14:3;;11540:99;;5153:114;;;;;;;;;;-1:-1:-1;5153:114:3;;;;;:::i;:::-;;:::i;1029:85:18:-;;;;;;;;;;-1:-1:-1;1101:6:18;;-1:-1:-1;;;;;1101:6:18;1029:85;;2053:90:3;;;;;;;;;;-1:-1:-1;2053:90:3;;;;;:::i;:::-;;:::i;6678:510::-;;;;;;:::i;:::-;;:::i;10488:104:5:-;;;;;;;;;;;;;:::i;11759:121:3:-;;;;;;;;;;;;;:::i;897:34::-;;;;;;;;;;;;;;;;2373:176;;;;;;;;;;-1:-1:-1;2373:176:3;;;;;:::i;:::-;;:::i;10805:93::-;;;;;;;;;;-1:-1:-1;10849:7:3;6730:13:5;10805:93:3;11759:121;3374:368;;;;;;;;;;-1:-1:-1;3374:368:3;;;;;:::i;:::-;;:::i;7263:1536::-;;;;;;:::i;:::-;;:::i;952:24::-;;;;;;;;;;;;;;;;3096:245;;;;;;:::i;:::-;;:::i;4927:97::-;;;;;;;;;;-1:-1:-1;5003:13:3;;4927:97;;2269:96;;;;;;;;;;-1:-1:-1;2269:96:3;;;;;:::i;:::-;;:::i;10103:339::-;;;;;;;;;;-1:-1:-1;10103:339:3;;;;;:::i;:::-;;:::i;5032:113::-;;;;;;;;;;-1:-1:-1;5032:113:3;;;;;:::i;:::-;-1:-1:-1;;;;;5119:18:3;5092:7;5119:18;;;:12;:18;;;;;;;5032:113;1737:80;;;;;;;;;;-1:-1:-1;1737:80:3;;;;-1:-1:-1;;;;;1737:80:3;;;1000:29;;;;;;;;;;;;;;;;11147:93;;;;;;;;;;;;;:::i;2151:110::-;;;;;;;;;;-1:-1:-1;2151:110:3;;;;;:::i;:::-;;:::i;1302:46::-;;;;;;;;;;-1:-1:-1;1302:46:3;;;;;:::i;:::-;;;;;;;;;;;;;;12344:402;;;;;;;;;;-1:-1:-1;12344:402:3;;;;;:::i;:::-;;:::i;6211:392::-;;;;;;;;;;-1:-1:-1;6211:392:3;;;;;:::i;:::-;;:::i;4719:81::-;;;;;;;;;;-1:-1:-1;4787:5:3;;4719:81;;1911:198:18;;;;;;;;;;-1:-1:-1;1911:198:18;;;;;:::i;:::-;;:::i;9759:220:3:-;;;;;;;;;;-1:-1:-1;9759:220:3;;;;;:::i;:::-;;:::i;745:36::-;;;;;;;;;;;;;;;;11027:112;;;;;;;;;;-1:-1:-1;11027:112:3;;;;;:::i;:::-;-1:-1:-1;;;;;11113:18:3;11086:7;11113:18;;;:11;:18;;;;;;;11027:112;830:27;;;;;;;;;;;;;;;;1961:84;;;;;;;;;;-1:-1:-1;2032:5:3;;1961:84;;1161:34;;;;;;;;;;-1:-1:-1;1161:34:3;;;;;;;;9410:639:5;9495:4;-1:-1:-1;;;;;;;;;9819:25:5;;;;:102;;-1:-1:-1;;;;;;;;;;9896:25:5;;;9819:102;:179;;;-1:-1:-1;;;;;;;;;;9973:25:5;;;9819:179;9799:199;9410:639;-1:-1:-1;;9410:639:5:o;10312:100::-;10366:13;10399:5;10392:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10312:100;:::o;16803:218::-;16879:7;16904:16;16912:7;16904;:16::i;:::-;16899:64;;16929:34;;-1:-1:-1;;;16929:34:5;;;;;;;;;;;16899:64;-1:-1:-1;16983:24:5;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16983:30:5;;16803:218::o;2557:165:3:-;2661:8;2273:30:17;2294:8;2273:20;:30::i;:::-;2682:32:3::1;2696:8;2706:7;2682:13;:32::i;:::-;2557:165:::0;;;:::o;11369:163::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11503:21:3;11516:7;11503:12;:21::i;5399:136::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;5491:18:3;;::::1;;::::0;;;:12:::1;:18;::::0;;;;:36;5399:136::o;2730:171::-;2839:4;-1:-1:-1;;;;;2093:18:17;;2101:10;2093:18;2089:83;;2128:32;2149:10;2128:20;:32::i;:::-;2856:37:3::1;2875:4;2881:2;2885:7;2856:18;:37::i;:::-;2730:171:::0;;;;:::o;11248:113::-;11306:7;11333:20;11347:5;-1:-1:-1;;;;;7927:25:5;7899:7;7927:25;;;:18;:25;;;;;;1671:3;7927:50;-1:-1:-1;;;;;7926:82:5;;7838:178;5583:620:3;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;5645:5:3::1;:14:::0;;;5682:1:::1;5673:10:::0;::::1;5670:526;;;5712:2;5700:9;:14:::0;5745:10:::1;5729:13;:26:::0;5827:1:::1;5816:8;:12:::0;5583:620;:::o;5670:526::-:1;5858:5;;5867:1;5858:10;5855:341;;;5897:3;5885:9;:15:::0;5931:10:::1;5915:13;:26:::0;6011:1:::1;6000:8;:12:::0;5583:620;:::o;5855:341::-:1;6066:3;6054:9;:15:::0;6100:10:::1;6084:13;:26:::0;6182:2:::1;6171:8;:13:::0;5855:341:::1;5583:620:::0;:::o;11970:273::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;12091:64:3::1;::::0;12040:21:::1;::::0;12026:11:::1;::::0;12099:10:::1;::::0;12040:21;;12026:11;12091:64;12026:11;12091:64;12040:21;12099:10;12091:64:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12072:83;;;12174:7;12166:16;;;::::0;::::1;;12211:3;12193:14;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;11970:273:3:o;10676:121::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;10755:15:3::1;:34:::0;;-1:-1:-1;;10755:34:3::1;::::0;::::1;;::::0;;;::::1;::::0;;10676:121::o;2909:179::-;3022:4;-1:-1:-1;;;;;2093:18:17;;2101:10;2093:18;2089:83;;2128:32;2149:10;2128:20;:32::i;:::-;3039:41:3::1;3062:4;3068:2;3072:7;3039:22;:41::i;9598:153::-:0;9673:15;;;;9672:16;9664:48;;;;-1:-1:-1;;;9664:48:3;;11830:2:21;9664:48:3;;;11812:21:21;11869:2;11849:18;;;11842:30;-1:-1:-1;;;11888:18:21;;;11881:49;11947:18;;9664:48:3;11628:343:21;9664:48:3;9723:20;9729:7;9738:4;9723:5;:20::i;5275:116::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;5353:13:3::1;:30:::0;5275:116::o;10564:104::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;10639:21:3;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;10564:104:::0;:::o;3750:368::-;3887:22;;;-1:-1:-1;;12125:2:21;12121:15;;;12117:53;3887:22:3;;;;12105:66:21;;;;3887:22:3;;;;;;;;;12187:12:21;;;3887:22:3;;3877:33;;;;;;12452:66:21;3962:65:3;;;12440:79:21;12535:12;;;;12528:28;;;3962:65:3;;;;;;;;;;12572:12:21;;;;3962:65:3;;;3952:76;;;;;-1:-1:-1;;3877:33:3;1532:42;4046:46;3952:76;4082:9;4046:13;:46::i;:::-;-1:-1:-1;;;;;4046:64:3;;;3750:368;-1:-1:-1;;;;;3750:368:3:o;11705:152:5:-;11777:7;11820:27;11839:7;11820:18;:27::i;8829:761:3:-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;8946:38:3;;::::1;8938:102;;;::::0;-1:-1:-1;;;8938:102:3;;12797:2:21;8938:102:3::1;::::0;::::1;12779:21:21::0;12836:2;12816:18;;;12809:30;12875:34;12855:18;;;12848:62;-1:-1:-1;;;12926:18:21;;;12919:49;12985:19;;8938:102:3::1;12595:415:21::0;8938:102:3::1;9051:21;9087:14:::0;9104::::1;6539:7:5::0;6730:13;;6484:296;9104:14:3::1;9087:31;;9159:9;9154:105;9174:21:::0;;::::1;9154:105;;;9234:10;;9245:1;9234:13;;;;;;;:::i;:::-;;;;;;;9217:30;;;;;:::i;:::-;::::0;-1:-1:-1;9197:3:3::1;::::0;::::1;:::i;:::-;;;9154:105;;;-1:-1:-1::0;9303:9:3::1;::::0;9277:22:::1;9286:13:::0;9277:6;:22:::1;:::i;:::-;:35;;9269:66;;;::::0;-1:-1:-1;;;9269:66:3;;13489:2:21;9269:66:3::1;::::0;::::1;13471:21:21::0;13528:2;13508:18;;;13501:30;-1:-1:-1;;;13547:18:21;;;13540:48;13605:18;;9269:66:3::1;13287:342:21::0;9269:66:3::1;9346:20;;;9382:9;9377:182;9397:21:::0;;::::1;9377:182;;;9440:35;9446:10;;9457:1;9446:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;9461:10;;9472:1;9461:13;;;;;;;:::i;:::-;;;;;;;9440:5;:35::i;:::-;9521:10;;9532:1;9521:13;;;;;;;:::i;:::-;;;;;;;9490:12;:27;9503:10;;9514:1;9503:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;9490:27:3::1;-1:-1:-1::0;;;;;9490:27:3::1;;;;;;;;;;;;;:44;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;9420:3:3::1;::::0;-1:-1:-1;9420:3:3;::::1;:::i;:::-;;;9377:182;;;-1:-1:-1::0;;;;;;;8829:761:3:o;677:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;10450:106::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;10523:9:3::1;:25:::0;10450:106::o;7247:233:5:-;7319:7;-1:-1:-1;;;;;7343:19:5;;7339:60;;7371:28;;-1:-1:-1;;;7371:28:5;;;;;;;;;;;7339:60;-1:-1:-1;;;;;;7417:25:5;;;;;:18;:25;;;;;;-1:-1:-1;;;;;7417:55:5;;7247:233::o;1661:101:18:-;1101:6;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;5153:114:3:-;5213:7;5240:19;5254:4;5240:13;:19::i;2053:90::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;2118:5:3::1;:17:::0;2053:90::o;6678:510::-;1744:1:19;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:19;;13836:2:21;2317:63:19;;;13818:21:21;13875:2;13855:18;;;13848:30;13914:33;13894:18;;;13887:61;13965:18;;2317:63:19;13634:355:21;2317:63:19;1744:1;2455:7;:18;6764:5:3::1;::::0;6773:1:::1;6764:10;:46:::0;::::1;;;;6797:13;;6778:15;:32;;6764:46;6756:82;;;::::0;-1:-1:-1;;;6756:82:3;;14196:2:21;6756:82:3::1;::::0;::::1;14178:21:21::0;14235:2;14215:18;;;14208:30;14274:25;14254:18;;;14247:53;14317:18;;6756:82:3::1;13994:347:21::0;6756:82:3::1;6872:1;6857:12;:16;6849:49;;;::::0;-1:-1:-1;;;6849:49:3;;14548:2:21;6849:49:3::1;::::0;::::1;14530:21:21::0;14587:2;14567:18;;;14560:30;-1:-1:-1;;;14606:18:21;;;14599:50;14666:18;;6849:49:3::1;14346:344:21::0;6849:49:3::1;6938:12;6930:5;;:20;;;;:::i;:::-;6917:9;:33;;6909:60;;;::::0;-1:-1:-1;;;6909:60:3;;15070:2:21;6909:60:3::1;::::0;::::1;15052:21:21::0;15109:2;15089:18;;;15082:30;-1:-1:-1;;;15128:18:21;;;15121:44;15182:18;;6909:60:3::1;14868:338:21::0;6909:60:3::1;6980:14;6730:13:5::0;7082:9:3::1;::::0;7056:21:::1;7065:12:::0;6730:13:5;7056:21:3::1;:::i;:::-;7055:36;;7047:67;;;::::0;-1:-1:-1;;;7047:67:3;;15413:2:21;7047:67:3::1;::::0;::::1;15395:21:21::0;15452:2;15432:18;;;15425:30;-1:-1:-1;;;15471:18:21;;;15464:48;15529:18;;7047:67:3::1;15211:342:21::0;7047:67:3::1;7125:31;7131:10;7143:12;7125:5;:31::i;:::-;-1:-1:-1::0;;1701:1:19;2628:7;:22;6678:510:3:o;10488:104:5:-;10544:13;10577:7;10570:14;;;;;:::i;11759:121:3:-;11806:7;11722:21;11617:14;;11833:39;;;;:::i;:::-;11826:46;;11759:121;:::o;2373:176::-;2477:8;2273:30:17;2294:8;2273:20;:30::i;:::-;2498:43:3::1;2522:8;2532;2498:23;:43::i;3374:368::-:0;3511:22;;;-1:-1:-1;;12125:2:21;12121:15;;;12117:53;3511:22:3;;;;12105:66:21;;;;3511:22:3;;;;;;;;;12187:12:21;;;3511:22:3;;3501:33;;;;;;12452:66:21;3586:65:3;;;12440:79:21;12535:12;;;;12528:28;;;3586:65:3;;;;;;;;;;12572:12:21;;;;3586:65:3;;;3576:76;;;;;-1:-1:-1;;3501:33:3;1442:42;3670:46;3576:76;3706:9;3670:13;:46::i;7263:1536::-;1744:1:19;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:19;;13836:2:21;2317:63:19;;;13818:21:21;13875:2;13855:18;;;13848:30;13914:33;13894:18;;;13887:61;13965:18;;2317:63:19;13634:355:21;2317:63:19;1744:1;2455:7;:18;7382:5:3::1;::::0;7391:1:::1;7382:10;::::0;:24:::1;;;7396:5;;7405:1;7396:10;7382:24;7374:59;;;::::0;-1:-1:-1;;;7374:59:3;;15760:2:21;7374:59:3::1;::::0;::::1;15742:21:21::0;15799:2;15779:18;;;15772:30;-1:-1:-1;;;15818:18:21;;;15811:52;15880:18;;7374:59:3::1;15558:346:21::0;7374:59:3::1;7471:13;;7452:15;:32;;7444:65;;;::::0;-1:-1:-1;;;7444:65:3;;16111:2:21;7444:65:3::1;::::0;::::1;16093:21:21::0;16150:2;16130:18;;;16123:30;-1:-1:-1;;;16169:18:21;;;16162:50;16229:18;;7444:65:3::1;15909:344:21::0;7444:65:3::1;7543:1;7528:12;:16;:53;;;;;7564:17;;7548:12;:33;;7528:53;7520:86;;;::::0;-1:-1:-1;;;7520:86:3;;14548:2:21;7520:86:3::1;::::0;::::1;14530:21:21::0;14587:2;14567:18;;;14560:30;-1:-1:-1;;;14606:18:21;;;14599:50;14666:18;;7520:86:3::1;14346:344:21::0;7520:86:3::1;7646:12;7638:5;;:20;;;;:::i;:::-;7625:9;:33;;7617:60;;;::::0;-1:-1:-1;;;7617:60:3;;15070:2:21;7617:60:3::1;::::0;::::1;15052:21:21::0;15109:2;15089:18;;;15082:30;-1:-1:-1;;;15128:18:21;;;15121:44;15182:18;;7617:60:3::1;14868:338:21::0;7617:60:3::1;7688:18;7771:5;;7780:1;7771:10;7768:573;;;7806:42;7826:10;7838:9;7806:19;:42::i;:::-;7798:90;;;::::0;-1:-1:-1;;;7798:90:3;;16460:2:21;7798:90:3::1;::::0;::::1;16442:21:21::0;16499:2;16479:18;;;16472:30;16538:34;16518:18;;;16511:62;-1:-1:-1;;;16589:18:21;;;16582:33;16632:19;;7798:90:3::1;16258:399:21::0;7798:90:3::1;7957:10;7944:24;::::0;;;:12:::1;:24;::::0;;;;;;7916:25:::1;::::0;:13:::1;:25::i;:::-;:52;;;;:::i;:::-;7903:65;;7768:573;;;8045:5;;8054:1;8045:10;8042:299;;;8080:42;8100:10;8112:9;8080:19;:42::i;:::-;8072:90;;;::::0;-1:-1:-1;;;8072:90:3;;16994:2:21;8072:90:3::1;::::0;::::1;16976:21:21::0;17033:2;17013:18;;;17006:30;17072:34;17052:18;;;17045:62;-1:-1:-1;;;17123:18:21;;;17116:33;17166:19;;8072:90:3::1;16792:399:21::0;8072:90:3::1;-1:-1:-1::0;8202:10:3::1;8190:23;::::0;;;:11:::1;:23;::::0;;;;;;;8304:12;;8190:23;8277:39:::1;8304:12:::0;8190:23;8277:39:::1;:::i;:::-;::::0;;;-1:-1:-1;;8042:299:3::1;8353:19;8395:10;8375:17;;:30;;;;:::i;:::-;8353:52;;8485:11;8469:12;:27;;8461:62;;;::::0;-1:-1:-1;;;8461:62:3;;17398:2:21;8461:62:3::1;::::0;::::1;17380:21:21::0;17437:2;17417:18;;;17410:30;-1:-1:-1;;;17456:18:21;;;17449:52;17518:18;;8461:62:3::1;17196:346:21::0;8461:62:3::1;8534:14;6730:13:5::0;8636:9:3::1;::::0;8610:21:::1;8619:12:::0;6730:13:5;8610:21:3::1;:::i;:::-;8609:36;;8601:67;;;::::0;-1:-1:-1;;;8601:67:3;;15413:2:21;8601:67:3::1;::::0;::::1;15395:21:21::0;15452:2;15432:18;;;15425:30;-1:-1:-1;;;15471:18:21;;;15464:48;15529:18;;8601:67:3::1;15211:342:21::0;8601:67:3::1;8679:31;8685:10;8697:12;8679:5;:31::i;:::-;-1:-1:-1::0;;1701:1:19;2628:7;:22;-1:-1:-1;;;7263:1536:3:o;3096:245::-;3264:4;-1:-1:-1;;;;;2093:18:17;;2101:10;2093:18;2089:83;;2128:32;2149:10;2128:20;:32::i;:::-;3286:47:3::1;3309:4;3315:2;3319:7;3328:4;3286:22;:47::i;:::-;3096:245:::0;;;;;:::o;2269:96::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;2337:8:3::1;:20:::0;2269:96::o;10103:339::-;10176:13;10210:16;10218:7;10210;:16::i;:::-;10202:62;;;;-1:-1:-1;;;10202:62:3;;17749:2:21;10202:62:3;;;17731:21:21;17788:2;17768:18;;;17761:30;17827:34;17807:18;;;17800:62;-1:-1:-1;;;17878:18:21;;;17871:31;17919:19;;10202:62:3;17547:397:21;10202:62:3;10275:28;10306:10;:8;:10::i;:::-;10275:41;;10365:1;10340:14;10334:28;:32;:100;;;;;;;;;;;;;;;;;10393:14;10409:18;:7;:16;:18::i;:::-;10376:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10334:100;10327:107;10103:339;-1:-1:-1;;;10103:339:3:o;11147:93::-;11191:7;11218:14;6944:12:5;;;6862:102;2151:110:3;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;2226:17:3::1;:27:::0;2151:110::o;12344:402::-;12557:20;;12601:28;;-1:-1:-1;;;12601:28:3;;-1:-1:-1;;;;;1692:32:21;;;12601:28:3;;;1674:51:21;12433:4:3;;12557:20;;;12593:49;;;;12557:20;;12601:21;;1647:18:21;;12601:28:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;12593:49:3;;12589:93;;;12666:4;12659:11;;;;;12589:93;-1:-1:-1;;;;;17873:25:5;;;17849:4;17873:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;12699:39:3;12692:46;12344:402;-1:-1:-1;;;;12344:402:3:o;6211:392::-;6268:7;6291:5;;6300:1;6291:10;6288:257;;;-1:-1:-1;;;;;6368:18:3;;;;;;:12;:18;;;;;;6346:19;6381:4;6346:13;:19::i;:::-;:40;;;;:::i;:::-;6325:17;;:62;;;;:::i;6288:257::-;6462:5;;6471:1;6462:10;6459:86;;;-1:-1:-1;;;;;6516:17:3;;;;;;:11;:17;;;;;;6496;;:37;;6516:17;6496:37;:::i;6459:86::-;-1:-1:-1;6562:2:3;;6211:392;-1:-1:-1;6211:392:3:o;1911:198:18:-;1101:6;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:18;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:18;;18910:2:21;1991:73:18::1;::::0;::::1;18892:21:21::0;18949:2;18929:18;;;18922:30;18988:34;18968:18;;;18961:62;-1:-1:-1;;;19039:18:21;;;19032:36;19085:19;;1991:73:18::1;18708:402:21::0;1991:73:18::1;2074:28;2093:8;2074:18;:28::i;9759:220:3:-:0;9865:9;9860:112;9884:9;:16;9880:1;:20;9860:112;;;9922:38;9935:5;9942:3;9947:9;9957:1;9947:12;;;;;;;;:::i;:::-;;;;;;;9922;:38::i;:::-;9902:3;;;;:::i;:::-;;;;9860:112;;18174:282:5;18239:4;18329:13;;18319:7;:23;18276:153;;;;-1:-1:-1;;18380:26:5;;;;:17;:26;;;;;;-1:-1:-1;;;18380:44:5;:49;;18174:282::o;2331:419:17:-;852:42;2522:45;:49;2518:225;;2593:67;;-1:-1:-1;;;2593:67:17;;2644:4;2593:67;;;19327:34:21;-1:-1:-1;;;;;19397:15:21;;19377:18;;;19370:43;852:42:17;;2593;;19262:18:21;;2593:67:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2588:144;;2688:28;;-1:-1:-1;;;2688:28:17;;-1:-1:-1;;;;;1692:32:21;;2688:28:17;;;1674:51:21;1647:18;;2688:28:17;1528:203:21;16236:408:5;16325:13;16341:16;16349:7;16341;:16::i;:::-;16325:32;-1:-1:-1;719:10:1;-1:-1:-1;;;;;16374:28:5;;;16370:175;;16422:44;16439:5;719:10:1;12344:402:3;:::i;16422:44:5:-;16417:128;;16494:35;;-1:-1:-1;;;16494:35:5;;;;;;;;;;;16417:128;16557:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16557:35:5;-1:-1:-1;;;;;16557:35:5;;;;;;;;;16608:28;;16557:24;;16608:28;;;;;;;16314:330;16236:408;;:::o;12046:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12157:47:5;12176:27;12195:7;12176:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;14344:41:5;;;;2065:3;14430:33;;;-1:-1:-1;;;;;14396:68:5;-1:-1:-1;;;14396:68:5;-1:-1:-1;;;14494:24:5;;:29;;-1:-1:-1;;;14475:48:5;;;;2586:3;14563:28;;;;-1:-1:-1;;;14534:58:5;-1:-1:-1;14234:366:5;20442:2825;20584:27;20614;20633:7;20614:18;:27::i;:::-;20584:57;;20699:4;-1:-1:-1;;;;;20658:45:5;20674:19;-1:-1:-1;;;;;20658:45:5;;20654:86;;20712:28;;-1:-1:-1;;;20712:28:5;;;;;;;;;;;20654:86;20754:27;19550:24;;;:15;:24;;;;;19778:26;;20945:68;19778:26;20987:4;719:10:1;20993:19:5;-1:-1:-1;;;;;19024:32:5;;;18868:28;;19153:20;;19175:30;;19150:56;;18565:659;20945:68;20940:180;;21033:43;21050:4;719:10:1;12344:402:3;:::i;21033:43:5:-;21028:92;;21085:35;;-1:-1:-1;;;21085:35:5;;;;;;;;;;;21028:92;-1:-1:-1;;;;;21137:16:5;;21133:52;;21162:23;;-1:-1:-1;;;21162:23:5;;;;;;;;;;;21133:52;21334:15;21331:160;;;21474:1;21453:19;21446:30;21331:160;-1:-1:-1;;;;;21871:24:5;;;;;;;:18;:24;;;;;;21869:26;;-1:-1:-1;;21869:26:5;;;21940:22;;;;;;;;;21938:24;;-1:-1:-1;21938:24:5;;;15094:11;15069:23;15065:41;15052:63;-1:-1:-1;;;15052:63:5;22233:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;22528:47:5;;22524:627;;22633:1;22623:11;;22601:19;22756:30;;;:17;:30;;;;;;22752:384;;22894:13;;22879:11;:28;22875:242;;23041:30;;;;:17;:30;;;;;:52;;;22875:242;22582:569;22524:627;23198:7;23194:2;-1:-1:-1;;;;;23179:27:5;23188:4;-1:-1:-1;;;;;23179:27:5;-1:-1:-1;;;;;;;;;;;23179:27:5;;;;;;;;;20573:2694;;;20442:2825;;;:::o;23363:193::-;23509:39;23526:4;23532:2;23536:7;23509:39;;;;;;;;;;;;:16;:39::i;35011:3081::-;35091:27;35121;35140:7;35121:18;:27::i;:::-;35091:57;-1:-1:-1;35091:57:5;35161:12;;35283:35;35310:7;19439:27;19550:24;;;:15;:24;;;;;19778:26;;19550:24;;19337:485;35283:35;35226:92;;;;35335:13;35331:316;;;35456:68;35481:15;35498:4;719:10:1;35504:19:5;640:96:1;35456:68:5;35451:184;;35548:43;35565:4;719:10:1;12344:402:3;:::i;35548:43:5:-;35543:92;;35600:35;;-1:-1:-1;;;35600:35:5;;;;;;;;;;;35543:92;35803:15;35800:160;;;35943:1;35922:19;35915:30;35800:160;-1:-1:-1;;;;;36562:24:5;;;;;;:18;:24;;;;;:60;;36590:32;36562:60;;;15094:11;15069:23;15065:41;15052:63;-1:-1:-1;;;15052:63:5;36860:26;;;;:17;:26;;;;;:205;-1:-1:-1;;;37185:47:5;;37181:627;;37290:1;37280:11;;37258:19;37413:30;;;:17;:30;;;;;;37409:384;;37551:13;;37536:11;:28;37532:242;;37698:30;;;;:17;:30;;;;;:52;;;37532:242;37239:569;37181:627;37836:35;;37863:7;;37859:1;;-1:-1:-1;;;;;37836:35:5;;;-1:-1:-1;;;;;;;;;;;37836:35:5;37859:1;;37836:35;-1:-1:-1;;38059:12:5;:14;;;;;;-1:-1:-1;;;;35011:3081:5:o;4130:248:3:-;4231:7;4252:9;4263;4274:7;4285:26;4300:10;4285:14;:26::i;:::-;4329:41;;;;;;;;;;;;19901:25:21;;;19974:4;19962:17;;19942:18;;;19935:45;;;;19996:18;;;19989:34;;;20039:18;;;20032:34;;;4251:60:3;;-1:-1:-1;4251:60:3;;-1:-1:-1;4251:60:3;-1:-1:-1;4329:41:3;;19873:19:21;;4329:41:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4329:41:3;;-1:-1:-1;;4329:41:3;;;4130:248;-1:-1:-1;;;;;;;4130:248:3:o;12860:1275:5:-;12927:7;12962;13064:13;;13057:4;:20;13053:1015;;;13102:14;13119:23;;;:17;:23;;;;;;-1:-1:-1;;;13208:24:5;;13204:845;;13873:113;13880:11;13873:113;;-1:-1:-1;;;13951:6:5;13933:25;;;;:17;:25;;;;;;13873:113;;13204:845;13079:989;13053:1015;14096:31;;-1:-1:-1;;;14096:31:5;;;;;;;;;;;27823:2966;27896:20;27919:13;27947;27943:44;;27969:18;;-1:-1:-1;;;27969:18:5;;;;;;;;;;;27943:44;-1:-1:-1;;;;;28475:22:5;;;;;;:18;:22;;;;1544:2;28475:22;;;:71;;28513:32;28501:45;;28475:71;;;28789:31;;;:17;:31;;;;;-1:-1:-1;15525:15:5;;15499:24;15495:46;15094:11;15069:23;15065:41;15062:52;15052:63;;28789:173;;29024:23;;;;28789:31;;28475:22;;-1:-1:-1;;;;;;;;;;;28475:22:5;;29642:335;30303:1;30289:12;30285:20;30243:346;30344:3;30335:7;30332:16;30243:346;;30562:7;30552:8;30549:1;-1:-1:-1;;;;;;;;;;;30519:1:5;30516;30511:59;30397:1;30384:15;30243:346;;;-1:-1:-1;30622:13:5;30618:45;;30644:19;;-1:-1:-1;;;30644:19:5;;;;;;;;;;;30618:45;30680:13;:19;-1:-1:-1;2557:165:3;;;:::o;2263:187:18:-;2355:6;;;-1:-1:-1;;;;;2371:17:18;;;-1:-1:-1;;;;;;2371:17:18;;;;;;;2403:40;;2355:6;;;2371:17;2355:6;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;7562:178:5:-;-1:-1:-1;;;;;7651:25:5;7623:7;7651:25;;;:18;:25;;1544:2;7651:25;;;;;:50;;-1:-1:-1;;;;;7650:82:5;;7562:178::o;17361:234::-;719:10:1;17456:39:5;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17456:49:5;;;;;;;;;;;;:60;;-1:-1:-1;;17456:60:5;;;;;;;;;;17532:55;;540:41:21;;;17456:49:5;;719:10:1;17532:55:5;;513:18:21;17532:55:5;;;;;;;17361:234;;:::o;24154:407::-;24329:31;24342:4;24348:2;24352:7;24329:12;:31::i;:::-;-1:-1:-1;;;;;24375:14:5;;;:19;24371:183;;24414:56;24445:4;24451:2;24455:7;24464:5;24414:30;:56::i;:::-;24409:145;;24498:40;;-1:-1:-1;;;24498:40:5;;;;;;;;;;;9987:108:3;10047:13;10080:7;10073:14;;;;;:::i;328:703:20:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:20;;;;;;;;;;;;-1:-1:-1;;;627:10:20;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:20;;-1:-1:-1;773:2:20;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;-1:-1:-1;;;;;817:17:20;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:20;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:20;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:20;;;;;;;;-1:-1:-1;972:11:20;981:2;972:11;;:::i;:::-;;;844:150;;4390:321:3;4454:9;4465;4476:7;4504:3;:10;4518:2;4504:16;4496:53;;;;-1:-1:-1;;;4496:53:3;;20653:2:21;4496:53:3;;;20635:21:21;20692:2;20672:18;;;20665:30;20731:26;20711:18;;;20704:54;20775:18;;4496:53:3;20451:348:21;4496:53:3;-1:-1:-1;;;4604:2:3;4595:12;;4589:19;4642:2;4633:12;;4627:19;4688:2;4679:12;;;4673:19;4589;;4670:1;4665:28;;;;;4390:321::o;26645:716:5:-;26829:88;;-1:-1:-1;;;26829:88:5;;26808:4;;-1:-1:-1;;;;;26829:45:5;;;;;:88;;719:10:1;;26896:4:5;;26902:7;;26911:5;;26829:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26829:88:5;;;;;;;;-1:-1:-1;;26829:88:5;;;;;;;;;;;;:::i;:::-;;;26825:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27112:13:5;;27108:235;;27158:40;;-1:-1:-1;;;27158:40:5;;;;;;;;;;;27108:235;27301:6;27295:13;27286:6;27282:2;27278:15;27271:38;26825:529;-1:-1:-1;;;;;;26988:64:5;-1:-1:-1;;;26988:64:5;;-1:-1:-1;26645:716:5;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:21;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:21;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:21:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:21;;1343:180;-1:-1:-1;1343:180:21:o;1736:131::-;-1:-1:-1;;;;;1811:31:21;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:21:o;2899:456::-;2976:6;2984;2992;3045:2;3033:9;3024:7;3020:23;3016:32;3013:52;;;3061:1;3058;3051:12;3013:52;3100:9;3087:23;3119:31;3144:5;3119:31;:::i;:::-;3169:5;-1:-1:-1;3226:2:21;3211:18;;3198:32;3239:33;3198:32;3239:33;:::i;:::-;2899:456;;3291:7;;-1:-1:-1;;;3345:2:21;3330:18;;;;3317:32;;2899:456::o;3360:247::-;3419:6;3472:2;3460:9;3451:7;3447:23;3443:32;3440:52;;;3488:1;3485;3478:12;3440:52;3527:9;3514:23;3546:31;3571:5;3546:31;:::i;3612:118::-;3698:5;3691:13;3684:21;3677:5;3674:32;3664:60;;3720:1;3717;3710:12;3735:241;3791:6;3844:2;3832:9;3823:7;3819:23;3815:32;3812:52;;;3860:1;3857;3850:12;3812:52;3899:9;3886:23;3918:28;3940:5;3918:28;:::i;4221:127::-;4282:10;4277:3;4273:20;4270:1;4263:31;4313:4;4310:1;4303:15;4337:4;4334:1;4327:15;4353:275;4424:2;4418:9;4489:2;4470:13;;-1:-1:-1;;4466:27:21;4454:40;;-1:-1:-1;;;;;4509:34:21;;4545:22;;;4506:62;4503:88;;;4571:18;;:::i;:::-;4607:2;4600:22;4353:275;;-1:-1:-1;4353:275:21:o;4633:407::-;4698:5;-1:-1:-1;;;;;4724:6:21;4721:30;4718:56;;;4754:18;;:::i;:::-;4792:57;4837:2;4816:15;;-1:-1:-1;;4812:29:21;4843:4;4808:40;4792:57;:::i;:::-;4783:66;;4872:6;4865:5;4858:21;4912:3;4903:6;4898:3;4894:16;4891:25;4888:45;;;4929:1;4926;4919:12;4888:45;4978:6;4973:3;4966:4;4959:5;4955:16;4942:43;5032:1;5025:4;5016:6;5009:5;5005:18;5001:29;4994:40;4633:407;;;;;:::o;5045:451::-;5114:6;5167:2;5155:9;5146:7;5142:23;5138:32;5135:52;;;5183:1;5180;5173:12;5135:52;5223:9;5210:23;-1:-1:-1;;;;;5248:6:21;5245:30;5242:50;;;5288:1;5285;5278:12;5242:50;5311:22;;5364:4;5356:13;;5352:27;-1:-1:-1;5342:55:21;;5393:1;5390;5383:12;5342:55;5416:74;5482:7;5477:2;5464:16;5459:2;5455;5451:11;5416:74;:::i;5501:221::-;5543:5;5596:3;5589:4;5581:6;5577:17;5573:27;5563:55;;5614:1;5611;5604:12;5563:55;5636:80;5712:3;5703:6;5690:20;5683:4;5675:6;5671:17;5636:80;:::i;5727:455::-;5804:6;5812;5865:2;5853:9;5844:7;5840:23;5836:32;5833:52;;;5881:1;5878;5871:12;5833:52;5920:9;5907:23;5939:31;5964:5;5939:31;:::i;:::-;5989:5;-1:-1:-1;6045:2:21;6030:18;;6017:32;-1:-1:-1;;;;;6061:30:21;;6058:50;;;6104:1;6101;6094:12;6058:50;6127:49;6168:7;6159:6;6148:9;6144:22;6127:49;:::i;:::-;6117:59;;;5727:455;;;;;:::o;6187:367::-;6250:8;6260:6;6314:3;6307:4;6299:6;6295:17;6291:27;6281:55;;6332:1;6329;6322:12;6281:55;-1:-1:-1;6355:20:21;;-1:-1:-1;;;;;6387:30:21;;6384:50;;;6430:1;6427;6420:12;6384:50;6467:4;6459:6;6455:17;6443:29;;6527:3;6520:4;6510:6;6507:1;6503:14;6495:6;6491:27;6487:38;6484:47;6481:67;;;6544:1;6541;6534:12;6481:67;6187:367;;;;;:::o;6559:773::-;6681:6;6689;6697;6705;6758:2;6746:9;6737:7;6733:23;6729:32;6726:52;;;6774:1;6771;6764:12;6726:52;6814:9;6801:23;-1:-1:-1;;;;;6884:2:21;6876:6;6873:14;6870:34;;;6900:1;6897;6890:12;6870:34;6939:70;7001:7;6992:6;6981:9;6977:22;6939:70;:::i;:::-;7028:8;;-1:-1:-1;6913:96:21;-1:-1:-1;7116:2:21;7101:18;;7088:32;;-1:-1:-1;7132:16:21;;;7129:36;;;7161:1;7158;7151:12;7129:36;;7200:72;7264:7;7253:8;7242:9;7238:24;7200:72;:::i;:::-;6559:773;;;;-1:-1:-1;7291:8:21;-1:-1:-1;;;;6559:773:21:o;7337:382::-;7402:6;7410;7463:2;7451:9;7442:7;7438:23;7434:32;7431:52;;;7479:1;7476;7469:12;7431:52;7518:9;7505:23;7537:31;7562:5;7537:31;:::i;:::-;7587:5;-1:-1:-1;7644:2:21;7629:18;;7616:32;7657:30;7616:32;7657:30;:::i;:::-;7706:7;7696:17;;;7337:382;;;;;:::o;7724:388::-;7801:6;7809;7862:2;7850:9;7841:7;7837:23;7833:32;7830:52;;;7878:1;7875;7868:12;7830:52;7914:9;7901:23;7891:33;;7975:2;7964:9;7960:18;7947:32;-1:-1:-1;;;;;7994:6:21;7991:30;7988:50;;;8034:1;8031;8024:12;8117:665;8212:6;8220;8228;8236;8289:3;8277:9;8268:7;8264:23;8260:33;8257:53;;;8306:1;8303;8296:12;8257:53;8345:9;8332:23;8364:31;8389:5;8364:31;:::i;:::-;8414:5;-1:-1:-1;8471:2:21;8456:18;;8443:32;8484:33;8443:32;8484:33;:::i;:::-;8536:7;-1:-1:-1;8590:2:21;8575:18;;8562:32;;-1:-1:-1;8645:2:21;8630:18;;8617:32;-1:-1:-1;;;;;8661:30:21;;8658:50;;;8704:1;8701;8694:12;8658:50;8727:49;8768:7;8759:6;8748:9;8744:22;8727:49;:::i;:::-;8717:59;;;8117:665;;;;;;;:::o;8787:388::-;8855:6;8863;8916:2;8904:9;8895:7;8891:23;8887:32;8884:52;;;8932:1;8929;8922:12;8884:52;8971:9;8958:23;8990:31;9015:5;8990:31;:::i;:::-;9040:5;-1:-1:-1;9097:2:21;9082:18;;9069:32;9110:33;9069:32;9110:33;:::i;9180:1222::-;9282:6;9290;9298;9351:2;9339:9;9330:7;9326:23;9322:32;9319:52;;;9367:1;9364;9357:12;9319:52;9406:9;9393:23;9425:31;9450:5;9425:31;:::i;:::-;9475:5;-1:-1:-1;9499:2:21;9538:18;;;9525:32;9566:33;9525:32;9566:33;:::i;:::-;9618:7;-1:-1:-1;9676:2:21;9661:18;;9648:32;-1:-1:-1;;;;;9729:14:21;;;9726:34;;;9756:1;9753;9746:12;9726:34;9794:6;9783:9;9779:22;9769:32;;9839:7;9832:4;9828:2;9824:13;9820:27;9810:55;;9861:1;9858;9851:12;9810:55;9897:2;9884:16;9919:2;9915;9912:10;9909:36;;;9925:18;;:::i;:::-;9971:2;9968:1;9964:10;9954:20;;9994:28;10018:2;10014;10010:11;9994:28;:::i;:::-;10056:15;;;10126:11;;;10122:20;;;10087:12;;;;10154:19;;;10151:39;;;10186:1;10183;10176:12;10151:39;10210:11;;;;10230:142;10246:6;10241:3;10238:15;10230:142;;;10312:17;;10300:30;;10263:12;;;;10350;;;;10230:142;;;10391:5;10381:15;;;;;;;;9180:1222;;;;;:::o;10407:380::-;10486:1;10482:12;;;;10529;;;10550:61;;10604:4;10596:6;10592:17;10582:27;;10550:61;10657:2;10649:6;10646:14;10626:18;10623:38;10620:161;;;10703:10;10698:3;10694:20;10691:1;10684:31;10738:4;10735:1;10728:15;10766:4;10763:1;10756:15;10620:161;;10407:380;;;:::o;10792:356::-;10994:2;10976:21;;;11013:18;;;11006:30;11072:34;11067:2;11052:18;;11045:62;11139:2;11124:18;;10792:356::o;11363:127::-;11424:10;11419:3;11415:20;11412:1;11405:31;11455:4;11452:1;11445:15;11479:4;11476:1;11469:15;11495:128;11535:3;11566:1;11562:6;11559:1;11556:13;11553:39;;;11572:18;;:::i;:::-;-1:-1:-1;11608:9:21;;11495:128::o;13015:127::-;13076:10;13071:3;13067:20;13064:1;13057:31;13107:4;13104:1;13097:15;13131:4;13128:1;13121:15;13147:135;13186:3;-1:-1:-1;;13207:17:21;;13204:43;;;13227:18;;:::i;:::-;-1:-1:-1;13274:1:21;13263:13;;13147:135::o;14695:168::-;14735:7;14801:1;14797;14793:6;14789:14;14786:1;14783:21;14778:1;14771:9;14764:17;14760:45;14757:71;;;14808:18;;:::i;:::-;-1:-1:-1;14848:9:21;;14695:168::o;16662:125::-;16702:4;16730:1;16727;16724:8;16721:34;;;16735:18;;:::i;:::-;-1:-1:-1;16772:9:21;;16662:125::o;17949:470::-;18128:3;18166:6;18160:13;18182:53;18228:6;18223:3;18216:4;18208:6;18204:17;18182:53;:::i;:::-;18298:13;;18257:16;;;;18320:57;18298:13;18257:16;18354:4;18342:17;;18320:57;:::i;:::-;18393:20;;17949:470;-1:-1:-1;;;;17949:470:21:o;18424:279::-;18522:6;18575:2;18563:9;18554:7;18550:23;18546:32;18543:52;;;18591:1;18588;18581:12;18543:52;18623:9;18617:16;18642:31;18667:5;18642:31;:::i;19424:245::-;19491:6;19544:2;19532:9;19523:7;19519:23;19515:32;19512:52;;;19560:1;19557;19550:12;19512:52;19592:9;19586:16;19611:28;19633:5;19611:28;:::i;20077:127::-;20138:10;20133:3;20129:20;20126:1;20119:31;20169:4;20166:1;20159:15;20193:4;20190:1;20183:15;20209:120;20249:1;20275;20265:35;;20280:18;;:::i;:::-;-1:-1:-1;20314:9:21;;20209:120::o;20334:112::-;20366:1;20392;20382:35;;20397:18;;:::i;:::-;-1:-1:-1;20431:9:21;;20334:112::o;20804:489::-;-1:-1:-1;;;;;21073:15:21;;;21055:34;;21125:15;;21120:2;21105:18;;21098:43;21172:2;21157:18;;21150:34;;;21220:3;21215:2;21200:18;;21193:31;;;20998:4;;21241:46;;21267:19;;21259:6;21241:46;:::i;:::-;21233:54;20804:489;-1:-1:-1;;;;;;20804:489:21:o;21298:249::-;21367:6;21420:2;21408:9;21399:7;21395:23;21391:32;21388:52;;;21436:1;21433;21426:12;21388:52;21468:9;21462:16;21487:30;21511:5;21487:30;:::i
Swarm Source
ipfs://1e68acf2101bce9c9898bd09036fbb251af79692e5e832a32134b43578c15c14
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.