Overview
TokenID
14096
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Owl
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.14; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "erc721a/contracts/ERC721A.sol"; contract Owl is ERC721A, IERC2981, Ownable, ReentrancyGuard { string private metaURI; uint256 public constant MAX_SUPPLY = 0xfffffffffffffffffffffffffffffffffff; mapping(address => uint256)[] public addressMinted; event Received(address indexed, uint256); event StageMintConfigChanged(StageMintConfig config); modifier onlyEOA() { require(tx.origin == _msgSender(), "only EOA allowed"); _; } constructor() ERC721A("Hello Owl", "Hello Owl") {} struct StageMintConfig { uint64 stageNum; uint64 maxPerStage; // Maximum number that can be minted at this stage uint64 maxPerAddress; bool isWhiteListMintActive; bytes32 merkleRoot; bool isPublicMintActive; } StageMintConfig public stageMintConfig; function setStageMintConfig(StageMintConfig calldata config_) external onlyOwner { require( addressMinted.length == config_.stageNum, "stageNum should be strongly increasing from zero" ); require( config_.maxPerStage <= MAX_SUPPLY, "maxPerStage can not exceed MAX_SUPPLY" ); addressMinted.push(); stageMintConfig = config_; emit StageMintConfigChanged(config_); } function setMaxPerStage(uint64 newMaxPerStage) external onlyOwner { require(newMaxPerStage > 0, "maxPerStage can not be zero"); require( newMaxPerStage <= MAX_SUPPLY, "maxPerStage can not exceed MAX_SUPPLY" ); stageMintConfig.maxPerStage = newMaxPerStage; } function setMaxPerAddress(uint64 newMaxPerAddress) external onlyOwner { require(newMaxPerAddress > 0, "newMaxPerAddress can not be zero"); require( newMaxPerAddress <= MAX_SUPPLY, "newMaxPerAddress can not exceed MAX_SUPPLY" ); stageMintConfig.maxPerAddress = newMaxPerAddress; } function setWhiteListMintActive(bool mintStarted) external onlyOwner { stageMintConfig.isWhiteListMintActive = mintStarted; } function setPublicMintActive(bool mintStarted) external onlyOwner { stageMintConfig.isPublicMintActive = mintStarted; } function whitelistMint(uint64 quantity, bytes32[] calldata merkleProof) external onlyEOA nonReentrant { require( stageMintConfig.isWhiteListMintActive, "whitelist mint has not started" ); require( isKYCAddress(_msgSender(), merkleProof), "caller is not in whitelist or invalid merkleProof" ); _claim(quantity); } function publicMint(uint64 quantity) external onlyEOA nonReentrant { require( stageMintConfig.isPublicMintActive, "public mint has not started" ); _claim(quantity); } function _claim(uint64 quantity) internal { require(quantity > 0, "invalid number of tokens"); require( addressMinted[stageMintConfig.stageNum][_msgSender()] + quantity <= stageMintConfig.maxPerAddress, "exceeded maxPerAddress" ); require( totalMinted() + quantity <= stageMintConfig.maxPerStage, "exceeded maxPerStage" ); addressMinted[stageMintConfig.stageNum][_msgSender()] += quantity; _safeMint(_msgSender(), quantity); } function totalMinted() public view returns (uint256) { return _totalMinted(); } /***************Royalty***************/ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "query for nonexistent token"); return (address(this), (salePrice * 250) / 10000); } function withdraw() external onlyOwner nonReentrant { (bool success, ) = _msgSender().call{value: address(this).balance}(""); require(success, "withdraw failed"); } function withdrawTokens(IERC20 token) external onlyOwner nonReentrant { uint256 balance = token.balanceOf(address(this)); token.transfer(_msgSender(), balance); } receive() external payable { emit Received(_msgSender(), msg.value); } /***************TokenURI***************/ function setTokenURI(string calldata tokenURI_) external onlyOwner { metaURI = tokenURI_; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "query for nonexistent token"); return metaURI; } /***************Merkle***************/ function setKycMerkleRoot(bytes32 _kycMerkleRoot) external onlyOwner { stageMintConfig.merkleRoot = _kycMerkleRoot; } function isKYCAddress(address address_, bytes32[] calldata merkleProof) public view returns (bool) { if (stageMintConfig.merkleRoot == "") { return false; } return MerkleProof.verify( merkleProof, stageMintConfig.merkleRoot, keccak256(abi.encodePacked(address_)) ); } }
// 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 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 // 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"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":[],"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":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"uint64","name":"stageNum","type":"uint64"},{"internalType":"uint64","name":"maxPerStage","type":"uint64"},{"internalType":"uint64","name":"maxPerAddress","type":"uint64"},{"internalType":"bool","name":"isWhiteListMintActive","type":"bool"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"isPublicMintActive","type":"bool"}],"indexed":false,"internalType":"struct Owl.StageMintConfig","name":"config","type":"tuple"}],"name":"StageMintConfigChanged","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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"addressMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"isKYCAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"quantity","type":"uint64"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_kycMerkleRoot","type":"bytes32"}],"name":"setKycMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"newMaxPerAddress","type":"uint64"}],"name":"setMaxPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"newMaxPerStage","type":"uint64"}],"name":"setMaxPerStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"mintStarted","type":"bool"}],"name":"setPublicMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint64","name":"stageNum","type":"uint64"},{"internalType":"uint64","name":"maxPerStage","type":"uint64"},{"internalType":"uint64","name":"maxPerAddress","type":"uint64"},{"internalType":"bool","name":"isWhiteListMintActive","type":"bool"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"isPublicMintActive","type":"bool"}],"internalType":"struct Owl.StageMintConfig","name":"config_","type":"tuple"}],"name":"setStageMintConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenURI_","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"mintStarted","type":"bool"}],"name":"setWhiteListMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stageMintConfig","outputs":[{"internalType":"uint64","name":"stageNum","type":"uint64"},{"internalType":"uint64","name":"maxPerStage","type":"uint64"},{"internalType":"uint64","name":"maxPerAddress","type":"uint64"},{"internalType":"bool","name":"isWhiteListMintActive","type":"bool"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"isPublicMintActive","type":"bool"}],"stateMutability":"view","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":"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":[{"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":[{"internalType":"uint64","name":"quantity","type":"uint64"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201825260098082526812195b1b1bc813dddb60ba1b6020808401828152855180870190965292855284015281519192916200005691600291620000db565b5080516200006c906003906020840190620000db565b505060008055506200007e3362000089565b6001600955620001bd565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000e99062000181565b90600052602060002090601f0160209004810192826200010d576000855562000158565b82601f106200012857805160ff191683800117855562000158565b8280016001018555821562000158579182015b82811115620001585782518255916020019190600101906200013b565b50620001669291506200016a565b5090565b5b808211156200016657600081556001016200016b565b600181811c908216806200019657607f821691505b602082108103620001b757634e487b7160e01b600052602260045260246000fd5b50919050565b6125fe80620001cd6000396000f3fe6080604052600436106101fd5760003560e01c80636afcb7b01161010d578063a2309ff8116100a0578063e0df5b6f1161006f578063e0df5b6f14610636578063e985e9c514610656578063f102e39e1461069f578063f2fde38b146106bf578063f4a66808146106df57600080fd5b8063a2309ff8146105ce578063a4f0ed50146105e3578063b88d4fde14610603578063c87b56dd1461061657600080fd5b806381e1ced3116100dc57806381e1ced31461055b5780638da5cb5b1461057b57806395d89b4114610599578063a22cb465146105ae57600080fd5b80636afcb7b0146104e657806370a0823114610506578063715018a614610526578063786867b51461053b57600080fd5b80633173ea1a11610190578063430a06fa1161015f578063430a06fa1461044657806349df728c146104665780635b89474214610486578063630a3bc1146104a65780636352211e146104c657600080fd5b80633173ea1a1461037757806332cb6b0c146104035780633ccfd60b1461041e57806342842e0e1461043357600080fd5b806318160ddd116101cc57806318160ddd146102e257806323b872dd146103055780632a55205a146103185780632b707c711461035757600080fd5b806301ffc9a71461023e57806306fdde0314610273578063081812fc14610295578063095ea7b3146102cd57600080fd5b366102395760405134815233907f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258749060200160405180910390a2005b600080fd5b34801561024a57600080fd5b5061025e610259366004611db1565b6106ff565b60405190151581526020015b60405180910390f35b34801561027f57600080fd5b5061028861072a565b60405161026a9190611e1b565b3480156102a157600080fd5b506102b56102b0366004611e2e565b6107bc565b6040516001600160a01b03909116815260200161026a565b6102e06102db366004611e5c565b610800565b005b3480156102ee57600080fd5b50600154600054035b60405190815260200161026a565b6102e0610313366004611e88565b6108a0565b34801561032457600080fd5b50610338610333366004611ec9565b610a38565b604080516001600160a01b03909316835260208301919091520161026a565b34801561036357600080fd5b506102e0610372366004611ef9565b610aba565b34801561038357600080fd5b50600c54600d54600e546103c3926001600160401b0380821693600160401b8304821693600160801b84049092169260ff600160c01b9091048116921686565b604080516001600160401b0397881681529587166020870152939095169284019290925215156060830152608082015290151560a082015260c00161026a565b34801561040f57600080fd5b506102f760016001608c1b0381565b34801561042a57600080fd5b506102e0610af7565b6102e0610441366004611e88565b610bda565b34801561045257600080fd5b506102e0610461366004611f2b565b610bfa565b34801561047257600080fd5b506102e0610481366004611f48565b610d1d565b34801561049257600080fd5b506102e06104a1366004611f65565b610e66565b3480156104b257600080fd5b506102e06104c1366004611f2b565b610fa7565b3480156104d257600080fd5b506102b56104e1366004611e2e565b61108c565b3480156104f257600080fd5b506102e0610501366004611f2b565b611097565b34801561051257600080fd5b506102f7610521366004611f48565b61115b565b34801561053257600080fd5b506102e06111a9565b34801561054757600080fd5b506102e0610556366004611e2e565b6111df565b34801561056757600080fd5b506102e0610576366004611fc1565b61120e565b34801561058757600080fd5b506008546001600160a01b03166102b5565b3480156105a557600080fd5b5061028861134a565b3480156105ba57600080fd5b506102e06105c9366004612015565b611359565b3480156105da57600080fd5b506000546102f7565b3480156105ef57600080fd5b506102e06105fe366004611ef9565b6113c5565b6102e0610611366004612064565b61140d565b34801561062257600080fd5b50610288610631366004611e2e565b611457565b34801561064257600080fd5b506102e0610651366004612143565b611540565b34801561066257600080fd5b5061025e6106713660046121b4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ab57600080fd5b5061025e6106ba3660046121e2565b611576565b3480156106cb57600080fd5b506102e06106da366004611f48565b61160a565b3480156106eb57600080fd5b506102f76106fa366004612202565b6116a5565b60006001600160e01b0319821663152a902d60e11b14806107245750610724826116d6565b92915050565b60606002805461073990612227565b80601f016020809104026020016040519081016040528092919081815260200182805461076590612227565b80156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b5050505050905090565b60006107c782611724565b6107e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080b8261108c565b9050336001600160a01b03821614610844576108278133610671565b610844576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108ab8261174b565b9050836001600160a01b0316816001600160a01b0316146108de5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761092b5761090e8633610671565b61092b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661095257604051633a954ecd60e21b815260040160405180910390fd5b801561095d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109ef576001840160008181526004602052604081205490036109ed5760005481146109ed5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080610a4484611724565b610a955760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e000000000060448201526064015b60405180910390fd5b30612710610aa48560fa612271565b610aae9190612290565b915091505b9250929050565b6008546001600160a01b03163314610ae45760405162461bcd60e51b8152600401610a8c906122b2565b600e805460ff1916911515919091179055565b6008546001600160a01b03163314610b215760405162461bcd60e51b8152600401610a8c906122b2565b600260095403610b435760405162461bcd60e51b8152600401610a8c906122e7565b6002600955604051600090339047908381818185875af1925050503d8060008114610b8a576040519150601f19603f3d011682016040523d82523d6000602084013e610b8f565b606091505b5050905080610bd25760405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606401610a8c565b506001600955565b610bf58383836040518060200160405280600081525061140d565b505050565b6008546001600160a01b03163314610c245760405162461bcd60e51b8152600401610a8c906122b2565b6000816001600160401b031611610c7d5760405162461bcd60e51b815260206004820181905260248201527f6e65774d6178506572416464726573732063616e206e6f74206265207a65726f6044820152606401610a8c565b60016001608c1b03816001600160401b03161115610cf05760405162461bcd60e51b815260206004820152602a60248201527f6e65774d6178506572416464726573732063616e206e6f7420657863656564206044820152694d41585f535550504c5960b01b6064820152608401610a8c565b600c80546001600160401b03909216600160801b0267ffffffffffffffff60801b19909216919091179055565b6008546001600160a01b03163314610d475760405162461bcd60e51b8152600401610a8c906122b2565b600260095403610d695760405162461bcd60e51b8152600401610a8c906122e7565b60026009556040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd9919061231e565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5c9190612337565b5050600160095550565b6008546001600160a01b03163314610e905760405162461bcd60e51b8152600401610a8c906122b2565b610e9d6020820182611f2b565b6001600160401b0316600b8054905014610f125760405162461bcd60e51b815260206004820152603060248201527f73746167654e756d2073686f756c64206265207374726f6e676c7920696e637260448201526f656173696e672066726f6d207a65726f60801b6064820152608401610a8c565b60016001608c1b03610f2a6040830160208401611f2b565b6001600160401b03161115610f515760405162461bcd60e51b8152600401610a8c90612354565b600b8054600101815560005280600c610f6a82826123a6565b9050507fede207c19078509567746f080e3d6ee42074d36324ccd94330364bd907f73b8181604051610f9c91906124a3565b60405180910390a150565b6008546001600160a01b03163314610fd15760405162461bcd60e51b8152600401610a8c906122b2565b6000816001600160401b03161161102a5760405162461bcd60e51b815260206004820152601b60248201527f6d617850657253746167652063616e206e6f74206265207a65726f00000000006044820152606401610a8c565b60016001608c1b03816001600160401b0316111561105a5760405162461bcd60e51b8152600401610a8c90612354565b600c80546001600160401b03909216600160401b026fffffffffffffffff000000000000000019909216919091179055565b60006107248261174b565b3233146110d95760405162461bcd60e51b815260206004820152601060248201526f1bdb9b1e481153d048185b1b1bddd95960821b6044820152606401610a8c565b6002600954036110fb5760405162461bcd60e51b8152600401610a8c906122e7565b6002600955600e5460ff166111525760405162461bcd60e51b815260206004820152601b60248201527f7075626c6963206d696e7420686173206e6f74207374617274656400000000006044820152606401610a8c565b610bd2816117b2565b60006001600160a01b038216611184576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146111d35760405162461bcd60e51b8152600401610a8c906122b2565b6111dd60006119ad565b565b6008546001600160a01b031633146112095760405162461bcd60e51b8152600401610a8c906122b2565b600d55565b3233146112505760405162461bcd60e51b815260206004820152601060248201526f1bdb9b1e481153d048185b1b1bddd95960821b6044820152606401610a8c565b6002600954036112725760405162461bcd60e51b8152600401610a8c906122e7565b6002600955600c54600160c01b900460ff166112d05760405162461bcd60e51b815260206004820152601e60248201527f77686974656c697374206d696e7420686173206e6f74207374617274656400006044820152606401610a8c565b6112db338383611576565b6113415760405162461bcd60e51b815260206004820152603160248201527f63616c6c6572206973206e6f7420696e2077686974656c697374206f7220696e6044820152703b30b634b21036b2b935b632a83937b7b360791b6064820152608401610a8c565b610e5c836117b2565b60606003805461073990612227565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146113ef5760405162461bcd60e51b8152600401610a8c906122b2565b600c8054911515600160c01b0260ff60c01b19909216919091179055565b6114188484846108a0565b6001600160a01b0383163b1561145157611434848484846119ff565b611451576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061146282611724565b6114ae5760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610a8c565b600a80546114bb90612227565b80601f01602080910402602001604051908101604052809291908181526020018280546114e790612227565b80156115345780601f1061150957610100808354040283529160200191611534565b820191906000526020600020905b81548152906001019060200180831161151757829003601f168201915b50505050509050919050565b6008546001600160a01b0316331461156a5760405162461bcd60e51b8152600401610a8c906122b2565b610bf5600a8383611d02565b600d54600090810361158a57506000611603565b61160083838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d546040516bffffffffffffffffffffffff1960608b901b166020820152909250603401905060405160208183030381529060405280519060200120611aea565b90505b9392505050565b6008546001600160a01b031633146116345760405162461bcd60e51b8152600401610a8c906122b2565b6001600160a01b0381166116995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a8c565b6116a2816119ad565b50565b600b82815481106116b557600080fd5b90600052602060002001602052806000526040600020600091509150505481565b60006301ffc9a760e01b6001600160e01b03198316148061170757506380ac58cd60e01b6001600160e01b03198316145b806107245750506001600160e01b031916635b5e139f60e01b1490565b6000805482108015610724575050600090815260046020526040902054600160e01b161590565b6000816000548110156117995760008181526004602052604081205490600160e01b82169003611797575b80600003611603575060001901600081815260046020526040902054611776565b505b604051636f96cda160e11b815260040160405180910390fd5b6000816001600160401b03161161180b5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964206e756d626572206f6620746f6b656e7300000000000000006044820152606401610a8c565b600c54600b80546001600160401b03600160801b84048116938582169392911690811061183a5761183a612527565b90600052602060002001600061184d3390565b6001600160a01b03166001600160a01b0316815260200190815260200160002054611878919061253d565b11156118bf5760405162461bcd60e51b81526020600482015260166024820152756578636565646564206d61785065724164647265737360501b6044820152606401610a8c565b600c546001600160401b03600160401b90910481169082166118e060005490565b6118ea919061253d565b111561192f5760405162461bcd60e51b81526020600482015260146024820152736578636565646564206d6178506572537461676560601b6044820152606401610a8c565b600c54600b80546001600160401b03808516931690811061195257611952612527565b9060005260206000200160006119653390565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254611994919061253d565b909155506116a2905033826001600160401b0316611b00565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a34903390899088908890600401612555565b6020604051808303816000875af1925050508015611a6f575060408051601f3d908101601f19168201909252611a6c91810190612592565b60015b611acd573d808015611a9d576040519150601f19603f3d011682016040523d82523d6000602084013e611aa2565b606091505b508051600003611ac5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600082611af78584611b1e565b14949350505050565b611b1a828260405180602001604052806000815250611b6b565b5050565b600081815b8451811015611b6357611b4f82868381518110611b4257611b42612527565b6020026020010151611bd8565b915080611b5b816125af565b915050611b23565b509392505050565b611b758383611c04565b6001600160a01b0383163b15610bf5576000548281035b611b9f60008683806001019450866119ff565b611bbc576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b8c578160005414611bd157600080fd5b5050505050565b6000818310611bf4576000828152602084905260409020611603565b5060009182526020526040902090565b6000805490829003611c295760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611cd857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ca0565b5081600003611cf957604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611d0e90612227565b90600052602060002090601f016020900481019282611d305760008555611d76565b82601f10611d495782800160ff19823516178555611d76565b82800160010185558215611d76579182015b82811115611d76578235825591602001919060010190611d5b565b50611d82929150611d86565b5090565b5b80821115611d825760008155600101611d87565b6001600160e01b0319811681146116a257600080fd5b600060208284031215611dc357600080fd5b813561160381611d9b565b6000815180845260005b81811015611df457602081850181015186830182015201611dd8565b81811115611e06576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006116036020830184611dce565b600060208284031215611e4057600080fd5b5035919050565b6001600160a01b03811681146116a257600080fd5b60008060408385031215611e6f57600080fd5b8235611e7a81611e47565b946020939093013593505050565b600080600060608486031215611e9d57600080fd5b8335611ea881611e47565b92506020840135611eb881611e47565b929592945050506040919091013590565b60008060408385031215611edc57600080fd5b50508035926020909101359150565b80151581146116a257600080fd5b600060208284031215611f0b57600080fd5b813561160381611eeb565b6001600160401b03811681146116a257600080fd5b600060208284031215611f3d57600080fd5b813561160381611f16565b600060208284031215611f5a57600080fd5b813561160381611e47565b600060c08284031215611f7757600080fd5b50919050565b60008083601f840112611f8f57600080fd5b5081356001600160401b03811115611fa657600080fd5b6020830191508360208260051b8501011115610ab357600080fd5b600080600060408486031215611fd657600080fd5b8335611fe181611f16565b925060208401356001600160401b03811115611ffc57600080fd5b61200886828701611f7d565b9497909650939450505050565b6000806040838503121561202857600080fd5b823561203381611e47565b9150602083013561204381611eeb565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561207a57600080fd5b843561208581611e47565b9350602085013561209581611e47565b92506040850135915060608501356001600160401b03808211156120b857600080fd5b818701915087601f8301126120cc57600080fd5b8135818111156120de576120de61204e565b604051601f8201601f19908116603f011681019083821181831017156121065761210661204e565b816040528281528a602084870101111561211f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806020838503121561215657600080fd5b82356001600160401b038082111561216d57600080fd5b818501915085601f83011261218157600080fd5b81358181111561219057600080fd5b8660208285010111156121a257600080fd5b60209290920196919550909350505050565b600080604083850312156121c757600080fd5b82356121d281611e47565b9150602083013561204381611e47565b6000806000604084860312156121f757600080fd5b8335611fe181611e47565b6000806040838503121561221557600080fd5b82359150602083013561204381611e47565b600181811c9082168061223b57607f821691505b602082108103611f7757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561228b5761228b61225b565b500290565b6000826122ad57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60006020828403121561233057600080fd5b5051919050565b60006020828403121561234957600080fd5b815161160381611eeb565b60208082526025908201527f6d617850657253746167652063616e206e6f7420657863656564204d41585f536040820152645550504c5960d81b606082015260800190565b6000813561072481611eeb565b81356123b181611f16565b6001600160401b03811690508154816001600160401b0319821617835560208401356123dc81611f16565b6fffffffffffffffff0000000000000000604091821b166fffffffffffffffffffffffffffffffff1983168417811785559085013561241a81611f16565b6001600160c01b0319929092169092179190911760809190911b67ffffffffffffffff60801b1617815561247161245360608401612399565b82805460ff60c01b191691151560c01b60ff60c01b16919091179055565b60808201356001820155611b1a61248a60a08401612399565b6002830160ff1981541660ff8315151681178255505050565b60c0810182356124b281611f16565b6001600160401b0390811683526020840135906124ce82611f16565b90811660208401526040840135906124e582611f16565b16604083015260608301356124f981611eeb565b151560608301526080838101359083015260a083013561251881611eeb565b80151560a08401525092915050565b634e487b7160e01b600052603260045260246000fd5b600082198211156125505761255061225b565b500190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061258890830184611dce565b9695505050505050565b6000602082840312156125a457600080fd5b815161160381611d9b565b6000600182016125c1576125c161225b565b506001019056fea2646970667358221220dec3e4bae465be42af928ca321efdb1059803ac57cdd6df4593af82dbb596bb164736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c80636afcb7b01161010d578063a2309ff8116100a0578063e0df5b6f1161006f578063e0df5b6f14610636578063e985e9c514610656578063f102e39e1461069f578063f2fde38b146106bf578063f4a66808146106df57600080fd5b8063a2309ff8146105ce578063a4f0ed50146105e3578063b88d4fde14610603578063c87b56dd1461061657600080fd5b806381e1ced3116100dc57806381e1ced31461055b5780638da5cb5b1461057b57806395d89b4114610599578063a22cb465146105ae57600080fd5b80636afcb7b0146104e657806370a0823114610506578063715018a614610526578063786867b51461053b57600080fd5b80633173ea1a11610190578063430a06fa1161015f578063430a06fa1461044657806349df728c146104665780635b89474214610486578063630a3bc1146104a65780636352211e146104c657600080fd5b80633173ea1a1461037757806332cb6b0c146104035780633ccfd60b1461041e57806342842e0e1461043357600080fd5b806318160ddd116101cc57806318160ddd146102e257806323b872dd146103055780632a55205a146103185780632b707c711461035757600080fd5b806301ffc9a71461023e57806306fdde0314610273578063081812fc14610295578063095ea7b3146102cd57600080fd5b366102395760405134815233907f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258749060200160405180910390a2005b600080fd5b34801561024a57600080fd5b5061025e610259366004611db1565b6106ff565b60405190151581526020015b60405180910390f35b34801561027f57600080fd5b5061028861072a565b60405161026a9190611e1b565b3480156102a157600080fd5b506102b56102b0366004611e2e565b6107bc565b6040516001600160a01b03909116815260200161026a565b6102e06102db366004611e5c565b610800565b005b3480156102ee57600080fd5b50600154600054035b60405190815260200161026a565b6102e0610313366004611e88565b6108a0565b34801561032457600080fd5b50610338610333366004611ec9565b610a38565b604080516001600160a01b03909316835260208301919091520161026a565b34801561036357600080fd5b506102e0610372366004611ef9565b610aba565b34801561038357600080fd5b50600c54600d54600e546103c3926001600160401b0380821693600160401b8304821693600160801b84049092169260ff600160c01b9091048116921686565b604080516001600160401b0397881681529587166020870152939095169284019290925215156060830152608082015290151560a082015260c00161026a565b34801561040f57600080fd5b506102f760016001608c1b0381565b34801561042a57600080fd5b506102e0610af7565b6102e0610441366004611e88565b610bda565b34801561045257600080fd5b506102e0610461366004611f2b565b610bfa565b34801561047257600080fd5b506102e0610481366004611f48565b610d1d565b34801561049257600080fd5b506102e06104a1366004611f65565b610e66565b3480156104b257600080fd5b506102e06104c1366004611f2b565b610fa7565b3480156104d257600080fd5b506102b56104e1366004611e2e565b61108c565b3480156104f257600080fd5b506102e0610501366004611f2b565b611097565b34801561051257600080fd5b506102f7610521366004611f48565b61115b565b34801561053257600080fd5b506102e06111a9565b34801561054757600080fd5b506102e0610556366004611e2e565b6111df565b34801561056757600080fd5b506102e0610576366004611fc1565b61120e565b34801561058757600080fd5b506008546001600160a01b03166102b5565b3480156105a557600080fd5b5061028861134a565b3480156105ba57600080fd5b506102e06105c9366004612015565b611359565b3480156105da57600080fd5b506000546102f7565b3480156105ef57600080fd5b506102e06105fe366004611ef9565b6113c5565b6102e0610611366004612064565b61140d565b34801561062257600080fd5b50610288610631366004611e2e565b611457565b34801561064257600080fd5b506102e0610651366004612143565b611540565b34801561066257600080fd5b5061025e6106713660046121b4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ab57600080fd5b5061025e6106ba3660046121e2565b611576565b3480156106cb57600080fd5b506102e06106da366004611f48565b61160a565b3480156106eb57600080fd5b506102f76106fa366004612202565b6116a5565b60006001600160e01b0319821663152a902d60e11b14806107245750610724826116d6565b92915050565b60606002805461073990612227565b80601f016020809104026020016040519081016040528092919081815260200182805461076590612227565b80156107b25780601f10610787576101008083540402835291602001916107b2565b820191906000526020600020905b81548152906001019060200180831161079557829003601f168201915b5050505050905090565b60006107c782611724565b6107e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080b8261108c565b9050336001600160a01b03821614610844576108278133610671565b610844576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006108ab8261174b565b9050836001600160a01b0316816001600160a01b0316146108de5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761092b5761090e8633610671565b61092b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661095257604051633a954ecd60e21b815260040160405180910390fd5b801561095d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109ef576001840160008181526004602052604081205490036109ed5760005481146109ed5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080610a4484611724565b610a955760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e000000000060448201526064015b60405180910390fd5b30612710610aa48560fa612271565b610aae9190612290565b915091505b9250929050565b6008546001600160a01b03163314610ae45760405162461bcd60e51b8152600401610a8c906122b2565b600e805460ff1916911515919091179055565b6008546001600160a01b03163314610b215760405162461bcd60e51b8152600401610a8c906122b2565b600260095403610b435760405162461bcd60e51b8152600401610a8c906122e7565b6002600955604051600090339047908381818185875af1925050503d8060008114610b8a576040519150601f19603f3d011682016040523d82523d6000602084013e610b8f565b606091505b5050905080610bd25760405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606401610a8c565b506001600955565b610bf58383836040518060200160405280600081525061140d565b505050565b6008546001600160a01b03163314610c245760405162461bcd60e51b8152600401610a8c906122b2565b6000816001600160401b031611610c7d5760405162461bcd60e51b815260206004820181905260248201527f6e65774d6178506572416464726573732063616e206e6f74206265207a65726f6044820152606401610a8c565b60016001608c1b03816001600160401b03161115610cf05760405162461bcd60e51b815260206004820152602a60248201527f6e65774d6178506572416464726573732063616e206e6f7420657863656564206044820152694d41585f535550504c5960b01b6064820152608401610a8c565b600c80546001600160401b03909216600160801b0267ffffffffffffffff60801b19909216919091179055565b6008546001600160a01b03163314610d475760405162461bcd60e51b8152600401610a8c906122b2565b600260095403610d695760405162461bcd60e51b8152600401610a8c906122e7565b60026009556040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd9919061231e565b90506001600160a01b03821663a9059cbb336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610e38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5c9190612337565b5050600160095550565b6008546001600160a01b03163314610e905760405162461bcd60e51b8152600401610a8c906122b2565b610e9d6020820182611f2b565b6001600160401b0316600b8054905014610f125760405162461bcd60e51b815260206004820152603060248201527f73746167654e756d2073686f756c64206265207374726f6e676c7920696e637260448201526f656173696e672066726f6d207a65726f60801b6064820152608401610a8c565b60016001608c1b03610f2a6040830160208401611f2b565b6001600160401b03161115610f515760405162461bcd60e51b8152600401610a8c90612354565b600b8054600101815560005280600c610f6a82826123a6565b9050507fede207c19078509567746f080e3d6ee42074d36324ccd94330364bd907f73b8181604051610f9c91906124a3565b60405180910390a150565b6008546001600160a01b03163314610fd15760405162461bcd60e51b8152600401610a8c906122b2565b6000816001600160401b03161161102a5760405162461bcd60e51b815260206004820152601b60248201527f6d617850657253746167652063616e206e6f74206265207a65726f00000000006044820152606401610a8c565b60016001608c1b03816001600160401b0316111561105a5760405162461bcd60e51b8152600401610a8c90612354565b600c80546001600160401b03909216600160401b026fffffffffffffffff000000000000000019909216919091179055565b60006107248261174b565b3233146110d95760405162461bcd60e51b815260206004820152601060248201526f1bdb9b1e481153d048185b1b1bddd95960821b6044820152606401610a8c565b6002600954036110fb5760405162461bcd60e51b8152600401610a8c906122e7565b6002600955600e5460ff166111525760405162461bcd60e51b815260206004820152601b60248201527f7075626c6963206d696e7420686173206e6f74207374617274656400000000006044820152606401610a8c565b610bd2816117b2565b60006001600160a01b038216611184576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146111d35760405162461bcd60e51b8152600401610a8c906122b2565b6111dd60006119ad565b565b6008546001600160a01b031633146112095760405162461bcd60e51b8152600401610a8c906122b2565b600d55565b3233146112505760405162461bcd60e51b815260206004820152601060248201526f1bdb9b1e481153d048185b1b1bddd95960821b6044820152606401610a8c565b6002600954036112725760405162461bcd60e51b8152600401610a8c906122e7565b6002600955600c54600160c01b900460ff166112d05760405162461bcd60e51b815260206004820152601e60248201527f77686974656c697374206d696e7420686173206e6f74207374617274656400006044820152606401610a8c565b6112db338383611576565b6113415760405162461bcd60e51b815260206004820152603160248201527f63616c6c6572206973206e6f7420696e2077686974656c697374206f7220696e6044820152703b30b634b21036b2b935b632a83937b7b360791b6064820152608401610a8c565b610e5c836117b2565b60606003805461073990612227565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146113ef5760405162461bcd60e51b8152600401610a8c906122b2565b600c8054911515600160c01b0260ff60c01b19909216919091179055565b6114188484846108a0565b6001600160a01b0383163b1561145157611434848484846119ff565b611451576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061146282611724565b6114ae5760405162461bcd60e51b815260206004820152601b60248201527f717565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610a8c565b600a80546114bb90612227565b80601f01602080910402602001604051908101604052809291908181526020018280546114e790612227565b80156115345780601f1061150957610100808354040283529160200191611534565b820191906000526020600020905b81548152906001019060200180831161151757829003601f168201915b50505050509050919050565b6008546001600160a01b0316331461156a5760405162461bcd60e51b8152600401610a8c906122b2565b610bf5600a8383611d02565b600d54600090810361158a57506000611603565b61160083838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d546040516bffffffffffffffffffffffff1960608b901b166020820152909250603401905060405160208183030381529060405280519060200120611aea565b90505b9392505050565b6008546001600160a01b031633146116345760405162461bcd60e51b8152600401610a8c906122b2565b6001600160a01b0381166116995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a8c565b6116a2816119ad565b50565b600b82815481106116b557600080fd5b90600052602060002001602052806000526040600020600091509150505481565b60006301ffc9a760e01b6001600160e01b03198316148061170757506380ac58cd60e01b6001600160e01b03198316145b806107245750506001600160e01b031916635b5e139f60e01b1490565b6000805482108015610724575050600090815260046020526040902054600160e01b161590565b6000816000548110156117995760008181526004602052604081205490600160e01b82169003611797575b80600003611603575060001901600081815260046020526040902054611776565b505b604051636f96cda160e11b815260040160405180910390fd5b6000816001600160401b03161161180b5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964206e756d626572206f6620746f6b656e7300000000000000006044820152606401610a8c565b600c54600b80546001600160401b03600160801b84048116938582169392911690811061183a5761183a612527565b90600052602060002001600061184d3390565b6001600160a01b03166001600160a01b0316815260200190815260200160002054611878919061253d565b11156118bf5760405162461bcd60e51b81526020600482015260166024820152756578636565646564206d61785065724164647265737360501b6044820152606401610a8c565b600c546001600160401b03600160401b90910481169082166118e060005490565b6118ea919061253d565b111561192f5760405162461bcd60e51b81526020600482015260146024820152736578636565646564206d6178506572537461676560601b6044820152606401610a8c565b600c54600b80546001600160401b03808516931690811061195257611952612527565b9060005260206000200160006119653390565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254611994919061253d565b909155506116a2905033826001600160401b0316611b00565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a34903390899088908890600401612555565b6020604051808303816000875af1925050508015611a6f575060408051601f3d908101601f19168201909252611a6c91810190612592565b60015b611acd573d808015611a9d576040519150601f19603f3d011682016040523d82523d6000602084013e611aa2565b606091505b508051600003611ac5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600082611af78584611b1e565b14949350505050565b611b1a828260405180602001604052806000815250611b6b565b5050565b600081815b8451811015611b6357611b4f82868381518110611b4257611b42612527565b6020026020010151611bd8565b915080611b5b816125af565b915050611b23565b509392505050565b611b758383611c04565b6001600160a01b0383163b15610bf5576000548281035b611b9f60008683806001019450866119ff565b611bbc576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b8c578160005414611bd157600080fd5b5050505050565b6000818310611bf4576000828152602084905260409020611603565b5060009182526020526040902090565b6000805490829003611c295760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611cd857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611ca0565b5081600003611cf957604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611d0e90612227565b90600052602060002090601f016020900481019282611d305760008555611d76565b82601f10611d495782800160ff19823516178555611d76565b82800160010185558215611d76579182015b82811115611d76578235825591602001919060010190611d5b565b50611d82929150611d86565b5090565b5b80821115611d825760008155600101611d87565b6001600160e01b0319811681146116a257600080fd5b600060208284031215611dc357600080fd5b813561160381611d9b565b6000815180845260005b81811015611df457602081850181015186830182015201611dd8565b81811115611e06576000602083870101525b50601f01601f19169290920160200192915050565b6020815260006116036020830184611dce565b600060208284031215611e4057600080fd5b5035919050565b6001600160a01b03811681146116a257600080fd5b60008060408385031215611e6f57600080fd5b8235611e7a81611e47565b946020939093013593505050565b600080600060608486031215611e9d57600080fd5b8335611ea881611e47565b92506020840135611eb881611e47565b929592945050506040919091013590565b60008060408385031215611edc57600080fd5b50508035926020909101359150565b80151581146116a257600080fd5b600060208284031215611f0b57600080fd5b813561160381611eeb565b6001600160401b03811681146116a257600080fd5b600060208284031215611f3d57600080fd5b813561160381611f16565b600060208284031215611f5a57600080fd5b813561160381611e47565b600060c08284031215611f7757600080fd5b50919050565b60008083601f840112611f8f57600080fd5b5081356001600160401b03811115611fa657600080fd5b6020830191508360208260051b8501011115610ab357600080fd5b600080600060408486031215611fd657600080fd5b8335611fe181611f16565b925060208401356001600160401b03811115611ffc57600080fd5b61200886828701611f7d565b9497909650939450505050565b6000806040838503121561202857600080fd5b823561203381611e47565b9150602083013561204381611eeb565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561207a57600080fd5b843561208581611e47565b9350602085013561209581611e47565b92506040850135915060608501356001600160401b03808211156120b857600080fd5b818701915087601f8301126120cc57600080fd5b8135818111156120de576120de61204e565b604051601f8201601f19908116603f011681019083821181831017156121065761210661204e565b816040528281528a602084870101111561211f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806020838503121561215657600080fd5b82356001600160401b038082111561216d57600080fd5b818501915085601f83011261218157600080fd5b81358181111561219057600080fd5b8660208285010111156121a257600080fd5b60209290920196919550909350505050565b600080604083850312156121c757600080fd5b82356121d281611e47565b9150602083013561204381611e47565b6000806000604084860312156121f757600080fd5b8335611fe181611e47565b6000806040838503121561221557600080fd5b82359150602083013561204381611e47565b600181811c9082168061223b57607f821691505b602082108103611f7757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561228b5761228b61225b565b500290565b6000826122ad57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60006020828403121561233057600080fd5b5051919050565b60006020828403121561234957600080fd5b815161160381611eeb565b60208082526025908201527f6d617850657253746167652063616e206e6f7420657863656564204d41585f536040820152645550504c5960d81b606082015260800190565b6000813561072481611eeb565b81356123b181611f16565b6001600160401b03811690508154816001600160401b0319821617835560208401356123dc81611f16565b6fffffffffffffffff0000000000000000604091821b166fffffffffffffffffffffffffffffffff1983168417811785559085013561241a81611f16565b6001600160c01b0319929092169092179190911760809190911b67ffffffffffffffff60801b1617815561247161245360608401612399565b82805460ff60c01b191691151560c01b60ff60c01b16919091179055565b60808201356001820155611b1a61248a60a08401612399565b6002830160ff1981541660ff8315151681178255505050565b60c0810182356124b281611f16565b6001600160401b0390811683526020840135906124ce82611f16565b90811660208401526040840135906124e582611f16565b16604083015260608301356124f981611eeb565b151560608301526080838101359083015260a083013561251881611eeb565b80151560a08401525092915050565b634e487b7160e01b600052603260045260246000fd5b600082198211156125505761255061225b565b500190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061258890830184611dce565b9695505050505050565b6000602082840312156125a457600080fd5b815161160381611d9b565b6000600182016125c1576125c161225b565b506001019056fea2646970667358221220dec3e4bae465be42af928ca321efdb1059803ac57cdd6df4593af82dbb596bb164736f6c634300080e0033
Deployed Bytecode Sourcemap
398:5652:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5028:33;;5051:9;160:25:11;;719:10:5;;5028:33:8;;148:2:11;133:18;5028:33:8;;;;;;;398:5652;;;;;4016:282;;;;;;;;;;-1:-1:-1;4016:282:8;;;;;:::i;:::-;;:::i;:::-;;;747:14:11;;740:22;722:41;;710:2;695:18;4016:282:8;;;;;;;;10039:98:9;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:9;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1825:32:11;;;1807:51;;1795:2;1780:18;16360:214:9;1661:203:11;15812:398:9;;;;;;:::i;:::-;;:::i;:::-;;5894:317;;;;;;;;;;-1:-1:-1;6164:12:9;;5955:7;6148:13;:28;5894:317;;;160:25:11;;;148:2;133:18;5894:317:9;14:177:11;19903:2764:9;;;;;;:::i;:::-;;:::i;4304:298:8:-;;;;;;;;;;-1:-1:-1;4304:298:8;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3231:32:11;;;3213:51;;3295:2;3280:18;;3273:34;;;;3186:18;4304:298:8;3039:274:11;2519:131:8;;;;;;;;;;-1:-1:-1;2519:131:8;;;;;:::i;:::-;;:::i;1165:38::-;;;;;;;;;;-1:-1:-1;1165:38:8;;;;;;;;-1:-1:-1;;;;;1165:38:8;;;;-1:-1:-1;;;1165:38:8;;;;;-1:-1:-1;;;1165:38:8;;;;;;;-1:-1:-1;;;1165:38:8;;;;;;;;;;;;;-1:-1:-1;;;;;4011:15:11;;;3993:34;;4063:15;;;4058:2;4043:18;;4036:43;4115:15;;;;4095:18;;;4088:43;;;;4174:14;4167:22;4162:2;4147:18;;4140:50;4221:3;4206:19;;4199:35;4278:14;;4271:22;4265:3;4250:19;;4243:51;3943:3;3928:19;1165:38:8;3687:613:11;493:74:8;;;;;;;;;;;;-1:-1:-1;;;;;493:74:8;;4608:184;;;;;;;;;;;;;:::i;22758:187:9:-;;;;;;:::i;:::-;;:::i;2030:340:8:-;;;;;;;;;;-1:-1:-1;2030:340:8;;;;;:::i;:::-;;:::i;4798:182::-;;;;;;;;;;-1:-1:-1;4798:182:8;;;;;:::i;:::-;;:::i;1210:491::-;;;;;;;;;;-1:-1:-1;1210:491:8;;;;;:::i;:::-;;:::i;1707:317::-;;;;;;;;;;-1:-1:-1;1707:317:8;;;;;:::i;:::-;;:::i;11391:150:9:-;;;;;;;;;;-1:-1:-1;11391:150:9;;;;;:::i;:::-;;:::i;3094:218:8:-;;;;;;;;;;-1:-1:-1;3094:218:8;;;;;:::i;:::-;;:::i;7045:230:9:-;;;;;;;;;;-1:-1:-1;7045:230:9;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;5506:129:8:-;;;;;;;;;;-1:-1:-1;5506:129:8;;;;;:::i;:::-;;:::i;2656:432::-;;;;;;;;;;-1:-1:-1;2656:432:8;;;;;:::i;:::-;;:::i;1036:85:0:-;;;;;;;;;;-1:-1:-1;1108:6:0;;-1:-1:-1;;;;;1108:6:0;1036:85;;10208:102:9;;;;;;;;;;;;;:::i;16901:231::-;;;;;;;;;;-1:-1:-1;16901:231:9;;;;;:::i;:::-;;:::i;3875:91:8:-;;;;;;;;;;-1:-1:-1;3919:7:8;6546:13:9;3875:91:8;;2376:137;;;;;;;;;;-1:-1:-1;2376:137:8;;;;;:::i;:::-;;:::i;23526:396:9:-;;;;;;:::i;:::-;;:::i;5228:229:8:-;;;;;;;;;;-1:-1:-1;5228:229:8;;;;;:::i;:::-;;:::i;5119:103::-;;;;;;;;;;-1:-1:-1;5119:103:8;;;;;:::i;:::-;;:::i;17282:162:9:-;;;;;;;;;;-1:-1:-1;17282:162:9;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:9;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;5641:407:8;;;;;;;;;;-1:-1:-1;5641:407:8;;;;;:::i;:::-;;:::i;1918:198:0:-;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;573:50:8:-;;;;;;;;;;-1:-1:-1;573:50:8;;;;;:::i;:::-;;:::i;4016:282::-;4159:4;-1:-1:-1;;;;;;4198:41:8;;-1:-1:-1;;;4198:41:8;;:93;;;4255:36;4279:11;4255:23;:36::i;:::-;4179:112;4016:282;-1:-1:-1;;4016:282:8:o;10039:98:9:-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:9;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:9;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:9;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;719:10:5;-1:-1:-1;;;;;15947:28:9;;;15943:172;;15994:44;16011:5;719:10:5;17282:162:9;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:9;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:9;-1:-1:-1;;;;;16125:35:9;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:9;20128:19;-1:-1:-1;;;;;20112:45:9;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:9;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;719:10:5;18673:30:9;;;-1:-1:-1;;;;;18370:28:9;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;719:10:5;17282:162:9;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:9;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:9;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:9;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:9;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:9;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:9;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:9;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:9;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:9;22590:4;-1:-1:-1;;;;;22581:27:9;;;;;;;;;;;20030:2637;;;19903:2764;;;:::o;4304:298:8:-;4425:16;4443:21;4488:16;4496:7;4488;:16::i;:::-;4480:56;;;;-1:-1:-1;;;4480:56:8;;10809:2:11;4480:56:8;;;10791:21:11;10848:2;10828:18;;;10821:30;10887:29;10867:18;;;10860:57;10934:18;;4480:56:8;;;;;;;;;4562:4;4589:5;4570:15;:9;4582:3;4570:15;:::i;:::-;4569:25;;;;:::i;:::-;4546:49;;;;4304:298;;;;;;:::o;2519:131::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2595:34:8;:48;;-1:-1:-1;;2595:48:8::1;::::0;::::1;;::::0;;;::::1;::::0;;2519:131::o;4608:184::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1744:1:3::1;2325:7;;:19:::0;2317:63:::1;;;;-1:-1:-1::0;;;2317:63:3::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;4689:51:8::2;::::0;4671:12:::2;::::0;719:10:5;;4714:21:8::2;::::0;4671:12;4689:51;4671:12;4689:51;4714:21;719:10:5;4689:51:8::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4670:70;;;4758:7;4750:35;;;::::0;-1:-1:-1;;;4750:35:8;;12623:2:11;4750:35:8::2;::::0;::::2;12605:21:11::0;12662:2;12642:18;;;12635:30;-1:-1:-1;;;12681:18:11;;;12674:45;12736:18;;4750:35:8::2;12421:339:11::0;4750:35:8::2;-1:-1:-1::0;1701:1:3::1;2628:7;:22:::0;4608:184:8:o;22758:187:9:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;2030:340:8:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2137:1:8::1;2118:16;-1:-1:-1::0;;;;;2118:20:8::1;;2110:65;;;::::0;-1:-1:-1;;;2110:65:8;;12967:2:11;2110:65:8::1;::::0;::::1;12949:21:11::0;;;12986:18;;;12979:30;13045:34;13025:18;;;13018:62;13097:18;;2110:65:8::1;12765:356:11::0;2110:65:8::1;-1:-1:-1::0;;;;;2206:16:8::1;-1:-1:-1::0;;;;;2206:30:8::1;;;2185:119;;;::::0;-1:-1:-1;;;2185:119:8;;13328:2:11;2185:119:8::1;::::0;::::1;13310:21:11::0;13367:2;13347:18;;;13340:30;13406:34;13386:18;;;13379:62;-1:-1:-1;;;13457:18:11;;;13450:40;13507:19;;2185:119:8::1;13126:406:11::0;2185:119:8::1;2315:15;:48:::0;;-1:-1:-1;;;;;2315:48:8;;::::1;-1:-1:-1::0;;;2315:48:8::1;-1:-1:-1::0;;;;2315:48:8;;::::1;::::0;;;::::1;::::0;;2030:340::o;4798:182::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1744:1:3::1;2325:7;;:19:::0;2317:63:::1;;;;-1:-1:-1::0;;;2317:63:3::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;4896:30:8::2;::::0;-1:-1:-1;;;4896:30:8;;4920:4:::2;4896:30;::::0;::::2;1807:51:11::0;4878:15:8::2;::::0;-1:-1:-1;;;;;4896:15:8;::::2;::::0;::::2;::::0;1780:18:11;;4896:30:8::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4878:48:::0;-1:-1:-1;;;;;;4936:14:8;::::2;;719:10:5::0;4936:37:8::2;::::0;-1:-1:-1;;;;;;4936:37:8::2;::::0;;;;;;-1:-1:-1;;;;;3231:32:11;;;4936:37:8::2;::::0;::::2;3213:51:11::0;3280:18;;;3273:34;;;3186:18;;4936:37:8::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;1701:1:3::1;2628:7;:22:::0;-1:-1:-1;4798:182:8:o;1210:491::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1366:16:8::1;;::::0;::::1;:7:::0;:16:::1;:::i;:::-;-1:-1:-1::0;;;;;1342:40:8::1;:13;:20;;;;:40;1321:135;;;::::0;-1:-1:-1;;;1321:135:8;;14178:2:11;1321:135:8::1;::::0;::::1;14160:21:11::0;14217:2;14197:18;;;14190:30;14256:34;14236:18;;;14229:62;-1:-1:-1;;;14307:18:11;;;14300:46;14363:19;;1321:135:8::1;13976:412:11::0;1321:135:8::1;-1:-1:-1::0;;;;;1487:19:8::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;1487:33:8::1;;;1466:117;;;;-1:-1:-1::0;;;1466:117:8::1;;;;;;;:::i;:::-;1593:13;:20:::0;;::::1;;::::0;;-1:-1:-1;1593:20:8;1641:7;1623:15:::1;:25;1641:7:::0;1623:15;:25:::1;:::i;:::-;;;;1663:31;1686:7;1663:31;;;;;;:::i;:::-;;;;;;;;1210:491:::0;:::o;1707:317::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1808:1:8::1;1791:14;-1:-1:-1::0;;;;;1791:18:8::1;;1783:58;;;::::0;-1:-1:-1;;;1783:58:8;;17782:2:11;1783:58:8::1;::::0;::::1;17764:21:11::0;17821:2;17801:18;;;17794:30;17860:29;17840:18;;;17833:57;17907:18;;1783:58:8::1;17580:351:11::0;1783:58:8::1;-1:-1:-1::0;;;;;1872:14:8::1;-1:-1:-1::0;;;;;1872:28:8::1;;;1851:112;;;;-1:-1:-1::0;;;1851:112:8::1;;;;;;;:::i;:::-;1973:15;:44:::0;;-1:-1:-1;;;;;1973:44:8;;::::1;-1:-1:-1::0;;;1973:44:8::1;-1:-1:-1::0;;1973:44:8;;::::1;::::0;;;::::1;::::0;;1707:317::o;11391:150:9:-;11463:7;11505:27;11524:7;11505:18;:27::i;3094:218:8:-;772:9;719:10:5;772:25:8;764:54;;;;-1:-1:-1;;;764:54:8;;18138:2:11;764:54:8;;;18120:21:11;18177:2;18157:18;;;18150:30;-1:-1:-1;;;18196:18:11;;;18189:46;18252:18;;764:54:8;17936:340:11;764:54:8;1744:1:3::1;2325:7;;:19:::0;2317:63:::1;;;;-1:-1:-1::0;;;2317:63:3::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;3192:34:8;;::::2;;3171:108;;;::::0;-1:-1:-1;;;3171:108:8;;18483:2:11;3171:108:8::2;::::0;::::2;18465:21:11::0;18522:2;18502:18;;;18495:30;18561:29;18541:18;;;18534:57;18608:18;;3171:108:8::2;18281:351:11::0;3171:108:8::2;3289:16;3296:8;3289:6;:16::i;7045:230:9:-:0;7117:7;-1:-1:-1;;;;;7140:19:9;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:9;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:9;;;;;:18;:25;;;;;;-1:-1:-1;;;;;7213:55:9;;7045:230::o;1668:101:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;5506:129:8:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5585:26:8;:43;5506:129::o;2656:432::-;772:9;719:10:5;772:25:8;764:54;;;;-1:-1:-1;;;764:54:8;;18138:2:11;764:54:8;;;18120:21:11;18177:2;18157:18;;;18150:30;-1:-1:-1;;;18196:18:11;;;18189:46;18252:18;;764:54:8;17936:340:11;764:54:8;1744:1:3::1;2325:7;;:19:::0;2317:63:::1;;;;-1:-1:-1::0;;;2317:63:3::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;2817:15:8::2;:37:::0;-1:-1:-1;;;2817:37:8;::::2;;;2796:114;;;::::0;-1:-1:-1;;;2796:114:8;;18839:2:11;2796:114:8::2;::::0;::::2;18821:21:11::0;18878:2;18858:18;;;18851:30;18917:32;18897:18;;;18890:60;18967:18;;2796:114:8::2;18637:354:11::0;2796:114:8::2;2941:39;719:10:5::0;2968:11:8::2;;2941:12;:39::i;:::-;2920:135;;;::::0;-1:-1:-1;;;2920:135:8;;19198:2:11;2920:135:8::2;::::0;::::2;19180:21:11::0;19237:2;19217:18;;;19210:30;19276:34;19256:18;;;19249:62;-1:-1:-1;;;19327:18:11;;;19320:47;19384:19;;2920:135:8::2;18996:413:11::0;2920:135:8::2;3065:16;3072:8;3065:6;:16::i;10208:102:9:-:0;10264:13;10296:7;10289:14;;;;;:::i;16901:231::-;719:10:5;16995:39:9;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:9;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:9;;;;;;;;;;17070:55;;722:41:11;;;16995:49:9;;719:10:5;17070:55:9;;695:18:11;17070:55:9;;;;;;;16901:231;;:::o;2376:137:8:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;2455:15:8::1;:51:::0;;;::::1;;-1:-1:-1::0;;;2455:51:8::1;-1:-1:-1::0;;;;2455:51:8;;::::1;::::0;;;::::1;::::0;;2376:137::o;23526:396:9:-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:9;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:9;;;;;;;;;;;23773:143;23526:396;;;;:::o;5228:229:8:-;5341:13;5378:16;5386:7;5378;:16::i;:::-;5370:56;;;;-1:-1:-1;;;5370:56:8;;10809:2:11;5370:56:8;;;10791:21:11;10848:2;10828:18;;;10821:30;10887:29;10867:18;;;10860:57;10934:18;;5370:56:8;10607:351:11;5370:56:8;5443:7;5436:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5228:229;;;:::o;5119:103::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5196:19:8::1;:7;5206:9:::0;;5196:19:::1;:::i;5641:407::-:0;5782:26;;5758:4;;5782:32;;5778:75;;-1:-1:-1;5837:5:8;5830:12;;5778:75;5881:160;5917:11;;5881:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5946:26:8;;6000;;-1:-1:-1;;19563:2:11;19559:15;;;19555:53;6000:26:8;;;19543:66:11;5946:26:8;;-1:-1:-1;19625:12:11;;;-1:-1:-1;6000:26:8;;;;;;;;;;;;5990:37;;;;;;5881:18;:160::i;:::-;5862:179;;5641:407;;;;;;:::o;1918:198:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:5;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;19850:2:11;1998:73:0::1;::::0;::::1;19832:21:11::0;19889:2;19869:18;;;19862:30;19928:34;19908:18;;;19901:62;-1:-1:-1;;;19979:18:11;;;19972:36;20025:19;;1998:73:0::1;19648:402:11::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;573:50:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;9155:630:9:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:9;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:9;;;9558:101;:177;;;-1:-1:-1;;;;;;;;9710:25:9;-1:-1:-1;;;9710:25:9;;9155:630::o;17693:277::-;17758:4;17845:13;;17835:7;:23;17793:151;;;;-1:-1:-1;;17895:26:9;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:9;:49;;17693:277::o;12515:1249::-;12582:7;12616;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:9;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:9;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:9;;;;;;;;;;;3318:551:8;3389:1;3378:8;-1:-1:-1;;;;;3378:12:8;;3370:49;;;;-1:-1:-1;;;3370:49:8;;20257:2:11;3370:49:8;;;20239:21:11;20296:2;20276:18;;;20269:30;20335:26;20315:18;;;20308:54;20379:18;;3370:49:8;20055:348:11;3370:49:8;3534:15;:29;3450:13;:39;;-1:-1:-1;;;;;;;;3534:29:8;;;;;3450:64;;;;:13;3464:24;;;3450:39;;;;;;:::i;:::-;;;;;;;;:53;3490:12;719:10:5;;640:96;3490:12:8;-1:-1:-1;;;;;3450:53:8;-1:-1:-1;;;;;3450:53:8;;;;;;;;;;;;;:64;;;;:::i;:::-;:113;;3429:182;;;;-1:-1:-1;;;3429:182:8;;20875:2:11;3429:182:8;;;20857:21:11;20914:2;20894:18;;;20887:30;-1:-1:-1;;;20933:18:11;;;20926:52;20995:18;;3429:182:8;20673:346:11;3429:182:8;3670:15;:27;-1:-1:-1;;;;;;;;3670:27:8;;;;;;3642:24;;:13;3919:7;6546:13:9;;3875:91:8;3642:13;:24;;;;:::i;:::-;:55;;3621:122;;;;-1:-1:-1;;;3621:122:8;;21226:2:11;3621:122:8;;;21208:21:11;21265:2;21245:18;;;21238:30;-1:-1:-1;;;21284:18:11;;;21277:50;21344:18;;3621:122:8;21024:344:11;3621:122:8;3768:15;:24;3754:13;:39;;-1:-1:-1;;;;;3754:65:8;;;;3768:24;;3754:39;;;;;;:::i;:::-;;;;;;;;:53;3794:12;719:10:5;;640:96;3794:12:8;-1:-1:-1;;;;;3754:53:8;-1:-1:-1;;;;;3754:53:8;;;;;;;;;;;;;:65;;;;;;;:::i;:::-;;;;-1:-1:-1;3829:33:8;;-1:-1:-1;719:10:5;3853:8:8;-1:-1:-1;;;;;3829:33:8;:9;:33::i;2270:187:0:-;2362:6;;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;;;;;2378:17:0;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;25948:697:9:-;26126:88;;-1:-1:-1;;;26126:88:9;;26106:4;;-1:-1:-1;;;;;26126:45:9;;;;;:88;;719:10:5;;26193:4:9;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:9;;;;;;;;-1:-1:-1;;26126:88:9;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:9;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:9;-1:-1:-1;;;26282:64:9;;-1:-1:-1;25948:697:9;;;;;;:::o;1153:184:6:-;1274:4;1326;1297:25;1310:5;1317:4;1297:12;:25::i;:::-;:33;;1153:184;-1:-1:-1;;;;1153:184:6:o;33423:110:9:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;:::-;33423:110;;:::o;1991:290:6:-;2074:7;2116:4;2074:7;2130:116;2154:5;:12;2150:1;:16;2130:116;;;2202:33;2212:12;2226:5;2232:1;2226:8;;;;;;;;:::i;:::-;;;;;;;2202:9;:33::i;:::-;2187:48;-1:-1:-1;2168:3:6;;;;:::i;:::-;;;;2130:116;;;-1:-1:-1;2262:12:6;1991:290;-1:-1:-1;;;1991:290:6:o;32675:669:9:-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:9;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:9;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;33279:34;32880:448;;32675:669;;;:::o;8054:147:6:-;8117:7;8147:1;8143;:5;:51;;8275:13;8366:15;;;8401:4;8394:15;;;8447:4;8431:21;;8143:51;;;-1:-1:-1;8275:13:6;8366:15;;;8401:4;8394:15;8447:4;8431:21;;;8054:147::o;27091:2902:9:-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:9;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:9;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:9;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:9;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:9;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;196:131:11;-1:-1:-1;;;;;;270:32:11;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:472::-;816:3;854:5;848:12;881:6;876:3;869:19;906:1;916:162;930:6;927:1;924:13;916:162;;;992:4;1048:13;;;1044:22;;1038:29;1020:11;;;1016:20;;1009:59;945:12;916:162;;;1096:6;1093:1;1090:13;1087:87;;;1162:1;1155:4;1146:6;1141:3;1137:16;1133:27;1126:38;1087:87;-1:-1:-1;1228:2:11;1207:15;-1:-1:-1;;1203:29:11;1194:39;;;;1235:4;1190:50;;774:472;-1:-1:-1;;774:472:11:o;1251:220::-;1400:2;1389:9;1382:21;1363:4;1420:45;1461:2;1450:9;1446:18;1438:6;1420:45;:::i;1476:180::-;1535:6;1588:2;1576:9;1567:7;1563:23;1559:32;1556:52;;;1604:1;1601;1594:12;1556:52;-1:-1:-1;1627:23:11;;1476:180;-1:-1:-1;1476:180:11:o;1869:131::-;-1:-1:-1;;;;;1944:31:11;;1934:42;;1924:70;;1990:1;1987;1980:12;2005:315;2073:6;2081;2134:2;2122:9;2113:7;2109:23;2105:32;2102:52;;;2150:1;2147;2140:12;2102:52;2189:9;2176:23;2208:31;2233:5;2208:31;:::i;:::-;2258:5;2310:2;2295:18;;;;2282:32;;-1:-1:-1;;;2005:315:11:o;2325:456::-;2402:6;2410;2418;2471:2;2459:9;2450:7;2446:23;2442:32;2439:52;;;2487:1;2484;2477:12;2439:52;2526:9;2513:23;2545:31;2570:5;2545:31;:::i;:::-;2595:5;-1:-1:-1;2652:2:11;2637:18;;2624:32;2665:33;2624:32;2665:33;:::i;:::-;2325:456;;2717:7;;-1:-1:-1;;;2771:2:11;2756:18;;;;2743:32;;2325:456::o;2786:248::-;2854:6;2862;2915:2;2903:9;2894:7;2890:23;2886:32;2883:52;;;2931:1;2928;2921:12;2883:52;-1:-1:-1;;2954:23:11;;;3024:2;3009:18;;;2996:32;;-1:-1:-1;2786:248:11:o;3318:118::-;3404:5;3397:13;3390:21;3383:5;3380:32;3370:60;;3426:1;3423;3416:12;3441:241;3497:6;3550:2;3538:9;3529:7;3525:23;3521:32;3518:52;;;3566:1;3563;3556:12;3518:52;3605:9;3592:23;3624:28;3646:5;3624:28;:::i;4305:129::-;-1:-1:-1;;;;;4383:5:11;4379:30;4372:5;4369:41;4359:69;;4424:1;4421;4414:12;4439:245;4497:6;4550:2;4538:9;4529:7;4525:23;4521:32;4518:52;;;4566:1;4563;4556:12;4518:52;4605:9;4592:23;4624:30;4648:5;4624:30;:::i;4689:261::-;4762:6;4815:2;4803:9;4794:7;4790:23;4786:32;4783:52;;;4831:1;4828;4821:12;4783:52;4870:9;4857:23;4889:31;4914:5;4889:31;:::i;4955:201::-;5048:6;5101:3;5089:9;5080:7;5076:23;5072:33;5069:53;;;5118:1;5115;5108:12;5069:53;-1:-1:-1;5141:9:11;4955:201;-1:-1:-1;4955:201:11:o;5598:367::-;5661:8;5671:6;5725:3;5718:4;5710:6;5706:17;5702:27;5692:55;;5743:1;5740;5733:12;5692:55;-1:-1:-1;5766:20:11;;-1:-1:-1;;;;;5798:30:11;;5795:50;;;5841:1;5838;5831:12;5795:50;5878:4;5870:6;5866:17;5854:29;;5938:3;5931:4;5921:6;5918:1;5914:14;5906:6;5902:27;5898:38;5895:47;5892:67;;;5955:1;5952;5945:12;5970:570;6064:6;6072;6080;6133:2;6121:9;6112:7;6108:23;6104:32;6101:52;;;6149:1;6146;6139:12;6101:52;6188:9;6175:23;6207:30;6231:5;6207:30;:::i;:::-;6256:5;-1:-1:-1;6312:2:11;6297:18;;6284:32;-1:-1:-1;;;;;6328:30:11;;6325:50;;;6371:1;6368;6361:12;6325:50;6410:70;6472:7;6463:6;6452:9;6448:22;6410:70;:::i;:::-;5970:570;;6499:8;;-1:-1:-1;6384:96:11;;-1:-1:-1;;;;5970:570:11:o;6545:382::-;6610:6;6618;6671:2;6659:9;6650:7;6646:23;6642:32;6639:52;;;6687:1;6684;6677:12;6639:52;6726:9;6713:23;6745:31;6770:5;6745:31;:::i;:::-;6795:5;-1:-1:-1;6852:2:11;6837:18;;6824:32;6865:30;6824:32;6865:30;:::i;:::-;6914:7;6904:17;;;6545:382;;;;;:::o;6932:127::-;6993:10;6988:3;6984:20;6981:1;6974:31;7024:4;7021:1;7014:15;7048:4;7045:1;7038:15;7064:1266;7159:6;7167;7175;7183;7236:3;7224:9;7215:7;7211:23;7207:33;7204:53;;;7253:1;7250;7243:12;7204:53;7292:9;7279:23;7311:31;7336:5;7311:31;:::i;:::-;7361:5;-1:-1:-1;7418:2:11;7403:18;;7390:32;7431:33;7390:32;7431:33;:::i;:::-;7483:7;-1:-1:-1;7537:2:11;7522:18;;7509:32;;-1:-1:-1;7592:2:11;7577:18;;7564:32;-1:-1:-1;;;;;7645:14:11;;;7642:34;;;7672:1;7669;7662:12;7642:34;7710:6;7699:9;7695:22;7685:32;;7755:7;7748:4;7744:2;7740:13;7736:27;7726:55;;7777:1;7774;7767:12;7726:55;7813:2;7800:16;7835:2;7831;7828:10;7825:36;;;7841:18;;:::i;:::-;7916:2;7910:9;7884:2;7970:13;;-1:-1:-1;;7966:22:11;;;7990:2;7962:31;7958:40;7946:53;;;8014:18;;;8034:22;;;8011:46;8008:72;;;8060:18;;:::i;:::-;8100:10;8096:2;8089:22;8135:2;8127:6;8120:18;8175:7;8170:2;8165;8161;8157:11;8153:20;8150:33;8147:53;;;8196:1;8193;8186:12;8147:53;8252:2;8247;8243;8239:11;8234:2;8226:6;8222:15;8209:46;8297:1;8292:2;8287;8279:6;8275:15;8271:24;8264:35;8318:6;8308:16;;;;;;;7064:1266;;;;;;;:::o;8335:592::-;8406:6;8414;8467:2;8455:9;8446:7;8442:23;8438:32;8435:52;;;8483:1;8480;8473:12;8435:52;8523:9;8510:23;-1:-1:-1;;;;;8593:2:11;8585:6;8582:14;8579:34;;;8609:1;8606;8599:12;8579:34;8647:6;8636:9;8632:22;8622:32;;8692:7;8685:4;8681:2;8677:13;8673:27;8663:55;;8714:1;8711;8704:12;8663:55;8754:2;8741:16;8780:2;8772:6;8769:14;8766:34;;;8796:1;8793;8786:12;8766:34;8841:7;8836:2;8827:6;8823:2;8819:15;8815:24;8812:37;8809:57;;;8862:1;8859;8852:12;8809:57;8893:2;8885:11;;;;;8915:6;;-1:-1:-1;8335:592:11;;-1:-1:-1;;;;8335:592:11:o;8932:388::-;9000:6;9008;9061:2;9049:9;9040:7;9036:23;9032:32;9029:52;;;9077:1;9074;9067:12;9029:52;9116:9;9103:23;9135:31;9160:5;9135:31;:::i;:::-;9185:5;-1:-1:-1;9242:2:11;9227:18;;9214:32;9255:33;9214:32;9255:33;:::i;9325:572::-;9420:6;9428;9436;9489:2;9477:9;9468:7;9464:23;9460:32;9457:52;;;9505:1;9502;9495:12;9457:52;9544:9;9531:23;9563:31;9588:5;9563:31;:::i;9902:315::-;9970:6;9978;10031:2;10019:9;10010:7;10006:23;10002:32;9999:52;;;10047:1;10044;10037:12;9999:52;10083:9;10070:23;10060:33;;10143:2;10132:9;10128:18;10115:32;10156:31;10181:5;10156:31;:::i;10222:380::-;10301:1;10297:12;;;;10344;;;10365:61;;10419:4;10411:6;10407:17;10397:27;;10365:61;10472:2;10464:6;10461:14;10441:18;10438:38;10435:161;;10518:10;10513:3;10509:20;10506:1;10499:31;10553:4;10550:1;10543:15;10581:4;10578:1;10571:15;10963:127;11024:10;11019:3;11015:20;11012:1;11005:31;11055:4;11052:1;11045:15;11079:4;11076:1;11069:15;11095:168;11135:7;11201:1;11197;11193:6;11189:14;11186:1;11183:21;11178:1;11171:9;11164:17;11160:45;11157:71;;;11208:18;;:::i;:::-;-1:-1:-1;11248:9:11;;11095:168::o;11268:217::-;11308:1;11334;11324:132;;11378:10;11373:3;11369:20;11366:1;11359:31;11413:4;11410:1;11403:15;11441:4;11438:1;11431:15;11324:132;-1:-1:-1;11470:9:11;;11268:217::o;11490:356::-;11692:2;11674:21;;;11711:18;;;11704:30;11770:34;11765:2;11750:18;;11743:62;11837:2;11822:18;;11490:356::o;11851:355::-;12053:2;12035:21;;;12092:2;12072:18;;;12065:30;12131:33;12126:2;12111:18;;12104:61;12197:2;12182:18;;11851:355::o;13537:184::-;13607:6;13660:2;13648:9;13639:7;13635:23;13631:32;13628:52;;;13676:1;13673;13666:12;13628:52;-1:-1:-1;13699:16:11;;13537:184;-1:-1:-1;13537:184:11:o;13726:245::-;13793:6;13846:2;13834:9;13825:7;13821:23;13817:32;13814:52;;;13862:1;13859;13852:12;13814:52;13894:9;13888:16;13913:28;13935:5;13913:28;:::i;14393:401::-;14595:2;14577:21;;;14634:2;14614:18;;;14607:30;14673:34;14668:2;14653:18;;14646:62;-1:-1:-1;;;14739:2:11;14724:18;;14717:35;14784:3;14769:19;;14393:401::o;14799:170::-;14841:11;14893:3;14880:17;14906:28;14928:5;14906:28;:::i;15390:1126::-;15569:5;15556:19;15584:32;15608:7;15584:32;:::i;:::-;-1:-1:-1;;;;;15639:7:11;15635:32;15625:42;;15692:4;15686:11;15756:2;-1:-1:-1;;;;;15730:23:11;15726:2;15722:32;15719:40;15713:4;15706:54;15808:2;15801:5;15797:14;15784:28;15821:32;15845:7;15821:32;:::i;:::-;15894:34;15880:2;15876:16;;;15872:57;-1:-1:-1;;15957:48:11;;15954:56;;15951:64;;15938:78;;15872:57;16053:14;;16040:28;16077:32;16040:28;16077:32;:::i;:::-;-1:-1:-1;;;;;;16144:37:11;;;;16141:45;;;16134:53;;;;16216:3;16193:17;;;;-1:-1:-1;;;16189:52:11;16131:111;16118:125;;16252:89;16300:40;16336:2;16325:14;;16300:40;:::i;:::-;16294:4;15062:11;;-1:-1:-1;;;;15098:27:11;15147:13;;15140:21;15168:3;15131:31;-1:-1:-1;;;15127:51:11;15095:84;;;;15082:98;;14974:212;16252:89;16395:3;16388:5;16384:15;16371:29;16367:1;16361:4;16357:12;16350:51;16410:100;16468:41;16504:3;16497:5;16493:15;16468:41;:::i;:::-;16464:1;16458:4;16454:12;15307:3;15303:8;15296:4;15290:11;15286:26;15373:3;15364:5;15357:13;15350:21;15346:31;15337:7;15334:44;15328:4;15321:58;;15191:194;;;16521:1054;16721:3;16706:19;;16747:20;;16776:30;16747:20;16776:30;:::i;:::-;-1:-1:-1;;;;;16870:14:11;;;16852:33;;16934:4;16922:17;;16909:31;;16949:32;16909:31;16949:32;:::i;:::-;17019:16;;;17012:4;16997:20;;16990:46;17085:4;17073:17;;17060:31;;17100:32;17060:31;17100:32;:::i;:::-;17170:16;17163:4;17148:20;;17141:46;17236:4;17224:17;;17211:31;17251:30;17211:31;17251:30;:::i;:::-;17326:15;17319:23;17312:4;17297:20;;17290:53;17406:4;17394:17;;;17381:31;17359:20;;;17352:61;17462:4;17450:17;;17437:31;17477:30;17437:31;17477:30;:::i;:::-;17559:7;17552:15;17545:23;17538:4;17527:9;17523:20;17516:53;;16521:1054;;;;:::o;20408:127::-;20469:10;20464:3;20460:20;20457:1;20450:31;20500:4;20497:1;20490:15;20524:4;20521:1;20514:15;20540:128;20580:3;20611:1;20607:6;20604:1;20601:13;20598:39;;;20617:18;;:::i;:::-;-1:-1:-1;20653:9:11;;20540:128::o;21373:489::-;-1:-1:-1;;;;;21642:15:11;;;21624:34;;21694:15;;21689:2;21674:18;;21667:43;21741:2;21726:18;;21719:34;;;21789:3;21784:2;21769:18;;21762:31;;;21567:4;;21810:46;;21836:19;;21828:6;21810:46;:::i;:::-;21802:54;21373:489;-1:-1:-1;;;;;;21373:489:11:o;21867:249::-;21936:6;21989:2;21977:9;21968:7;21964:23;21960:32;21957:52;;;22005:1;22002;21995:12;21957:52;22037:9;22031:16;22056:30;22080:5;22056:30;:::i;22121:135::-;22160:3;22181:17;;;22178:43;;22201:18;;:::i;:::-;-1:-1:-1;22248:1:11;22237:13;;22121:135::o
Swarm Source
ipfs://dec3e4bae465be42af928ca321efdb1059803ac57cdd6df4593af82dbb596bb1
Loading...
Loading
Loading...
Loading
[ 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.