Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
591 BULLA
Holders
23
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
50 BULLALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bullabera
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Multiple files format)
//SPDX-License-Identifier: MIT // ββ ββ // ββββββ ββββββ // ββββββ ββββββ // ββ ββ ββ ββ // ββ ββββββββββββββββββββββββββββββββββββββββββββββββ ββ // ββ ββββββββββββββββββββββββββββββββ ββ // ββ ββββββββββββββββββββββββββββββββ ββ // ββ ββββββββββββββββββββββββββββββββ ββ // ββββββββββββββββββββββββββββββββββββββββββββββββ // ββββββββββββββββββββββββββββββββββββββββββββββββ // ββββββββββββββββββββββββββββββββββββββββββββββββββββ // ββββββββββββββββββββββββββββββββββββββββββββββββ // ββββ ββ ββββββββββββββββββββββββ ββ ββββ // ββββ ββββββββββββββββββββ ββββ // ββββββββββββββββββββββββββββ // ββββββββββββββββββββββββββββ // ββββββββββββββββββββββββ // ββββββββββββββββββββββββ // ββββββββββββββββββββββ // ββββββββββββββββββββββ // ββββββββββββββββββ // ββββββββββββββββββ // ββββββββββββββββββ // ββββββββββββββ pragma solidity ^0.8.17; import "./Ownable.sol"; import "./MerkleProof.sol"; import "./ERC721AQueryable.sol"; import "./DefaultOperatorFilterer.sol"; import "./ReentrancyGuard.sol"; contract Bullabera is ERC721A("Bullabera", "BULLA"), ERC721AQueryable, Ownable, DefaultOperatorFilterer, ReentrancyGuard { enum ContractStatus { disable, publicmint, whitelistmint } // ------------------------------------------------------------------------ // * Storage // ------------------------------------------------------------------------ uint256 public PRICE = 0.0005 ether; uint256 public MAX_SUPPLY = 50000; uint256 public MAX_WL_FREE_PER_WALLET = 5; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public MAX_TX_PER_WALLET = 50; ContractStatus public CONTRACT_STATUS = ContractStatus.disable; string internal baseURI = ""; bytes32 public root; // ------------------------------------------------------------------------ // * Modifiers // ------------------------------------------------------------------------ modifier isEthAvailable(uint256 quantity, uint256 phase) { require( msg.value >= getSalePrice(msg.sender, quantity, phase), "Insufficient funds" ); _; } modifier isMaxTxReached(uint256 quantity) { require( _numberMinted(msg.sender) + quantity <= MAX_TX_PER_WALLET, "Exceeded transaction limit" ); _; } modifier isSupplyUnavailable(uint256 quantity) { require(totalSupply() + quantity <= MAX_SUPPLY, "Out of stock"); _; } modifier isUser() { require(tx.origin == msg.sender, "Invalid User"); _; } function isValid( bytes32[] memory proof, bytes32 leaf ) public view returns (bool) { return MerkleProof.verify(proof, root, leaf); } function getSalePrice( address sender, uint256 quantity, uint256 phase ) private view returns (uint256 COST) { int256 FREE; if (phase == 0) { FREE = int256(MAX_FREE_PER_WALLET); } else { FREE = int256(MAX_WL_FREE_PER_WALLET); } int256 INT_FREE_QUOTA = FREE - int256(_numberMinted(sender)); int256 INT_COST; if (INT_FREE_QUOTA > 0) { if (int256(quantity) < INT_FREE_QUOTA) { INT_COST = 0; } else { INT_COST = int256(PRICE) * (int256(quantity) - INT_FREE_QUOTA); } } else { INT_COST = int256(PRICE) * (int256(quantity)); } COST = uint256(INT_COST); } // ------------------------------------------------------------------------ // * Frontend view helpers // ------------------------------------------------------------------------ function getTotalSupplyLeft() public view returns (uint256) { return MAX_SUPPLY - totalSupply(); } function getTotalMinted(address addr) public view returns (uint256) { return _numberMinted(addr); } // ------------------------------------------------------------------------ // * Mint // ------------------------------------------------------------------------ function mint( uint256 quantity ) public payable virtual nonReentrant isUser isSupplyUnavailable(quantity) isMaxTxReached(quantity) isEthAvailable(quantity, 0) { require( CONTRACT_STATUS == ContractStatus.publicmint, "Contract is not open for Public Mint" ); _mint(msg.sender, quantity); } function whitelistMint( uint256 quantity, bytes32[] memory proof ) public payable virtual nonReentrant isUser isSupplyUnavailable(quantity) isMaxTxReached(quantity) isEthAvailable(quantity, 1) { require( CONTRACT_STATUS != ContractStatus.disable, "Contract is not open for Whitelist Mint" ); require( isValid(proof, keccak256(abi.encodePacked(msg.sender))), "Not a part of Whitelist" ); _mint(msg.sender, quantity); } // ------------------------------------------------------------------------ // * Admin Functions // ------------------------------------------------------------------------ function internalMint( uint256 quantity ) public virtual onlyOwner nonReentrant isUser isSupplyUnavailable(quantity) { _mint(msg.sender, quantity); } function setBaseURI(string memory newURI) external virtual onlyOwner { baseURI = newURI; } function setStatus(ContractStatus status) external onlyOwner { CONTRACT_STATUS = status; } function setMerkleRoot(bytes32 newRoot) external onlyOwner { root = newRoot; } function setPrice(uint newPrice) external onlyOwner { PRICE = newPrice; } function setSupply(uint newSupply) external onlyOwner { MAX_SUPPLY = newSupply; } function setMaxPerWallet(uint newMaxPerWallet) external onlyOwner { MAX_TX_PER_WALLET = newMaxPerWallet; } function setMaxWLFreePerWallet(uint newMaxWLFreePerWallet) external onlyOwner { MAX_WL_FREE_PER_WALLET = newMaxWLFreePerWallet; } function setMaxFreePerWallet(uint newMaxFreePerWallet) external onlyOwner { MAX_FREE_PER_WALLET = newMaxFreePerWallet; } function withdrawAll() external onlyOwner nonReentrant isUser { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } // ------------------------------------------------------------------------ // * Operator Filterer Overrides // ------------------------------------------------------------------------ function transferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } // ------------------------------------------------------------------------ // * Internal Overrides // ------------------------------------------------------------------------ function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import './ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * 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. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ 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 simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _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} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _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 sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _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}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _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 pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRACT_STATUS","outputs":[{"internalType":"enum Bullabera.ContractStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","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":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","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":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxFreePerWallet","type":"uint256"}],"name":"setMaxFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxWLFreePerWallet","type":"uint256"}],"name":"setMaxWLFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Bullabera.ContractStatus","name":"status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","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":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6601c6bf52634000600a5561c350600b556005600c556001600d556032600e55600f805460ff1916905560a06040526000608090815260109062000044908262000326565b503480156200005257600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600981526020016842756c6c616265726160b81b8152506040518060400160405280600581526020016442554c4c4160d81b8152508160029081620000bb919062000326565b506003620000ca828262000326565b5050600160005550620000dd336200022f565b6daaeb6d7670e522a718067333cd4e3b15620002225780156200017057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015157600080fd5b505af115801562000166573d6000803e3d6000fd5b5050505062000222565b6001600160a01b03821615620001c15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000136565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020857600080fd5b505af11580156200021d573d6000803e3d6000fd5b505050505b50506001600955620003f2565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ac57607f821691505b602082108103620002cd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032157600081815260208120601f850160051c81016020861015620002fc5750805b601f850160051c820191505b818110156200031d5782815560010162000308565b5050505b505050565b81516001600160401b0381111562000342576200034262000281565b6200035a8162000353845462000297565b84620002d3565b602080601f831160018114620003925760008415620003795750858301515b600019600386901b1c1916600185901b1785556200031d565b600085815260208120601f198616915b82811015620003c357888601518255948401946001909101908401620003a2565b5085821015620003e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61275e80620004026000396000f3fe6080604052600436106102675760003560e01c80638da5cb5b11610144578063b8a20ed0116100b6578063defcbacb1161007a578063defcbacb146106f7578063e268e4d31461070c578063e985e9c51461072c578063ebf0c71714610775578063ef3f05dc1461078b578063f2fde38b146107a157600080fd5b8063b8a20ed014610650578063bf7b779c14610670578063c23dc68f14610697578063c87b56dd146106c4578063d2cab056146106e457600080fd5b806399a2557a1161010857806399a2557a146105aa5780639a9c1bb1146105ca578063a0712d68146105ea578063a22cb465146105fd578063acd0d9a61461061d578063b88d4fde1461063d57600080fd5b80638da5cb5b1461052b57806391b7f5ed1461054957806395d89b4114610569578063975e840e1461057e57806398710d1e1461059457600080fd5b806342842e0e116101dd57806370a08231116101a157806370a082311461047e578063715018a61461049e5780637cb64759146104b35780638462151c146104d3578063853828b6146105005780638d859f3e1461051557600080fd5b806342842e0e146103de57806355f804b3146103f15780635bbb2177146104115780636352211e1461043e5780636d7c4a4b1461045e57600080fd5b806323b872dd1161022f57806323b872dd146103335780632e49d78b1461034657806332cb6b0c146103665780633b4c4b251461037c5780633d75cacf1461039c57806341f43434146103bc57600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb57806318160ddd14610310575b600080fd5b34801561027857600080fd5b5061028c610287366004611e5e565b6107c1565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610813565b6040516102989190611ecb565b3480156102cf57600080fd5b506102e36102de366004611ede565b6108a5565b6040516001600160a01b039091168152602001610298565b61030e610309366004611f13565b6108e9565b005b34801561031c57600080fd5b50610325610989565b604051908152602001610298565b61030e610341366004611f3d565b610997565b34801561035257600080fd5b5061030e610361366004611f79565b6109c2565b34801561037257600080fd5b50610325600b5481565b34801561038857600080fd5b5061030e610397366004611ede565b6109f1565b3480156103a857600080fd5b5061030e6103b7366004611ede565b6109fe565b3480156103c857600080fd5b506102e36daaeb6d7670e522a718067333cd4e81565b61030e6103ec366004611f3d565b610a0b565b3480156103fd57600080fd5b5061030e61040c366004612037565b610a30565b34801561041d57600080fd5b5061043161042c36600461207f565b610a48565b604051610298919061212f565b34801561044a57600080fd5b506102e3610459366004611ede565b610b13565b34801561046a57600080fd5b5061030e610479366004611ede565b610b1e565b34801561048a57600080fd5b50610325610499366004612171565b610b2b565b3480156104aa57600080fd5b5061030e610b79565b3480156104bf57600080fd5b5061030e6104ce366004611ede565b610b8d565b3480156104df57600080fd5b506104f36104ee366004612171565b610b9a565b604051610298919061218c565b34801561050c57600080fd5b5061030e610ca2565b34801561052157600080fd5b50610325600a5481565b34801561053757600080fd5b506008546001600160a01b03166102e3565b34801561055557600080fd5b5061030e610564366004611ede565b610d70565b34801561057557600080fd5b506102b6610d7d565b34801561058a57600080fd5b50610325600e5481565b3480156105a057600080fd5b50610325600d5481565b3480156105b657600080fd5b506104f36105c53660046121c4565b610d8c565b3480156105d657600080fd5b506103256105e5366004612171565b610f13565b61030e6105f8366004611ede565b610f1e565b34801561060957600080fd5b5061030e610618366004612205565b6110bf565b34801561062957600080fd5b5061030e610638366004611ede565b61112b565b61030e61064b36600461223c565b6111a4565b34801561065c57600080fd5b5061028c61066b366004612336565b6111d1565b34801561067c57600080fd5b50600f5461068a9060ff1681565b6040516102989190612390565b3480156106a357600080fd5b506106b76106b2366004611ede565b6111e0565b60405161029891906123b8565b3480156106d057600080fd5b506102b66106df366004611ede565b611268565b61030e6106f23660046123c6565b6112eb565b34801561070357600080fd5b50610325611518565b34801561071857600080fd5b5061030e610727366004611ede565b611534565b34801561073857600080fd5b5061028c61074736600461240c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561078157600080fd5b5061032560115481565b34801561079757600080fd5b50610325600c5481565b3480156107ad57600080fd5b5061030e6107bc366004612171565b611541565b60006301ffc9a760e01b6001600160e01b0319831614806107f257506380ac58cd60e01b6001600160e01b03198316145b8061080d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108229061243f565b80601f016020809104026020016040519081016040528092919081815260200182805461084e9061243f565b801561089b5780601f106108705761010080835404028352916020019161089b565b820191906000526020600020905b81548152906001019060200180831161087e57829003601f168201915b5050505050905090565b60006108b0826115b7565b6108cd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108f482610b13565b9050336001600160a01b0382161461092d576109108133610747565b61092d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b826001600160a01b03811633146109b1576109b1336115ec565b6109bc8484846116a5565b50505050565b6109ca61183e565b600f805482919060ff191660018360028111156109e9576109e961237a565b021790555050565b6109f961183e565b600b55565b610a0661183e565b600c55565b826001600160a01b0381163314610a2557610a25336115ec565b6109bc848484611898565b610a3861183e565b6010610a4482826124bf565b5050565b6060816000816001600160401b03811115610a6557610a65611f9a565b604051908082528060200260200182016040528015610ab757816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a835790505b50905060005b828114610b0a57610ae5868683818110610ad957610ad961257e565b905060200201356111e0565b828281518110610af757610af761257e565b6020908102919091010152600101610abd565b50949350505050565b600061080d826118b8565b610b2661183e565b600d55565b60006001600160a01b038216610b54576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610b8161183e565b610b8b6000611927565b565b610b9561183e565b601155565b60606000806000610baa85610b2b565b90506000816001600160401b03811115610bc657610bc6611f9a565b604051908082528060200260200182016040528015610bef578160200160208202803683370190505b509050610c1c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c9657610c2f81611979565b91508160400151610c8e5781516001600160a01b031615610c4f57815194505b876001600160a01b0316856001600160a01b031603610c8e5780838780600101985081518110610c8157610c8161257e565b6020026020010181815250505b600101610c1f565b50909695505050505050565b610caa61183e565b610cb26119b5565b323314610cda5760405162461bcd60e51b8152600401610cd190612594565b60405180910390fd5b604051600090339047908381818185875af1925050503d8060008114610d1c576040519150601f19603f3d011682016040523d82523d6000602084013e610d21565b606091505b5050905080610d655760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610cd1565b50610b8b6001600955565b610d7861183e565b600a55565b6060600380546108229061243f565b6060818310610dae57604051631960ccad60e11b815260040160405180910390fd5b600080610dba60005490565b90506001851015610dca57600194505b80841115610dd6578093505b6000610de187610b2b565b905084861015610e005785850381811015610dfa578091505b50610e04565b5060005b6000816001600160401b03811115610e1e57610e1e611f9a565b604051908082528060200260200182016040528015610e47578160200160208202803683370190505b50905081600003610e5d579350610f0c92505050565b6000610e68886111e0565b905060008160400151610e79575080515b885b888114158015610e8b5750848714155b15610f0057610e9981611979565b92508260400151610ef85782516001600160a01b031615610eb957825191505b8a6001600160a01b0316826001600160a01b031603610ef85780848880600101995081518110610eeb57610eeb61257e565b6020026020010181815250505b600101610e7b565b50505092835250909150505b9392505050565b600061080d82611a0e565b610f266119b5565b323314610f455760405162461bcd60e51b8152600401610cd190612594565b80600b5481610f52610989565b610f5c91906125d0565b1115610f7a5760405162461bcd60e51b8152600401610cd1906125e3565b81600e5481610f8833611a0e565b610f9291906125d0565b1115610fe05760405162461bcd60e51b815260206004820152601a60248201527f4578636565646564207472616e73616374696f6e206c696d69740000000000006044820152606401610cd1565b826000610fee338383611a36565b3410156110325760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610cd1565b6001600f5460ff16600281111561104b5761104b61237a565b146110a45760405162461bcd60e51b8152602060048201526024808201527f436f6e7472616374206973206e6f74206f70656e20666f72205075626c696320604482015263135a5b9d60e21b6064820152608401610cd1565b6110ae3386611ab9565b505050506110bc6001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61113361183e565b61113b6119b5565b32331461115a5760405162461bcd60e51b8152600401610cd190612594565b80600b5481611167610989565b61117191906125d0565b111561118f5760405162461bcd60e51b8152600401610cd1906125e3565b6111993383611ab9565b506110bc6001600955565b836001600160a01b03811633146111be576111be336115ec565b6111ca85858585611bb7565b5050505050565b6000610f0c8360115484611bfb565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061123957506000548310155b156112445792915050565b61124d83611979565b905080604001511561125f5792915050565b610f0c83611c11565b6060611273826115b7565b61129057604051630a14c4b560e41b815260040160405180910390fd5b600061129a611c46565b905080516000036112ba5760405180602001604052806000815250610f0c565b806112c484611c55565b6040516020016112d5929190612609565b6040516020818303038152906040529392505050565b6112f36119b5565b3233146113125760405162461bcd60e51b8152600401610cd190612594565b81600b548161131f610989565b61132991906125d0565b11156113475760405162461bcd60e51b8152600401610cd1906125e3565b82600e548161135533611a0e565b61135f91906125d0565b11156113ad5760405162461bcd60e51b815260206004820152601a60248201527f4578636565646564207472616e73616374696f6e206c696d69740000000000006044820152606401610cd1565b8360016113bb338383611a36565b3410156113ff5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610cd1565b6000600f5460ff1660028111156114185761141861237a565b036114755760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f74206f70656e20666f722057686974656c696044820152661cdd08135a5b9d60ca1b6064820152608401610cd1565b6040516bffffffffffffffffffffffff193360601b1660208201526114b4908690603401604051602081830303815290604052805190602001206111d1565b6115005760405162461bcd60e51b815260206004820152601760248201527f4e6f7420612070617274206f662057686974656c6973740000000000000000006044820152606401610cd1565b61150a3387611ab9565b50505050610a446001600955565b6000611522610989565b600b5461152f9190612638565b905090565b61153c61183e565b600e55565b61154961183e565b6001600160a01b0381166115ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cd1565b6110bc81611927565b6000816001111580156115cb575060005482105b801561080d575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156110bc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611659573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167d919061264b565b6110bc57604051633b79c77360e21b81526001600160a01b0382166004820152602401610cd1565b60006116b0826118b8565b9050836001600160a01b0316816001600160a01b0316146116e35760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611730576117138633610747565b61173057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661175757604051633a954ecd60e21b815260040160405180910390fd5b801561176257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036117f4576001840160008181526004602052604081205490036117f25760005481146117f25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd1565b6118b3838383604051806020016040528060008152506111a4565b505050565b6000818060011161190e5760005481101561190e5760008181526004602052604081205490600160e01b8216900361190c575b80600003610f0c5750600019016000818152600460205260409020546118eb565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461080d90611c99565b600260095403611a075760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd1565b6002600955565b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b60008082600003611a4a5750600d54611a4f565b50600c545b6000611a5a86611a0e565b611a649083612668565b9050600080821315611a9e5781861215611a8057506000611aaf565b611a8a8287612668565b600a54611a97919061268f565b9050611aaf565b85600a54611aac919061268f565b90505b9695505050505050565b6000805490829003611ade5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b8d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b55565b5081600003611bae57604051622e076360e81b815260040160405180910390fd5b60005550505050565b611bc2848484610997565b6001600160a01b0383163b156109bc57611bde84848484611ce0565b6109bc576040516368d2bf6b60e11b815260040160405180910390fd5b600082611c088584611dcc565b14949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261080d611c41836118b8565b611c99565b6060601080546108229061243f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611c6f5750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d159033908990889088906004016126bf565b6020604051808303816000875af1925050508015611d50575060408051601f3d908101601f19168201909252611d4d918101906126f2565b60015b611dae573d808015611d7e576040519150601f19603f3d011682016040523d82523d6000602084013e611d83565b606091505b508051600003611da6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600081815b8451811015611e1157611dfd82868381518110611df057611df061257e565b6020026020010151611e19565b915080611e098161270f565b915050611dd1565b509392505050565b6000818310611e35576000828152602084905260409020610f0c565b6000838152602083905260409020610f0c565b6001600160e01b0319811681146110bc57600080fd5b600060208284031215611e7057600080fd5b8135610f0c81611e48565b60005b83811015611e96578181015183820152602001611e7e565b50506000910152565b60008151808452611eb7816020860160208601611e7b565b601f01601f19169290920160200192915050565b602081526000610f0c6020830184611e9f565b600060208284031215611ef057600080fd5b5035919050565b80356001600160a01b0381168114611f0e57600080fd5b919050565b60008060408385031215611f2657600080fd5b611f2f83611ef7565b946020939093013593505050565b600080600060608486031215611f5257600080fd5b611f5b84611ef7565b9250611f6960208501611ef7565b9150604084013590509250925092565b600060208284031215611f8b57600080fd5b813560038110610f0c57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611fd857611fd8611f9a565b604052919050565b60006001600160401b03831115611ff957611ff9611f9a565b61200c601f8401601f1916602001611fb0565b905082815283838301111561202057600080fd5b828260208301376000602084830101529392505050565b60006020828403121561204957600080fd5b81356001600160401b0381111561205f57600080fd5b8201601f8101841361207057600080fd5b611dc484823560208401611fe0565b6000806020838503121561209257600080fd5b82356001600160401b03808211156120a957600080fd5b818501915085601f8301126120bd57600080fd5b8135818111156120cc57600080fd5b8660208260051b85010111156120e157600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c965761215e8385516120f3565b928401926080929092019160010161214b565b60006020828403121561218357600080fd5b610f0c82611ef7565b6020808252825182820181905260009190848201906040850190845b81811015610c96578351835292840192918401916001016121a8565b6000806000606084860312156121d957600080fd5b6121e284611ef7565b95602085013595506040909401359392505050565b80151581146110bc57600080fd5b6000806040838503121561221857600080fd5b61222183611ef7565b91506020830135612231816121f7565b809150509250929050565b6000806000806080858703121561225257600080fd5b61225b85611ef7565b935061226960208601611ef7565b92506040850135915060608501356001600160401b0381111561228b57600080fd5b8501601f8101871361229c57600080fd5b6122ab87823560208401611fe0565b91505092959194509250565b600082601f8301126122c857600080fd5b813560206001600160401b038211156122e3576122e3611f9a565b8160051b6122f2828201611fb0565b928352848101820192828101908785111561230c57600080fd5b83870192505b8483101561232b57823582529183019190830190612312565b979650505050505050565b6000806040838503121561234957600080fd5b82356001600160401b0381111561235f57600080fd5b61236b858286016122b7565b95602094909401359450505050565b634e487b7160e01b600052602160045260246000fd5b60208101600383106123b257634e487b7160e01b600052602160045260246000fd5b91905290565b6080810161080d82846120f3565b600080604083850312156123d957600080fd5b8235915060208301356001600160401b038111156123f657600080fd5b612402858286016122b7565b9150509250929050565b6000806040838503121561241f57600080fd5b61242883611ef7565b915061243660208401611ef7565b90509250929050565b600181811c9082168061245357607f821691505b60208210810361247357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156118b357600081815260208120601f850160051c810160208610156124a05750805b601f850160051c820191505b81811015611836578281556001016124ac565b81516001600160401b038111156124d8576124d8611f9a565b6124ec816124e6845461243f565b84612479565b602080601f83116001811461252157600084156125095750858301515b600019600386901b1c1916600185901b178555611836565b600085815260208120601f198616915b8281101561255057888601518255948401946001909101908401612531565b508582101561256e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561080d5761080d6125ba565b6020808252600c908201526b4f7574206f662073746f636b60a01b604082015260600190565b6000835161261b818460208801611e7b565b83519083019061262f818360208801611e7b565b01949350505050565b8181038181111561080d5761080d6125ba565b60006020828403121561265d57600080fd5b8151610f0c816121f7565b8181036000831280158383131683831282161715612688576126886125ba565b5092915050565b80820260008212600160ff1b841416156126ab576126ab6125ba565b818105831482151761080d5761080d6125ba565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611aaf90830184611e9f565b60006020828403121561270457600080fd5b8151610f0c81611e48565b600060018201612721576127216125ba565b506001019056fea264697066735822122066b11f38da7fbf824b6b3006b6ee288c4451b7706077b4ee2072e9ffff9f887e64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102675760003560e01c80638da5cb5b11610144578063b8a20ed0116100b6578063defcbacb1161007a578063defcbacb146106f7578063e268e4d31461070c578063e985e9c51461072c578063ebf0c71714610775578063ef3f05dc1461078b578063f2fde38b146107a157600080fd5b8063b8a20ed014610650578063bf7b779c14610670578063c23dc68f14610697578063c87b56dd146106c4578063d2cab056146106e457600080fd5b806399a2557a1161010857806399a2557a146105aa5780639a9c1bb1146105ca578063a0712d68146105ea578063a22cb465146105fd578063acd0d9a61461061d578063b88d4fde1461063d57600080fd5b80638da5cb5b1461052b57806391b7f5ed1461054957806395d89b4114610569578063975e840e1461057e57806398710d1e1461059457600080fd5b806342842e0e116101dd57806370a08231116101a157806370a082311461047e578063715018a61461049e5780637cb64759146104b35780638462151c146104d3578063853828b6146105005780638d859f3e1461051557600080fd5b806342842e0e146103de57806355f804b3146103f15780635bbb2177146104115780636352211e1461043e5780636d7c4a4b1461045e57600080fd5b806323b872dd1161022f57806323b872dd146103335780632e49d78b1461034657806332cb6b0c146103665780633b4c4b251461037c5780633d75cacf1461039c57806341f43434146103bc57600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb57806318160ddd14610310575b600080fd5b34801561027857600080fd5b5061028c610287366004611e5e565b6107c1565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610813565b6040516102989190611ecb565b3480156102cf57600080fd5b506102e36102de366004611ede565b6108a5565b6040516001600160a01b039091168152602001610298565b61030e610309366004611f13565b6108e9565b005b34801561031c57600080fd5b50610325610989565b604051908152602001610298565b61030e610341366004611f3d565b610997565b34801561035257600080fd5b5061030e610361366004611f79565b6109c2565b34801561037257600080fd5b50610325600b5481565b34801561038857600080fd5b5061030e610397366004611ede565b6109f1565b3480156103a857600080fd5b5061030e6103b7366004611ede565b6109fe565b3480156103c857600080fd5b506102e36daaeb6d7670e522a718067333cd4e81565b61030e6103ec366004611f3d565b610a0b565b3480156103fd57600080fd5b5061030e61040c366004612037565b610a30565b34801561041d57600080fd5b5061043161042c36600461207f565b610a48565b604051610298919061212f565b34801561044a57600080fd5b506102e3610459366004611ede565b610b13565b34801561046a57600080fd5b5061030e610479366004611ede565b610b1e565b34801561048a57600080fd5b50610325610499366004612171565b610b2b565b3480156104aa57600080fd5b5061030e610b79565b3480156104bf57600080fd5b5061030e6104ce366004611ede565b610b8d565b3480156104df57600080fd5b506104f36104ee366004612171565b610b9a565b604051610298919061218c565b34801561050c57600080fd5b5061030e610ca2565b34801561052157600080fd5b50610325600a5481565b34801561053757600080fd5b506008546001600160a01b03166102e3565b34801561055557600080fd5b5061030e610564366004611ede565b610d70565b34801561057557600080fd5b506102b6610d7d565b34801561058a57600080fd5b50610325600e5481565b3480156105a057600080fd5b50610325600d5481565b3480156105b657600080fd5b506104f36105c53660046121c4565b610d8c565b3480156105d657600080fd5b506103256105e5366004612171565b610f13565b61030e6105f8366004611ede565b610f1e565b34801561060957600080fd5b5061030e610618366004612205565b6110bf565b34801561062957600080fd5b5061030e610638366004611ede565b61112b565b61030e61064b36600461223c565b6111a4565b34801561065c57600080fd5b5061028c61066b366004612336565b6111d1565b34801561067c57600080fd5b50600f5461068a9060ff1681565b6040516102989190612390565b3480156106a357600080fd5b506106b76106b2366004611ede565b6111e0565b60405161029891906123b8565b3480156106d057600080fd5b506102b66106df366004611ede565b611268565b61030e6106f23660046123c6565b6112eb565b34801561070357600080fd5b50610325611518565b34801561071857600080fd5b5061030e610727366004611ede565b611534565b34801561073857600080fd5b5061028c61074736600461240c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561078157600080fd5b5061032560115481565b34801561079757600080fd5b50610325600c5481565b3480156107ad57600080fd5b5061030e6107bc366004612171565b611541565b60006301ffc9a760e01b6001600160e01b0319831614806107f257506380ac58cd60e01b6001600160e01b03198316145b8061080d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108229061243f565b80601f016020809104026020016040519081016040528092919081815260200182805461084e9061243f565b801561089b5780601f106108705761010080835404028352916020019161089b565b820191906000526020600020905b81548152906001019060200180831161087e57829003601f168201915b5050505050905090565b60006108b0826115b7565b6108cd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108f482610b13565b9050336001600160a01b0382161461092d576109108133610747565b61092d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600154600054036000190190565b826001600160a01b03811633146109b1576109b1336115ec565b6109bc8484846116a5565b50505050565b6109ca61183e565b600f805482919060ff191660018360028111156109e9576109e961237a565b021790555050565b6109f961183e565b600b55565b610a0661183e565b600c55565b826001600160a01b0381163314610a2557610a25336115ec565b6109bc848484611898565b610a3861183e565b6010610a4482826124bf565b5050565b6060816000816001600160401b03811115610a6557610a65611f9a565b604051908082528060200260200182016040528015610ab757816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a835790505b50905060005b828114610b0a57610ae5868683818110610ad957610ad961257e565b905060200201356111e0565b828281518110610af757610af761257e565b6020908102919091010152600101610abd565b50949350505050565b600061080d826118b8565b610b2661183e565b600d55565b60006001600160a01b038216610b54576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610b8161183e565b610b8b6000611927565b565b610b9561183e565b601155565b60606000806000610baa85610b2b565b90506000816001600160401b03811115610bc657610bc6611f9a565b604051908082528060200260200182016040528015610bef578160200160208202803683370190505b509050610c1c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c9657610c2f81611979565b91508160400151610c8e5781516001600160a01b031615610c4f57815194505b876001600160a01b0316856001600160a01b031603610c8e5780838780600101985081518110610c8157610c8161257e565b6020026020010181815250505b600101610c1f565b50909695505050505050565b610caa61183e565b610cb26119b5565b323314610cda5760405162461bcd60e51b8152600401610cd190612594565b60405180910390fd5b604051600090339047908381818185875af1925050503d8060008114610d1c576040519150601f19603f3d011682016040523d82523d6000602084013e610d21565b606091505b5050905080610d655760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610cd1565b50610b8b6001600955565b610d7861183e565b600a55565b6060600380546108229061243f565b6060818310610dae57604051631960ccad60e11b815260040160405180910390fd5b600080610dba60005490565b90506001851015610dca57600194505b80841115610dd6578093505b6000610de187610b2b565b905084861015610e005785850381811015610dfa578091505b50610e04565b5060005b6000816001600160401b03811115610e1e57610e1e611f9a565b604051908082528060200260200182016040528015610e47578160200160208202803683370190505b50905081600003610e5d579350610f0c92505050565b6000610e68886111e0565b905060008160400151610e79575080515b885b888114158015610e8b5750848714155b15610f0057610e9981611979565b92508260400151610ef85782516001600160a01b031615610eb957825191505b8a6001600160a01b0316826001600160a01b031603610ef85780848880600101995081518110610eeb57610eeb61257e565b6020026020010181815250505b600101610e7b565b50505092835250909150505b9392505050565b600061080d82611a0e565b610f266119b5565b323314610f455760405162461bcd60e51b8152600401610cd190612594565b80600b5481610f52610989565b610f5c91906125d0565b1115610f7a5760405162461bcd60e51b8152600401610cd1906125e3565b81600e5481610f8833611a0e565b610f9291906125d0565b1115610fe05760405162461bcd60e51b815260206004820152601a60248201527f4578636565646564207472616e73616374696f6e206c696d69740000000000006044820152606401610cd1565b826000610fee338383611a36565b3410156110325760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610cd1565b6001600f5460ff16600281111561104b5761104b61237a565b146110a45760405162461bcd60e51b8152602060048201526024808201527f436f6e7472616374206973206e6f74206f70656e20666f72205075626c696320604482015263135a5b9d60e21b6064820152608401610cd1565b6110ae3386611ab9565b505050506110bc6001600955565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61113361183e565b61113b6119b5565b32331461115a5760405162461bcd60e51b8152600401610cd190612594565b80600b5481611167610989565b61117191906125d0565b111561118f5760405162461bcd60e51b8152600401610cd1906125e3565b6111993383611ab9565b506110bc6001600955565b836001600160a01b03811633146111be576111be336115ec565b6111ca85858585611bb7565b5050505050565b6000610f0c8360115484611bfb565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061123957506000548310155b156112445792915050565b61124d83611979565b905080604001511561125f5792915050565b610f0c83611c11565b6060611273826115b7565b61129057604051630a14c4b560e41b815260040160405180910390fd5b600061129a611c46565b905080516000036112ba5760405180602001604052806000815250610f0c565b806112c484611c55565b6040516020016112d5929190612609565b6040516020818303038152906040529392505050565b6112f36119b5565b3233146113125760405162461bcd60e51b8152600401610cd190612594565b81600b548161131f610989565b61132991906125d0565b11156113475760405162461bcd60e51b8152600401610cd1906125e3565b82600e548161135533611a0e565b61135f91906125d0565b11156113ad5760405162461bcd60e51b815260206004820152601a60248201527f4578636565646564207472616e73616374696f6e206c696d69740000000000006044820152606401610cd1565b8360016113bb338383611a36565b3410156113ff5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610cd1565b6000600f5460ff1660028111156114185761141861237a565b036114755760405162461bcd60e51b815260206004820152602760248201527f436f6e7472616374206973206e6f74206f70656e20666f722057686974656c696044820152661cdd08135a5b9d60ca1b6064820152608401610cd1565b6040516bffffffffffffffffffffffff193360601b1660208201526114b4908690603401604051602081830303815290604052805190602001206111d1565b6115005760405162461bcd60e51b815260206004820152601760248201527f4e6f7420612070617274206f662057686974656c6973740000000000000000006044820152606401610cd1565b61150a3387611ab9565b50505050610a446001600955565b6000611522610989565b600b5461152f9190612638565b905090565b61153c61183e565b600e55565b61154961183e565b6001600160a01b0381166115ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cd1565b6110bc81611927565b6000816001111580156115cb575060005482105b801561080d575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156110bc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611659573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167d919061264b565b6110bc57604051633b79c77360e21b81526001600160a01b0382166004820152602401610cd1565b60006116b0826118b8565b9050836001600160a01b0316816001600160a01b0316146116e35760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611730576117138633610747565b61173057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661175757604051633a954ecd60e21b815260040160405180910390fd5b801561176257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036117f4576001840160008181526004602052604081205490036117f25760005481146117f25760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610b8b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cd1565b6118b3838383604051806020016040528060008152506111a4565b505050565b6000818060011161190e5760005481101561190e5760008181526004602052604081205490600160e01b8216900361190c575b80600003610f0c5750600019016000818152600460205260409020546118eb565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461080d90611c99565b600260095403611a075760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610cd1565b6002600955565b6001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b60008082600003611a4a5750600d54611a4f565b50600c545b6000611a5a86611a0e565b611a649083612668565b9050600080821315611a9e5781861215611a8057506000611aaf565b611a8a8287612668565b600a54611a97919061268f565b9050611aaf565b85600a54611aac919061268f565b90505b9695505050505050565b6000805490829003611ade5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611b8d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611b55565b5081600003611bae57604051622e076360e81b815260040160405180910390fd5b60005550505050565b611bc2848484610997565b6001600160a01b0383163b156109bc57611bde84848484611ce0565b6109bc576040516368d2bf6b60e11b815260040160405180910390fd5b600082611c088584611dcc565b14949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261080d611c41836118b8565b611c99565b6060601080546108229061243f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611c6f5750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d159033908990889088906004016126bf565b6020604051808303816000875af1925050508015611d50575060408051601f3d908101601f19168201909252611d4d918101906126f2565b60015b611dae573d808015611d7e576040519150601f19603f3d011682016040523d82523d6000602084013e611d83565b606091505b508051600003611da6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600081815b8451811015611e1157611dfd82868381518110611df057611df061257e565b6020026020010151611e19565b915080611e098161270f565b915050611dd1565b509392505050565b6000818310611e35576000828152602084905260409020610f0c565b6000838152602083905260409020610f0c565b6001600160e01b0319811681146110bc57600080fd5b600060208284031215611e7057600080fd5b8135610f0c81611e48565b60005b83811015611e96578181015183820152602001611e7e565b50506000910152565b60008151808452611eb7816020860160208601611e7b565b601f01601f19169290920160200192915050565b602081526000610f0c6020830184611e9f565b600060208284031215611ef057600080fd5b5035919050565b80356001600160a01b0381168114611f0e57600080fd5b919050565b60008060408385031215611f2657600080fd5b611f2f83611ef7565b946020939093013593505050565b600080600060608486031215611f5257600080fd5b611f5b84611ef7565b9250611f6960208501611ef7565b9150604084013590509250925092565b600060208284031215611f8b57600080fd5b813560038110610f0c57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611fd857611fd8611f9a565b604052919050565b60006001600160401b03831115611ff957611ff9611f9a565b61200c601f8401601f1916602001611fb0565b905082815283838301111561202057600080fd5b828260208301376000602084830101529392505050565b60006020828403121561204957600080fd5b81356001600160401b0381111561205f57600080fd5b8201601f8101841361207057600080fd5b611dc484823560208401611fe0565b6000806020838503121561209257600080fd5b82356001600160401b03808211156120a957600080fd5b818501915085601f8301126120bd57600080fd5b8135818111156120cc57600080fd5b8660208260051b85010111156120e157600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c965761215e8385516120f3565b928401926080929092019160010161214b565b60006020828403121561218357600080fd5b610f0c82611ef7565b6020808252825182820181905260009190848201906040850190845b81811015610c96578351835292840192918401916001016121a8565b6000806000606084860312156121d957600080fd5b6121e284611ef7565b95602085013595506040909401359392505050565b80151581146110bc57600080fd5b6000806040838503121561221857600080fd5b61222183611ef7565b91506020830135612231816121f7565b809150509250929050565b6000806000806080858703121561225257600080fd5b61225b85611ef7565b935061226960208601611ef7565b92506040850135915060608501356001600160401b0381111561228b57600080fd5b8501601f8101871361229c57600080fd5b6122ab87823560208401611fe0565b91505092959194509250565b600082601f8301126122c857600080fd5b813560206001600160401b038211156122e3576122e3611f9a565b8160051b6122f2828201611fb0565b928352848101820192828101908785111561230c57600080fd5b83870192505b8483101561232b57823582529183019190830190612312565b979650505050505050565b6000806040838503121561234957600080fd5b82356001600160401b0381111561235f57600080fd5b61236b858286016122b7565b95602094909401359450505050565b634e487b7160e01b600052602160045260246000fd5b60208101600383106123b257634e487b7160e01b600052602160045260246000fd5b91905290565b6080810161080d82846120f3565b600080604083850312156123d957600080fd5b8235915060208301356001600160401b038111156123f657600080fd5b612402858286016122b7565b9150509250929050565b6000806040838503121561241f57600080fd5b61242883611ef7565b915061243660208401611ef7565b90509250929050565b600181811c9082168061245357607f821691505b60208210810361247357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156118b357600081815260208120601f850160051c810160208610156124a05750805b601f850160051c820191505b81811015611836578281556001016124ac565b81516001600160401b038111156124d8576124d8611f9a565b6124ec816124e6845461243f565b84612479565b602080601f83116001811461252157600084156125095750858301515b600019600386901b1c1916600185901b178555611836565b600085815260208120601f198616915b8281101561255057888601518255948401946001909101908401612531565b508582101561256e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561080d5761080d6125ba565b6020808252600c908201526b4f7574206f662073746f636b60a01b604082015260600190565b6000835161261b818460208801611e7b565b83519083019061262f818360208801611e7b565b01949350505050565b8181038181111561080d5761080d6125ba565b60006020828403121561265d57600080fd5b8151610f0c816121f7565b8181036000831280158383131683831282161715612688576126886125ba565b5092915050565b80820260008212600160ff1b841416156126ab576126ab6125ba565b818105831482151761080d5761080d6125ba565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611aaf90830184611e9f565b60006020828403121561270457600080fd5b8151610f0c81611e48565b600060018201612721576127216125ba565b506001019056fea264697066735822122066b11f38da7fbf824b6b3006b6ee288c4451b7706077b4ee2072e9ffff9f887e64736f6c63430008110033
Deployed Bytecode Sourcemap
3097:7052:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:3;;;;;;;;;;-1:-1:-1;9155:630:3;;;;;:::i;:::-;;:::i;:::-;;;565:14:12;;558:22;540:41;;528:2;513:18;9155:630:3;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:12;;;1679:51;;1667:2;1652:18;16360:214:3;1533:203:12;15812:398:3;;;;;;:::i;:::-;;:::i;:::-;;5894:317;;;;;;;;;;;;;:::i;:::-;;;2324:25:12;;;2312:2;2297:18;5894:317:3;2178:177:12;9025:218:0;;;;;;:::i;:::-;;:::i;7825:102::-;;;;;;;;;;-1:-1:-1;7825:102:0;;;;;:::i;:::-;;:::i;3555:33::-;;;;;;;;;;;;;;;;8120:93;;;;;;;;;;-1:-1:-1;8120:93:0;;;;;:::i;:::-;;:::i;8343:141::-;;;;;;;;;;-1:-1:-1;8343:141:0;;;;;:::i;:::-;;:::i;737:142:9:-;;;;;;;;;;;;836:42;737:142;;9249:226:0;;;;;;:::i;:::-;;:::i;7717:102::-;;;;;;;;;;-1:-1:-1;7717:102:0;;;;;:::i;:::-;;:::i;1640:513:4:-;;;;;;;;;;-1:-1:-1;1640:513:4;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11391:150:3:-;;;;;;;;;;-1:-1:-1;11391:150:3;;;;;:::i;:::-;;:::i;8490:132:0:-;;;;;;;;;;-1:-1:-1;8490:132:0;;;;;:::i;:::-;;:::i;7045:230:3:-;;;;;;;;;;-1:-1:-1;7045:230:3;;;;;:::i;:::-;;:::i;1824:101:10:-;;;;;;;;;;;;;:::i;7933:90:0:-;;;;;;;;;;-1:-1:-1;7933:90:0;;;;;:::i;:::-;;:::i;5416:879:4:-;;;;;;;;;;-1:-1:-1;5416:879:4;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;8628:193:0:-;;;;;;;;;;;;;:::i;3514:35::-;;;;;;;;;;;;;;;;1194:85:10;;;;;;;;;;-1:-1:-1;1266:6:10;;-1:-1:-1;;;;;1266:6:10;1194:85;;8029::0;;;;;;;;;;-1:-1:-1;8029:85:0;;;;;:::i;:::-;;:::i;10208:102:3:-;;;;;;;;;;;;;:::i;3685:37:0:-;;;;;;;;;;;;;;;;3641:38;;;;;;;;;;;;;;;;2527:2454:4;;;;;;;;;;-1:-1:-1;2527:2454:4;;;;;:::i;:::-;;:::i;5977:111:0:-;;;;;;;;;;-1:-1:-1;5977:111:0;;;;;:::i;:::-;;:::i;6269:422::-;;;;;;:::i;:::-;;:::i;16901:231:3:-;;;;;;;;;;-1:-1:-1;16901:231:3;;;;;:::i;:::-;;:::i;7486:225:0:-;;;;;;;;;;-1:-1:-1;7486:225:0;;;;;:::i;:::-;;:::i;9481:259::-;;;;;;:::i;:::-;;:::i;4698:165::-;;;;;;;;;;-1:-1:-1;4698:165:0;;;;;:::i;:::-;;:::i;3729:62::-;;;;;;;;;;-1:-1:-1;3729:62:0;;;;;;;;;;;;;;;:::i;1069:418:4:-;;;;;;;;;;-1:-1:-1;1069:418:4;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;10411:313:3:-;;;;;;;;;;-1:-1:-1;10411:313:3;;;;;:::i;:::-;;:::i;6697:597:0:-;;;;;;:::i;:::-;;:::i;5861:110::-;;;;;;;;;;;;;:::i;8219:118::-;;;;;;;;;;-1:-1:-1;8219:118:0;;;;;:::i;:::-;;:::i;17282:162:3:-;;;;;;;;;;-1:-1:-1;17282:162:3;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:3;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;3832:19:0;;;;;;;;;;;;;;;;3594:41;;;;;;;;;;;;;;;;2074:198:10;;;;;;;;;;-1:-1:-1;2074:198:10;;;;;:::i;:::-;;:::i;9155:630:3:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:3;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:3;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:3;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:3:o;10039:98::-;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:3;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:3;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:3;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:3;-1:-1:-1;;;;;15947:28:3;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:3;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:3;-1:-1:-1;;;;;16125:35:3;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;5894:317::-;10138:1:0;6164:12:3;5955:7;6148:13;:28;-1:-1:-1;;6148:46:3;;5894:317::o;9025:218:0:-;9183:4;-1:-1:-1;;;;;2054:18:9;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;9199:37:0::1;9218:4;9224:2;9228:7;9199:18;:37::i;:::-;9025:218:::0;;;;:::o;7825:102::-;1087:13:10;:11;:13::i;:::-;7896:15:0::1;:24:::0;;7914:6;;7896:15;-1:-1:-1;;7896:24:0::1;::::0;7914:6;7896:24:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;7825:102:::0;:::o;8120:93::-;1087:13:10;:11;:13::i;:::-;8184:10:0::1;:22:::0;8120:93::o;8343:141::-;1087:13:10;:11;:13::i;:::-;8431:22:0::1;:46:::0;8343:141::o;9249:226::-;9411:4;-1:-1:-1;;;;;2054:18:9;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;9427:41:0::1;9450:4;9456:2;9460:7;9427:22;:41::i;7717:102::-:0;1087:13:10;:11;:13::i;:::-;7796:7:0::1;:16;7806:6:::0;7796:7;:16:::1;:::i;:::-;;7717:102:::0;:::o;1640:513:4:-;1779:23;1867:8;1842:22;1867:8;-1:-1:-1;;;;;1933:36:4;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1933:36:4;;-1:-1:-1;;1933:36:4;;;;;;;;;;;;1896:73;;1988:9;1983:123;2004:14;1999:1;:19;1983:123;;2059:32;2079:8;;2088:1;2079:11;;;;;;;:::i;:::-;;;;;;;2059:19;:32::i;:::-;2043:10;2054:1;2043:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2020:3;;1983:123;;;-1:-1:-1;2126:10:4;1640:513;-1:-1:-1;;;;1640:513:4:o;11391:150:3:-;11463:7;11505:27;11524:7;11505:18;:27::i;8490:132:0:-;1087:13:10;:11;:13::i;:::-;8574:19:0::1;:41:::0;8490:132::o;7045:230:3:-;7117:7;-1:-1:-1;;;;;7140:19:3;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:3;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:3;;;;;:18;:25;;;;;;-1:-1:-1;;;;;7213:55:3;;7045:230::o;1824:101:10:-;1087:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;7933:90:0:-;1087:13:10;:11;:13::i;:::-;8002:4:0::1;:14:::0;7933:90::o;5416:879:4:-;5494:16;5546:19;5579:25;5618:22;5643:16;5653:5;5643:9;:16::i;:::-;5618:41;;5673:25;5715:14;-1:-1:-1;;;;;5701:29:4;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5701:29:4;;5673:57;;5744:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5744:31:4;10138:1:0;5789:461:4;5838:14;5823:11;:29;5789:461;;5889:15;5902:1;5889:12;:15::i;:::-;5877:27;;5926:9;:16;;;5966:8;5922:71;6014:14;;-1:-1:-1;;;;;6014:28:4;;6010:109;;6086:14;;;-1:-1:-1;6010:109:4;6161:5;-1:-1:-1;;;;;6140:26:4;:17;-1:-1:-1;;;;;6140:26:4;;6136:100;;6216:1;6190:8;6199:13;;;;;;6190:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6136:100;5854:3;;5789:461;;;-1:-1:-1;6270:8:4;;5416:879;-1:-1:-1;;;;;;5416:879:4:o;8628:193:0:-;1087:13:10;:11;:13::i;:::-;2261:21:11::1;:19;:21::i;:::-;4634:9:0::2;4647:10;4634:23;4626:48;;;;-1:-1:-1::0;;;4626:48:0::2;;;;;;;:::i;:::-;;;;;;;;;8719:49:::3;::::0;8701:12:::3;::::0;8719:10:::3;::::0;8742:21:::3;::::0;8701:12;8719:49;8701:12;8719:49;8742:21;8719:10;:49:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8700:68;;;8786:7;8778:36;;;::::0;-1:-1:-1;;;8778:36:0;;14884:2:12;8778:36:0::3;::::0;::::3;14866:21:12::0;14923:2;14903:18;;;14896:30;-1:-1:-1;;;14942:18:12;;;14935:46;14998:18;;8778:36:0::3;14682:340:12::0;8778:36:0::3;8690:131;2303:20:11::1;1716:1:::0;2809:7;:22;2629:209;8029:85:0;1087:13:10;:11;:13::i;:::-;8091:5:0::1;:16:::0;8029:85::o;10208:102:3:-;10264:13;10296:7;10289:14;;;;;:::i;2527:2454:4:-;2666:16;2731:4;2722:5;:13;2718:45;;2744:19;;-1:-1:-1;;;2744:19:4;;;;;;;;;;;2718:45;2777:19;2810:17;2830:14;5645:7:3;5671:13;;5590:101;2830:14:4;2810:34;-1:-1:-1;10138:1:0;2920:5:4;:23;2916:85;;;10138:1:0;2963:23:4;;2916:85;3075:9;3068:4;:16;3064:71;;;3111:9;3104:16;;3064:71;3148:25;3176:16;3186:5;3176:9;:16::i;:::-;3148:44;;3367:4;3359:5;:12;3355:271;;;3413:12;;;3447:31;;;3443:109;;;3522:11;3502:31;;3443:109;3373:193;3355:271;;;-1:-1:-1;3610:1:4;3355:271;3639:25;3681:17;-1:-1:-1;;;;;3667:32:4;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3667:32:4;;3639:60;;3717:17;3738:1;3717:22;3713:76;;3766:8;-1:-1:-1;3759:15:4;;-1:-1:-1;;;3759:15:4;3713:76;3930:31;3964:26;3984:5;3964:19;:26::i;:::-;3930:60;;4004:25;4246:9;:16;;;4241:90;;-1:-1:-1;4302:14:4;;4241:90;4361:5;4344:467;4373:4;4368:1;:9;;:45;;;;;4396:17;4381:11;:32;;4368:45;4344:467;;;4450:15;4463:1;4450:12;:15::i;:::-;4438:27;;4487:9;:16;;;4527:8;4483:71;4575:14;;-1:-1:-1;;;;;4575:28:4;;4571:109;;4647:14;;;-1:-1:-1;4571:109:4;4722:5;-1:-1:-1;;;;;4701:26:4;:17;-1:-1:-1;;;;;4701:26:4;;4697:100;;4777:1;4751:8;4760:13;;;;;;4751:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4697:100;4415:3;;4344:467;;;-1:-1:-1;;;4893:29:4;;;-1:-1:-1;4900:8:4;;-1:-1:-1;;2527:2454:4;;;;;;:::o;5977:111:0:-;6036:7;6062:19;6076:4;6062:13;:19::i;6269:422::-;2261:21:11;:19;:21::i;:::-;4634:9:0::1;4647:10;4634:23;4626:48;;;;-1:-1:-1::0;;;4626:48:0::1;;;;;;;:::i;:::-;6426:8:::2;4547:10;;4535:8;4519:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;4511:63;;;;-1:-1:-1::0;;;4511:63:0::2;;;;;;;:::i;:::-;6459:8:::3;4361:17;;4349:8;4321:25;4335:10;4321:13;:25::i;:::-;:36;;;;:::i;:::-;:57;;4300:130;;;::::0;-1:-1:-1;;;4300:130:0;;15832:2:12;4300:130:0::3;::::0;::::3;15814:21:12::0;15871:2;15851:18;;;15844:30;15910:28;15890:18;;;15883:56;15956:18;;4300:130:0::3;15630:350:12::0;4300:130:0::3;6492:8:::4;6502:1;4139:41;4152:10;4164:8;4174:5;4139:12;:41::i;:::-;4126:9;:54;;4105:119;;;::::0;-1:-1:-1;;;4105:119:0;;16187:2:12;4105:119:0::4;::::0;::::4;16169:21:12::0;16226:2;16206:18;;;16199:30;-1:-1:-1;;;16245:18:12;;;16238:48;16303:18;;4105:119:0::4;15985:342:12::0;4105:119:0::4;6559:25:::5;6540:15;::::0;::::5;;:44;::::0;::::5;;;;;;:::i;:::-;;6519:127;;;::::0;-1:-1:-1;;;6519:127:0;;16534:2:12;6519:127:0::5;::::0;::::5;16516:21:12::0;16573:2;16553:18;;;16546:30;16612:34;16592:18;;;16585:62;-1:-1:-1;;;16663:18:12;;;16656:34;16707:19;;6519:127:0::5;16332:400:12::0;6519:127:0::5;6657:27;6663:10;6675:8;6657:5;:27::i;:::-;4440:1:::4;;4584::::3;4684::::2;2303:20:11::0;1716:1;2809:7;:22;2629:209;2303:20;6269:422:0;:::o;16901:231:3:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:3;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:3;;;;;;;;;;17070:55;;540:41:12;;;16995:49:3;;39523:10;17070:55;;513:18:12;17070:55:3;;;;;;;16901:231;;:::o;7486:225:0:-;1087:13:10;:11;:13::i;:::-;2261:21:11::1;:19;:21::i;:::-;4634:9:0::2;4647:10;4634:23;4626:48;;;;-1:-1:-1::0;;;4626:48:0::2;;;;;;;:::i;:::-;7653:8:::3;4547:10;;4535:8;4519:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;4511:63;;;;-1:-1:-1::0;;;4511:63:0::3;;;;;;;:::i;:::-;7677:27:::4;7683:10;7695:8;7677:5;:27::i;:::-;4684:1:::3;2303:20:11::1;1716:1:::0;2809:7;:22;2629:209;9481:259:0;9670:4;-1:-1:-1;;;;;2054:18:9;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;9686:47:0::1;9709:4;9715:2;9719:7;9728:4;9686:22;:47::i;:::-;9481:259:::0;;;;;:::o;4698:165::-;4796:4;4819:37;4838:5;4845:4;;4851;4819:18;:37::i;1069:418:4:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10138:1:0;1231:7:4;:25;:54;;;-1:-1:-1;5645:7:3;5671:13;1260:7:4;:25;;1231:54;1227:101;;;1308:9;1069:418;-1:-1:-1;;1069:418:4:o;1227:101::-;1349:21;1362:7;1349:12;:21::i;:::-;1337:33;;1384:9;:16;;;1380:63;;;1423:9;1069:418;-1:-1:-1;;1069:418:4:o;1380:63::-;1459:21;1472:7;1459:12;:21::i;10411:313:3:-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:3;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10623:94;10411:313;-1:-1:-1;;;10411:313:3:o;6697:597:0:-;2261:21:11;:19;:21::i;:::-;4634:9:0::1;4647:10;4634:23;4626:48;;;;-1:-1:-1::0;;;4626:48:0::1;;;;;;;:::i;:::-;6895:8:::2;4547:10;;4535:8;4519:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;4511:63;;;;-1:-1:-1::0;;;4511:63:0::2;;;;;;;:::i;:::-;6928:8:::3;4361:17;;4349:8;4321:25;4335:10;4321:13;:25::i;:::-;:36;;;;:::i;:::-;:57;;4300:130;;;::::0;-1:-1:-1;;;4300:130:0;;15832:2:12;4300:130:0::3;::::0;::::3;15814:21:12::0;15871:2;15851:18;;;15844:30;15910:28;15890:18;;;15883:56;15956:18;;4300:130:0::3;15630:350:12::0;4300:130:0::3;6961:8:::4;6971:1;4139:41;4152:10;4164:8;4174:5;4139:12;:41::i;:::-;4126:9;:54;;4105:119;;;::::0;-1:-1:-1;;;4105:119:0;;16187:2:12;4105:119:0::4;::::0;::::4;16169:21:12::0;16226:2;16206:18;;;16199:30;-1:-1:-1;;;16245:18:12;;;16238:48;16303:18;;4105:119:0::4;15985:342:12::0;4105:119:0::4;7028:22:::5;7009:15;::::0;::::5;;:41;::::0;::::5;;;;;;:::i;:::-;::::0;6988:127:::5;;;::::0;-1:-1:-1;;;6988:127:0;;17440:2:12;6988:127:0::5;::::0;::::5;17422:21:12::0;17479:2;17459:18;;;17452:30;17518:34;17498:18;;;17491:62;-1:-1:-1;;;17569:18:12;;;17562:37;17616:19;;6988:127:0::5;17238:403:12::0;6988:127:0::5;7171:28;::::0;-1:-1:-1;;7188:10:0::5;17795:2:12::0;17791:15;17787:53;7171:28:0::5;::::0;::::5;17775:66:12::0;7146:55:0::5;::::0;7154:5;;17857:12:12;;7171:28:0::5;;;;;;;;;;;;7161:39;;;;;;7146:7;:55::i;:::-;7125:125;;;::::0;-1:-1:-1;;;7125:125:0;;18082:2:12;7125:125:0::5;::::0;::::5;18064:21:12::0;18121:2;18101:18;;;18094:30;18160:25;18140:18;;;18133:53;18203:18;;7125:125:0::5;17880:347:12::0;7125:125:0::5;7260:27;7266:10;7278:8;7260:5;:27::i;:::-;4440:1:::4;;4584::::3;4684::::2;2303:20:11::0;1716:1;2809:7;:22;2629:209;5861:110:0;5912:7;5951:13;:11;:13::i;:::-;5938:10;;:26;;;;:::i;:::-;5931:33;;5861:110;:::o;8219:118::-;1087:13:10;:11;:13::i;:::-;8295:17:0::1;:35:::0;8219:118::o;2074:198:10:-;1087:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:10;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:10;;18567:2:12;2154:73:10::1;::::0;::::1;18549:21:12::0;18606:2;18586:18;;;18579:30;18645:34;18625:18;;;18618:62;-1:-1:-1;;;18696:18:12;;;18689:36;18742:19;;2154:73:10::1;18365:402:12::0;2154:73:10::1;2237:28;2256:8;2237:18;:28::i;17693:277:3:-:0;17758:4;17812:7;10138:1:0;17793:26:3;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:3;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:3;:49;;17693:277::o;2281:412:9:-;836:42;2470:45;:49;2466:221;;2540:67;;-1:-1:-1;;;2540:67:9;;2591:4;2540:67;;;18984:34:12;-1:-1:-1;;;;;19054:15:12;;19034:18;;;19027:43;836:42:9;;2540;;18919:18:12;;2540:67:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2535:142;;2634:28;;-1:-1:-1;;;2634:28:9;;-1:-1:-1;;;;;1697:32:12;;2634:28:9;;;1679:51:12;1652:18;;2634:28:9;1533:203:12;19903:2764:3;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:3;20128:19;-1:-1:-1;;;;;20112:45:3;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:3;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:3;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:3;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:3;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:3;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:3;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:3;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:3;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:3;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:3;;: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:3;22590:4;-1:-1:-1;;;;;22581:27:3;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;1352:130:10:-;1266:6;;-1:-1:-1;;;;;1266:6:10;39523:10:3;1415:23:10;1407:68;;;;-1:-1:-1;;;1407:68:10;;19533:2:12;1407:68:10;;;19515:21:12;;;19552:18;;;19545:30;19611:34;19591:18;;;19584:62;19663:18;;1407:68:10;19331:356:12;22758:187:3;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;12515:1249::-;12582:7;12616;;10138:1:0;12662:23:3;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:3;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:3;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:3;;;;;;;;;;;2426:187:10;2518:6;;;-1:-1:-1;;;;;2534:17:10;;;-1:-1:-1;;;;;;2534:17:10;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;11979:159:3:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:3;;;;:17;:24;;;;;;12087:44;;:18;:44::i;2336:287:11:-;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:11;;19894:2:12;2460:63:11;;;19876:21:12;19933:2;19913:18;;;19906:30;19972:33;19952:18;;;19945:61;20023:18;;2460:63:11;19692:355:12;2460:63:11;1759:1;2598:7;:18;2336:287::o;7352:176:3:-;-1:-1:-1;;;;;7440:25:3;7413:7;7440:25;;;:18;:25;;1495:2;7440:25;;;;;:50;;-1:-1:-1;;;;;7439:82:3;;7352:176::o;4869:794:0:-;4992:12;5016:11;5041:5;5050:1;5041:10;5037:159;;-1:-1:-1;5081:19:0;;5037:159;;;-1:-1:-1;5158:22:0;;5037:159;5205:21;5255;5269:6;5255:13;:21::i;:::-;5229:48;;:4;:48;:::i;:::-;5205:72;;5287:15;5334:1;5317:14;:18;5313:309;;;5374:14;5362:8;5355:33;5351:185;;;-1:-1:-1;5419:1:0;5313:309;;5351:185;5487:33;5506:14;5494:8;5487:33;:::i;:::-;5477:5;;5470:51;;;;:::i;:::-;5459:62;;5313:309;;;5601:8;5584:5;;5577:34;;;;:::i;:::-;5566:45;;5313:309;5647:8;4869:794;-1:-1:-1;;;;;;4869:794:0:o;27091:2902:3:-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:3;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:3;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:3;;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:3;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:3;;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:3;;;: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:3;;;;;;;;;;;1156:184:8;1277:4;1329;1300:25;1313:5;1320:4;1300:12;:25::i;:::-;:33;;1156:184;-1:-1:-1;;;;1156:184:8:o;11724:164:3:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:3;11853:27;11872:7;11853:18;:27::i;:::-;11834:18;:47::i;9935:106:0:-;9995:13;10027:7;10020:14;;;;;:::i;39637:1708:3:-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;41070:25;40690:419;41070:25;-1:-1:-1;41137:13:3;;;-1:-1:-1;;41250:14:3;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:3:o;13858:361::-;-1:-1:-1;;;;;;;;;;;;;13967:41:3;;;;2004:3;14052:33;;;-1:-1:-1;;;;;14018:68:3;-1:-1:-1;;;14018:68:3;-1:-1:-1;;;14115:24:3;;:29;;-1:-1:-1;;;14096:48:3;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:3;-1:-1:-1;13858:361:3:o;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:3;;26106:4;;-1:-1:-1;;;;;26126:45:3;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:3;;;;;;;;-1:-1:-1;;26126:88:3;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:3;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:3;-1:-1:-1;;;26282:64:3;;-1:-1:-1;26122:517:3;25948:697;;;;;;:::o;1994:290:8:-;2077:7;2119:4;2077:7;2133:116;2157:5;:12;2153:1;:16;2133:116;;;2205:33;2215:12;2229:5;2235:1;2229:8;;;;;;;;:::i;:::-;;;;;;;2205:9;:33::i;:::-;2190:48;-1:-1:-1;2171:3:8;;;;:::i;:::-;;;;2133:116;;;-1:-1:-1;2265:12:8;1994:290;-1:-1:-1;;;1994:290:8:o;8879:147::-;8942:7;8972:1;8968;:5;:51;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8968:51;;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8976:20;9032:261;14:131:12;-1:-1:-1;;;;;;88:32:12;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:12;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:12;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:12:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:12;;1348:180;-1:-1:-1;1348:180:12:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:12;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:12:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:273::-;2769:6;2822:2;2810:9;2801:7;2797:23;2793:32;2790:52;;;2838:1;2835;2828:12;2790:52;2877:9;2864:23;2916:1;2909:5;2906:12;2896:40;;2932:1;2929;2922:12;3211:127;3272:10;3267:3;3263:20;3260:1;3253:31;3303:4;3300:1;3293:15;3327:4;3324:1;3317:15;3343:275;3414:2;3408:9;3479:2;3460:13;;-1:-1:-1;;3456:27:12;3444:40;;-1:-1:-1;;;;;3499:34:12;;3535:22;;;3496:62;3493:88;;;3561:18;;:::i;:::-;3597:2;3590:22;3343:275;;-1:-1:-1;3343:275:12:o;3623:407::-;3688:5;-1:-1:-1;;;;;3714:6:12;3711:30;3708:56;;;3744:18;;:::i;:::-;3782:57;3827:2;3806:15;;-1:-1:-1;;3802:29:12;3833:4;3798:40;3782:57;:::i;:::-;3773:66;;3862:6;3855:5;3848:21;3902:3;3893:6;3888:3;3884:16;3881:25;3878:45;;;3919:1;3916;3909:12;3878:45;3968:6;3963:3;3956:4;3949:5;3945:16;3932:43;4022:1;4015:4;4006:6;3999:5;3995:18;3991:29;3984:40;3623:407;;;;;:::o;4035:451::-;4104:6;4157:2;4145:9;4136:7;4132:23;4128:32;4125:52;;;4173:1;4170;4163:12;4125:52;4213:9;4200:23;-1:-1:-1;;;;;4238:6:12;4235:30;4232:50;;;4278:1;4275;4268:12;4232:50;4301:22;;4354:4;4346:13;;4342:27;-1:-1:-1;4332:55:12;;4383:1;4380;4373:12;4332:55;4406:74;4472:7;4467:2;4454:16;4449:2;4445;4441:11;4406:74;:::i;4491:615::-;4577:6;4585;4638:2;4626:9;4617:7;4613:23;4609:32;4606:52;;;4654:1;4651;4644:12;4606:52;4694:9;4681:23;-1:-1:-1;;;;;4764:2:12;4756:6;4753:14;4750:34;;;4780:1;4777;4770:12;4750:34;4818:6;4807:9;4803:22;4793:32;;4863:7;4856:4;4852:2;4848:13;4844:27;4834:55;;4885:1;4882;4875:12;4834:55;4925:2;4912:16;4951:2;4943:6;4940:14;4937:34;;;4967:1;4964;4957:12;4937:34;5020:7;5015:2;5005:6;5002:1;4998:14;4994:2;4990:23;4986:32;4983:45;4980:65;;;5041:1;5038;5031:12;4980:65;5072:2;5064:11;;;;;5094:6;;-1:-1:-1;4491:615:12;;-1:-1:-1;;;;4491:615:12:o;5111:349::-;5195:12;;-1:-1:-1;;;;;5191:38:12;5179:51;;5283:4;5272:16;;;5266:23;-1:-1:-1;;;;;5262:48:12;5246:14;;;5239:72;5374:4;5363:16;;;5357:23;5350:31;5343:39;5327:14;;;5320:63;5436:4;5425:16;;;5419:23;5444:8;5415:38;5399:14;;5392:62;5111:349::o;5465:724::-;5700:2;5752:21;;;5822:13;;5725:18;;;5844:22;;;5671:4;;5700:2;5923:15;;;;5897:2;5882:18;;;5671:4;5966:197;5980:6;5977:1;5974:13;5966:197;;;6029:52;6077:3;6068:6;6062:13;6029:52;:::i;:::-;6138:15;;;;6110:4;6101:14;;;;;6002:1;5995:9;5966:197;;6194:186;6253:6;6306:2;6294:9;6285:7;6281:23;6277:32;6274:52;;;6322:1;6319;6312:12;6274:52;6345:29;6364:9;6345:29;:::i;6570:632::-;6741:2;6793:21;;;6863:13;;6766:18;;;6885:22;;;6712:4;;6741:2;6964:15;;;;6938:2;6923:18;;;6712:4;7007:169;7021:6;7018:1;7015:13;7007:169;;;7082:13;;7070:26;;7151:15;;;;7116:12;;;;7043:1;7036:9;7007:169;;7207:322;7284:6;7292;7300;7353:2;7341:9;7332:7;7328:23;7324:32;7321:52;;;7369:1;7366;7359:12;7321:52;7392:29;7411:9;7392:29;:::i;:::-;7382:39;7468:2;7453:18;;7440:32;;-1:-1:-1;7519:2:12;7504:18;;;7491:32;;7207:322;-1:-1:-1;;;7207:322:12:o;7534:118::-;7620:5;7613:13;7606:21;7599:5;7596:32;7586:60;;7642:1;7639;7632:12;7657:315;7722:6;7730;7783:2;7771:9;7762:7;7758:23;7754:32;7751:52;;;7799:1;7796;7789:12;7751:52;7822:29;7841:9;7822:29;:::i;:::-;7812:39;;7901:2;7890:9;7886:18;7873:32;7914:28;7936:5;7914:28;:::i;:::-;7961:5;7951:15;;;7657:315;;;;;:::o;7977:667::-;8072:6;8080;8088;8096;8149:3;8137:9;8128:7;8124:23;8120:33;8117:53;;;8166:1;8163;8156:12;8117:53;8189:29;8208:9;8189:29;:::i;:::-;8179:39;;8237:38;8271:2;8260:9;8256:18;8237:38;:::i;:::-;8227:48;;8322:2;8311:9;8307:18;8294:32;8284:42;;8377:2;8366:9;8362:18;8349:32;-1:-1:-1;;;;;8396:6:12;8393:30;8390:50;;;8436:1;8433;8426:12;8390:50;8459:22;;8512:4;8504:13;;8500:27;-1:-1:-1;8490:55:12;;8541:1;8538;8531:12;8490:55;8564:74;8630:7;8625:2;8612:16;8607:2;8603;8599:11;8564:74;:::i;:::-;8554:84;;;7977:667;;;;;;;:::o;8649:712::-;8703:5;8756:3;8749:4;8741:6;8737:17;8733:27;8723:55;;8774:1;8771;8764:12;8723:55;8810:6;8797:20;8836:4;-1:-1:-1;;;;;8855:2:12;8852:26;8849:52;;;8881:18;;:::i;:::-;8927:2;8924:1;8920:10;8950:28;8974:2;8970;8966:11;8950:28;:::i;:::-;9012:15;;;9082;;;9078:24;;;9043:12;;;;9114:15;;;9111:35;;;9142:1;9139;9132:12;9111:35;9178:2;9170:6;9166:15;9155:26;;9190:142;9206:6;9201:3;9198:15;9190:142;;;9272:17;;9260:30;;9223:12;;;;9310;;;;9190:142;;;9350:5;8649:712;-1:-1:-1;;;;;;;8649:712:12:o;9366:416::-;9459:6;9467;9520:2;9508:9;9499:7;9495:23;9491:32;9488:52;;;9536:1;9533;9526:12;9488:52;9576:9;9563:23;-1:-1:-1;;;;;9601:6:12;9598:30;9595:50;;;9641:1;9638;9631:12;9595:50;9664:61;9717:7;9708:6;9697:9;9693:22;9664:61;:::i;:::-;9654:71;9772:2;9757:18;;;;9744:32;;-1:-1:-1;;;;9366:416:12:o;9787:127::-;9848:10;9843:3;9839:20;9836:1;9829:31;9879:4;9876:1;9869:15;9903:4;9900:1;9893:15;9919:345;10068:2;10053:18;;10101:1;10090:13;;10080:144;;10146:10;10141:3;10137:20;10134:1;10127:31;10181:4;10178:1;10171:15;10209:4;10206:1;10199:15;10080:144;10233:25;;;9919:345;:::o;10269:268::-;10467:3;10452:19;;10480:51;10456:9;10513:6;10480:51;:::i;10542:416::-;10635:6;10643;10696:2;10684:9;10675:7;10671:23;10667:32;10664:52;;;10712:1;10709;10702:12;10664:52;10748:9;10735:23;10725:33;;10809:2;10798:9;10794:18;10781:32;-1:-1:-1;;;;;10828:6:12;10825:30;10822:50;;;10868:1;10865;10858:12;10822:50;10891:61;10944:7;10935:6;10924:9;10920:22;10891:61;:::i;:::-;10881:71;;;10542:416;;;;;:::o;10963:260::-;11031:6;11039;11092:2;11080:9;11071:7;11067:23;11063:32;11060:52;;;11108:1;11105;11098:12;11060:52;11131:29;11150:9;11131:29;:::i;:::-;11121:39;;11179:38;11213:2;11202:9;11198:18;11179:38;:::i;:::-;11169:48;;10963:260;;;;;:::o;11410:380::-;11489:1;11485:12;;;;11532;;;11553:61;;11607:4;11599:6;11595:17;11585:27;;11553:61;11660:2;11652:6;11649:14;11629:18;11626:38;11623:161;;11706:10;11701:3;11697:20;11694:1;11687:31;11741:4;11738:1;11731:15;11769:4;11766:1;11759:15;11623:161;;11410:380;;;:::o;11921:545::-;12023:2;12018:3;12015:11;12012:448;;;12059:1;12084:5;12080:2;12073:17;12129:4;12125:2;12115:19;12199:2;12187:10;12183:19;12180:1;12176:27;12170:4;12166:38;12235:4;12223:10;12220:20;12217:47;;;-1:-1:-1;12258:4:12;12217:47;12313:2;12308:3;12304:12;12301:1;12297:20;12291:4;12287:31;12277:41;;12368:82;12386:2;12379:5;12376:13;12368:82;;;12431:17;;;12412:1;12401:13;12368:82;;12642:1352;12768:3;12762:10;-1:-1:-1;;;;;12787:6:12;12784:30;12781:56;;;12817:18;;:::i;:::-;12846:97;12936:6;12896:38;12928:4;12922:11;12896:38;:::i;:::-;12890:4;12846:97;:::i;:::-;12998:4;;13062:2;13051:14;;13079:1;13074:663;;;;13781:1;13798:6;13795:89;;;-1:-1:-1;13850:19:12;;;13844:26;13795:89;-1:-1:-1;;12599:1:12;12595:11;;;12591:24;12587:29;12577:40;12623:1;12619:11;;;12574:57;13897:81;;13044:944;;13074:663;11868:1;11861:14;;;11905:4;11892:18;;-1:-1:-1;;13110:20:12;;;13228:236;13242:7;13239:1;13236:14;13228:236;;;13331:19;;;13325:26;13310:42;;13423:27;;;;13391:1;13379:14;;;;13258:19;;13228:236;;;13232:3;13492:6;13483:7;13480:19;13477:201;;;13553:19;;;13547:26;-1:-1:-1;;13636:1:12;13632:14;;;13648:3;13628:24;13624:37;13620:42;13605:58;13590:74;;13477:201;-1:-1:-1;;;;;13724:1:12;13708:14;;;13704:22;13691:36;;-1:-1:-1;12642:1352:12:o;13999:127::-;14060:10;14055:3;14051:20;14048:1;14041:31;14091:4;14088:1;14081:15;14115:4;14112:1;14105:15;14131:336;14333:2;14315:21;;;14372:2;14352:18;;;14345:30;-1:-1:-1;;;14406:2:12;14391:18;;14384:42;14458:2;14443:18;;14131:336::o;15027:127::-;15088:10;15083:3;15079:20;15076:1;15069:31;15119:4;15116:1;15109:15;15143:4;15140:1;15133:15;15159:125;15224:9;;;15245:10;;;15242:36;;;15258:18;;:::i;15289:336::-;15491:2;15473:21;;;15530:2;15510:18;;;15503:30;-1:-1:-1;;;15564:2:12;15549:18;;15542:42;15616:2;15601:18;;15289:336::o;16737:496::-;16916:3;16954:6;16948:13;16970:66;17029:6;17024:3;17017:4;17009:6;17005:17;16970:66;:::i;:::-;17099:13;;17058:16;;;;17121:70;17099:13;17058:16;17168:4;17156:17;;17121:70;:::i;:::-;17207:20;;16737:496;-1:-1:-1;;;;16737:496:12:o;18232:128::-;18299:9;;;18320:11;;;18317:37;;;18334:18;;:::i;19081:245::-;19148:6;19201:2;19189:9;19180:7;19176:23;19172:32;19169:52;;;19217:1;19214;19207:12;19169:52;19249:9;19243:16;19268:28;19290:5;19268:28;:::i;20052:200::-;20118:9;;;20091:4;20146:9;;20174:10;;20186:12;;;20170:29;20209:12;;;20201:21;;20167:56;20164:82;;;20226:18;;:::i;:::-;20164:82;20052:200;;;;:::o;20257:237::-;20329:9;;;20296:7;20354:9;;-1:-1:-1;;;20365:18:12;;20350:34;20347:60;;;20387:18;;:::i;:::-;20460:1;20451:7;20446:16;20443:1;20440:23;20436:1;20429:9;20426:38;20416:72;;20468:18;;:::i;20499:489::-;-1:-1:-1;;;;;20768:15:12;;;20750:34;;20820:15;;20815:2;20800:18;;20793:43;20867:2;20852:18;;20845:34;;;20915:3;20910:2;20895:18;;20888:31;;;20693:4;;20936:46;;20962:19;;20954:6;20936:46;:::i;20993:249::-;21062:6;21115:2;21103:9;21094:7;21090:23;21086:32;21083:52;;;21131:1;21128;21121:12;21083:52;21163:9;21157:16;21182:30;21206:5;21182:30;:::i;21247:135::-;21286:3;21307:17;;;21304:43;;21327:18;;:::i;:::-;-1:-1:-1;21374:1:12;21363:13;;21247:135::o
Swarm Source
ipfs://66b11f38da7fbf824b6b3006b6ee288c4451b7706077b4ee2072e9ffff9f887e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.