Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,167 BABYTROLL
Holders
1,131
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BABYTROLLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BabyTrollTown
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-10 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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` 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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 `_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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // 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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try 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)) } } } } /** * @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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ 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` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ 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 pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @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` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view 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[] memory tokenIds) external view 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 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 pfp collections should be fine). */ function tokensOfOwner(address owner) external view 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; } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: GRIND/7-BabyTrollTown.sol pragma solidity ^0.8.9; contract BabyTrollTown is ERC2981, ERC721AQueryable, Ownable { using Address for address payable; using Strings for uint256; uint256 public _price; uint32 public immutable _txLimit; uint32 public _maxSupply; uint32 public immutable _teamReserved; uint32 public immutable _walletLimit; bool public _started; uint32 public _teamMinted; string public _metadataURI = "https://babytrolltown.com/nft/"; struct HelperState { uint256 price; uint32 txLimit; uint32 walletLimit; uint32 maxSupply; uint32 teamReserved; uint32 totalMinted; uint32 userMinted; bool started; } constructor() ERC721A("Baby Troll Town", "BABYTROLL") { _price = 0.004 ether; _maxSupply = 5555; _txLimit = 20; _walletLimit = 200; _teamReserved = 5; _setDefaultRoyalty(owner(), 500); } function mint(uint32 amount) external payable { require(_started, "Sale is not started"); require(amount + _totalMinted() <= _maxSupply - _teamReserved, "Exceed max supply"); require(amount <= _txLimit, "Exceed transaction limit"); uint256 minted = _numberMinted(msg.sender); if (minted > 0) { require(msg.value >= amount * _price, "Insufficient funds"); } else { require(msg.value >= (amount - 1) * _price, "Insufficient funds"); } require(minted + amount <= _walletLimit, "Exceed wallet limit"); _safeMint(msg.sender, amount); } function _state(address minter) external view returns (HelperState memory) { return HelperState({ price: _price, txLimit: _txLimit, walletLimit: _walletLimit, maxSupply: _maxSupply, teamReserved: _teamReserved, totalMinted: uint32(ERC721A._totalMinted()), userMinted: uint32(_numberMinted(minter)), started: _started }); } function setPrice(uint256 price) external onlyOwner { _price = price; } function setMaxSupply(uint32 maxSupply) external onlyOwner { _maxSupply = maxSupply; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _metadataURI; return string(abi.encodePacked(baseURI, tokenId.toString(), "")); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721A) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC721A).interfaceId || super.supportsInterface(interfaceId); } function devMint(address to, uint32 amount) external onlyOwner { _teamMinted += amount; require (_teamMinted <= _teamReserved, "Exceed max supply"); _safeMint(to, amount); } function setFeeNumerator(uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(owner(), feeNumerator); } function setStarted(bool started) external onlyOwner { _started = started; } function setMetadataURI(string memory uri) external onlyOwner { _metadataURI = uri; } function withdraw() external onlyOwner { payable(msg.sender).sendValue(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"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":"_maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"_state","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"txLimit","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"teamReserved","type":"uint32"},{"internalType":"uint32","name":"totalMinted","type":"uint32"},{"internalType":"uint32","name":"userMinted","type":"uint32"},{"internalType":"bool","name":"started","type":"bool"}],"internalType":"struct BabyTrollTown.HelperState","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamReserved","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_txLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","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":"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":"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setFeeNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"maxSupply","type":"uint32"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"started","type":"bool"}],"name":"setStarted","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610120604052601e60e08190527f68747470733a2f2f6261627974726f6c6c746f776e2e636f6d2f6e66742f00006101009081526200004291600d91906200027a565b503480156200005057600080fd5b50604080518082018252600f81526e2130b13c902a3937b636102a37bbb760891b60208083019182528351808501909452600984526810905096551493d31360ba1b908401528151919291620000a9916004916200027a565b508051620000bf9060059060208401906200027a565b5050600060025550620000d23362000123565b660e35fa931a0000600b55600c805463ffffffff19166115b3179055601460805260c860c052600560a0526200011d62000114600a546001600160a01b031690565b6101f462000175565b6200035d565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620001e95760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002415760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001e0565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b828054620002889062000320565b90600052602060002090601f016020900481019282620002ac5760008555620002f7565b82601f10620002c757805160ff1916838001178555620002f7565b82800160010185558215620002f7579182015b82811115620002f7578251825591602001919060010190620002da565b506200030592915062000309565b5090565b5b808211156200030557600081556001016200030a565b600181811c908216806200033557607f821691505b602082108114156200035757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051612a57620003be600039600081816102f801528181610c31015261146901526000818161076b01528181610a1001528181610c65015261127e0152600081816104e701528181610c09015261130c0152612a576000f3fe6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c5146106f9578063ef6b141a14610719578063f2fde38b14610739578063f4e2ae5814610759578063f9da32241461078d57600080fd5b8063b88d4fde14610651578063c23dc68f14610671578063c87b56dd1461069e578063d4a67623146106be578063dd48f07d146106d357600080fd5b806391b7f5ed116100f257806391b7f5ed146105c957806395d89b41146105e957806399a2557a146105fe578063a22cb4651461061e578063a71bbebe1461063e57600080fd5b806370a0823114610529578063715018a614610549578063750521f51461055e5780638462151c1461057e5780638da5cb5b146105ab57600080fd5b806323b872dd116101bc5780634df8bb45116101805780634df8bb451461045b5780635bbb2177146104885780636352211e146104b557806363553e7c146104d5578063653a819e1461050957600080fd5b806323b872dd146103a55780632a55205a146103c55780633ccfd60b1461040457806342842e0e146104195780634df22a541461043957600080fd5b80630e2351e2116102035780630e2351e2146102e657806317a5aced1461032f57806318160ddd1461034f57806322f4596f14610372578063235b6ea11461038f57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612221565b6107ad565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f6107f3565b6040516102619190612296565b34801561029857600080fd5b506102ac6102a73660046122a9565b610885565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046122de565b6108c9565b005b3480156102f257600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610261565b34801561033b57600080fd5b506102e461034a36600461231c565b61099c565b34801561035b57600080fd5b50600354600254035b604051908152602001610261565b34801561037e57600080fd5b50600c5461031a9063ffffffff1681565b34801561039b57600080fd5b50610364600b5481565b3480156103b157600080fd5b506102e46103c036600461234f565b610aa4565b3480156103d157600080fd5b506103e56103e036600461238b565b610ab4565b604080516001600160a01b039093168352602083019190915201610261565b34801561041057600080fd5b506102e4610b60565b34801561042557600080fd5b506102e461043436600461234f565b610b96565b34801561044557600080fd5b50600c5461025590640100000000900460ff1681565b34801561046757600080fd5b5061047b6104763660046123ad565b610bb1565b60405161026191906123c8565b34801561049457600080fd5b506104a86104a3366004612485565b610cf4565b604051610261919061252a565b3480156104c157600080fd5b506102ac6104d03660046122a9565b610dba565b3480156104e157600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561051557600080fd5b506102e4610524366004612594565b610dc5565b34801561053557600080fd5b506103646105443660046123ad565b610e0d565b34801561055557600080fd5b506102e4610e5b565b34801561056a57600080fd5b506102e4610579366004612614565b610e8f565b34801561058a57600080fd5b5061059e6105993660046123ad565b610ecc565b604051610261919061265c565b3480156105b757600080fd5b50600a546001600160a01b03166102ac565b3480156105d557600080fd5b506102e46105e43660046122a9565b610fd4565b3480156105f557600080fd5b5061027f611003565b34801561060a57600080fd5b5061059e610619366004612694565b611012565b34801561062a57600080fd5b506102e46106393660046126d7565b61118f565b6102e461064c366004612701565b611225565b34801561065d57600080fd5b506102e461066c36600461271c565b6114f4565b34801561067d57600080fd5b5061069161068c3660046122a9565b61153e565b6040516102619190612797565b3480156106aa57600080fd5b5061027f6106b93660046122a9565b6115a7565b3480156106ca57600080fd5b5061027f611690565b3480156106df57600080fd5b50600c5461031a9065010000000000900463ffffffff1681565b34801561070557600080fd5b506102556107143660046127cc565b61171e565b34801561072557600080fd5b506102e46107343660046127f6565b61174c565b34801561074557600080fd5b506102e46107543660046123ad565b611796565b34801561076557600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561079957600080fd5b506102e46107a8366004612701565b61182e565b60006001600160e01b0319821663152a902d60e11b14806107de57506001600160e01b0319821663184371e560e31b145b806107ed57506107ed82611874565b92915050565b60606004805461080290612811565b80601f016020809104026020016040519081016040528092919081815260200182805461082e90612811565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b6000610890826118c2565b6108ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108d4826118ea565b9050806001600160a01b0316836001600160a01b031614156109095760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461094057610923813361171e565b610940576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146109cf5760405162461bcd60e51b81526004016109c69061284c565b60405180910390fd5b80600c60058282829054906101000a900463ffffffff166109f09190612897565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000063ffffffff16600c60059054906101000a900463ffffffff1663ffffffff161115610a905760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109c6565b610aa0828263ffffffff1661194b565b5050565b610aaf838383611965565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b295750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b48906001600160601b0316876128bf565b610b5291906128f4565b915196919550909350505050565b600a546001600160a01b03163314610b8a5760405162461bcd60e51b81526004016109c69061284c565b610b943347611b08565b565b610aaf838383604051806020016040528060008152506114f4565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040805161010081018252600b54815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000000811660208301527f0000000000000000000000000000000000000000000000000000000000000000811692820192909252600c54821660608201527f0000000000000000000000000000000000000000000000000000000000000000909116608082015260a08101610c9960025490565b63ffffffff168152602001610cd0846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600c54640100000000900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610d1357610d1361243f565b604051908082528060200260200182016040528015610d5e57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610d315790505b50905060005b828114610db257610d8d858281518110610d8057610d80612908565b602002602001015161153e565b828281518110610d9f57610d9f612908565b6020908102919091010152600101610d64565b509392505050565b60006107ed826118ea565b600a546001600160a01b03163314610def5760405162461bcd60e51b81526004016109c69061284c565b610e0a610e04600a546001600160a01b031690565b82611c21565b50565b60006001600160a01b038216610e36576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b600a546001600160a01b03163314610e855760405162461bcd60e51b81526004016109c69061284c565b610b946000611d1e565b600a546001600160a01b03163314610eb95760405162461bcd60e51b81526004016109c69061284c565b8051610aa090600d906020840190612172565b60606000806000610edc85610e0d565b90506000816001600160401b03811115610ef857610ef861243f565b604051908082528060200260200182016040528015610f21578160200160208202803683370190505b509050610f47604080516060810182526000808252602082018190529181019190915290565b60005b838614610fc857610f5a81611d70565b9150816040015115610f6b57610fc0565b81516001600160a01b031615610f8057815194505b876001600160a01b0316856001600160a01b03161415610fc05780838780600101985081518110610fb357610fb3612908565b6020026020010181815250505b600101610f4a565b50909695505050505050565b600a546001600160a01b03163314610ffe5760405162461bcd60e51b81526004016109c69061284c565b600b55565b60606005805461080290612811565b606081831061103457604051631960ccad60e11b815260040160405180910390fd5b60008061104060025490565b90508084111561104e578093505b600061105987610e0d565b9050848610156110785785850381811015611072578091505b5061107c565b5060005b6000816001600160401b038111156110965761109661243f565b6040519080825280602002602001820160405280156110bf578160200160208202803683370190505b509050816110d257935061118892505050565b60006110dd8861153e565b9050600081604001516110ee575080515b885b8881141580156111005750848714155b1561117c5761110e81611d70565b925082604001511561111f57611174565b82516001600160a01b03161561113457825191505b8a6001600160a01b0316826001600160a01b03161415611174578084888060010199508151811061116757611167612908565b6020026020010181815250505b6001016110f0565b50505092835250909150505b9392505050565b6001600160a01b0382163314156111b95760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c54640100000000900460ff166112755760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b60448201526064016109c6565b600c546112a9907f00000000000000000000000000000000000000000000000000000000000000009063ffffffff1661291e565b63ffffffff166112b860025490565b6112c89063ffffffff8416612943565b111561130a5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109c6565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff1611156113865760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d6974000000000000000060448201526064016109c6565b336000908152600760205260409081902054901c6001600160401b0316801561140557600b546113bc9063ffffffff84166128bf565b3410156114005760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109c6565b611467565b600b5461141360018461291e565b63ffffffff1661142391906128bf565b3410156114675760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109c6565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168263ffffffff16826114a09190612943565b11156114e45760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b60448201526064016109c6565b610aa0338363ffffffff1661194b565b6114ff848484611965565b6001600160a01b0383163b156115385761151b84848484611da5565b611538576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810183905290915060025483106115835792915050565b61158c83611d70565b905080604001511561159e5792915050565b61118883611e9d565b60606115b2826118c2565b6115cf57604051630a14c4b560e41b815260040160405180910390fd5b6000600d80546115de90612811565b80601f016020809104026020016040519081016040528092919081815260200182805461160a90612811565b80156116575780601f1061162c57610100808354040283529160200191611657565b820191906000526020600020905b81548152906001019060200180831161163a57829003601f168201915b505050505090508061166884611ecb565b60405160200161167992919061295b565b604051602081830303815290604052915050919050565b600d805461169d90612811565b80601f01602080910402602001604051908101604052809291908181526020018280546116c990612811565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031633146117765760405162461bcd60e51b81526004016109c69061284c565b600c80549115156401000000000264ff0000000019909216919091179055565b600a546001600160a01b031633146117c05760405162461bcd60e51b81526004016109c69061284c565b6001600160a01b0381166118255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c6565b610e0a81611d1e565b600a546001600160a01b031633146118585760405162461bcd60e51b81526004016109c69061284c565b600c805463ffffffff191663ffffffff92909216919091179055565b60006301ffc9a760e01b6001600160e01b0319831614806118a557506380ac58cd60e01b6001600160e01b03198316145b806107ed5750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107ed575050600090815260066020526040902054600160e01b161590565b60008160025481101561193257600081815260066020526040902054600160e01b8116611930575b80611188575060001901600081815260066020526040902054611912565b505b604051636f96cda160e11b815260040160405180910390fd5b610aa0828260405180602001604052806000815250611fc8565b6000611970826118ea565b9050836001600160a01b0316816001600160a01b0316146119a35760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806119c157506119c1853361171e565b806119dc5750336119d184610885565b6001600160a01b0316145b9050806119fc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611a2357604051633a954ecd60e21b815260040160405180910390fd5b600083815260086020908152604080832080546001600160a01b03191690556001600160a01b038881168452600783528184208054600019019055871683528083208054600101905585835260069091529020600160e11b4260a01b861781179091558216611ac05760018301600081815260066020526040902054611abe576002548114611abe5760008181526006602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b80471015611b585760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109c6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ba5576040519150601f19603f3d011682016040523d82523d6000602084013e611baa565b606091505b5050905080610aaf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109c6565b6127106001600160601b0382161115611c8f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109c6565b6001600160a01b038216611ce55760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109c6565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051606081018252600080825260208201819052918101919091526000828152600660205260409020546107ed90612138565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dda903390899088908890600401612981565b602060405180830381600087803b158015611df457600080fd5b505af1925050508015611e24575060408051601f3d908101601f19168201909252611e21918101906129be565b60015b611e7f573d808015611e52576040519150601f19603f3d011682016040523d82523d6000602084013e611e57565b606091505b508051611e77576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051606081018252600080825260208201819052918101919091526107ed611ec6836118ea565b612138565b606081611eef5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f195780611f03816129db565b9150611f129050600a836128f4565b9150611ef3565b6000816001600160401b03811115611f3357611f3361243f565b6040519080825280601f01601f191660200182016040528015611f5d576020820181803683370190505b5090505b8415611e9557611f726001836129f6565b9150611f7f600a86612a0d565b611f8a906030612943565b60f81b818381518110611f9f57611f9f612908565b60200101906001600160f81b031916908160001a905350611fc1600a866128f4565b9450611f61565b6002546001600160a01b038416611ff157604051622e076360e81b815260040160405180910390fd5b8261200f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526007602090815260408083208054680100000000000000018902019055848352600690915290204260a01b86176001861460e11b1790558190818501903b156120e4575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120ad6000878480600101955087611da5565b6120ca576040516368d2bf6b60e11b815260040160405180910390fd5b8082106120625782600254146120df57600080fd5b612129565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120e5575b50600255611538600085838684565b604080516060810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b90921615159082015290565b82805461217e90612811565b90600052602060002090601f0160209004810192826121a057600085556121e6565b82601f106121b957805160ff19168380011785556121e6565b828001600101855582156121e6579182015b828111156121e65782518255916020019190600101906121cb565b506121f29291506121f6565b5090565b5b808211156121f257600081556001016121f7565b6001600160e01b031981168114610e0a57600080fd5b60006020828403121561223357600080fd5b81356111888161220b565b60005b83811015612259578181015183820152602001612241565b838111156115385750506000910152565b6000815180845261228281602086016020860161223e565b601f01601f19169290920160200192915050565b602081526000611188602083018461226a565b6000602082840312156122bb57600080fd5b5035919050565b80356001600160a01b03811681146122d957600080fd5b919050565b600080604083850312156122f157600080fd5b6122fa836122c2565b946020939093013593505050565b803563ffffffff811681146122d957600080fd5b6000806040838503121561232f57600080fd5b612338836122c2565b915061234660208401612308565b90509250929050565b60008060006060848603121561236457600080fd5b61236d846122c2565b925061237b602085016122c2565b9150604084013590509250925092565b6000806040838503121561239e57600080fd5b50508035926020909101359150565b6000602082840312156123bf57600080fd5b611188826122c2565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161243860e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561247d5761247d61243f565b604052919050565b6000602080838503121561249857600080fd5b82356001600160401b03808211156124af57600080fd5b818501915085601f8301126124c357600080fd5b8135818111156124d5576124d561243f565b8060051b91506124e6848301612455565b818152918301840191848101908884111561250057600080fd5b938501935b8385101561251e57843582529385019390850190612505565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610fc85761258183855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b9284019260609290920191600101612546565b6000602082840312156125a657600080fd5b81356001600160601b038116811461118857600080fd5b60006001600160401b038311156125d6576125d661243f565b6125e9601f8401601f1916602001612455565b90508281528383830111156125fd57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561262657600080fd5b81356001600160401b0381111561263c57600080fd5b8201601f8101841361264d57600080fd5b611e95848235602084016125bd565b6020808252825182820181905260009190848201906040850190845b81811015610fc857835183529284019291840191600101612678565b6000806000606084860312156126a957600080fd5b6126b2846122c2565b95602085013595506040909401359392505050565b803580151581146122d957600080fd5b600080604083850312156126ea57600080fd5b6126f3836122c2565b9150612346602084016126c7565b60006020828403121561271357600080fd5b61118882612308565b6000806000806080858703121561273257600080fd5b61273b856122c2565b9350612749602086016122c2565b92506040850135915060608501356001600160401b0381111561276b57600080fd5b8501601f8101871361277c57600080fd5b61278b878235602084016125bd565b91505092959194509250565b81516001600160a01b031681526020808301516001600160401b031690820152604080830151151590820152606081016107ed565b600080604083850312156127df57600080fd5b6127e8836122c2565b9150612346602084016122c2565b60006020828403121561280857600080fd5b611188826126c7565b600181811c9082168061282557607f821691505b6020821081141561284657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156128b6576128b6612881565b01949350505050565b60008160001904831182151516156128d9576128d9612881565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612903576129036128de565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff8381169083168181101561293b5761293b612881565b039392505050565b6000821982111561295657612956612881565b500190565b6000835161296d81846020880161223e565b8351908301906128b681836020880161223e565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129b49083018461226a565b9695505050505050565b6000602082840312156129d057600080fd5b81516111888161220b565b60006000198214156129ef576129ef612881565b5060010190565b600082821015612a0857612a08612881565b500390565b600082612a1c57612a1c6128de565b50069056fea26469706673582212203a2d9c9ac2795928782c662648ba4cd5b89ff32de98cc38b4093d3025a027b6864736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c5146106f9578063ef6b141a14610719578063f2fde38b14610739578063f4e2ae5814610759578063f9da32241461078d57600080fd5b8063b88d4fde14610651578063c23dc68f14610671578063c87b56dd1461069e578063d4a67623146106be578063dd48f07d146106d357600080fd5b806391b7f5ed116100f257806391b7f5ed146105c957806395d89b41146105e957806399a2557a146105fe578063a22cb4651461061e578063a71bbebe1461063e57600080fd5b806370a0823114610529578063715018a614610549578063750521f51461055e5780638462151c1461057e5780638da5cb5b146105ab57600080fd5b806323b872dd116101bc5780634df8bb45116101805780634df8bb451461045b5780635bbb2177146104885780636352211e146104b557806363553e7c146104d5578063653a819e1461050957600080fd5b806323b872dd146103a55780632a55205a146103c55780633ccfd60b1461040457806342842e0e146104195780634df22a541461043957600080fd5b80630e2351e2116102035780630e2351e2146102e657806317a5aced1461032f57806318160ddd1461034f57806322f4596f14610372578063235b6ea11461038f57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004612221565b6107ad565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f6107f3565b6040516102619190612296565b34801561029857600080fd5b506102ac6102a73660046122a9565b610885565b6040516001600160a01b039091168152602001610261565b3480156102d057600080fd5b506102e46102df3660046122de565b6108c9565b005b3480156102f257600080fd5b5061031a7f00000000000000000000000000000000000000000000000000000000000000c881565b60405163ffffffff9091168152602001610261565b34801561033b57600080fd5b506102e461034a36600461231c565b61099c565b34801561035b57600080fd5b50600354600254035b604051908152602001610261565b34801561037e57600080fd5b50600c5461031a9063ffffffff1681565b34801561039b57600080fd5b50610364600b5481565b3480156103b157600080fd5b506102e46103c036600461234f565b610aa4565b3480156103d157600080fd5b506103e56103e036600461238b565b610ab4565b604080516001600160a01b039093168352602083019190915201610261565b34801561041057600080fd5b506102e4610b60565b34801561042557600080fd5b506102e461043436600461234f565b610b96565b34801561044557600080fd5b50600c5461025590640100000000900460ff1681565b34801561046757600080fd5b5061047b6104763660046123ad565b610bb1565b60405161026191906123c8565b34801561049457600080fd5b506104a86104a3366004612485565b610cf4565b604051610261919061252a565b3480156104c157600080fd5b506102ac6104d03660046122a9565b610dba565b3480156104e157600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000001481565b34801561051557600080fd5b506102e4610524366004612594565b610dc5565b34801561053557600080fd5b506103646105443660046123ad565b610e0d565b34801561055557600080fd5b506102e4610e5b565b34801561056a57600080fd5b506102e4610579366004612614565b610e8f565b34801561058a57600080fd5b5061059e6105993660046123ad565b610ecc565b604051610261919061265c565b3480156105b757600080fd5b50600a546001600160a01b03166102ac565b3480156105d557600080fd5b506102e46105e43660046122a9565b610fd4565b3480156105f557600080fd5b5061027f611003565b34801561060a57600080fd5b5061059e610619366004612694565b611012565b34801561062a57600080fd5b506102e46106393660046126d7565b61118f565b6102e461064c366004612701565b611225565b34801561065d57600080fd5b506102e461066c36600461271c565b6114f4565b34801561067d57600080fd5b5061069161068c3660046122a9565b61153e565b6040516102619190612797565b3480156106aa57600080fd5b5061027f6106b93660046122a9565b6115a7565b3480156106ca57600080fd5b5061027f611690565b3480156106df57600080fd5b50600c5461031a9065010000000000900463ffffffff1681565b34801561070557600080fd5b506102556107143660046127cc565b61171e565b34801561072557600080fd5b506102e46107343660046127f6565b61174c565b34801561074557600080fd5b506102e46107543660046123ad565b611796565b34801561076557600080fd5b5061031a7f000000000000000000000000000000000000000000000000000000000000000581565b34801561079957600080fd5b506102e46107a8366004612701565b61182e565b60006001600160e01b0319821663152a902d60e11b14806107de57506001600160e01b0319821663184371e560e31b145b806107ed57506107ed82611874565b92915050565b60606004805461080290612811565b80601f016020809104026020016040519081016040528092919081815260200182805461082e90612811565b801561087b5780601f106108505761010080835404028352916020019161087b565b820191906000526020600020905b81548152906001019060200180831161085e57829003601f168201915b5050505050905090565b6000610890826118c2565b6108ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108d4826118ea565b9050806001600160a01b0316836001600160a01b031614156109095760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461094057610923813361171e565b610940576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146109cf5760405162461bcd60e51b81526004016109c69061284c565b60405180910390fd5b80600c60058282829054906101000a900463ffffffff166109f09190612897565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000563ffffffff16600c60059054906101000a900463ffffffff1663ffffffff161115610a905760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109c6565b610aa0828263ffffffff1661194b565b5050565b610aaf838383611965565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b295750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b48906001600160601b0316876128bf565b610b5291906128f4565b915196919550909350505050565b600a546001600160a01b03163314610b8a5760405162461bcd60e51b81526004016109c69061284c565b610b943347611b08565b565b610aaf838383604051806020016040528060008152506114f4565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040805161010081018252600b54815263ffffffff7f0000000000000000000000000000000000000000000000000000000000000014811660208301527f00000000000000000000000000000000000000000000000000000000000000c8811692820192909252600c54821660608201527f0000000000000000000000000000000000000000000000000000000000000005909116608082015260a08101610c9960025490565b63ffffffff168152602001610cd0846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600c54640100000000900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610d1357610d1361243f565b604051908082528060200260200182016040528015610d5e57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610d315790505b50905060005b828114610db257610d8d858281518110610d8057610d80612908565b602002602001015161153e565b828281518110610d9f57610d9f612908565b6020908102919091010152600101610d64565b509392505050565b60006107ed826118ea565b600a546001600160a01b03163314610def5760405162461bcd60e51b81526004016109c69061284c565b610e0a610e04600a546001600160a01b031690565b82611c21565b50565b60006001600160a01b038216610e36576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b600a546001600160a01b03163314610e855760405162461bcd60e51b81526004016109c69061284c565b610b946000611d1e565b600a546001600160a01b03163314610eb95760405162461bcd60e51b81526004016109c69061284c565b8051610aa090600d906020840190612172565b60606000806000610edc85610e0d565b90506000816001600160401b03811115610ef857610ef861243f565b604051908082528060200260200182016040528015610f21578160200160208202803683370190505b509050610f47604080516060810182526000808252602082018190529181019190915290565b60005b838614610fc857610f5a81611d70565b9150816040015115610f6b57610fc0565b81516001600160a01b031615610f8057815194505b876001600160a01b0316856001600160a01b03161415610fc05780838780600101985081518110610fb357610fb3612908565b6020026020010181815250505b600101610f4a565b50909695505050505050565b600a546001600160a01b03163314610ffe5760405162461bcd60e51b81526004016109c69061284c565b600b55565b60606005805461080290612811565b606081831061103457604051631960ccad60e11b815260040160405180910390fd5b60008061104060025490565b90508084111561104e578093505b600061105987610e0d565b9050848610156110785785850381811015611072578091505b5061107c565b5060005b6000816001600160401b038111156110965761109661243f565b6040519080825280602002602001820160405280156110bf578160200160208202803683370190505b509050816110d257935061118892505050565b60006110dd8861153e565b9050600081604001516110ee575080515b885b8881141580156111005750848714155b1561117c5761110e81611d70565b925082604001511561111f57611174565b82516001600160a01b03161561113457825191505b8a6001600160a01b0316826001600160a01b03161415611174578084888060010199508151811061116757611167612908565b6020026020010181815250505b6001016110f0565b50505092835250909150505b9392505050565b6001600160a01b0382163314156111b95760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c54640100000000900460ff166112755760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b60448201526064016109c6565b600c546112a9907f00000000000000000000000000000000000000000000000000000000000000059063ffffffff1661291e565b63ffffffff166112b860025490565b6112c89063ffffffff8416612943565b111561130a5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109c6565b7f000000000000000000000000000000000000000000000000000000000000001463ffffffff168163ffffffff1611156113865760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d6974000000000000000060448201526064016109c6565b336000908152600760205260409081902054901c6001600160401b0316801561140557600b546113bc9063ffffffff84166128bf565b3410156114005760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109c6565b611467565b600b5461141360018461291e565b63ffffffff1661142391906128bf565b3410156114675760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109c6565b7f00000000000000000000000000000000000000000000000000000000000000c863ffffffff168263ffffffff16826114a09190612943565b11156114e45760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b60448201526064016109c6565b610aa0338363ffffffff1661194b565b6114ff848484611965565b6001600160a01b0383163b156115385761151b84848484611da5565b611538576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810183905290915060025483106115835792915050565b61158c83611d70565b905080604001511561159e5792915050565b61118883611e9d565b60606115b2826118c2565b6115cf57604051630a14c4b560e41b815260040160405180910390fd5b6000600d80546115de90612811565b80601f016020809104026020016040519081016040528092919081815260200182805461160a90612811565b80156116575780601f1061162c57610100808354040283529160200191611657565b820191906000526020600020905b81548152906001019060200180831161163a57829003601f168201915b505050505090508061166884611ecb565b60405160200161167992919061295b565b604051602081830303815290604052915050919050565b600d805461169d90612811565b80601f01602080910402602001604051908101604052809291908181526020018280546116c990612811565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031633146117765760405162461bcd60e51b81526004016109c69061284c565b600c80549115156401000000000264ff0000000019909216919091179055565b600a546001600160a01b031633146117c05760405162461bcd60e51b81526004016109c69061284c565b6001600160a01b0381166118255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c6565b610e0a81611d1e565b600a546001600160a01b031633146118585760405162461bcd60e51b81526004016109c69061284c565b600c805463ffffffff191663ffffffff92909216919091179055565b60006301ffc9a760e01b6001600160e01b0319831614806118a557506380ac58cd60e01b6001600160e01b03198316145b806107ed5750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107ed575050600090815260066020526040902054600160e01b161590565b60008160025481101561193257600081815260066020526040902054600160e01b8116611930575b80611188575060001901600081815260066020526040902054611912565b505b604051636f96cda160e11b815260040160405180910390fd5b610aa0828260405180602001604052806000815250611fc8565b6000611970826118ea565b9050836001600160a01b0316816001600160a01b0316146119a35760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806119c157506119c1853361171e565b806119dc5750336119d184610885565b6001600160a01b0316145b9050806119fc57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611a2357604051633a954ecd60e21b815260040160405180910390fd5b600083815260086020908152604080832080546001600160a01b03191690556001600160a01b038881168452600783528184208054600019019055871683528083208054600101905585835260069091529020600160e11b4260a01b861781179091558216611ac05760018301600081815260066020526040902054611abe576002548114611abe5760008181526006602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b80471015611b585760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109c6565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611ba5576040519150601f19603f3d011682016040523d82523d6000602084013e611baa565b606091505b5050905080610aaf5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109c6565b6127106001600160601b0382161115611c8f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109c6565b6001600160a01b038216611ce55760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109c6565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051606081018252600080825260208201819052918101919091526000828152600660205260409020546107ed90612138565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dda903390899088908890600401612981565b602060405180830381600087803b158015611df457600080fd5b505af1925050508015611e24575060408051601f3d908101601f19168201909252611e21918101906129be565b60015b611e7f573d808015611e52576040519150601f19603f3d011682016040523d82523d6000602084013e611e57565b606091505b508051611e77576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051606081018252600080825260208201819052918101919091526107ed611ec6836118ea565b612138565b606081611eef5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f195780611f03816129db565b9150611f129050600a836128f4565b9150611ef3565b6000816001600160401b03811115611f3357611f3361243f565b6040519080825280601f01601f191660200182016040528015611f5d576020820181803683370190505b5090505b8415611e9557611f726001836129f6565b9150611f7f600a86612a0d565b611f8a906030612943565b60f81b818381518110611f9f57611f9f612908565b60200101906001600160f81b031916908160001a905350611fc1600a866128f4565b9450611f61565b6002546001600160a01b038416611ff157604051622e076360e81b815260040160405180910390fd5b8261200f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526007602090815260408083208054680100000000000000018902019055848352600690915290204260a01b86176001861460e11b1790558190818501903b156120e4575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120ad6000878480600101955087611da5565b6120ca576040516368d2bf6b60e11b815260040160405180910390fd5b8082106120625782600254146120df57600080fd5b612129565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120e5575b50600255611538600085838684565b604080516060810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b90921615159082015290565b82805461217e90612811565b90600052602060002090601f0160209004810192826121a057600085556121e6565b82601f106121b957805160ff19168380011785556121e6565b828001600101855582156121e6579182015b828111156121e65782518255916020019190600101906121cb565b506121f29291506121f6565b5090565b5b808211156121f257600081556001016121f7565b6001600160e01b031981168114610e0a57600080fd5b60006020828403121561223357600080fd5b81356111888161220b565b60005b83811015612259578181015183820152602001612241565b838111156115385750506000910152565b6000815180845261228281602086016020860161223e565b601f01601f19169290920160200192915050565b602081526000611188602083018461226a565b6000602082840312156122bb57600080fd5b5035919050565b80356001600160a01b03811681146122d957600080fd5b919050565b600080604083850312156122f157600080fd5b6122fa836122c2565b946020939093013593505050565b803563ffffffff811681146122d957600080fd5b6000806040838503121561232f57600080fd5b612338836122c2565b915061234660208401612308565b90509250929050565b60008060006060848603121561236457600080fd5b61236d846122c2565b925061237b602085016122c2565b9150604084013590509250925092565b6000806040838503121561239e57600080fd5b50508035926020909101359150565b6000602082840312156123bf57600080fd5b611188826122c2565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161243860e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561247d5761247d61243f565b604052919050565b6000602080838503121561249857600080fd5b82356001600160401b03808211156124af57600080fd5b818501915085601f8301126124c357600080fd5b8135818111156124d5576124d561243f565b8060051b91506124e6848301612455565b818152918301840191848101908884111561250057600080fd5b938501935b8385101561251e57843582529385019390850190612505565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610fc85761258183855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b9284019260609290920191600101612546565b6000602082840312156125a657600080fd5b81356001600160601b038116811461118857600080fd5b60006001600160401b038311156125d6576125d661243f565b6125e9601f8401601f1916602001612455565b90508281528383830111156125fd57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561262657600080fd5b81356001600160401b0381111561263c57600080fd5b8201601f8101841361264d57600080fd5b611e95848235602084016125bd565b6020808252825182820181905260009190848201906040850190845b81811015610fc857835183529284019291840191600101612678565b6000806000606084860312156126a957600080fd5b6126b2846122c2565b95602085013595506040909401359392505050565b803580151581146122d957600080fd5b600080604083850312156126ea57600080fd5b6126f3836122c2565b9150612346602084016126c7565b60006020828403121561271357600080fd5b61118882612308565b6000806000806080858703121561273257600080fd5b61273b856122c2565b9350612749602086016122c2565b92506040850135915060608501356001600160401b0381111561276b57600080fd5b8501601f8101871361277c57600080fd5b61278b878235602084016125bd565b91505092959194509250565b81516001600160a01b031681526020808301516001600160401b031690820152604080830151151590820152606081016107ed565b600080604083850312156127df57600080fd5b6127e8836122c2565b9150612346602084016122c2565b60006020828403121561280857600080fd5b611188826126c7565b600181811c9082168061282557607f821691505b6020821081141561284657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156128b6576128b6612881565b01949350505050565b60008160001904831182151516156128d9576128d9612881565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612903576129036128de565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff8381169083168181101561293b5761293b612881565b039392505050565b6000821982111561295657612956612881565b500190565b6000835161296d81846020880161223e565b8351908301906128b681836020880161223e565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129b49083018461226a565b9695505050505050565b6000602082840312156129d057600080fd5b81516111888161220b565b60006000198214156129ef576129ef612881565b5060010190565b600082821015612a0857612a08612881565b500390565b600082612a1c57612a1c6128de565b50069056fea26469706673582212203a2d9c9ac2795928782c662648ba4cd5b89ff32de98cc38b4093d3025a027b6864736f6c63430008090033
Deployed Bytecode Sourcemap
68164:3595:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70787:300;;;;;;;;;;-1:-1:-1;70787:300:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;70787:300:0;;;;;;;;18086:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20154:204::-;;;;;;;;;;-1:-1:-1;20154:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1788:32:1;;;1770:51;;1758:2;1743:18;20154:204:0;1624:203:1;19614:474:0;;;;;;;;;;-1:-1:-1;19614:474:0;;;;;:::i;:::-;;:::i;:::-;;68448:36;;;;;;;;;;;;;;;;;;2443:10:1;2431:23;;;2413:42;;2401:2;2386:18;68448:36:0;2269:192:1;71095:205:0;;;;;;;;;;-1:-1:-1;71095:205:0;;;;;:::i;:::-;;:::i;12127:315::-;;;;;;;;;;-1:-1:-1;12393:12:0;;12377:13;;:28;12127:315;;;3043:25:1;;;3031:2;3016:18;12127:315:0;2897:177:1;68373:24:0;;;;;;;;;;-1:-1:-1;68373:24:0;;;;;;;;68306:21;;;;;;;;;;;;;;;;21040:170;;;;;;;;;;-1:-1:-1;21040:170:0;;;;;:::i;:::-;;:::i;62123:442::-;;;;;;;;;;-1:-1:-1;62123:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3857:32:1;;;3839:51;;3921:2;3906:18;;3899:34;;;;3812:18;62123:442:0;3665:274:1;71646:110:0;;;;;;;;;;;;;:::i;21281:185::-;;;;;;;;;;-1:-1:-1;21281:185:0;;;;;:::i;:::-;;:::i;68493:20::-;;;;;;;;;;-1:-1:-1;68493:20:0;;;;;;;;;;;69783:498;;;;;;;;;;-1:-1:-1;69783:498:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;42285:468::-;;;;;;;;;;-1:-1:-1;42285:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;17875:144::-;;;;;;;;;;-1:-1:-1;17875:144:0;;;;;:::i;:::-;;:::i;68334:32::-;;;;;;;;;;;;;;;71308:125;;;;;;;;;;-1:-1:-1;71308:125:0;;;;;:::i;:::-;;:::i;13752:224::-;;;;;;;;;;-1:-1:-1;13752:224:0;;;;;:::i;:::-;;:::i;67270:103::-;;;;;;;;;;;;;:::i;71539:99::-;;;;;;;;;;-1:-1:-1;71539:99:0;;;;;:::i;:::-;;:::i;46097:892::-;;;;;;;;;;-1:-1:-1;46097:892:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;66619:87::-;;;;;;;;;;-1:-1:-1;66692:6:0;;-1:-1:-1;;;;;66692:6:0;66619:87;;70289:86;;;;;;;;;;-1:-1:-1;70289:86:0;;;;;:::i;:::-;;:::i;18255:104::-;;;;;;;;;;;;;:::i;43143:2505::-;;;;;;;;;;-1:-1:-1;43143:2505:0;;;;;:::i;:::-;;:::i;20430:308::-;;;;;;;;;;-1:-1:-1;20430:308:0;;;;;:::i;:::-;;:::i;69127:648::-;;;;;;:::i;:::-;;:::i;21537:396::-;;;;;;;;;;-1:-1:-1;21537:396:0;;;;;:::i;:::-;;:::i;41706:420::-;;;;;;;;;;-1:-1:-1;41706:420:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;70489:290::-;;;;;;;;;;-1:-1:-1;70489:290:0;;;;;:::i;:::-;;:::i;68552:61::-;;;;;;;;;;;;;:::i;68520:25::-;;;;;;;;;;-1:-1:-1;68520:25:0;;;;;;;;;;;20809:164;;;;;;;;;;-1:-1:-1;20809:164:0;;;;;:::i;:::-;;:::i;71441:90::-;;;;;;;;;;-1:-1:-1;71441:90:0;;;;;:::i;:::-;;:::i;67528:201::-;;;;;;;;;;-1:-1:-1;67528:201:0;;;;;:::i;:::-;;:::i;68404:37::-;;;;;;;;;;;;;;;70381:100;;;;;;;;;;-1:-1:-1;70381:100:0;;;;;:::i;:::-;;:::i;70787:300::-;70890:4;-1:-1:-1;;;;;;70927:41:0;;-1:-1:-1;;;70927:41:0;;:99;;-1:-1:-1;;;;;;;70985:41:0;;-1:-1:-1;;;70985:41:0;70927:99;:152;;;;71043:36;71067:11;71043:23;:36::i;:::-;70907:172;70787:300;-1:-1:-1;;70787:300:0:o;18086:100::-;18140:13;18173:5;18166:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18086:100;:::o;20154:204::-;20222:7;20247:16;20255:7;20247;:16::i;:::-;20242:64;;20272:34;;-1:-1:-1;;;20272:34:0;;;;;;;;;;;20242:64;-1:-1:-1;20326:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20326:24:0;;20154:204::o;19614:474::-;19687:13;19719:27;19738:7;19719:18;:27::i;:::-;19687:61;;19769:5;-1:-1:-1;;;;;19763:11:0;:2;-1:-1:-1;;;;;19763:11:0;;19759:48;;;19783:24;;-1:-1:-1;;;19783:24:0;;;;;;;;;;;19759:48;36257:10;-1:-1:-1;;;;;19824:28:0;;;19820:175;;19872:44;19889:5;36257:10;20809:164;:::i;19872:44::-;19867:128;;19944:35;;-1:-1:-1;;;19944:35:0;;;;;;;;;;;19867:128;20007:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20007:29:0;-1:-1:-1;;;;;20007:29:0;;;;;;;;;20052:28;;20007:24;;20052:28;;;;;;;19676:412;19614:474;;:::o;71095:205::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;;;;;;;;;71184:6:::1;71169:11;;:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;71225:13;71210:28;;:11;;;;;;;;;;;:28;;;;71201:59;;;::::0;-1:-1:-1;;;71201:59:0;;12818:2:1;71201:59:0::1;::::0;::::1;12800:21:1::0;12857:2;12837:18;;;12830:30;-1:-1:-1;;;12876:18:1;;;12869:47;12933:18;;71201:59:0::1;12616:341:1::0;71201:59:0::1;71271:21;71281:2;71285:6;71271:21;;:9;:21::i;:::-;71095:205:::0;;:::o;21040:170::-;21174:28;21184:4;21190:2;21194:7;21174:9;:28::i;:::-;21040:170;;;:::o;62123:442::-;62220:7;62278:27;;;:17;:27;;;;;;;;62249:56;;;;;;;;;-1:-1:-1;;;;;62249:56:0;;;;;-1:-1:-1;;;62249:56:0;;;-1:-1:-1;;;;;62249:56:0;;;;;;;;62220:7;;62318:92;;-1:-1:-1;62369:29:0;;;;;;;;;-1:-1:-1;62369:29:0;-1:-1:-1;;;;;62369:29:0;;;;-1:-1:-1;;;62369:29:0;;-1:-1:-1;;;;;62369:29:0;;;;;62318:92;62460:23;;;;62422:21;;62931:5;;62447:36;;-1:-1:-1;;;;;62447:36:0;:10;:36;:::i;:::-;62446:58;;;;:::i;:::-;62525:16;;;;;-1:-1:-1;62123:442:0;;-1:-1:-1;;;;62123:442:0:o;71646:110::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71696:52:::1;71704:10;71726:21;71696:29;:52::i;:::-;71646:110::o:0;21281:185::-;21419:39;21436:4;21442:2;21446:7;21419:39;;;;;;;;;;;;:16;:39::i;69783:498::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69889:384:0;;;;;;;;69927:6;;69889:384;;;69961:8;69889:384;;;;;;70001:12;69889:384;;;;;;;;;70043:10;;;;69889:384;;;;70086:13;69889:384;;;;;;;;;;70138:22;12775:13;;;12540:285;70138:22;69889:384;;;;;;70199:21;70213:6;-1:-1:-1;;;;;14147:25:0;14119:7;14147:25;;;:18;:25;;9228:2;14147:25;;;;;:49;;-1:-1:-1;;;;;14146:80:0;;14058:176;70199:21;69889:384;;;;70249:8;;;;;;;69889:384;;;;;;;69869:404;;-1:-1:-1;;69783:498:0:o;42285:468::-;42460:15;;42374:23;;42435:22;42460:15;-1:-1:-1;;;;;42527:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;42527:36:0;;-1:-1:-1;;42527:36:0;;;;;;;;;;;;42490:73;;42583:9;42578:125;42599:14;42594:1;:19;42578:125;;42655:32;42675:8;42684:1;42675:11;;;;;;;;:::i;:::-;;;;;;;42655:19;:32::i;:::-;42639:10;42650:1;42639:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;42615:3;;42578:125;;;-1:-1:-1;42724:10:0;42285:468;-1:-1:-1;;;42285:468:0:o;17875:144::-;17939:7;17982:27;18001:7;17982:18;:27::i;71308:125::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71384:41:::1;71403:7;66692:6:::0;;-1:-1:-1;;;;;66692:6:0;;66619:87;71403:7:::1;71412:12;71384:18;:41::i;:::-;71308:125:::0;:::o;13752:224::-;13816:7;-1:-1:-1;;;;;13840:19:0;;13836:60;;13868:28;;-1:-1:-1;;;13868:28:0;;;;;;;;;;;13836:60;-1:-1:-1;;;;;;13914:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;13914:54:0;;13752:224::o;67270:103::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;67335:30:::1;67362:1;67335:18;:30::i;71539:99::-:0;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71612:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;46097:892::-:0;46167:16;46221:19;46255:25;46295:22;46320:16;46330:5;46320:9;:16::i;:::-;46295:41;;46351:25;46393:14;-1:-1:-1;;;;;46379:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46379:29:0;;46351:57;;46423:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;46423:31:0;46474:9;46469:472;46518:14;46503:11;:29;46469:472;;46570:15;46583:1;46570:12;:15::i;:::-;46558:27;;46608:9;:16;;;46604:73;;;46649:8;;46604:73;46699:14;;-1:-1:-1;;;;;46699:28:0;;46695:111;;46772:14;;;-1:-1:-1;46695:111:0;46849:5;-1:-1:-1;;;;;46828:26:0;:17;-1:-1:-1;;;;;46828:26:0;;46824:102;;;46905:1;46879:8;46888:13;;;;;;46879:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;46824:102;46534:3;;46469:472;;;-1:-1:-1;46962:8:0;;46097:892;-1:-1:-1;;;;;;46097:892:0:o;70289:86::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;70353:6:::1;:14:::0;70289:86::o;18255:104::-;18311:13;18344:7;18337:14;;;;;:::i;43143:2505::-;43278:16;43345:4;43336:5;:13;43332:45;;43358:19;;-1:-1:-1;;;43358:19:0;;;;;;;;;;;43332:45;43392:19;43426:17;43446:14;11895:13;;;11821:95;43446:14;43426:34;-1:-1:-1;43697:9:0;43690:4;:16;43686:73;;;43734:9;43727:16;;43686:73;43773:25;43801:16;43811:5;43801:9;:16::i;:::-;43773:44;;43995:4;43987:5;:12;43983:278;;;44042:12;;;44077:31;;;44073:111;;;44153:11;44133:31;;44073:111;44001:198;43983:278;;;-1:-1:-1;44244:1:0;43983:278;44275:25;44317:17;-1:-1:-1;;;;;44303:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44303:32:0;-1:-1:-1;44275:60:0;-1:-1:-1;44354:22:0;44350:78;;44404:8;-1:-1:-1;44397:15:0;;-1:-1:-1;;;44397:15:0;44350:78;44572:31;44606:26;44626:5;44606:19;:26::i;:::-;44572:60;;44647:25;44892:9;:16;;;44887:92;;-1:-1:-1;44949:14:0;;44887:92;45010:5;44993:478;45022:4;45017:1;:9;;:45;;;;;45045:17;45030:11;:32;;45017:45;44993:478;;;45100:15;45113:1;45100:12;:15::i;:::-;45088:27;;45138:9;:16;;;45134:73;;;45179:8;;45134:73;45229:14;;-1:-1:-1;;;;;45229:28:0;;45225:111;;45302:14;;;-1:-1:-1;45225:111:0;45379:5;-1:-1:-1;;;;;45358:26:0;:17;-1:-1:-1;;;;;45358:26:0;;45354:102;;;45435:1;45409:8;45418:13;;;;;;45409:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;45354:102;45064:3;;44993:478;;;-1:-1:-1;;;45556:29:0;;;-1:-1:-1;45563:8:0;;-1:-1:-1;;43143:2505:0;;;;;;:::o;20430:308::-;-1:-1:-1;;;;;20529:31:0;;36257:10;20529:31;20525:61;;;20569:17;;-1:-1:-1;;;20569:17:0;;;;;;;;;;;20525:61;36257:10;20599:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20599:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20599:60:0;;;;;;;;;;20675:55;;636:41:1;;;20599:49:0;;36257:10;20675:55;;609:18:1;20675:55:0;;;;;;;20430:308;;:::o;69127:648::-;69192:8;;;;;;;69184:40;;;;-1:-1:-1;;;69184:40:0;;13726:2:1;69184:40:0;;;13708:21:1;13765:2;13745:18;;;13738:30;-1:-1:-1;;;13784:18:1;;;13777:49;13843:18;;69184:40:0;13524:343:1;69184:40:0;69270:10;;:26;;69283:13;;69270:10;;:26;:::i;:::-;69243:53;;69252:14;12775:13;;;12540:285;69252:14;69243:23;;;;;;:::i;:::-;:53;;69235:83;;;;-1:-1:-1;;;69235:83:0;;12818:2:1;69235:83:0;;;12800:21:1;12857:2;12837:18;;;12830:30;-1:-1:-1;;;12876:18:1;;;12869:47;12933:18;;69235:83:0;12616:341:1;69235:83:0;69347:8;69337:18;;:6;:18;;;;69329:55;;;;-1:-1:-1;;;69329:55:0;;14433:2:1;69329:55:0;;;14415:21:1;14472:2;14452:18;;;14445:30;14511:26;14491:18;;;14484:54;14555:18;;69329:55:0;14231:348:1;69329:55:0;69428:10;69397:14;14147:25;;;:18;:25;;9228:2;14147:25;;;;;:49;;-1:-1:-1;;;;;14146:80:0;69454:10;;69450:200;;69511:6;;69502:15;;;;;;:::i;:::-;69489:9;:28;;69481:59;;;;-1:-1:-1;;;69481:59:0;;14786:2:1;69481:59:0;;;14768:21:1;14825:2;14805:18;;;14798:30;-1:-1:-1;;;14844:18:1;;;14837:48;14902:18;;69481:59:0;14584:342:1;69481:59:0;69450:200;;;69609:6;;69595:10;69604:1;69595:6;:10;:::i;:::-;69594:21;;;;;;:::i;:::-;69581:9;:34;;69573:65;;;;-1:-1:-1;;;69573:65:0;;14786:2:1;69573:65:0;;;14768:21:1;14825:2;14805:18;;;14798:30;-1:-1:-1;;;14844:18:1;;;14837:48;14902:18;;69573:65:0;14584:342:1;69573:65:0;69689:12;69670:31;;69679:6;69670:15;;:6;:15;;;;:::i;:::-;:31;;69662:63;;;;-1:-1:-1;;;69662:63:0;;15133:2:1;69662:63:0;;;15115:21:1;15172:2;15152:18;;;15145:30;-1:-1:-1;;;15191:18:1;;;15184:49;15250:18;;69662:63:0;14931:343:1;69662:63:0;69738:29;69748:10;69760:6;69738:29;;:9;:29::i;21537:396::-;21704:28;21714:4;21720:2;21724:7;21704:9;:28::i;:::-;-1:-1:-1;;;;;21747:14:0;;;:19;21743:183;;21786:56;21817:4;21823:2;21827:7;21836:5;21786:30;:56::i;:::-;21781:145;;21870:40;;-1:-1:-1;;;21870:40:0;;;;;;;;;;;21781:145;21537:396;;;;:::o;41706:420::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11895:13:0;;41891:7;:25;41858:103;;41940:9;41706:420;-1:-1:-1;;41706:420:0:o;41858:103::-;41983:21;41996:7;41983:12;:21::i;:::-;41971:33;;42019:9;:16;;;42015:65;;;42059:9;41706:420;-1:-1:-1;;41706:420:0:o;42015:65::-;42097:21;42110:7;42097:12;:21::i;70489:290::-;70562:13;70593:16;70601:7;70593;:16::i;:::-;70588:59;;70618:29;;-1:-1:-1;;;70618:29:0;;;;;;;;;;;70588:59;70660:21;70684:12;70660:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70738:7;70747:18;:7;:16;:18::i;:::-;70721:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70707:64;;;70489:290;;;:::o;68552:61::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20809:164::-;-1:-1:-1;;;;;20930:25:0;;;20906:4;20930:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20809:164::o;71441:90::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71505:8:::1;:18:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;71505:18:0;;::::1;::::0;;;::::1;::::0;;71441:90::o;67528:201::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;67617:22:0;::::1;67609:73;;;::::0;-1:-1:-1;;;67609:73:0;;16057:2:1;67609:73:0::1;::::0;::::1;16039:21:1::0;16096:2;16076:18;;;16069:30;16135:34;16115:18;;;16108:62;-1:-1:-1;;;16186:18:1;;;16179:36;16232:19;;67609:73:0::1;15855:402:1::0;67609:73:0::1;67693:28;67712:8;67693:18;:28::i;70381:100::-:0;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;70451:10:::1;:22:::0;;-1:-1:-1;;70451:22:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;70381:100::o;13073:615::-;13158:4;-1:-1:-1;;;;;;;;;13458:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13535:25:0;;;13458:102;:179;;;-1:-1:-1;;;;;;;;13612:25:0;-1:-1:-1;;;13612:25:0;;13073:615::o;22188:273::-;22245:4;22335:13;;22325:7;:23;22282:152;;;;-1:-1:-1;;22386:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22386:43:0;:48;;22188:273::o;15390:1129::-;15457:7;15492;15594:13;;15587:4;:20;15583:869;;;15632:14;15649:23;;;:17;:23;;;;;;-1:-1:-1;;;15738:23:0;;15734:699;;16257:113;16264:11;16257:113;;-1:-1:-1;;;16335:6:0;16317:25;;;;:17;:25;;;;;;16257:113;;15734:699;15609:843;15583:869;16480:31;;-1:-1:-1;;;16480:31:0;;;;;;;;;;;22545:104;22614:27;22624:2;22628:8;22614:27;;;;;;;;;;;;:9;:27::i;27427:2515::-;27542:27;27572;27591:7;27572:18;:27::i;:::-;27542:57;;27657:4;-1:-1:-1;;;;;27616:45:0;27632:19;-1:-1:-1;;;;;27616:45:0;;27612:86;;27670:28;;-1:-1:-1;;;27670:28:0;;;;;;;;;;;27612:86;27711:22;36257:10;-1:-1:-1;;;;;27737:27:0;;;;:87;;-1:-1:-1;27781:43:0;27798:4;36257:10;20809:164;:::i;27781:43::-;27737:147;;;-1:-1:-1;36257:10:0;27841:20;27853:7;27841:11;:20::i;:::-;-1:-1:-1;;;;;27841:43:0;;27737:147;27711:174;;27903:17;27898:66;;27929:35;;-1:-1:-1;;;27929:35:0;;;;;;;;;;;27898:66;-1:-1:-1;;;;;27979:16:0;;27975:52;;28004:23;;-1:-1:-1;;;28004:23:0;;;;;;;;;;;27975:52;28156:24;;;;:15;:24;;;;;;;;28149:31;;-1:-1:-1;;;;;;28149:31:0;;;-1:-1:-1;;;;;28548:24:0;;;;;:18;:24;;;;;28546:26;;-1:-1:-1;;28546:26:0;;;28617:22;;;;;;;28615:24;;-1:-1:-1;28615:24:0;;;28910:26;;;:17;:26;;;;;-1:-1:-1;;;28998:15:0;9745:3;28998:41;28956:84;;:128;;28910:174;;;29204:46;;29200:626;;29308:1;29298:11;;29276:19;29431:30;;;:17;:30;;;;;;29427:384;;29569:13;;29554:11;:28;29550:242;;29716:30;;;;:17;:30;;;;;:52;;;29550:242;29257:569;29200:626;29873:7;29869:2;-1:-1:-1;;;;;29854:27:0;29863:4;-1:-1:-1;;;;;29854:27:0;;;;;;;;;;;27531:2411;;27427:2515;;;:::o;51614:317::-;51729:6;51704:21;:31;;51696:73;;;;-1:-1:-1;;;51696:73:0;;16464:2:1;51696:73:0;;;16446:21:1;16503:2;16483:18;;;16476:30;16542:31;16522:18;;;16515:59;16591:18;;51696:73:0;16262:353:1;51696:73:0;51783:12;51801:9;-1:-1:-1;;;;;51801:14:0;51823:6;51801:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51782:52;;;51853:7;51845:78;;;;-1:-1:-1;;;51845:78:0;;17032:2:1;51845:78:0;;;17014:21:1;17071:2;17051:18;;;17044:30;17110:34;17090:18;;;17083:62;17181:28;17161:18;;;17154:56;17227:19;;51845:78:0;16830:422:1;63215:332:0;62931:5;-1:-1:-1;;;;;63318:33:0;;;;63310:88;;;;-1:-1:-1;;;63310:88:0;;17459:2:1;63310:88:0;;;17441:21:1;17498:2;17478:18;;;17471:30;17537:34;17517:18;;;17510:62;-1:-1:-1;;;17588:18:1;;;17581:40;17638:19;;63310:88:0;17257:406:1;63310:88:0;-1:-1:-1;;;;;63417:22:0;;63409:60;;;;-1:-1:-1;;;63409:60:0;;17870:2:1;63409:60:0;;;17852:21:1;17909:2;17889:18;;;17882:30;17948:27;17928:18;;;17921:55;17993:18;;63409:60:0;17668:349:1;63409:60:0;63504:35;;;;;;;;;-1:-1:-1;;;;;63504:35:0;;;;;;-1:-1:-1;;;;;63504:35:0;;;;;;;;;;-1:-1:-1;;;63482:57:0;;;;-1:-1:-1;63482:57:0;63215:332::o;67889:191::-;67982:6;;;-1:-1:-1;;;;;67999:17:0;;;-1:-1:-1;;;;;;67999:17:0;;;;;;;68032:40;;67982:6;;;67999:17;67982:6;;68032:40;;67963:16;;68032:40;67952:128;67889:191;:::o;16999:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;17119:24:0;;;;:17;:24;;;;;;17100:44;;:18;:44::i;33639:716::-;33823:88;;-1:-1:-1;;;33823:88:0;;33802:4;;-1:-1:-1;;;;;33823:45:0;;;;;:88;;36257:10;;33890:4;;33896:7;;33905:5;;33823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33823:88:0;;;;;;;;-1:-1:-1;;33823:88:0;;;;;;;;;;;;:::i;:::-;;;33819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34106:13:0;;34102:235;;34152:40;;-1:-1:-1;;;34152:40:0;;;;;;;;;;;34102:235;34295:6;34289:13;34280:6;34276:2;34272:15;34265:38;33819:529;-1:-1:-1;;;;;;33982:64:0;-1:-1:-1;;;33982:64:0;;-1:-1:-1;33819:529:0;33639:716;;;;;;:::o;17655:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;17758:47:0;17777:27;17796:7;17777:18;:27::i;:::-;17758:18;:47::i;47361:723::-;47417:13;47638:10;47634:53;;-1:-1:-1;;47665:10:0;;;;;;;;;;;;-1:-1:-1;;;47665:10:0;;;;;47361:723::o;47634:53::-;47712:5;47697:12;47753:78;47760:9;;47753:78;;47786:8;;;;:::i;:::-;;-1:-1:-1;47809:10:0;;-1:-1:-1;47817:2:0;47809:10;;:::i;:::-;;;47753:78;;;47841:19;47873:6;-1:-1:-1;;;;;47863:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47863:17:0;;47841:39;;47891:154;47898:10;;47891:154;;47925:11;47935:1;47925:11;;:::i;:::-;;-1:-1:-1;47994:10:0;48002:2;47994:5;:10;:::i;:::-;47981:24;;:2;:24;:::i;:::-;47968:39;;47951:6;47958;47951:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;47951:56:0;;;;;;;;-1:-1:-1;48022:11:0;48031:2;48022:11;;:::i;:::-;;;47891:154;;23022:2236;23168:13;;-1:-1:-1;;;;;23196:16:0;;23192:48;;23221:19;;-1:-1:-1;;;23221:19:0;;;;;;;;;;;23192:48;23255:13;23251:44;;23277:18;;-1:-1:-1;;;23277:18:0;;;;;;;;;;;23251:44;-1:-1:-1;;;;;23844:22:0;;;;;;:18;:22;;;;9228:2;23844:22;;;:70;;23882:31;23870:44;;23844:70;;;24157:31;;;:17;:31;;;;;24250:15;9745:3;24250:41;24208:84;;-1:-1:-1;24328:13:0;;10008:3;24313:56;24208:162;24157:213;;:31;;24451:23;;;;24495:14;:19;24491:635;;24535:313;24566:38;;24591:12;;-1:-1:-1;;;;;24566:38:0;;;24583:1;;24566:38;;24583:1;;24566:38;24632:69;24671:1;24675:2;24679:14;;;;;;24695:5;24632:30;:69::i;:::-;24627:174;;24737:40;;-1:-1:-1;;;24737:40:0;;;;;;;;;;;24627:174;24843:3;24828:12;:18;24535:313;;24929:12;24912:13;;:29;24908:43;;24943:8;;;24908:43;24491:635;;;24992:119;25023:40;;25048:14;;;;;-1:-1:-1;;;;;25023:40:0;;;25040:1;;25023:40;;25040:1;;25023:40;25106:3;25091:12;:18;24992:119;;24491:635;-1:-1:-1;25140:13:0;:28;25190:60;25219:1;25223:2;25227:12;25241:8;25190:60;:::i;16613:295::-;-1:-1:-1;;;;;;;;;;;;;16723:41:0;;;;9745:3;16809:32;;;-1:-1:-1;;;;;16775:67:0;-1:-1:-1;;;16775:67:0;-1:-1:-1;;;16872:23:0;;;:28;;-1:-1:-1;;;16853:47:0;-1:-1:-1;16613:295:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;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;688:258::-;760:1;770:113;784:6;781:1;778:13;770:113;;;860:11;;;854:18;841:11;;;834:39;806:2;799:10;770:113;;;901:6;898:1;895:13;892:48;;;-1:-1:-1;;936:1:1;918:16;;911:27;688:258::o;951:::-;993:3;1031:5;1025:12;1058:6;1053:3;1046:19;1074:63;1130:6;1123:4;1118:3;1114:14;1107:4;1100:5;1096:16;1074:63;:::i;:::-;1191:2;1170:15;-1:-1:-1;;1166:29:1;1157:39;;;;1198:4;1153:50;;951:258;-1:-1:-1;;951:258:1:o;1214:220::-;1363:2;1352:9;1345:21;1326:4;1383:45;1424:2;1413:9;1409:18;1401:6;1383:45;:::i;1439:180::-;1498:6;1551:2;1539:9;1530:7;1526:23;1522:32;1519:52;;;1567:1;1564;1557:12;1519:52;-1:-1:-1;1590:23:1;;1439:180;-1:-1:-1;1439:180:1:o;1832:173::-;1900:20;;-1:-1:-1;;;;;1949:31:1;;1939:42;;1929:70;;1995:1;1992;1985:12;1929:70;1832:173;;;:::o;2010:254::-;2078:6;2086;2139:2;2127:9;2118:7;2114:23;2110:32;2107:52;;;2155:1;2152;2145:12;2107:52;2178:29;2197:9;2178:29;:::i;:::-;2168:39;2254:2;2239:18;;;;2226:32;;-1:-1:-1;;;2010:254:1:o;2466:163::-;2533:20;;2593:10;2582:22;;2572:33;;2562:61;;2619:1;2616;2609:12;2634:258;2701:6;2709;2762:2;2750:9;2741:7;2737:23;2733:32;2730:52;;;2778:1;2775;2768:12;2730:52;2801:29;2820:9;2801:29;:::i;:::-;2791:39;;2849:37;2882:2;2871:9;2867:18;2849:37;:::i;:::-;2839:47;;2634:258;;;;;:::o;3079:328::-;3156:6;3164;3172;3225:2;3213:9;3204:7;3200:23;3196:32;3193:52;;;3241:1;3238;3231:12;3193:52;3264:29;3283:9;3264:29;:::i;:::-;3254:39;;3312:38;3346:2;3335:9;3331:18;3312:38;:::i;:::-;3302:48;;3397:2;3386:9;3382:18;3369:32;3359:42;;3079:328;;;;;:::o;3412:248::-;3480:6;3488;3541:2;3529:9;3520:7;3516:23;3512:32;3509:52;;;3557:1;3554;3547:12;3509:52;-1:-1:-1;;3580:23:1;;;3650:2;3635:18;;;3622:32;;-1:-1:-1;3412:248:1:o;3944:186::-;4003:6;4056:2;4044:9;4035:7;4031:23;4027:32;4024:52;;;4072:1;4069;4062:12;4024:52;4095:29;4114:9;4095:29;:::i;4135:862::-;4285:4;4327:3;4316:9;4312:19;4304:27;;4364:6;4358:13;4347:9;4340:32;4419:4;4411:6;4407:17;4401:24;4444:10;4510:2;4496:12;4492:21;4485:4;4474:9;4470:20;4463:51;4582:2;4574:4;4566:6;4562:17;4556:24;4552:33;4545:4;4534:9;4530:20;4523:63;4654:2;4646:4;4638:6;4634:17;4628:24;4624:33;4617:4;4606:9;4602:20;4595:63;4726:2;4718:4;4710:6;4706:17;4700:24;4696:33;4689:4;4678:9;4674:20;4667:63;4798:2;4790:4;4782:6;4778:17;4772:24;4768:33;4761:4;4750:9;4746:20;4739:63;4870:2;4862:4;4854:6;4850:17;4844:24;4840:33;4833:4;4822:9;4818:20;4811:63;;;4923:4;4915:6;4911:17;4905:24;4938:53;4985:4;4974:9;4970:20;4954:14;470:13;463:21;451:34;;400:91;4938:53;;4135:862;;;;:::o;5002:127::-;5063:10;5058:3;5054:20;5051:1;5044:31;5094:4;5091:1;5084:15;5118:4;5115:1;5108:15;5134:275;5205:2;5199:9;5270:2;5251:13;;-1:-1:-1;;5247:27:1;5235:40;;-1:-1:-1;;;;;5290:34:1;;5326:22;;;5287:62;5284:88;;;5352:18;;:::i;:::-;5388:2;5381:22;5134:275;;-1:-1:-1;5134:275:1:o;5414:946::-;5498:6;5529:2;5572;5560:9;5551:7;5547:23;5543:32;5540:52;;;5588:1;5585;5578:12;5540:52;5628:9;5615:23;-1:-1:-1;;;;;5698:2:1;5690:6;5687:14;5684:34;;;5714:1;5711;5704:12;5684:34;5752:6;5741:9;5737:22;5727:32;;5797:7;5790:4;5786:2;5782:13;5778:27;5768:55;;5819:1;5816;5809:12;5768:55;5855:2;5842:16;5877:2;5873;5870:10;5867:36;;;5883:18;;:::i;:::-;5929:2;5926:1;5922:10;5912:20;;5952:28;5976:2;5972;5968:11;5952:28;:::i;:::-;6014:15;;;6084:11;;;6080:20;;;6045:12;;;;6112:19;;;6109:39;;;6144:1;6141;6134:12;6109:39;6168:11;;;;6188:142;6204:6;6199:3;6196:15;6188:142;;;6270:17;;6258:30;;6221:12;;;;6308;;;;6188:142;;;6349:5;5414:946;-1:-1:-1;;;;;;;;5414:946:1:o;6648:720::-;6879:2;6931:21;;;7001:13;;6904:18;;;7023:22;;;6850:4;;6879:2;7102:15;;;;7076:2;7061:18;;;6850:4;7145:197;7159:6;7156:1;7153:13;7145:197;;;7208:52;7256:3;7247:6;7241:13;6449:12;;-1:-1:-1;;;;;6445:38:1;6433:51;;6537:4;6526:16;;;6520:23;-1:-1:-1;;;;;6516:48:1;6500:14;;;6493:72;6628:4;6617:16;;;6611:23;6604:31;6597:39;6581:14;;6574:63;6365:278;7208:52;7317:15;;;;7289:4;7280:14;;;;;7181:1;7174:9;7145:197;;7373:292;7431:6;7484:2;7472:9;7463:7;7459:23;7455:32;7452:52;;;7500:1;7497;7490:12;7452:52;7539:9;7526:23;-1:-1:-1;;;;;7582:5:1;7578:38;7571:5;7568:49;7558:77;;7631:1;7628;7621:12;7670:407;7735:5;-1:-1:-1;;;;;7761:6:1;7758:30;7755:56;;;7791:18;;:::i;:::-;7829:57;7874:2;7853:15;;-1:-1:-1;;7849:29:1;7880:4;7845:40;7829:57;:::i;:::-;7820:66;;7909:6;7902:5;7895:21;7949:3;7940:6;7935:3;7931:16;7928:25;7925:45;;;7966:1;7963;7956:12;7925:45;8015:6;8010:3;8003:4;7996:5;7992:16;7979:43;8069:1;8062:4;8053:6;8046:5;8042:18;8038:29;8031:40;7670:407;;;;;:::o;8082:451::-;8151:6;8204:2;8192:9;8183:7;8179:23;8175:32;8172:52;;;8220:1;8217;8210:12;8172:52;8260:9;8247:23;-1:-1:-1;;;;;8285:6:1;8282:30;8279:50;;;8325:1;8322;8315:12;8279:50;8348:22;;8401:4;8393:13;;8389:27;-1:-1:-1;8379:55:1;;8430:1;8427;8420:12;8379:55;8453:74;8519:7;8514:2;8501:16;8496:2;8492;8488:11;8453:74;:::i;8538:632::-;8709:2;8761:21;;;8831:13;;8734:18;;;8853:22;;;8680:4;;8709:2;8932:15;;;;8906:2;8891:18;;;8680:4;8975:169;8989:6;8986:1;8983:13;8975:169;;;9050:13;;9038:26;;9119:15;;;;9084:12;;;;9011:1;9004:9;8975:169;;9175:322;9252:6;9260;9268;9321:2;9309:9;9300:7;9296:23;9292:32;9289:52;;;9337:1;9334;9327:12;9289:52;9360:29;9379:9;9360:29;:::i;:::-;9350:39;9436:2;9421:18;;9408:32;;-1:-1:-1;9487:2:1;9472:18;;;9459:32;;9175:322;-1:-1:-1;;;9175:322:1:o;9502:160::-;9567:20;;9623:13;;9616:21;9606:32;;9596:60;;9652:1;9649;9642:12;9667:254;9732:6;9740;9793:2;9781:9;9772:7;9768:23;9764:32;9761:52;;;9809:1;9806;9799:12;9761:52;9832:29;9851:9;9832:29;:::i;:::-;9822:39;;9880:35;9911:2;9900:9;9896:18;9880:35;:::i;9926:184::-;9984:6;10037:2;10025:9;10016:7;10012:23;10008:32;10005:52;;;10053:1;10050;10043:12;10005:52;10076:28;10094:9;10076:28;:::i;10115:667::-;10210:6;10218;10226;10234;10287:3;10275:9;10266:7;10262:23;10258:33;10255:53;;;10304:1;10301;10294:12;10255:53;10327:29;10346:9;10327:29;:::i;:::-;10317:39;;10375:38;10409:2;10398:9;10394:18;10375:38;:::i;:::-;10365:48;;10460:2;10449:9;10445:18;10432:32;10422:42;;10515:2;10504:9;10500:18;10487:32;-1:-1:-1;;;;;10534:6:1;10531:30;10528:50;;;10574:1;10571;10564:12;10528:50;10597:22;;10650:4;10642:13;;10638:27;-1:-1:-1;10628:55:1;;10679:1;10676;10669:12;10628:55;10702:74;10768:7;10763:2;10750:16;10745:2;10741;10737:11;10702:74;:::i;:::-;10692:84;;;10115:667;;;;;;;:::o;10787:263::-;6449:12;;-1:-1:-1;;;;;6445:38:1;6433:51;;6537:4;6526:16;;;6520:23;-1:-1:-1;;;;;6516:48:1;6500:14;;;6493:72;6628:4;6617:16;;;6611:23;6604:31;6597:39;6581:14;;;6574:63;10981:2;10966:18;;10993:51;6365:278;11055:260;11123:6;11131;11184:2;11172:9;11163:7;11159:23;11155:32;11152:52;;;11200:1;11197;11190:12;11152:52;11223:29;11242:9;11223:29;:::i;:::-;11213:39;;11271:38;11305:2;11294:9;11290:18;11271:38;:::i;11320:180::-;11376:6;11429:2;11417:9;11408:7;11404:23;11400:32;11397:52;;;11445:1;11442;11435:12;11397:52;11468:26;11484:9;11468:26;:::i;11505:380::-;11584:1;11580:12;;;;11627;;;11648:61;;11702:4;11694:6;11690:17;11680:27;;11648:61;11755:2;11747:6;11744:14;11724:18;11721:38;11718:161;;;11801:10;11796:3;11792:20;11789:1;11782:31;11836:4;11833:1;11826:15;11864:4;11861:1;11854:15;11718:161;;11505:380;;;:::o;11890:356::-;12092:2;12074:21;;;12111:18;;;12104:30;12170:34;12165:2;12150:18;;12143:62;12237:2;12222:18;;11890:356::o;12251:127::-;12312:10;12307:3;12303:20;12300:1;12293:31;12343:4;12340:1;12333:15;12367:4;12364:1;12357:15;12383:228;12422:3;12450:10;12487:2;12484:1;12480:10;12517:2;12514:1;12510:10;12548:3;12544:2;12540:12;12535:3;12532:21;12529:47;;;12556:18;;:::i;:::-;12592:13;;12383:228;-1:-1:-1;;;;12383:228:1:o;12962:168::-;13002:7;13068:1;13064;13060:6;13056:14;13053:1;13050:21;13045:1;13038:9;13031:17;13027:45;13024:71;;;13075:18;;:::i;:::-;-1:-1:-1;13115:9:1;;12962:168::o;13135:127::-;13196:10;13191:3;13187:20;13184:1;13177:31;13227:4;13224:1;13217:15;13251:4;13248:1;13241:15;13267:120;13307:1;13333;13323:35;;13338:18;;:::i;:::-;-1:-1:-1;13372:9:1;;13267:120::o;13392:127::-;13453:10;13448:3;13444:20;13441:1;13434:31;13484:4;13481:1;13474:15;13508:4;13505:1;13498:15;13872:221;13911:4;13940:10;14000;;;;13970;;14022:12;;;14019:38;;;14037:18;;:::i;:::-;14074:13;;13872:221;-1:-1:-1;;;13872:221:1:o;14098:128::-;14138:3;14169:1;14165:6;14162:1;14159:13;14156:39;;;14175:18;;:::i;:::-;-1:-1:-1;14211:9:1;;14098:128::o;15279:571::-;15559:3;15597:6;15591:13;15613:53;15659:6;15654:3;15647:4;15639:6;15635:17;15613:53;:::i;:::-;15729:13;;15688:16;;;;15751:57;15729:13;15688:16;15785:4;15773:17;;15751:57;:::i;18022:489::-;-1:-1:-1;;;;;18291:15:1;;;18273:34;;18343:15;;18338:2;18323:18;;18316:43;18390:2;18375:18;;18368:34;;;18438:3;18433:2;18418:18;;18411:31;;;18216:4;;18459:46;;18485:19;;18477:6;18459:46;:::i;:::-;18451:54;18022:489;-1:-1:-1;;;;;;18022:489:1:o;18516:249::-;18585:6;18638:2;18626:9;18617:7;18613:23;18609:32;18606:52;;;18654:1;18651;18644:12;18606:52;18686:9;18680:16;18705:30;18729:5;18705:30;:::i;18770:135::-;18809:3;-1:-1:-1;;18830:17:1;;18827:43;;;18850:18;;:::i;:::-;-1:-1:-1;18897:1:1;18886:13;;18770:135::o;18910:125::-;18950:4;18978:1;18975;18972:8;18969:34;;;18983:18;;:::i;:::-;-1:-1:-1;19020:9:1;;18910:125::o;19040:112::-;19072:1;19098;19088:35;;19103:18;;:::i;:::-;-1:-1:-1;19137:9:1;;19040:112::o
Swarm Source
ipfs://3a2d9c9ac2795928782c662648ba4cd5b89ff32de98cc38b4093d3025a027b68
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.